Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

1052

October 29th, 2007 03:00

pvmove and MC/SG HP-UX 11.

Hello ,

How can i execute pvmove command to a cluster MC/SG ?
(I want to move 4 meta to another 4 meta).
Is this operation can make online ?
pvmove run in parrallel or sequenciel ?
How long time does it take to move 4 meta ( 4 x 33.72 Go)

thank's

2 Intern

 • 

2.8K Posts

October 29th, 2007 03:00

It's a long time since I last used pvmove ;-)

AFAIK pvmove CAN be used in a clustered environment .. even if I hope to be wrong :-) .. Should something trigger the move of the Package from the active node to the other node while you are pvmoving your beloved data, you can have a big PITA.

If you REALLY need to use pvmove (if you can not use lvm mirroring) please try to keep /etc/lvmtab aligned between the two (or more) hosts that form the cluster.

1) add new meta to the VG on the first host
2) export VG and import on the other hosts
3) run pvmove on one the host that activated the VG.
4) if nothing breaks and pvmove does its job smoothly, reduce the VG on the first host
5) export VG and import on the other hosts

The pvmove command will work while your application are online and will move one by one the extents from the source disk to the destination disk. It's a long process and I can't give you any help on the time needed. I can only suggest you to try other strategies if possible :-)

2 Intern

 • 

20.4K Posts

October 29th, 2007 06:00

make sure disk you are going to move are not cluster lock disk. Look in /etc/cmcluster/cm_cluster.cfg

find

FIRST_CLUSTER_LOCK_PV /dev/dsk/c165t0d0

make sure it's not the disk you are moving ..if it is ..you will need to recompile your cluster.

2 Intern

 • 

2.8K Posts

October 29th, 2007 08:00

Oh yeah .. you are right !! Shame on me .. I was forgetting the cluster lock !! :-(

It's the only thing that forces you to shut the whole cluster down while migrating from a storage to another...

I heared something about being able to move the cluster lock "dinamically" .. Only whispers in the wind or something usable in the near future ??

Message was edited by:
Stefano Del Corno

385 Posts

October 31st, 2007 06:00

I'm a bit removed from working as an HP-UX administrator, but I'd strongly suggest using a Quorum server instead of a Quorum disk - MUCH more flexible and avoids the need to take outages when you swap-out your disk subsystem.

We used Quorum servers for large (8+ node) as well as dual node clusters. In fact we had the 2 Quorum servers setup as a package in different clusters and then used the opposite quorum for the other cluster - worked very well.

Instead of pvmove I'd suggest following the same steps and using lvextend to mirror to the other drive instead of doing a pvmove. Basically same process but much easier to cleanup if the data move breaks in stream.

2 Intern

 • 

2.8K Posts

October 31st, 2007 07:00

I also suggested using LVM mirroring .. but if you are using LVM striping you won't be able to mirror your data ;-)

I've never ever had the opportunity to work with quorum servers .. unfortunatly !! :-)
No Events found!

Top