1836796 Members
2857 Online
110110 Solutions
New Discussion

Rebooting Cluster Server

 
Shawn McConnell
Advisor

Rebooting Cluster Server

I'm somewhat new to working with Serviceguard. I need to reboot the primary node of the cluster but I don't want the cluster to fail over to the secondary node. So is this what I need to do ?

1) cmviewcl -v (view the cluster)
2) cmhaltpkg -v "pkgname"
3) shutdown -r -y now

Then once the server comes up

1) cmviewcl -v (View the cluster)
2) cmrunpkg -n "pkgname"
3) cmviewcl -v

Then if I need to check that switching in enabled and enable it if need be.

cmmodpkg e "pkgname"

Thanks

Shawn
6 REPLIES 6
melvyn burnard
Honored Contributor

Re: Rebooting Cluster Server

you hav eit basically all correct.
The main thing to remembr is that you verify the package switching is enabled both globally and locally on the cluster.
do:
cmviewvl -v -p
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Shawn McConnell
Advisor

Re: Rebooting Cluster Server

Thanks I'll give it a try tonight.
Darrel Louis
Honored Contributor

Re: Rebooting Cluster Server

Shawn,

How many nodes do you've in your cluster environment?
If you have 2 nodes and no quorum server I think your cluster whole cluster will go down.
Before the shutdown you need to perform the following: cmhaltnode -n

When server comes up run the following first:
cmrunnode -n

GoodLuck

Darrel
Kent Ostby
Honored Contributor

Re: Rebooting Cluster Server

Shawn / Daryl -- It will depend on how he has the shutdown set up.

Generally, if you use shutdown, it will do a cmhaltnode --

If you do a REBOOT instead of a shutdown, you will be in for some trouble because you will drop the node hard.

Shutdown should work fine in most cases unless you have commented out the cmhaltnode portion for serviceguard shutdown.
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Shawn McConnell
Advisor

Re: Rebooting Cluster Server

Melvyn,

Thanks for the confirmation. The shutdown and reboot worked fine the way we had discussed.

Many thanks to all that replied :)

Shawn
Shawn McConnell
Advisor

Re: Rebooting Cluster Server

Closing thread