PCM 2.0.1 Cfmsync -f restarts LSF - Disable
Jump to navigation
Jump to search
Just confirmed with our engineering this behaviour is a limitation is PCM 2.0.x. They have made improvement in the soon-to-be-released PCM 2.1.
To workaround this issue, you can ask customer do the following to stop cfmsync restart lsf daemons every time it is executed:
1. Backup plugin file
pdsh -a "cp -p /opt/kusu/lib/plugins/cfmclient/S99lsf-compute.sh /opt/kusu/lib/plugins/cfmclient/S99lsf-compute.sh.orig"
2. Disable restarting lsf daemons
pdsh -a "sed -i 's/\/etc\/init\.d\/lsf\_daemons\ stop/\#\/etc\/init\.d\/lsf\_daemons\ stop/g' /opt/kusu/lib/plugins/cfmclient/S99lsf-compute.sh”
pdsh -a "sed -i 's/\/etc\/init\.d\/lsf\_daemons\ start/\#\/etc\/init\.d\/lsf\_daemons\ start/g' /opt/kusu/lib/plugins/cfmclient/S99lsf-compute.sh”
3. Backup lsf master plugin file
cp /opt/kusu/lib/plugins/cfmclient/S99lsf-master.sh /opt/kusu/lib/plugins/cfmclient/S99lsf-master.sh.orig
4. Disable restarting lsf daemons on installer node
sed -i 's/\/etc\/init\.d\/lsf\_daemons\ stop/\#\/etc\/init\.d\/lsf\_daemons\ stop/g' /opt/kusu/lib/plugins/cfmclient/S99lsf-master.sh
sed -i 's/\/etc\/init\.d\/lsf\_daemons\ start/\#\/etc\/init\.d\/lsf\_daemons\ start/g' /opt/kusu/lib/plugins/cfmclient/S99lsf-master.shShould you want undo the change, just replace the plugin files with the backups.