HPE EVA Storage
1837978 Members
1889 Online
110124 Solutions
New Discussion

Using a Business Copy LUN for Application Testing

 
Tom Mizuo
Occasional Contributor

Using a Business Copy LUN for Application Testing

The production description document for Business Copy has a section titled "Using a Business Copy LUN for Application Testing" but does not describe how to actually mount the LUN copy.

I have two rp8400 running HPUX 11i, both connected to a VA7110 SAN.

I would like to copy LUNs mounted on one rp8400 and mount the LUN copies on the other rp8400.

Has anyone done this? If so, what were the steps?

Thanks in advance,
-Tom-
2 REPLIES 2
Tom Mizuo
Occasional Contributor

Re: Using a Business Copy LUN for Application Testing

I opened up a HP software case and got the following from Jon Herring:

An example showing how vgchgid might be used follows:
----------------------------------------------------

mkdir /dev/vg05
mkdir /dev/vgbc
mknod /dev/vg05/group c 64 0x050000
mknod /dev/vgbc/group c 64 0x060000

pvcreate -f /dev/rdsk/c23t6d2
vgcreate /dev/vg05 /dev/dsk/c23t6d2
lvcreate -L 50 /dev/vg05 --> /dev/vg05/lvol1" has been successfully created
lvcreate -L 50 /dev/vg05 --> /dev/vg05/lvol2" has been successfully created
lvcreate -L 50 /dev/vg05 --> /dev/vg05/lvol3" has been successfully created

mkdir /oracle
mkdir /informix
mkdir /sybase

newfs -F vxfs /dev/vg05/rlvol1
newfs -F vxfs /dev/vg05/rlvol2
newfs -F vxfs /dev/vg05/rlvol3

mount /dev/vg05/lvol1 /oracle
mount /dev/vg05/lvol2 /informix
mount /dev/vg05/lvol3 /sybase

armcopy -p 50 -s 51 -a true mtlva <-- Original creation of BC Lun 51 from parent Lun 50

vgchgid /dev/rdsk/c23t6d3
vgimport /dev/vgbc /dev/dsk/c23t6d3
vgchange -a y /dev/vgbc
vgcfgbackup /dev/vgbc

mv /etc/lvmtab /tmp
vgscan -a

fsck /dev/vgbc/rlvol1
fsck /dev/vgbc/rlvol2
fsck /dev/vgbc/rlvol3

mkdir /bcoracle
mkdir /bcinformix
mkdir /bcsybse

mount /dev/vgbc/lvol1 /bcoracle
mount /dev/vgbc/lvol2 /bcinformix
mount /dev/vgbc/lvol3 /bcsybase
Tom Mizuo
Occasional Contributor

Re: Using a Business Copy LUN for Application Testing

See above self-reply.