Operating System - HP-UX
1758669 Members
1971 Online
108874 Solutions
New Discussion

lvreduce and lvextend in a ServiceGuard Cluster

 
Timothy Czarnik
Esteemed Contributor

lvreduce and lvextend in a ServiceGuard Cluster

Hey all!

The volume groups in our Service Guard cluster are all multi-pathed on the hosts and use PVLINKS to specifiy their primary and secondary disk paths. I want to change the primary path in the volume group configuration from the current path to the secondary path but I don't want to initiate a package failover in doing so.

The current output from 'vgdisplay -v vg03a' is this:

--- Physical volumes ---
PV Name /dev/dsk/c8t2d6
PV Name /dev/dsk/c9t2d6 Alternate Link


I want to make the primary path /dev/dsk/c9t2d6 so it is my plan to issue the following commands:

vgreduce vg03a /dev/dsk/c8t2d6
vgextend vg03a /dev/dsk/c8t2d6

This will make disk /dev/dsk/c9t2d6 the primary path and make disk /dev/dsk/c8t2d6 the alternate (PVLINK) path.

My question is this:

Will this action in and of itself cause a package (database) failover to another node or is this an online event?

Thanks in advance!

Tim

Hey! Who turned out the lights!
1 REPLY 1
KVG
Esteemed Contributor

Re: lvreduce and lvextend in a ServiceGuard Cluster

No package failover will be performed as your filesystems will stay online.

you could also use
pvchange -s /dev/dsk/c9t2d6
to immediatly switch to the alternate path