HPE Storage Users Group https://3parug.net/ |
|
HPUX and 3PAR Snapshots https://3parug.net/viewtopic.php?f=18&t=816 |
Page 1 of 1 |
Author: | kklajnszmit [ Fri Jul 18, 2014 7:04 am ] |
Post subject: | HPUX and 3PAR Snapshots |
We want to test the functionality of the snapshot (virtual copy) with host running HP UX. The volume is mounted via HPUX LVM (logical volume manager) using a VG (volume group vg0 for example). We want to make changes then perform snapshot on the volume. After the snapshot, we would like to mount back original volume under HP UX . How to do such an operation under HP UX? The original volume should be connected to the same VG or in the new VG ? I know that the question is more HPUX, but I would be grateful for any help or a link to information. Regards KK |
Author: | jimviera [ Fri Jul 18, 2014 1:42 pm ] |
Post subject: | Re: HPUX and 3PAR Snapshots |
1 - Create a mapfile of your VGs (Vgexport -m) 2- Quiesce your applications and/or databases. (HPUX sync command) 3 - Quiesce your VGs (ex. vgchange -Q rw -t 180 vg01) 4 - Create your Virtual Volumes (snapshots) 5 - Resume previously quiesced VGs (ex. vgchange -R vg01) 6 - On the 3Par Export your Virtual Volumes to your host 7 - If mounting VVs on same host you need to issue a vgchgid for each LUN device (ex. vgchgid /dev/rdisk/disk29) 8 - Create VG and import VG mapfile - mkdir /dev/vg???? - mknod /dev/vg????/group c 64 0x0?0000 - vgimport -v -m /home/sys/vg01.map /dev/vg?? /dev/disk/disk29 - vgchange -a y vg?? (snapshot VG) 9 - Run fsck on each VV File System 10 - Mount the VV File Systems This procedure will allow you to have both the parent LUNs as well as the snapshot mounted at the same time. |
Author: | jimviera [ Fri Jul 18, 2014 1:45 pm ] |
Post subject: | Re: HPUX and 3PAR Snapshots |
I forgot the vgimport command in step 8: 8 - Create VG and import VG mapfile - mkdir /dev/vg???? - mknod /dev/vg????/group c 64 0x0?0000 - vgimport -v -m /home/sys/vg01.map /dev/vg?? /dev/disk/disk29 - vgchange -a y vg?? (snapshot VG) |
Author: | kklajnszmit [ Sat Jul 19, 2014 5:27 am ] |
Post subject: | Re: HPUX and 3PAR Snapshots |
Hi, i will try. Thanks for your help. KK |
Page 1 of 1 | All times are UTC - 5 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |