Operating System - HP-UX
1833183 Members
2993 Online
110051 Solutions
New Discussion

Re: Offline Integrity VM migration cannot find target disk

 
Cresswell Williams
Frequent Advisor

Offline Integrity VM migration cannot find target disk

Hi Experts

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.
5 REPLIES 5
smatador
Honored Contributor

Re: Offline Integrity VM migration cannot find target disk

Hi,
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
Cresswell Williams
Frequent Advisor

Re: Offline Integrity VM migration cannot find target disk

Thank you for your response.

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?
Eric SAUBIGNAC
Honored Contributor

Re: Offline Integrity VM migration cannot find target disk

Bonjour Williams,

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
Cresswell Williams
Frequent Advisor

Re: Offline Integrity VM migration cannot find target disk

Thank you

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.

Eric SAUBIGNAC
Honored Contributor

Re: Offline Integrity VM migration cannot find target disk

Well, as previously said, never used hpvmmigrate : too many questions, not enough time to test.

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