How To Disable Service Guard in HP-UX
Eg If we are installing some patches (static patches) on a cluster server and which require several reboots and we don't want to stop cluster again and again at that time we can disable service guard temporarily.
1. We can do so by commenting out the following entries
in /etc/inetd.conf:
#vi /etc/inetd.conf
hacl-cfg dgram udp wait root /usr/lbin/cmclconfd cmclconfd -p
hacl-cfg stream tcp nowait root /usr/lbin/cmclconfd cmclconfd -c
Then save and exit.
#vi /etc/inetd.conf
hacl-cfg dgram udp wait root /usr/lbin/cmclconfd cmclconfd -p
hacl-cfg stream tcp nowait root /usr/lbin/cmclconfd cmclconfd -c
Then save and exit.
2. And then run the below command
#/usr/sbin/inetd -c ->force inetd to re-read inetd.conf
3. Then diable the auto start for cluster service also
#Vi /etc/rc.config.d/cmcluster
AUTOSTART_CMCLD = 0
4. #cmquerycl -n ->
#/usr/sbin/inetd -c ->force inetd to re-read inetd.conf
3. Then diable the auto start for cluster service also
#Vi /etc/rc.config.d/cmcluster
AUTOSTART_CMCLD = 0
4. #cmquerycl -n
or
#cmviewcl
If the command fails, you have
successfully disabled SG
Regards,
Kiraan B Jadhhav
No comments:
Post a Comment