- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Offline Integrity VM migration cannot find tar...
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
03-10-2010 04:43 AM
03-10-2010 04:43 AM
Offline Integrity VM migration cannot find target disk
I have set up one BL870 and one BL860 blades in order to migrate Integrity VMs between the two. The main idea is to move the VM boot disk from the internal boot disk of the BL870 to the SAN storage on the EVA connected to the BL860.
Here are the configs of each:
BL860c:
ioscan -fnNkC disk
disk 6 64000/0xfa00/0x7 esdisk CLAIMED DEVICE HP HSV300
/dev/disk/disk6 /dev/rdisk/disk6 (EVA4400)
BL870:
root@BL870_Host:/# ioscan -fnNkC disk
disk 12 64000/0xfa00/0xa esdisk CLAIMED DEVICE HP IR Volume
/dev/disk/disk12 /dev/disk/disk12_p2 /dev/rdisk/disk12 /dev/rdisk/disk12_p2
/dev/disk/disk12_p1 /dev/disk/disk12_p3 /dev/rdisk/disk12_p1 /dev/rdisk/disk12_p3
The problem comes in when I try and migrate the VM from the BL870c to the BL860c I get this error message:
root@BL870_Host:/# hpvmmigrate -P VM2 -h BL860_Host -C -m disk:scsi:disk:/dev/rdisk/disk6
hpvmmigrate: Connected to target host using 'BL860_Host'
hpvmmigrate: Unable to find device disk:scsi::disk:/dev/rdisk/disk6..
Here are the details of the VM i like to migrate:
root@BL870_Host:/#hpvmstatus -P VM2
[Virtual Machine Details]
Virtual Machine Name VM # OS Type State
==================== ===== ======= ========
VM2 5 HPUX Off
[Authorized Administrators]
Oper Groups :
Admin Groups :
Oper Users :
Admin Users :
[Virtual CPU Details]
#vCPUs Entitlement Maximum
====== =========== =======
2 10.0% 100.0%
[Memory Details]
Total Reserved
Memory Memory
======= ========
4 GB 64 MB
[Storage Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
dvd scsi 0 0 0 0 0 file /tmp/HPUXISO/hpux_11iv3_HAOE_2of2.iso
disk scsi 0 0 0 1 0 disk /dev/rdisk/disk12
tape avio_stor 0 2 0 0 0 attach_path 0/3/0/0/0/0.0x20020017a4fde0bf.0x0
changer avio_stor 0 2 0 1 0 attach_path 0/3/0/0/0/0.0x20020017a4fde0bf.0x1000000000000
[Network Interface Details]
Interface Adaptor Name/Num PortNum Bus Dev Ftn Mac Address
========= ========== ========== ======= === === === =================
vswitch lan switch0 4 0 1 0 32-e5-74-df-95-68
[Misc Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
serial com1 tty console
It can connect to the target host, but for some reason it cannot see the target storage.
I have added this disk to the database using hpvmdevmgmt, but still no luck.
Please assist.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2010 08:17 AM
03-10-2010 08:17 AM
Re: Offline Integrity VM migration cannot find target disk
Well I only succeed an hpvmmigrate with a "share" disk present to two hosts...
So here, you try to copy the IR volume disk12 belongs to BL870 to a EVA disk6 .... I really doubt that is permit.
"The hpvmmigrate command moves an existing virtual machine to the destination VM Host. To move a virtual machine from a source VM Host to a destination VM Host, both hosts must be configured to allow common access to all of the required resources of the migrating virtual machine."
But if you have an IR volume you cannot share the ressource.
So better perhaps to present the eva disk6 to bl870c, made a dd of the disk and try to boot the guest on the bl860c
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2010 10:08 PM
03-10-2010 10:08 PM
Re: Offline Integrity VM migration cannot find target disk
But here is a section of the hpvmmigrate man pages, that specifies that if you use the -C with the -m switches, you should be able to do this.
-C For offline migrations, physically copies the single
storage device specified with the -m option to the
target VM Host during the migration process. If
specified before the first -m option, it applies to all
-m options that specify an appropriate type of storage.
This might take a long time to complete if a large
amount of storage needs to be copied.
Am I just misinterpreting this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2010 12:22 AM
03-11-2010 12:22 AM
Re: Offline Integrity VM migration cannot find target disk
Does the BL870c have access to the target LUN on the SAN ? Not sure, (in fact I never used hpvmmigrate :-), but if it has no access I guess that the copy process wont' work, no ?
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2010 01:05 AM
03-11-2010 01:05 AM
Re: Offline Integrity VM migration cannot find target disk
I have presented the SAN disk from the BL860 to the BL870. The BL870 now picks it up as /dev/rdisk/disk14.
Here are the results:
root@BL870_Host:/# hpvmmigrate -P VM2 -h BL860_Host -C -m disk:scsi:disk:/dev/rdisk/disk14
hpvmmigrate: Connected to target host using 'BL860_Host'
hpvmmigrate: Unable to find device disk:scsi::disk:/dev/rdisk/disk14.
The bottom line is to move the boot disk of VM2 to the SAN and to switch hosts at the same time using the hpvmmigrate command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2010 01:30 AM
03-11-2010 01:30 AM
Re: Offline Integrity VM migration cannot find target disk
In fact, I am not sure that copying boot disk with hpvmmigrate will give a new bootable disk. The destination disk can not be exactly the same as the original one, and I think that things like the copied partition table will not correctly describe the target disk.
So, I think you should first try to move, with traditionnal methods like DRD or LVM Mirror the boot disk of the VM on the BL870 from internal drive to a SAN drive.
Once the boot disk relies on the SAN, you can move the VM to the BL860, maybe with hpvmmigrate without copy option, but surely with this method : http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1413671
Eric