Operating System - HP-UX
1753501 Members
4673 Online
108794 Solutions
New Discussion

Re: Problem modifiying a package withe a cluster node down

 
SOLVED
Go to solution
likid0
Honored Contributor

Problem modifiying a package withe a cluster node down

Hi,

 

I have a 3 node cluster with hp-ux 11.11 and sg 11.15,  one of the nodes(node1) in the cluster is down, and deleted for good, never comming back.

 

The problem I have is pkg A , has configured as failover nodes node 1 and node2, now that node1 is gone, I need to configure node2 and node3 as failover packages in pkgA.

 

The problem is with node1 down i can't modify hte package, i get:

 

> cmcheckconf -v -P pkgA

Checking existing configuration ... Done
Gathering configuration information ... Done
Parsing package file: pkgA.conf.
Package bqmp already exists. It will be modified.
Error: Run script /etc/cmcluster/pkgB/pkgB.cntl for package pkgB
does not exist on node node1.
Error: Run script /etc/cmcluster/pkgC/pkgC.cntl for package pkgC
does not exist on node centauro2.
Maximum configured packages parameter is 20.
Configuring 5 package(s).
15 package(s) can be added to this cluster.
cmcheckconf  : Unable to verify package.

 

I also can't delete the pkg and recreate ir again because node1 is down:

 

cmdeleteconf -v -f -p pkga
cmdeleteconf  : Unable to delete the packages.
Error: Cannot connect to configuration daemon (cmclconfd) on node node1
Error: A temporary configuration file ($SGCONF/cmclconfig.tmp) cannot be written to disk on one or more nodes: No such file or directory
Error: Cannot connect to configuration daemon (cmclconfd) on node node1
Error: A temporary configuration file ($SGCONF/cmclconfig.tmp) cannot be removed from one or more nodes: No such file or directory
Error: Unable to apply the configuration change: No such file or directory
. Check the syslog file(s) for additional information.

 

 

So i can't delete node1 from the cluster config, because it has packages with node1 configured as a failover node...

 

cmcheckconf -v -k -C cmclconf.ascii

Checking cluster file: cmclconf.ascii
Checking nodes ... Done
Checking existing configuration ... Done
Gathering configuration information ... Done
Gathering configuration information ... Done
Gathering configuration information ................ Done
Cluster sdcrm is an existing cluster
Checking for inconsistencies .. Done
Cluster sdcrm is an existing cluster
Error: Package pkgA requires a node that is not configured in the cluster
Error: Package pkgB requires a node that is not configured in the cluster
Error: Package pkgC requires a node that is not configured in the cluster
Maximum configured packages parameter is 20.
Configuring 5 package(s).
15 package(s) can be added to this cluster.
cmcheckconf  : Unable to verify cluster file: cmclconf.ascii

 

I have no way of restoring node1, is there I way of getting this working without stoping the cluster??.

 

If not i will have to stop the cluster, cmdelete everything and reconfigure it again

Windows?, no thanks
1 REPLY 1
likid0
Honored Contributor
Solution

Re: Problem modifiying a package withe a cluster node down

I finally found out the way to do it, you have to run all the modifications at the sametime.

 

In the same command I delete node1 from the cluster, and also modify the packages removing node1 as a failover node in all the packages, and also adding node3 as a new failover node.

 

 

Example:

#cmapplyconf -v -k -C cluster.ascii -p pkg1/pkg1.conf -p pkg2/pkg2.conf -p pkg3/pkg3.conf

 

Windows?, no thanks