Operating System - HP-UX
1753887 Members
7196 Online
108809 Solutions
New Discussion юеВ

Migrate VxVM dg to new server

 
SOLVED
Go to solution
Bill Ye
Occasional Contributor

Migrate VxVM dg to new server

Hi ,

We have a N-class server, which is using vxvm disk groups from XP. Recently, we plan to migrate all applications from that N-class server to a new rp8420 server.

For all file systems which are located on local disks, I am using copy/restore for migration. But for dg located on XP, I am not sure what VxVM commands should be used for migration. The FC connections will be removed from N-class and connect to rp8420.

Since I am new to VxVM, could someone kindly give me some suggestions?

Thanks,
Bill
3 REPLIES 3
David Child_1
Honored Contributor

Re: Migrate VxVM dg to new server

You will want to look at 'vxdg deport' and 'vxdg import'.

David
Stuart Abramson
Trusted Contributor
Solution

Re: Migrate VxVM dg to new server

1. Given this "bdf" on original host:

# bdfm.ksh
File System Mbytes Used Avail %Used MountPnt
/dev/vg00/lvol1 292 57 206 22% /stand
/dev/vg00/lvol3 208 89 118 43% /
/dev/vg00/lvol4 512 4 504 1% /tmp
/dev/vg00/lvol5 512 3 505 1% /home
/dev/vg00/lvol6 2048 1711 334 84% /opt
/dev/vg00/lvol7 2848 1308 1528 46% /usr
/dev/vg00/lvol8 4608 617 3960 13% /var
/dev/vgr11c/lvol01 30000 21180 8682 71% /u500
/dev/vgr11c/lvol02 30000 17913 11898 60% /u501
/dev/vgr11c/lvol03 8000 7 7494 0% /u502
/dev/vx/dsk/otdg/otlv01 1024 1 959 0% /u1001

2. Deport DG on old disks:

fuser -kcu /u1001
umount /u1001
#rmdir /u1001
vxdg deport otdg

3. Import on new disks.


vxdg -C import otdg
vxrecover -g otdg -sb # may be optional.. Look this up!
vxvol -g otdg startall
fsck -F vxfs /dev/vx/dsk/otdg/otlv01
#fsck -y -F vxfs /dev/vgNHX/lv01
mkdir /u1001
mount /dev/vx/dsk/otdg/otlv01 /u1001
Devender Khatana
Honored Contributor

Re: Migrate VxVM dg to new server

Bill,

As you have to cnnect XP to different host just check before going ahead that the LUNS of XP which were allocated for us on N-class are allowed to be used by rp8420. Since I know I think you will require to reallocate security to these LUNS. Otherwise RP8420 will not be able to use these LUNS.Once these are available in your RP8420 you can run Veritas commands.

HTH,
Devender
Impossible itself mentions "I m possible"