2 sles10 sp2 custom client build procedure – HP StorageWorks Scalable File Share User Manual
Page 42
5.
When successfully completed, the newly built RPMs are available in /usr/src/redhat/
RPMS/x86_64
. Proceed to
“Installation Instructions” (page 40)
4.3.2 SLES10 SP2 Custom Client Build Procedure
Additional RPMs from the SLES10 SP2 DVD may be necessary to build Lustre. These RPMs may
include, but are not limited to the following:
•
expect
•
gcc
•
kernel-source-xxx
RPM to go with the installed kernel
1.
Install the Lustre source RPM as provided on the HP SFS G3.2-0 software tarball in the
/opt/hp/sfs/SRPMS
directory. Enter the following command on one line:
# rpm -ivh lustre-source-1.8.0.1-2.6.18_128.1.6.el5_lustre.1.8.0.1smp.x86_64.rpm
2.
Change directories:
# cd /usr/src/linux-xxx
3.
Copy in the /boot/config-xxx for the running/target kernel, and name it .config.
4.
Run the following:
# make oldconfig
5.
Change directories:
# cd /usr/src/lustre-xxx
6.
Configure the Lustre build. For example, on one command line (replacing with different
versions if needed):
NOTE:
The --with-o2ib option should be used for InfiniBand systems only.
# ./configure --with-linux=/usr/src/linux-2.6.16.46-0.12/ \
--with-linux-obj=/usr/src/linux-2.6.16.46-0.12-obj/x86_64/smp \
--with-o2ib=/usr/src/ofa_kernel
7.
Run the following command:
# make rpms 2>&1 | tee make.log
8.
When successfully completed, the newly built RPMs are available in /usr/src/packages/
RPMS/x86_64
. Install them according to the
“Installation Instructions” (page 40)
.
9.
For InfiniBand systems, add the following line to /etc/modprobe.conf.local:
options lnet networks=o2ib0
For 10 GigE systems, add the following line to /etc/modprobe.conf:
options lnet networks=tcp(eth2)
In this example, eth2 is the Ethernet interface that is used to communicate with the HP SFS
system.
42
Installing and Configuring HP SFS Software on Client Nodes