Page History
Lustre server machines are simple to setup with CentOS 6. 3. Pre-built kernel images are available from Whamclouds HPDD's build server. A number of different kernels and tools are continually built and tested. For this Walk-thru the lustre-master build will be used.
...
- A x86_64 machine with CentOS 6.3 installed. The machine has the hostname
rhel6vanilla
.
Procedure
Install
...
Lustre directly with yum
Include the following entries into /etc/repos.d/lustre.repo as follows:
Code Block title /etc/repos.d/lustre.repo [hpddLustreserver] name=CentOS-$releasever - Lustre baseurl=http://build.whamcloud.com/job/lustre-master/arch=x86_64%2Cbuild_type=server%2Cdistro=el6%2Cib_stack=inkernel/lastSuccessfulBuild/artifact/artifacts/ gpgcheck=0 [e2fsprogs] name=CentOS-$releasever - Ldiskfs baseurl=http://build.whamcloud.com/job/e2fsprogs-master/arch=x86_64%2Cdistro=el6/lastSuccessfulBuild/artifact/_topdir/RPMS/ gpgcheck=0 [hpddLustreclient] name=CentOS-$releasever - Lustre baseurl=http://build.whamcloud.com/job/lustre-master/arch=x86_64%2Cbuild_type=client%2Cdistro=el6%2Cib_stack=inkernel/lastSuccessfulBuild/artifact/artifacts/ gpgcheck=0
run
yum install lustre
- provided the step above completes successfully, you can skip down to the section:Disable SELinux for Lustre patched kernel.
- If you experience dependency issues with yum, the best known method is to downgrade the current kernel to the version that is needed and try again.
Install Lustre patched kernel.
If you choose not to use the yum install method above, you can install Lustre as follows:
- From lustre-master build, download the correct kernel RPMs for your platform
kernel
kernel-firmware
Install these RPMs with
yum localinstall ./kernel*
Code Block [root@rhel6vanilla ~]# yum localinstall ./kernel* Loaded plugins: fastestmirror, presto Setting up Local Package Process Examining ./kernel-2.6.32-279.19.1.el6_lustre.x86_64.rpm: kernel-2.6.32-279.19.1.el6_lustre.x86_64 Marking ./kernel-2.6.32-279.19.1.el6_lustre.x86_64.rpm as an update to kernel-2.6.32-279.el6.x86_64 Determining fastest mirrors * base: ftp.byfly.by * extras: ftp.byfly.by * updates: ftp.byfly.by Examining ./kernel-firmware-2.6.32-279.19.1.el6_lustre.x86_64.rpm: kernel-firmware-2.6.32-279.19.1.el6_lustre.x86_64 Marking ./kernel-firmware-2.6.32-279.19.1.el6_lustre.x86_64.rpm as an update to kernel-firmware-2.6.32-279.el6.noarch Resolving Dependencies --> Running transaction check ---> Package kernel.x86_64 0:2.6.32-279.19.1.el6_lustre will be installed .x86_64 --> Running transaction check ---> Package kernel-firmware.noarch 0:2.6.32-279.el6 will be updated ---> Package kernel-firmware.noarch 0:2.6.32-358.6.1.el6 will be an update --> Finished Dependency Resolution Dependencies Resolved ======================================================================================================================= Package Arch Version Repository Size ======================================================================================================================= Installing: kernel x86_64 2.6.32-279.19.1.el6_lustre /kernel-2.6.32-279.19.1.el6_lustre.x86_64 113 M Updating for dependencies: kernel-firmware noarch 2.6.32-358.6.1.el6 updates 11 M Transaction Summary ======================================================================================================================= Install 1 Package(s) Upgrade 1 Package(s) Total size: 124 M Total download size: 11 M Is this ok [y/N]: y Downloading Packages: Setting up and reading Presto delta metadata updates/prestodelta | 339 kB 00:00 Processing delta metadata Download delta size: 3.4 M kernel-firmware-2.6.32-279.el6_2.6.32-358.6.1.el6.noarch.drpm | 3.4 MB 00:01 Finishing rebuild of rpms, from deltarpms <delta rebuild> | 11 MB 00:03 Presto reduced the update size by 69% (from 11 M to 3.4 M). Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : kernel-firmware-2.6.32-358.6.1.el6.noarch 1/3 Installing : kernel-2.6.32-279.19.1.el6_lustre.x86_64 2/3 Cleanup : kernel-firmware-2.6.32-279.el6.noarch 3/3 Verifying : kernel-2.6.32-279.19.1.el6_lustre.x86_64 1/3 Verifying : kernel-firmware-2.6.32-358.6.1.el6.noarch 2/3 Verifying : kernel-firmware-2.6.32-279.el6.noarch 3/3 Installed: kernel.x86_64 0:2.6.32-279.19.1.el6_lustre Dependency Updated: kernel-firmware.noarch 0:2.6.32-358.6.1.el6 Complete! [root@rhel6vanilla ~]#
...
Overview
Content Tools