HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Migrate vmhosts vg00 to new disks
Operating System - HP-UX
1834609
Members
3301
Online
110069
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2009 01:06 AM
09-29-2009 01:06 AM
Migrate vmhosts vg00 to new disks
HP-ux 11iv2, Integrity VM 3.5
I would like to migrate the virtual disks for a vmhost to new disks.
On the virtusl server they are logical volumes so I can migrate the data with dd.
how do I update the vmhost to point to the new devices?
I would like to migrate the virtual disks for a vmhost to new disks.
On the virtusl server they are logical volumes so I can migrate the data with dd.
how do I update the vmhost to point to the new devices?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2009 01:45 AM
09-29-2009 01:45 AM
Re: Migrate vmhosts vg00 to new disks
use DRD to clone the vg00 disk to a new disk, then activate the new clone
man drd
If your server does not have DRD, you can obtain it for free from:
https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=DynRootDisk
man drd
If your server does not have DRD, you can obtain it for free from:
https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=DynRootDisk
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2009 01:56 AM
09-29-2009 01:56 AM
Re: Migrate vmhosts vg00 to new disks
thanks Melvyn, I might try this for vg00
I have other vg's too and was hoping I cud just use dd and then update the vmhost config to point at the new disks and start them up again
I have other vg's too and was hoping I cud just use dd and then update the vmhost config to point at the new disks and start them up again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2009 01:12 AM
09-30-2009 01:12 AM
Re: Migrate vmhosts vg00 to new disks
Bonjour Alan,
Yes DRD is an alternative for vg00. But I think you can use as well "dd" instead. Especially if you have others VG than vg00. Depending on your storage devices, you can also use snap or clone features at storage level
Just be aware of some things :
- target disks (file, lv or disks devices) must have at least the same size than source disks.
- be aware of virtual bus/device/target instances. If you replace a disk with a copy, be sure that new disks will have the same bus/device/target than original one.
- If you present LV as virtual disks to the VM, you should change vgid unless you delete original VG.
- In some circumstances (copying vg00 at storage level), you will have to modify the EFI autoboot.
To answer your original question "how do I update the vmhost to point to the new devices? ", here is a small example with virtual file disks
You must stop the VM before proceeding.
root@wad00002:/oldos/home#hpvmstatus -P foo
[Storage Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
disk avio_stor 1 0 0 0 0 file /oldos/home/foo1
disk avio_stor 1 0 0 1 0 file /oldos/home/foo2
Modify storage AND specify bus/device/target informations :
hpvmmodify -P foo -m disk:avio_stor:1,0,0:file:$PWD/foo3 -m disk:avio_stor:1,0,1:file:$PWD/foo4
root@wad00002:/oldos/home#hpvmstatus -P foo
[Storage Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
disk avio_stor 1 0 0 0 0 file /oldos/home/foo3
disk avio_stor 1 0 0 1 0 file /oldos/home/foo4
HTH
Eric
Yes DRD is an alternative for vg00. But I think you can use as well "dd" instead. Especially if you have others VG than vg00. Depending on your storage devices, you can also use snap or clone features at storage level
Just be aware of some things :
- target disks (file, lv or disks devices) must have at least the same size than source disks.
- be aware of virtual bus/device/target instances. If you replace a disk with a copy, be sure that new disks will have the same bus/device/target than original one.
- If you present LV as virtual disks to the VM, you should change vgid unless you delete original VG.
- In some circumstances (copying vg00 at storage level), you will have to modify the EFI autoboot.
To answer your original question "how do I update the vmhost to point to the new devices? ", here is a small example with virtual file disks
You must stop the VM before proceeding.
root@wad00002:/oldos/home#hpvmstatus -P foo
[Storage Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
disk avio_stor 1 0 0 0 0 file /oldos/home/foo1
disk avio_stor 1 0 0 1 0 file /oldos/home/foo2
Modify storage AND specify bus/device/target informations :
hpvmmodify -P foo -m disk:avio_stor:1,0,0:file:$PWD/foo3 -m disk:avio_stor:1,0,1:file:$PWD/foo4
root@wad00002:/oldos/home#hpvmstatus -P foo
[Storage Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
disk avio_stor 1 0 0 0 0 file /oldos/home/foo3
disk avio_stor 1 0 0 1 0 file /oldos/home/foo4
HTH
Eric
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP