Operating System - HP-UX
1833053 Members
2834 Online
110049 Solutions
New Discussion

Migrating HP Integrity VM server to new disk

 
William Pribble
Frequent Advisor

Migrating HP Integrity VM server to new disk

We have an rx6600 running Integrity VM 3.5.

It is connected to EMC symmetrix disk for the back data stores and vg00 for our VM guest.

We use the whole disk method to allocate storage to our VM guesst.

We have one EMC disk allocated to the VM guest root drive and an assortment of other EMC disk for data drives.

We are using EMC tool SRDF to create mirror copies between the Old and New Symmetrix Frames.

When we migrate to our new EMC symmetric frame, my CTD numbers will change on the Integrity hosts.

I know where the new disk will be on the new Symmetrix frame but will not know the new CTD number until I do my ioscan/insf -e on the Integrity hosts.

I need to associate these new CTD number to my vmguests.

My questions is, is it just as simple as editing the /var/opt/hpvm/guest//vmm_config.current file with the new CTD names and then bring up my VM guests?

Here is a sample of this file where I think I can change the CTD names....

# Virtual Storage Devices
#
scsi_disk(0,0).0 = disk(/dev/rdsk/c14t2d1)
scsi_disk(0,0).2 = disk(/dev/rdsk/c14t0d0)
scsi_disk(0,0).3 = disk(/dev/rdsk/c14t0d1)
scsi_disk(0,0).4 = disk(/dev/rdsk/c14t0d2)
scsi_disk(0,0).5 = disk(/dev/rdsk/c14t0d3)
scsi_disk(0,0).6 = disk(/dev/rdsk/c14t0d4)
scsi_disk(0,0).7 = disk(/dev/rdsk/c14t0d5)
scsi_disk(0,0).8 = disk(/dev/rdsk/c14t0d6)
scsi_disk(0,0).9 = disk(/dev/rdsk/c14t0d7)
scsi_disk(0,2).0 = disk(/dev/rdsk/c14t1d0)
scsi_disk(0,2).1 = disk(/dev/rdsk/c14t2d5)
scsi_disk(0,2).2 = disk(/dev/rdsk/c14t2d6)
scsi_disk(0,2).3 = disk(/dev/rdsk/c14t2d7)
scsi_disk(0,2).4 = disk(/dev/rdsk/c14t3d0)

Or is it a more complicated process....

Thanks
Bill Pribble
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Migrating HP Integrity VM server to new disk

Shalom Bill,

http://docs.hp.com/en/T2767-90067/T2767-90067.pdf

Page 131

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
William Pribble
Frequent Advisor

Re: Migrating HP Integrity VM server to new disk

I do not know if I explaned it well. We are not migrating vm guests between 2 Integrity VM hosts, we are switching out the Disk arrays. We are upgrading from one array to another array. The data is mirrored between the arrays. When we migrate using stand alone systems, I take an vgexport, creating a map file of the VGs on the EMC, we connect to the new storage, I run ioscan/insf -e (or reboot) and then I vgimport my VG from the map files and all my mount points and data are current.

Because the data is the same between the old Disk array and the new Disk array, I think it is as easy as telling the VM guest what the new disk (CTD) names are in the vmm_config.current file.

Is there away to use hpvmmigrate for my case above? I did not get it from the manual document on pg 131.

Thanks for your help
Bill Pribble
melvyn burnard
Honored Contributor

Re: Migrating HP Integrity VM server to new disk

-> My questions is, is it just as simple as editing the /var/opt/hpvm/guest//vmm_config.current file with the new CTD names and then bring up my VM guests?


NO!
You do not edit any of these files.

simply use hpvmmodify to remove the origional disk and then hpvmmodify to add the "new" disk
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
William Pribble
Frequent Advisor

Re: Migrating HP Integrity VM server to new disk

I can use hpvmmodify to first remove the disk and then add the new ones. But is this all I need to do? Or are there additional steps I need to take to access the disk and boot my vm guests?

Thanks for the help so far.