This post is more than 5 years old
14 Posts
0
1056
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
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
xe2sdc
2 Intern
2 Intern
•
2.8K Posts
0
October 29th, 2007 03:00
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
dynamox
2 Intern
2 Intern
•
20.4K Posts
1
October 29th, 2007 06:00
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.
xe2sdc
2 Intern
2 Intern
•
2.8K Posts
0
October 29th, 2007 08:00
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
bodnarg
2 Intern
2 Intern
•
385 Posts
0
October 31st, 2007 06:00
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.
xe2sdc
2 Intern
2 Intern
•
2.8K Posts
0
October 31st, 2007 07:00
I've never ever had the opportunity to work with quorum servers .. unfortunatly !!