Operating System - HP-UX
1838571 Members
3316 Online
110128 Solutions
New Discussion

Re: vgchange: Failed to get vg ownership, 251 closing conn.

 
Omar Alvi_1
Super Advisor

vgchange: Failed to get vg ownership, 251 closing conn.

Hi,

I'm having this issue with a cluster configuration basically.

I run the following commands to respectively enable and activate a vg in shared mode

vgchange -c y -S y vgora
vgchange -a s vgora

Second comand returns the following error

vgchange: Failed to get vg ownership, 251 closing conn.
vgchange: failed to get volume group ownership -Function is not available (251)

Initially when I formed the cluster the vg was visible on both nodes of the cluster. After the systems have been rebooted and the cluster reactivated, I can only seem to activate the volume group in exclusive mode.

Really appreciate any assistance with this. Haven't found much info on the reported error.

Thanks and Regards,

-Alvi


3 REPLIES 3
Jeff Schussele
Honored Contributor

Re: vgchange: Failed to get vg ownership, 251 closing conn.

Hi Alvi,

Was the cluster up when you did the -S y ?
Did you do it on both nodes? Should only be done on one.
If you did it on both do a -S n & bounce the cluster & start again.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Sanjay_6
Honored Contributor

Re: vgchange: Failed to get vg ownership, 251 closing conn.

Hi Omar,

Was the vg deactivated before you ran the "vgchange -c y -S y vgora" command.

the vg should be deavtivated on all nodes, vgchange -a n vgora and then the share should be enabled,

vgchange -c y -S y vgora

If required i would suggest doing to export / import on the other nodes using a map file after the share is enabled.

Hope this helps.

Regds
Omar Alvi_1
Super Advisor

Re: vgchange: Failed to get vg ownership, 251 closing conn.

Thanks Jeff and Sanjay,

I issued the shared mode enabling command only on one of the nodes, the primary, and also I issued it while the vg was deactivated.

And, as I mentioned before, when I first activated the cluster I could see the vg on both nodes, indicating that tis command ha worked before.

Thanks and Regards,

-Alvi