HPE Storage Users Group

A Storage Administrator Community




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: HPUX and 3PAR Snapshots
PostPosted: Fri Jul 18, 2014 7:04 am 

Joined: Fri Jul 18, 2014 6:40 am
Posts: 4
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


Top
 Profile  
Reply with quote  
 Post subject: Re: HPUX and 3PAR Snapshots
PostPosted: Fri Jul 18, 2014 1:42 pm 

Joined: Fri Jul 19, 2013 10:11 am
Posts: 3
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.


Last edited by jimviera on Fri Jul 18, 2014 6:23 pm, edited 2 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: HPUX and 3PAR Snapshots
PostPosted: Fri Jul 18, 2014 1:45 pm 

Joined: Fri Jul 19, 2013 10:11 am
Posts: 3
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)


Top
 Profile  
Reply with quote  
 Post subject: Re: HPUX and 3PAR Snapshots
PostPosted: Sat Jul 19, 2014 5:27 am 

Joined: Fri Jul 18, 2014 6:40 am
Posts: 4
Hi,
i will try. Thanks for your help.

KK


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


Who is online

Users browsing this forum: No registered users and 145 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group | DVGFX2 by: Matt