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
HPUX and 3PAR Snapshots
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.
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.
Last edited by jimviera on Fri Jul 18, 2014 6:23 pm, edited 2 times in total.
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)
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)
-
- Posts: 4
- Joined: Fri Jul 18, 2014 6:40 am
Re: HPUX and 3PAR Snapshots
Hi,
i will try. Thanks for your help.
KK
i will try. Thanks for your help.
KK