
Building your own client kit 3–5
• Additional Lustre patches (some distributions only).
Where appropriate, you will find additional Lustre patches in the client_enabler/src/arch/
distro/lustre_patches directory on the HP StorageWorks Scalable File Share Client Software
CD-ROM. In this directory, you will find a file that lists the patches to be applied and the order in
which they must be applied. Not all distributions require patches to the Lustre sources, so this directory
may or may not exist for your particular distribution.
• Optionally, you may need the sources for your interconnect driver. The sources for Myrinet and
Quadrics interconnect drivers are in the appropriate architecture/distribution subdirectory under the
client_enabler/src/common/gm and client_enabler/src/common/qsnet directories
on the HP StorageWorks Scalable File Share Client Software CD-ROM. If you are using a Quadrics
interconnect, make sure that you use the QsNet
II
kernel patch tarball file that is suitable for your
client kernel.
Source files for the Voltaire InfiniBand interconnect drivers can be obtained directly from Voltaire. For
more information, refer to the Voltaire Web site at www.voltaire.com
.
3.2.2 Building an HP SFS client kit using the sample script
This section describes how to build an HP SFS client kit using the sample script provided on the
HP StorageWorks Scalable File Share Client Software CD-ROM. The build_SFS_client.sh example
script works for many common distributions, and HP recommends that you use it if possible. However, if the
script does not work for your client distribution, you can build the kit manually; for more information, see
Appendix C.
Before you start to build the client kit using the build_SFS_client.sh sample script, note the following
points:
• The build_SFS_client.sh sample script builds Lustre file system support into the following
kernels:
• RHEL 4 Update 4 (2.6.9-42.0.2.EL)
• RHEL 4 Update 3 (2.6.9-34.0.2.EL)
• RHEL 4 Update 2 (2.6.9-22.0.2.EL)
• RHEL 4 Update 1 (2.6.9-11.EL)
• RHEL 3 Update 8 (2.4.21-47.EL)
• RHEL 3 Update 7 (2.4.21-40.EL)
• RHEL 3 Update 6 (2.4.21-37.EL)
• RHEL 3 Update 5 (2.4.21-32.0.1.EL)
• Red Hat Linux 9/AS2.1 (2.4.21-31.9)
• SLES 9 SP3 (2.6.5-7.244)
• CentOS 4.3 (2.6.9-34.0.2.EL)
The script may also work with a number of other distributions, but these will require that the
--distribution command line argument is set to an appropriate value and may require that
other arguments are supplied, such as --kernel or --kernel_type. For example, when building
the HP SFS client kit for the CentOS 4.3 distribution, you must specify --distribution
RH_EL4_U3 as the first argument and --kernel kernel_srpm as the last argument on your
command line, as shown in the following example. The command in this example will build client
software using the appropriate kernel and configuration with Myrinet interconnect support:
# /mnt/cdrom/client_enabler/build_SFS_client.sh --distribution RH_EL4_U3
--config auto --config gm --kernel /home/kernel-2.6.9-34.0.2.EL.src.rpm
• In most cases, the build_SFS_client.sh script must be run by an ordinary user and must not be
run as root user. There are two exceptions, as follows; in these cases, the script must be run as the
root user:
• When the script is being run on a SLES 9 SP3 system
• When the script is being used to build the InfiniBand interconnect driver
Commentaires sur ces manuels