Operating System - HP-UX
1834142 Members
2371 Online
110064 Solutions
New Discussion

MC ServiceGuard control file changes

 
SOLVED
Go to solution
Leoanrdo Bowens
Advisor

MC ServiceGuard control file changes

I need to change the mount point order in the /etc/cmcluster/????.cntl file. Do, I simply make a copy of the .cntl file, modify the original file with the changes, stop the package, restart the package and copy the new .cntl file to the other nodes in the cluster?
Excuses are tools of the incompetent.
6 REPLIES 6
Solution

Re: MC ServiceGuard control file changes

You just need to change control file and copy it to the remaining nodes.
Next time the package is stopped/started it will use the new configuration.

Andr??
Sanjay_6
Honored Contributor

Re: MC ServiceGuard control file changes

Hi Leoanrdo,

What you need to do before modifying the control script is

1.) Make a copy of the control file
2.) Edit and make changes to this copy.
3.) Keep another backup copy.
Stop the package
4.) Copy the new control file on all nodes where the pqckage will get activated.
5.) Start the package and test the operations of the package on all nodes.

Hope this helps.

Regds
Frederic Sevestre
Honored Contributor

Re: MC ServiceGuard control file changes

Hi,
You are right, you just have to modify your package control file and copy it on all the nodes and it will be ok. The package will use the new control file at the next start.
Fr??d??ric
Crime doesn't pay...does that mean that my job is a crime ?
A. Clay Stephenson
Acclaimed Contributor

Re: MC ServiceGuard control file changes

In this case, there is no real need to stop the package - if you are confident of your changes. Leave the package up and simply copy your cntl file to the other nodes. If you want to make sure that your changes are correct then halt the package, make the changes, copy the .cntl file to the other node(s), and restart the package. Something this trivial, I wouldn't bother to test just carefully check the changes you made.

Clay
If it ain't broke, I can fix that.
Leoanrdo Bowens
Advisor

Re: MC ServiceGuard control file changes

Thanks for all of the responses. I think I can handle the task from here.
Excuses are tools of the incompetent.
G. Vrijhoeven
Honored Contributor

Re: MC ServiceGuard control file changes

Hi ,

Go with your plan, copy the cntl file to other nodes just do net forget to create the new mount dir on the other nodes ( check the rights and ownership)

Gideon