Operating System - HP-UX
1837007 Members
1969 Online
110111 Solutions
New Discussion

Re: what state must be the VG lock ?

 
SOLVED
Go to solution
Jdamian
Respected Contributor

what state must be the VG lock ?

Hi

In my cluster I defined a VG lock. That VG has just one PV and holds no service (it is included in no package).

That VG must be activated always as /dev/vg00 and other non-cluster VGs (/etc/lvmrc)?

Must it be deactivated and SG will activate when necessary?

I'm a mess
9 REPLIES 9
Torsten.
Acclaimed Contributor

Re: what state must be the VG lock ?

The cluster lock VG could be a "normal" but shared VG. The information is set in the VG configuration area. You may use a "unused" VG too, but all servers must have access to it.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Todd McDaniel_1
Honored Contributor

Re: what state must be the VG lock ?

Oscar,

No it doesnt need to be part of any MCSG package nor does it need to be "managed" by SG.

As Torsten said, it only has to be made up of shared disks that can be seen by all boxes in the cluster. Since yours is a VG containing the disk(s) instead of just a cluster lock disk, I believe the VG needs to be defined on all boxes in the cluster.
Unix, the other white meat.
Faizer Jameel
Frequent Advisor
Solution

Re: what state must be the VG lock ?

Hi all

I have been able to start and stop my cluster many times and it works fine with a vg configured with a lock disk shared by both my nodes.

Query for a better understanding.

Does this vg holding the lock disk be in vgactivated mode or not.
[ when I do a vgdisplay it says the vg is not activated] this disk is visible on both he nodes.
Thanks
Faizer
Todd McDaniel_1
Honored Contributor

Re: what state must be the VG lock ?

Oscar,

Here is a great link to a mcsg manual.

http://docs.hp.com/en/B3936-90117/index.html

it is also available in pdf form on that page...


Unix, the other white meat.
Kevin Wright
Honored Contributor

Re: what state must be the VG lock ?

it does not need to be activated, just cluster awarey.
Stephen Doud
Honored Contributor

Re: what state must be the VG lock ?

I agree with Kevin. The lock VG does not have to be activated for Serviceguard to use it.
Serviceguard does not use the LVM stack when it needs to interact with the cluster lock structure, one the structure is installed using cmapplyconf.
manish_csc
Advisor

Re: what state must be the VG lock ?

Hi,
Cluster lock disk used only to avoid split brain sindrome while there is a node failure.

Cluster lock disk not necessary part of cluster VG.

Thanks
whiteknight
Honored Contributor

Re: what state must be the VG lock ?

The purpose of the cluster lock is to ensure that only one new cluster is
formed in the event that exactly half of the previously clustered nodes
try to form a new cluster. It is critical that only one new cluster is formed
and that it alone has access to the disks specified in its packages. You can
specify either a lock disk or a quorum server as the cluster lock.
A one-node cluster does not require a lock. Two-node clusters require the
use of a cluster lock, but the lock is recommended for larger clusters as
well. Clusters larger than 4 nodes can only use a quorum server as the
cluster lock.

You can outside of non cluster VGs. just treat as normal pv.
Problem never ends, you must know how to fix it
Jdamian
Respected Contributor

Re: what state must be the VG lock ?

Thanx everyone