System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

removing passive node from cluster

himacs
Super Advisor

removing passive node from cluster

Hi Admins,

I have to remove passive node from the cluster due to some activity and need to add node back to the cluster.This should not affect the active node

Please tell me exact steps i have to follow

thanks in advance

regards
himacs
4 REPLIES
Amit Parui
Valued Contributor

Re: removing passive node from cluster

Hello,

Firstly you need to change the package policy through - cmmodpkg

Then, you need to cmhaltnode to the passive node

You are ready to do your activity!!!
If Life gives u a ROCK, its upto u to build a BRIDGE or a WALL !!!
Steven E. Protter
Exalted Contributor

Re: removing passive node from cluster

Shalom,

cmhaltnode is the command. I would run it on the passive node and specify which of the nodes is to be removed from the cluster, just to be safe.

Check out the man page for options.

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
likid0
Honored Contributor

Re: removing passive node from cluster

Hy,

If you have no packages running on the passive node, you can check with cmviewcl, if you have any use cmhaltpkg to stop them.


Halt the cluster on the node

#cmhaltnode

Perform your Mantainance to the server.
(If you reboot your server and you have the AUTOSTART_CMCLD set to 1 in the /etc/rc.config.d/cmcluster file, the server will try to join the cluster on boot)



get the node back into the cluster

#cmrunnode -v
Windows?, no thanks
Sajjad Sahir
Honored Contributor

Re: removing passive node from cluster


Dear

first check the status of the cluster

cmviewcl

for to see what are the packages running
if any package is running on the node(which one u want to remove)
halt the package
by using cmhaltpkg
then run cmhaltnode
then u can remove the node

thanks and regards

Sajjad Sahir