Operating System - HP-UX
1832852 Members
3955 Online
110047 Solutions
New Discussion

Why does cmgetconf get logged several times in syslog.log

 
Shivam Tiwari
Honored Contributor

Why does cmgetconf get logged several times in syslog.log

Hi All,

I found that every second there is a comand running
cmgetconf -p

Thanks is advance

Shivam Tiwari
Never say No. Say I will Do it........
8 REPLIES 8
Scot Bean
Honored Contributor

Re: Why does cmgetconf get logged several times in syslog.log

cmgetconf is an HPUX Service Guard command.

Every second is excessive, if you are using SG clusters, they are not healthy.
Sanjay_6
Honored Contributor

Re: Why does cmgetconf get logged several times in syslog.log

Hi,

You may be running legato networker backup on this server.

do a ps -ef and grep for nsr

ps -ef |grep nsr

Do you see a nsrexecd process "/opt/networker/bin/nsrexecd".

If you do a strings on this executable and grep for cmgetconf, you'll find it over there. Seems like this process is calling cmgetconf every second for all the packages in the cluster. Never worried much about that so did not take it further myself.

Hope this helps.

regds
Geoff Wild
Honored Contributor

Re: Why does cmgetconf get logged several times in syslog.log

Every second? It takes more then a second to run....You need to find out what is running it - and stop it.

cmgetconf only get's cluster or package information - cmviewcl to see status.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Shivam Tiwari
Honored Contributor

Re: Why does cmgetconf get logged several times in syslog.log

No nsr is not there in the process list.
Never say No. Say I will Do it........
Sanjay_6
Honored Contributor

Re: Why does cmgetconf get logged several times in syslog.log

Hi Shivam,

Maybe this link would help find the process that is running cmgetconf,

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000076534391

the itrc doc id is UMCSGKBRC00014697.

Hope this helps.

Regds
Shivam Tiwari
Honored Contributor

Re: Why does cmgetconf get logged several times in syslog.log

Hi I got the script here is the output
Thu Dec 2 12:57:38 EST 2004

PID PPID COMMAND

4357 21315 /bin/sh /usr/sbin/cmgetconf -p
21315 21312 /opt/OV/lbin/conf/ovconfd
21312 1 /opt/OV/bin/ovcd

So by the above I found that ovcd is the process that is invoking the ovconfd that in turn is invoking cmgetconf process but I dont know why it is doing lke that.

TIA
Shivam Tiwari
Never say No. Say I will Do it........
Geoff Wild
Honored Contributor

Re: Why does cmgetconf get logged several times in syslog.log

Sounds like you are running OVO in a MC/SG environment?

More then likely a template is configured incorrectly.

RGds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Shivam Tiwari
Honored Contributor

Re: Why does cmgetconf get logged several times in syslog.log

Thats true.. I am running OVO on Service Guard.
But I am not sure which kind of templtates I need to check or the hierarchy to check the problem
Never say No. Say I will Do it........