Operating System - HP-UX
1833796 Members
4555 Online
110063 Solutions
New Discussion

Error in staring package!!

 
Amit Manna_6
Regular Advisor

Error in staring package!!

Hello ,
I am getting following error in the package log file while staring the package.

Mar 15 08:45:52 - "abraham": Activating volume group /dev/vg_p06_ss01.bcv1 with exclusive option.
vgchange: Activation of volume group "/dev/vg_p06_ss01.bcv1" denied by another node in the cluster.
Request on this system conflicts with Activation Mode on remote system.
ERROR: Function activate_volume_group
ERROR: Failed to activate /dev/vg_p06_ss01.bcv1


Can anybody help please
12 REPLIES 12
Peter Godron
Honored Contributor

Re: Error in staring package!!

melvyn burnard
Honored Contributor

Re: Error in staring package!!

vgchange: Activation of volume group "/dev/vg_p06_ss01.bcv1" denied by another node in the cluster.

Tells you the VG is still active on another node. You will need to find out which node and deactivate it first.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Senthil Kumar .A_1
Honored Contributor

Re: Error in staring package!!

Hi,

The error message is self explanatory. I believe the VG "/dev/vg_p06_ss01.bcv1" is activated in some other node in the cluster. To resolve it,

1) Find the remote node in which VG "/dev/vg_p06_ss01.bcv1" is activated.

2) Find the LV's that are mounted from this VG with "bdf" command.

3) Umount all the LV's that are mounted from this VG, using "umount" command.

4) Deactivate the VG on the remote node using "vgchange -a n

5) Start the package now in the node where you want it to start, in your case, the node in which you received the said error message.

NOTE: Possibly this situation araises,due to the improper exit of Package Halt script in the remote node.

Regards,
Senthil Kumar .A
Let your effort be such, the very words to define it, by a layman - would sound like a "POETRY" ;)
Sivakumar TS
Honored Contributor

Re: Error in staring package!!


Hi Amit,

Is it a new package or a OLD ?

IS the VG enabled cluster mode ?

Also make sure thatt VG is not getting actviated in another node already.

Regards,

Siva.
Nothing is Impossible !
Bharat Katkar
Honored Contributor

Re: Error in staring package!!

Hi Amit,

VG is activated on the other node which may be or may not be part of the cluster.

Make sure that VG is not active on any node and retry the operation.
Also see if that VG is cluster aware right now.

Regards,
You need to know a lot to actually know how little you know
Amit Manna_6
Regular Advisor

Re: Error in staring package!!

I tried on the node which it was active and deactivated it on the node.

And tried starting on the intended node. But it gives same error.
Senthil Kumar .A_1
Honored Contributor

Re: Error in staring package!!

Hi,

In the node where you are trying to start the package execute the following commands.

#vgchange -a n /dev/vg_p06_ss01.bcv1
#vgchange -c y -S y /dev/vg_p06_ss01.bcv1
#vgchange -a y /dev/vg_p06_ss01.bcv1


Now try starting the package and see whether you are getting the same error.

Regards,
Senthil Kumar .A
Let your effort be such, the very words to define it, by a layman - would sound like a "POETRY" ;)
Amit Manna_6
Regular Advisor

Re: Error in staring package!!

Hi,
How can i check if the VG is part of the cluster?
Bharat Katkar
Honored Contributor

Re: Error in staring package!!

Hi Amit,

When you specify the VG in Cluster Configuration file (ascii file in /etc/cmcluster/cmclconf.ascii) then it becomes a part of the cluster.
But if you manually execute the command as:
# vgchange -c n /dev/vg_p06_ss01.bcv1
Then vg becomes cluster unaware.

So again to make that VG Cluste aware you need to do:
#vgchange -c y /dev/vg_p06_ss01.bcv1

Hope that helps.
Regards,
You need to know a lot to actually know how little you know
Amit Manna_6
Regular Advisor

Re: Error in staring package!!

It gives this error:

root@abraham:>vgchange -c y vg_p06_ss01.bcv1
vgchange: Failed to set the specified attributes for volume group "/dev/vg_p06_ss01.bcv1".
root@abraham:>
root@abraham:>vgchange -c n /dev/vg_p06_ss01.bcv1
vgchange: Failed to set the specified attributes for volume group "/dev/vg_p06_ss01.bcv1".



Any idea HP gurus.
Sandman!
Honored Contributor

Re: Error in staring package!!

Hi Amit,

Could you post the output of the following command:

# vgdisplay -v /dev/vg_p06_ss01.bcv1 | grep -i "VG Status"

cheers!
Amit Manna_6
Regular Advisor

Re: Error in staring package!!

Sandman,
As requested

vgdisplay -v /dev/vg_p06_ss01.bcv1 | grep -i "VG Status"
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vg_p06_ss01.bcv1".