Operating System - HP-UX
1838246 Members
4221 Online
110125 Solutions
New Discussion

ServiceGuard - Cleanup after node erroneously removed from cluster

 
SOLVED
Go to solution
Daniel Genevie
New Member

ServiceGuard - Cleanup after node erroneously removed from cluster

A node was shutdown and rebuilt before being removed from the cluster. There is one package setup to use the failed node. How do I go about getting rid of the failed node and package definition.
cmdeleteconf -vfp fails because the cluster cannot talk to the failed node.
cmapplyconf -v -C cmclconf.ascii with the node removed fails because the package has the failed node in the definition.
Note: There is a third node in the cluster which is production and currently running a separate package, so shutting down the cluster is not an easily available option....
5 REPLIES 5
IT_2007
Honored Contributor

Re: ServiceGuard - Cleanup after node erroneously removed from cluster

what is output status of cmviewcl ; cmviewcl -v
what is it says about node status?
check options to delete package forcefully then delete node from the cluster configuration.
sajeer_2
Regular Advisor

Re: ServiceGuard - Cleanup after node erroneously removed from cluster


did you try -f option?

cmdeleteconf -f -c clusterName -p pkgName

It will delete the specified package from specified cluster forcefully.
Stephen Doud
Honored Contributor
Solution

Re: ServiceGuard - Cleanup after node erroneously removed from cluster


To remove a node from a cluster (particularly one that has been reinstalled and no longer has Serviceguard installed):
1) edit the cluster configuration file, commenting out all references to the departing node
2) edit each package configuration file that contains a NODE_NAME reference for the departing node, commenting that NODE_NAME out.
3) perform cmapplyconf -f -C -P -P ...

Daniel Genevie
New Member

Re: ServiceGuard - Cleanup after node erroneously removed from cluster

Stephen, thanks, that worked. I attempted the cmapply conf on both the package and cluster separately, however, didn't think to try them both at the same time. Node is now removed.
Daniel Genevie
New Member

Re: ServiceGuard - Cleanup after node erroneously removed from cluster

Issue resolved