Operating System - HP-UX
1827834 Members
1772 Online
109969 Solutions
New Discussion

Re: Removing node from the cluster

 
SOLVED
Go to solution
Srinikalyan
Regular Advisor

Removing node from the cluster

Hi,

HP-UX 11iv2
SG A.11.17
I have a two node SG cluster node1 and node2. For one of the deployment to be carried out, we need to bring out the node2(adoptive) out of the cluster (Say for 2 months period). For that we need to remove all the references of node2 in the cluster conf files. Can that be done without halting the cluster and package(running on node1)?

Thanks,
Srini
6 REPLIES 6
SUDHAKAR_18
Trusted Contributor

Re: Removing node from the cluster

Halt the package on the one of the node.

then edit the cluster configuration files.

Dont edit the conf files when cluter is working !!
Steven E. Protter
Exalted Contributor

Re: Removing node from the cluster

Shalom,

cmviewcl -v

To see what is running where.

You can do this:
cmhaltnode
# On node 2

Or you can move all the packages from node2 to node1 and then cmhaltnode.

What you need to be certain of is that all your packages will run on node1.

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
Stephen Doud
Honored Contributor
Solution

Re: Removing node from the cluster

1) halt any package running on node2

2) Edit the package configuration files that reference node2. Comment out:
#NODE_NAME

repeat for each package.

3) cmapplyconf -f -P ...

4) edit the cluster configuration file. Comment out the node2 lines

5) update the cluster: cmapplyconf -f -C


When you are ready to bring node2 back into the cluster, reverse these steps.
Srinikalyan
Regular Advisor

Re: Removing node from the cluster

As I said before all the packages are currently running in node1. Node2 is the failover node.

I believe removing the references in the package and cluster conf and applying the conf, doesn't required to be halt the package and the cluster. Please confirm.

Thanks,
Srini

Stephen Doud
Honored Contributor

Re: Removing node from the cluster

All currently supported versions of Serviceguard permit online (while the cluster is running) removal of a node from a cluster, or addition of a node to the cluster.
Srinikalyan
Regular Advisor

Re: Removing node from the cluster

Thanks for all.