1833159 Members
2961 Online
110051 Solutions
New Discussion

MC/SG newbie

 
SOLVED
Go to solution
Rick Garland
Honored Contributor

MC/SG newbie

Hi all:

Got rp7410 running HPUX 11.11 and Service Guard A.11.14.

Being introduced to MS/SG and the real situations are beginning to be introduced. Example, this weekend I have maintainance to do on one of the rp7410. This system has n-pars so there are 2 systems that are part of a cluster.

Question, I am going to do maintenance on 1 of the partitions and I will be rebooting at least twice. What I have researched is the following:
edit /etc/rc.config.d/cmcluster:AUTOSTART_CMCLD to 0
halt the package on the server
cmhaltpkg
halt the node
cmhaltnode -v
do my maintenance and reboot(s)

start the node
cmrunnode -v
start the package
cmrunpkg -n
change AUTOSTART_CMCLD to 1

Am I close?

5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: MC/SG newbie

I'm not much more advanced than you.


first paragraph
If you ahlt the node any packages running on it will halt. If they are set up to fail over to other nodes they should fail over.


second paragraph
Only comment is why isn't the package configured to start when the node starts. Thats how we did it in class.

no idea on the last line of that paragraph.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Rick Garland
Honored Contributor

Re: MC/SG newbie

I am wanting to prevent failover from happening. I want to do my maintenance without having to do the MC/SG stuff.
Rick Garland
Honored Contributor

Re: MC/SG newbie

I am wanting to prevent failover from happening. I want to do my maintenance without having to do the MC/SG stuff.

I wish I could go to class!
RAC_1
Honored Contributor
Solution

Re: MC/SG newbie

Yes you are.

But if you are doing maintenance on just one node, whay to stop the package?? Move it to another node. do cmhaltnode on the node, you will be doing maintenanace on, set AUTOSTART_CMCLD=0.

Do maintenance and once done start cluster.

You can also move the package back to this node.

Anil
There is no substitute to HARDWORK
Sundar_7
Honored Contributor

Re: MC/SG newbie

On the node you are planning to do some maintenance (say node1)

node1> vi /etc/rc.config.d/cmcluster
AUTOSTART_CMCLD=0
node1>

node1> cmhaltpkg

node1> cmrunpkg -v -n node2

node1> cmhaltnode node1

node1>
node1 is now back online and ready to take over the packages

node1> vi /etc/rc.config.d/cmcluster
AUTOSTART_CMCLD=1
node1>

node1> cmhaltpkg

node1> cmrunpkg -n node1

You might need to execute cmmodpkg command for node1 to be able to start the package

if cmrunpkg fails, then execute cmmodpkg -e -n node1

Learn What to do ,How to do and more importantly When to do ?