Installing and configuring Red Hat Enterprise Linux and SUSE Linux Enterprise Server 9 SP3 client systems3–8
3. Edit the bootloader configuration file so that the new kernel is selected as the default for booting. If
your boot loader is GRUB, you can alternatively use the /sbin/grubby --set-default
command, as shown in the following example:
# grubby --set-default /boot/vmlinuz-2.4.21-37.EL_SFS2.2_0
4. Reboot the system to boot the new kernel, as follows:
# reboot
5. Copy the built Linux tree to the /usr/src/linux directory, as follows:
# mkdir -p /usr/src/linux
# cd /usr/src/linux
# (cd /build/SFS_client_V2.2/build/linux; tar -cpf - .) | tar -xpf -
6. If the client node is running a Version 2.6 kernel, skip this step.
On RHEL 3 nodes and other nodes running Version 2.4 kernels, fix the /lib/modules build link, as
follows:
# rm –f /lib/modules/‘uname –r‘/build
# ln –s /usr/src/linux /lib/modules/‘uname –r‘/build
# ln -s /usr/src/linux /lib/modules/‘uname -r‘/source
7. Install the Voltaire InfiniBand interconnect source .rpm file, as follows:
# rpm -i path_name/ibhost-3.4.5_22-1.src.rpm
8. Build the Voltaire InfiniBand interconnect software, as follows:
# rpmbuild -ba /usr/src/redhat/SPECS/ibhost-3.4.5_22-1.spec
9. Copy the resulting RPM files to the output directory, as follows:
# cd /build/SFS_client_V2.2
# cp /usr/src/redhat/SRPMS/ibhost-3.4.5_22-1.src.rpm output/rpms/srpm/
# cp /usr/src/redhat/RPMS/ia32e/ibhost-hpc-3.4.5_22-
1rhas3.k2.4.21_40.EL_SFS2.2_0smp.ia32e.rpm
/usr/src/redhat/RPMS/ia32e/ibhost-biz-3.4.5_22-
1rhas3.k2.4.21_40.EL_SFS2.2_0smp.ia32e.rpm output/rpms/ia32e/
10. Remove the previous Lustre build files, and create a new directory in which you will rebuild them, as
follows:
# rm -f output/rpms/*/lustre*.rpm
# mkdir build_stage2
# cd build_stage2
11. You must now run the build_SFS_client.sh script again with the prebuilt kernel and Voltaire
InfiniBand interconnect software, as follows:
• If a Voltaire InfiniBand Version 3.4.5 interconnect driver is used, run the script as follows. Note
that the trailing -1 in the interconnect version is not used in the command:
# /mnt/cdrom/client_enabler/build_SFS_client.sh
--config auto --kernel /usr/src/linux
--prebuilt_kernel --vib /usr/src/redhat/BUILD/ibhost-3.4.5_22
--prebuilt_vib --allow_root
• If a Voltaire InfiniBand Version 3.5.5 interconnect driver is used, run the script as follows:
# /mnt/cdrom/client_enabler/build_SFS_client.sh
--config auto --kernel /usr/src/linux
--prebuilt_kernel --vib /usr/src/redhat/BUILD/ibhost-3.5.5_18
--prebuilt_vib --allow_root
12. Copy the build Lustre RPM files into the previous output directory in the build area, as follows:
# cp output/rpms/srpms/lustre*.rpm ../output/rpms/srpms/
# cp output/rpms/ia32e/lustre*.rpm ../output/rpms/ia32e/
# cd ../
Komentarze do niniejszej Instrukcji