Operating System - HP-UX
1848547 Members
10874 Online
104033 Solutions
New Discussion

Restore Cluster Lock Disk

 
khilari
Regular Advisor

Restore Cluster Lock Disk

Hi people, i wanted to ask as to how you reform a cluster lock disk?
5 REPLIES 5
Sanjay_6
Honored Contributor

Re: Restore Cluster Lock Disk

Hi,

you replace it like any other disks on the system. Try this link,

http://docs.hp.com/en/B3936-90079/ch08s03.html

Hope this helps.

Regds
Sundar_7
Honored Contributor

Re: Restore Cluster Lock Disk

Reform a cluster lock disk ? - are you trying to change the cluster lock disk ?

Get the current cluster configuration file (cmgetconf) - edit it and check it (cmcheckconf) and apply it (cmapplyconf).
Learn What to do ,How to do and more importantly When to do ?
Sivakumar TS
Honored Contributor

Re: Restore Cluster Lock Disk

Hi Mujtaba,

Replacing a failed lock disk is the same as replacing a data disk. If you are using a dedicated lock disk (one with no user data on it), then you need to issue only one LVM command, as in the following example:


# vgcfgrestore -n /dev/vglock /dev/dsk/c2t3d0

Serviceguard checks the lock disk on an hourly basis. After the vgcfgrestore command, review the syslog file of an active cluster node for not more than one hour. Then look for a message showing that the lock disk is healthy again.

You can also do a #cmapplyconf after this.

WIth Regards,

Siva.
Nothing is Impossible !
Nguyen Anh Tien
Honored Contributor

Re: Restore Cluster Lock Disk

The document say:
Replacing a failed lock disk mechanism is the same as replacing a data disk. If you are using a dedicated lock disk (one with no user data on it), then you need to issue only one LVM command, as in the following example:

# vgcfgrestore -n /dev/vg_lock /dev/dsk/c2t3d0

Serviceguard checks the lock disk on an hourly basis. After the vgcfgrestore command, review the syslog file of an active cluster node for not more than one hour. Then look for a message showing that the lock disk is healthy again
==============
But I correct it as
# vgcfgrestore -n /dev/vg_lock /dev/rdsk/c2t3d0
Only working with raw disk
HTH
HP is simple
Stephen Doud
Honored Contributor

Re: Restore Cluster Lock Disk

We could use more information...
Are you replacing the cluster lock disk or otherwise looking to reinstall the cluster lock structures or are you changing the cluster lock disk path to a new disk entirely?
Is the current cluster lock disk path correct? (Use cmviewconf to see what the current paths are)
Do you have the luxury of halting the cluster?

If you simply need to repair the structures on the current cluster lock disk, open a case with the HP response center and request the 'cminitlock' tool.

If you need to change the cluster lock disk paths, update the cluster configuration ASCII file with the correct paths, halt the cluster and cmapplyconf the change.

If you need to change the paths but don't have the luxury to halt the cluster, consider redirecting the old dsk paths to the new path that will support the cluster lock disk function. See document UXSGKBRC00017672 "Emergency fix to alternate Serviceguard cluster lock disk path"