Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can have different ways to prepare a patched kernel for Lustre. The easier method is to download built RPM packages from build.hpdd.intel.com. For example, if you're running el7, you should download the packages from here: https://build.hpdd.intel.com/view/Non-Reviews/job/lustre-master/arch=x86_64,build_type=server,distro=el7,ib_stack=inkernel/lastSuccessfulBuild/artifact/artifacts/RPMS/x86_64/ at the time when this page is written. You're going to need the packages starting with 'kernel-'. After new kernel is packages are downloaded, you can skip the following few steps and go to the section 'Installing the Lustre kernel and rebooting'.

...

  1. As root, Install the kernel

    Code Block
    # rpm -ivh $PKG_PATH/kernel-*.rpm
    

    Depending on how you got your kernel packages, the PKG_PATH could be ~build/kernel/rpmbuild/RPMS/x86_64

    /kernel-2.6.32.431.5.1.el6_lustre-1.x86_64.rpm

    if you built the packages by yourself, or any other directory where you downloaded the packages from build.hpdd.intel.com.

  2. Create initrd using dracut(*This may not be required because initrd should have been created by installing new kernel*)

    Code Block
    # /sbin/new-kernel-pkg --package kernel --mkinitrd --dracut --depmod --install 2.6.32.431.5.1.el6_lustre
    
  3. optional turn on lustre services, and specify net for lnet

    Code Block
    * chkconfig lustre on 
    * vi /etc/modprobe.d/lustre.conf
    
  4. reboot
  5. view the login prompt with satisfaction:

    Code Block
    Red Hat Enterprise Linux Server release 6.0 (Santiago)
    Kernel 2.6.32lustremaster on an x86_64
    
    client-10 login:
    

...