Stop OFED From Compiling at Boot Up

From Define Wiki
Jump to navigation Jump to search

Stop OFED From Compiling at Boot Up

Note:

When updating kernel from 2.6.18.238 (CentOS 5.6) to kernel 2.6.18.274 (CentOS 5.7) resulting
Platform OFED kit would not compile. This is due to OFED 1.5.3 does not work with Kernel 
2.6.18.274. The issue was resolve with OFED 1.5.3.2
  • Stop OFED from Compile on the fly on the headnode.
1. Run kusu-ngedit
  - Select installer-centos-5.7-x86_64
  - Select next until 'Components' page
  - In platform-ofed kit, deselect every components
  - Select Next, advance until finish
  - Select the next node group

2. Run kusu-cfmsync -p

3. If the file still be there you can remove it manually
   rm -f /etc/rc.kusu.d/S99XOFEDCompileOnFly.rc.py
   rm -f /etc/rc.kusu.d/s99XOFEDCompileOnFly.rc.pyo
   rm -f /etc/rc.kusu.d/s99XOFEDCompileOnFly.rc.pyc
   OR
   mv /etc/rc.kusu.d/S99XOFEDCompileOnFly.rc.py /backup-archive
   mv /etc/rc.kusu.d/s99XOFEDCompileOnFly.rc.pyo /backup-archive
   mv /etc/rc.kusu.d/s99XOFEDCompileOnFly.rc.pyc /backup-archive

   Verify the package platform-ofed-drivers-source is removed:
   rpm -qa | grep ofed

4. Verify OFED compilation sctipts arw remove
   find /etc | grep -i ofed
  • Steps to stop OFED compiling on the fy at boot up on compute node
1. Run kusu-ngedit
  - Select the "compute_node" group
  - Select next until 'Components' page
  - In platform-ofed kit, deselect every components
  - Select Next, advance until finish
  - Select the next node group
2. Run kusu-cfmsync -p