Operating System - HP-UX
1831604 Members
2436 Online
110027 Solutions
New Discussion

Re: how to change alternative node to primary

 
SOLVED
Go to solution
leonardo_20
Valued Contributor

how to change alternative node to primary

Hi to all!

I've installed NNM 7.51 in a cluster with two node A and B with Service Guard.

The node A is setted to "Alternative".

I would like set the node A as "Primary", and node B as "Alternative".

Where I've to set this switching?

Thanks!
Points a lot ;)
Leonardo
3 REPLIES 3
Ralph Grothe
Honored Contributor
Solution

Re: how to change alternative node to primary

In the package's conf file in /etc/cmcluster/package/package.conf
simply swap the precedence of the NODE_NAME directive.
Distribute your change to all adoptive cluster nodes.
Then run cmapplyconf -P /etc/cmcluster/package/package.conf

I think the affected package needs to be halted for this.
Madness, thy name is system administration
A. Clay Stephenson
Acclaimed Contributor

Re: how to change alternative node to primary

The first node listed in the package configuration file is the primary. You need to halt the package. Edit the package configuration file changing the order of the nodes listed and then run cmapplyconf. You can then restart the package.
If it ain't broke, I can fix that.
leonardo_20
Valued Contributor

Re: how to change alternative node to primary

TKS!