Operating System - HP-UX
1836603 Members
1954 Online
110102 Solutions
New Discussion

ServiceGuard Daemon at startup

 
SOLVED
Go to solution
Carles Viaplana
Valued Contributor

ServiceGuard Daemon at startup

Hello,

I've recovered a HP-UX 11.11 system with ServiceGuard to new machine, but I don't want ServiceGuard runs into this.

How can I verify ServiceGuard Daemon is not running? How can I disable it runs at startup?

Thanks in advance for your help.
Regards,

Carles
5 REPLIES 5
Ivan Krastev
Honored Contributor
Solution

Re: ServiceGuard Daemon at startup

use AUTOSTART_CMCLD=0 in /etc/rc.config.d/cmcluster - http://docs.hp.com/en/B3936-90100/ch05s09.html#ciidcicb



regards,

ivan
Carles Viaplana
Valued Contributor

Re: ServiceGuard Daemon at startup

Thanks Ivan!

BTW, I checked processes running and I haven't found any one about ServiceGuard, but there's always running /usr/sbin/cmviewcl command:

# ps -ef | grep cm
root 1252 1 0 20:55:57 ? 0:00 /usr/lbin/cmsnmpd
root 2157 2153 0 20:57:50 ? 0:07 opcmona
root 2154 2153 0 20:57:50 ? 0:06 opcmsga
root 2158 2153 0 20:57:50 ? 0:00 opcmsgi
root 21928 913 0 09:46:54 ? 0:00 cmclconfd -p
root 21931 19509 1 09:46:56 pts/tb 0:00 grep cm
root 21927 1351 0 09:46:54 ? 0:00 /usr/sbin/cmviewcl
#

I checked parent process:

# ps -ef | grep 1351
root 1351 1 0 20:56:14 ? 6:52 /opt/hpservices/jre/bin/../bin/PA_RISC/native_threads/java -DRu
root 22200 1351 0 09:48:59 ? 0:00 /usr/sbin/cmviewcl
#

Why this command is running? When I try to kill, it starts again!

Thanks for your help.
Regards,

Carles
melvyn burnard
Honored Contributor

Re: ServiceGuard Daemon at startup

someone or something (like a script or monitoring tool) is running this.
Make sure you have no cron jobs doing this, or check for monitoring tools.
What does syslog say about this, anything?

Perhaps someone has connected via Serviceguard Manager?
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Carles Viaplana
Valued Contributor

Re: ServiceGuard Daemon at startup

Hello Melvyn,

here you're a fragment from syslog.log about ServiceGuard (just after 1st startup):

[...]
Nov 2 20:58:48 silvia CM-CMD[2925]: /usr/sbin/cmrunnode -v
Nov 2 20:59:55 silvia CM-CMD[3475]: cmhaltnode silvia
Nov 2 20:59:58 silvia CM-CMD[2925]: Request from root on node silvia to start the cluster on this node failed: not authori
zed.
Nov 2 21:00:39 silvia sshd[3532]: Did not receive identification string from 193.146.12.91
Nov 2 21:01:05 silvia CM-CMD[3475]: Request from root on node silvia to halt the cluster on this node failed: not authoriz
ed.
Nov 2 21:01:06 silvia xntpd[1387]: synchronized to 193.146.12.4, stratum=6
Nov 2 21:03:14 silvia xntpd[1387]: time reset (step) 127.655402 s
Nov 2 21:03:14 silvia xntpd[1387]: synchronisation lost
Nov 2 21:03:27 silvia SAM cl adm[3761]: Refreshing local cluster administration information.
Nov 2 21:03:31 silvia SAM cl adm[3761]: Cannot find the local binary file
Nov 2 21:03:31 silvia SAM cl adm[3761]: Failed to retrieve local cluster configuration
Nov 2 21:04:21 silvia inetd[913]: hacl-cfg/udp: Died on signal 9
Nov 2 21:06:10 silvia CM-CMD[4559]: cmhaltnode silvia
Nov 2 21:06:20 silvia SAM cl adm[4564]: Refreshing local cluster administration information.
Nov 2 21:06:25 silvia SAM cl adm[4564]: Cannot find the local binary file
Nov 2 21:06:25 silvia SAM cl adm[4564]: Failed to retrieve local cluster configuration
[...]

Thanks for your help.
Regards,

Carles
jitendra_8
Advisor

Re: ServiceGuard Daemon at startup

Hi Carles
just check out some configuration files in /etc/cmcluster, whether they exist or not?
1.etc/rc.config.d/cmcluster
2. /etc/cmcluster/cmclconfig
3./etc/cmcluster/rc
4./sbin/init.d/cmcluster
If any one missing ,system is in inconsistent state.