1833053 Members
2315 Online
110049 Solutions
New Discussion

cmapplyconf proeblem .

 
baiju_3
Esteemed Contributor

cmapplyconf proeblem .

Hi,

I am in a difficult situation . I have removed one node from cluster and renamed as some other server with out knowing it was a part of cluster .
No packages were running on this node , but there are some packages running on other node with alternate node set as this node .

For those packages I removed the node name from *.cfg file and I am trying to do cmapplyconf -f -P pkgname.cfg ,buyt is is always checking the other node and throwing the below error ? Is there any work around to fix this other than shutting down tha packages ,delete package and re add with only one node ?

The cmapplyconf for a "c" package ,error is as follows.


Error: Run script /etc/cmcluster/a/a.cntl for package ebrdi0p
does not exist on node hostB.
Error: Run script /etc/cmcluster/b/b.cntl for package ebrdp0p
does not exist on node hostB.

though I have removed the hostB entry from node name list a,b and c packages.

Thanks in advance ,
BL.

Good things Just Got better (Plz,not stolen from advertisement -:) )
4 REPLIES 4
RAC_1
Honored Contributor

Re: cmapplyconf proeblem .

I think for clearing things you would need cluster restart. Before that, try pushing cmapply on particular node.

-n node1 option.
There is no substitute to HARDWORK
Alex Lavrov.
Honored Contributor

Re: cmapplyconf proeblem .

Please read the steps for removing a node form a cluster:

http://docs.hp.com/en/B3936-90079/ch07s02.html#d0e17535

Basically it's "cmhaltnode" command and then get rid of it in every configuration files.

Alex.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Mel Burslan
Honored Contributor

Re: cmapplyconf proeblem .

you can not run a cmapplyconf while the cluster is running. you need to take down both clusters. Re-arrange the node and package information in the cluster ascii files. Then run cmapplyconf. Then copy the necessary package control files into their new locations, then start the cluster services with cmruncl command.
________________________________
UNIX because I majored in cryptology...
Juan M Leon
Trusted Contributor

Re: cmapplyconf proeblem .

I agree with Mel, you need to recycle the cluster, just make sure you remove the alternate node name from the package.conf and cmclconfig files. then run a cmcheckconf before run the apply to ensure that the other node was totally removed. Also I will suggest to use -v for berbose, it will help you to see all information as is checked or applyied.

Hoep it helps.

Juan