Serviceguard
cancel
Showing results for 
Search instead for 
Did you mean: 

Lost the lock PV, how to rebuld it?

 
Highlighted
dennischen
Advisor

Lost the lock PV, how to rebuld it?

Hi Everyone,

I met a problem of the lock disk in MCSG hpux 11.23, I lost my lock disk by accidently removing the backend LUN from storage... How can I rebuild the lock disk? Havn't find the exact steps in the MCSG guide. I have some ideas, So appreciate if anyone correct me. The application is Oracle OPS.

1) create the new shared LUN in the backend storage, and map the LUN to the both nodes.

2) halt the cluster using cmhaltcl -f cluster1

3) vgextend vglock /dev/dsk/cxtxdx

    vgreduce vglcok /dev/disk/cytydy

4) modify the /etc/cmcluster/cluster.ascii FIRST_CLUSTER_LOCK_PV line

5) check and apply the cluster.ascii and cmruncl -v

 

 

 

[DB1/]#cmviewcl -v

CLUSTER STATUS
cluster1 up

NODE STATUS STATE
P1PMSDB1 up running

Cluster_Lock_LVM:
VOLUME_GROUP PHYSICAL_VOLUME STATUS
/dev/vglock /dev/dsk/c6t2d2 down

Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY up 0/4/2/0 lan3
PRIMARY up 0/1/2/0 lan0
STANDBY up 0/2/1/0 lan2

PACKAGE STATUS STATE AUTO_RUN NODE
pkg1 up running disabled P1PMSDB1

Policy_Parameters:
POLICY_NAME CONFIGURED_VALUE
Failover configured_node
Failback manual

Node_Switching_Parameters:
NODE_TYPE STATUS SWITCHING NAME
Primary up enabled P1PMSDB1 (current)

NODE STATUS STATE
P1PMSDB2 up running

Cluster_Lock_LVM:
VOLUME_GROUP PHYSICAL_VOLUME STATUS
/dev/vglock /dev/dsk/c8t2d2 down

Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY up 0/4/2/0 lan3
PRIMARY up 0/1/2/0 lan0
STANDBY up 0/2/1/0 lan2

PACKAGE STATUS STATE AUTO_RUN NODE
pkg2 up running disabled P1PMSDB2

Policy_Parameters:
POLICY_NAME CONFIGURED_VALUE
Failover configured_node
Failback manual

Node_Switching_Parameters:
NODE_TYPE STATUS SWITCHING NAME
Primary up enabled P1PMSDB2 (current)