[Libvirt-cim] [PATCH 0 of 4] Update VSMigrationService to support static and offline migration

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Thu Feb 28 17:23:19 UTC 2008


Heidi Eckhart wrote:
> Kaitlin Rupert wrote:
>> This patchset updates VSMigrationService so that it reads the 
>> MigrationType attribute from MigrationSettingData and then launches 
>> the appropriate migration method.
>>
>> _______________________________________________
>> Libvirt-cim mailing list
>> Libvirt-cim at redhat.com
>> https://www.redhat.com/mailman/listinfo/libvirt-cim
>>   
> I run into problems with KVM (output with sfcbd):
> 
> std_invokemethod.c(303): Executing handler for method 
> `CheckVirtualSystemIsMigratableToSystem'
> misc_util.c(70): Connecting to libvirt with uri `qemu:///system'
> ssh: kvm2-f8: Name or service not known
> libvir: Remote error : Connection reset by peer
> Virt_VSMigrationService.c(164): Failed to connect to remote host 
> (qemu+ssh://kvm2-f8/system)
> std_invokemethod.c(305): Method `CheckVirtualSystemIsMigratableToSystem' 
> returned 1
> 
> Attached is the XML request submitted via wbemexec. Do you know what I'm 
> doing wrong ?
> 
> thanks

You'll want the DestinationSystem to be the reference of KVM_HostSystem 
on the target machine.

So, something like:

   <PARAMVALUE NAME="DestinationSystem">
     <VALUE.REFERENCE>
       <LOCALINSTANCEPATH>
	<LOCALNAMESPACEPATH>
	  <NAMESPACE NAME="root"/>
	  <NAMESPACE NAME="virt"/>
	</LOCALNAMESPACEPATH>
	<INSTANCENAME CLASSNAME="KVM_HostSystem">
	  <KEYBINDING NAME="CreationClassName">
	    <KEYVALUE VALUETYPE="string">KVM_HostSystem</KEYVALUE>
	  </KEYBINDING>
	  <KEYBINDING NAME="Name">
	    <KEYVALUE VALUETYPE="string">target_sys_hostname</KEYVALUE>
	  </KEYBINDING>
	</INSTANCENAME>
       </LOCALINSTANCEPATH>
     </VALUE.REFERENCE>
   </PARAMVALUE>

-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list