Operating System - HP-UX
1834936 Members
2171 Online
110071 Solutions
New Discussion

Deleteing a node from a running SG cluster

 
SOLVED
Go to solution
catastro
Super Advisor

Deleteing a node from a running SG cluster

Hi folks. I am removing a node from a running SG cluster, and I already was able to delete the package that was on that node and already stopped the node.
I am looking to the Managing Service Guard manual and didn't get the point to do it.
I get several errors while doing the the cmcheckconf and/or cmgetconf commands.
It tells me things about:

Error: Unable to determine a unique identifier for physical volume /dev/dsk/c24t
1d2 on node ensnada2. Use pvcreate to give the disk an identifier.

ensnada2 is my active node (the one I want to keep on the cluster for now). and all the disk that are appearing in the messages are in use at this moment in different vg of the package that this node owns.
In the file I attach, the are the outputs for thecmcheckconf, cmgetconf and cmquerycl commands (talks about the same errors), and ioscan -fnCdisk of the active node and the /etc/lvmtab.
I want to do this as we are moving from ServiceGuard to Oracle RAC (client asked for it). This is the state of my SG cluster now:

ensnada2:/etc/cmcluster#cmviewcl

CLUSTER STATUS
tizona up

NODE STATUS STATE
ensnada1 down halted
ensnada2 up running

PACKAGE STATUS STATE AUTO_RUN NODE
Oracle2 up running disabled ensnada2

Any ideas/help would be greatfull. Thanks a lot
6 REPLIES 6
Steven E. Protter
Exalted Contributor
Solution

Re: Deleteing a node from a running SG cluster

Shalom,

On the remaining active node:

cmquerycl
cmcheckconf
cmapplyconf

Resolve the disk issue prior to this as indicated in the error message.

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
catastro
Super Advisor

Re: Deleteing a node from a running SG cluster

Hi SEP. I already noticed all that, but thanks although. Tha thing is, those disks are actives in the node I want to keep on my SG cluster and still gets the errors.
Wh and how to solve this is what I want to know. If I make the pvcreate on those disks, I am going to loose all the information that is on those disks, isn't it?
Again, thanks although
Rita C Workman
Honored Contributor

Re: Deleteing a node from a running SG cluster

My question would be in reference to something you mention -

the disks are in use on the active node in another volume group. hmmm...

Wouldn't those be the same disks from the same volume group from the now in-active node?
Wouldn't you have just 'failed-over' the associated package and have that same volume group/disks running on the second node?

Now the c-t-d- numbers from node to node may change, but the minor number of the volume group, hence the vgid, will not change.

So.......
Is the volume group minor number the same on both nodes?
Do you have a mapfile using the -s option showing the vgid number in the mapfile.file and is it the same on both nodes?

Just a couple thoughts,
Rita
catastro
Super Advisor

Re: Deleteing a node from a running SG cluster

Hi Rita. Could all this be because my boss, as soon as I deleted the package configuration (the one that was in the node I want to delete) and shutted down the node from the cluster, he did a vgexport of all the vgs on that node except the vg00 and vg02 (swap vg).

Now, how could I solve this issue without loosing any data? Thanks a lot to both of you.
catastro
Super Advisor

Re: Deleteing a node from a running SG cluster

Finally I worked it out with all these errors.
The lan errors were because in my cluster ascii file the heartbeat had switched from lan0 to lan8 and changing the number it dissapeared.
The disks errors, were because I forgot to remove the vg the other package owned from that same file, and commeting the lines solved it ou as well (I made an vgexport as well just in case).
And now the last thing in order to work fine is that I have to change my cluster lock vg, as it was one that was on the node I want to delete from the cluster.
With just changing that vg to another one that my active node has, would work out?
The cmcheckconf command just tells me that I can not modify it in a running cluster (I know I have to stop it, but will it work just like that?). I post as well the error of my last cmcheckconf:

Error: Modifying FIRST_CLUSTER_LOCK_VG value from /dev/vg01 to /dev/vg03 while c
luster tizona is running is not supported.

Thanks a lot
catastro
Super Advisor

Re: Deleteing a node from a running SG cluster

I reformed the cluster binary file with the cmapplyconf changing the parameters of the first CLUSTER_FIRST_LOCK_VG from vg01 to vg03.
After that, all went just fine.
That's for all your help.