[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] XCP 1.6 Storage XenMotion cannot move virtual disks between local SRs


  • To: Alexandre Kouznetsov <alk@xxxxxxxxxx>, "xen-api@xxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxx>
  • From: Joseph Hom <jhom@xxxxxxxxxxxxx>
  • Date: Mon, 31 Dec 2012 02:01:01 +0000
  • Accept-language: en-US
  • Delivery-date: Mon, 31 Dec 2012 02:01:23 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>
  • Thread-index: AQHN5SHvhnfTUJ4YBkmSm8wsKRXktpgyKjlg
  • Thread-topic: [Xen-API] XCP 1.6 Storage XenMotion cannot move virtual disks between local SRs

Try using:

vdi
    parameters take the form 'vdi:<source vdi uuid>=<dest vdi uuid>' 

At least for XenServer 6.1, destination-sr-uuid is an invalid option and was 
supposed to have been removed on release, but wasn't.
________________________________________
From: xen-api-bounces@xxxxxxxxxxxxx [xen-api-bounces@xxxxxxxxxxxxx] on behalf 
of Alexandre Kouznetsov [alk@xxxxxxxxxx]
Sent: Friday, December 28, 2012 11:35 AM
To: xen-api@xxxxxxxxxxxxx
Subject: [Xen-API] XCP 1.6 Storage XenMotion cannot move virtual disks between 
local SRs

Hello.

I have 2-nodes (xcp47 and xcp48 in my setup) XCP 1.6 pool, using only
local storage for VM's, and trying to move a VM "DebianStorage" from
xcp47 to xcp48. The nodes are physically identical, configured in the
same way and belongs to the same pool.

I'm trying to use xe vm-migrate, but unsuccessful:
[root@xcp47 ~]# xe vm-migrate vm=DebianStorage host=xcp48 \
    destination-sr-uuid=f778b43b-4263-7883-e626-09997d711d60
Error: Unknown field 'destination-sr-uuid'

For reference, the parameter "destination-sr-uuid=" expands using <Tab>
while I type it, it's value does not. I have checked the uuid of the SR
on destination host, it is correct:
[root@xcp47 ~]# xe sr-list host=xcp48 content-type=user
uuid ( RO)                : f778b43b-4263-7883-e626-09997d711d60
           name-label ( RW): Local storage
     name-description ( RW):
                 host ( RO): xcp48
                 type ( RO): lvm
         content-type ( RO): user

I must add, that XenCenter does not allows me to move the VM
"DebianStorage" to the other storage, the menu option is grayed with the
legend "Cannot see required storage". Also, can't move the Virtual Disk,
even if I halt the machine and detach the Virtual Disk.

If I just omit "destination-sr-uuid=", XCP complains about power state
if the machine is halted, and if the machine is running it complains
about "access to an SR needed by the VM".

As I understand http://wiki.xen.org/wiki/Storage_XenMotion , it's
supposed to be possible, but since I'm new in XCP I can't tell if it's a
bug or I'm doing it wrong. My goal is to move the VM from one host to
another, using only local storage in both of them. Would be great to do
it online, but offline would work also.

Thank you.

--
Alexandre Kouznetsov

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.