Operating System - HP-UX
1833323 Members
3155 Online
110051 Solutions
New Discussion

MC/Serviceguard newbie question

 
Ravi Malghan_1
Occasional Advisor

MC/Serviceguard newbie question

Hi: I am very new to this product. I am trying to modify an existing MC/ServiceGuard configuration to include additional processes to be started when failover is performed.
1. Do I edit this file: /etc/cmcluster/OpC/OpC.cntl

2. Where in the file do I add the additional process commands to be stopped and started?

Thanks
Ravi

OS: HP-UX B.11.00
4 REPLIES 4
Pete Randall
Outstanding Contributor

Re: MC/Serviceguard newbie question

Ravi,

You could start here:

http://www.docs.hp.com/hpux/ha/index.html#ServiceGuard


Pete



Pete
A. Clay Stephenson
Acclaimed Contributor

Re: MC/Serviceguard newbie question

Yes, if the package is OpC then OpC.cntl is your boy.

You need to edit two functions: customer_defined_run_cmnds and customer_defined_halt_cmnds.

After editing this file on one node you need to copy it to the other adoptive nodes using rcp or ftp.
If it ain't broke, I can fix that.
Dave La Mar
Honored Contributor

Re: MC/Serviceguard newbie question

Ravi -
There is a control file section for Customer defined functions and Run functions. In our environment, with the help of HP, we set up an additional .env file. This enables us to make changes to .env that do not include rebuilding the .cntl file since the .env is referenced from the .cntl.


Best of luck.

Best regards,

DL
"I'm not dumb. I just have a command of thoroughly useless information."
melvyn burnard
Honored Contributor

Re: MC/Serviceguard newbie question

and when you make the changes to the control start/stop script don't forget to distribute it across the cluster nodes and TEST it
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!