KR> Could you also include instructions on testing migration? It
KR> seems difficult to do via wbemcli - I haven't tested a method
KR> provider before.
I use the following xml with wbemcat or wbemexec to make the method
call:
<?xml version="1.0" encoding="UTF-8"?>
<CIM CIMVERSION="2.0" DTDVERSION="2.0">
<MESSAGE ID="5" PROTOCOLVERSION="1.0">
<SIMPLEREQ>
<METHODCALL NAME="MigrateVirtualSystemToHost">
<LOCALINSTANCEPATH>
<LOCALNAMESPACEPATH>
<NAMESPACE NAME="root"/><NAMESPACE NAME="virt"/>
</LOCALNAMESPACEPATH>
<INSTANCENAME CLASSNAME="Xen_VirtualSystemMigrationService">
<KEYBINDING NAME="CreationClassName">
<KEYVALUE
VALUETYPE="string">Xen_VirtualSystemMigrationService</KEYVALUE>
</KEYBINDING>
<KEYBINDING NAME="SystemName">
<KEYVALUE VALUETYPE="string">foo.bar.com</KEYVALUE>
</KEYBINDING>
</INSTANCENAME>
</LOCALINSTANCEPATH>
<PARAMVALUE NAME="ComputerSystem">
<VALUE.REFERENCE>
<INSTANCENAME CLASSNAME="Xen_ComputerSystem">
<KEYBINDING NAME="CreationClassName">
<KEYVALUE VALUETYPE="string">Xen_ComputerSystem</KEYVALUE>
</KEYBINDING>
<KEYBINDING NAME="Name">
<KEYVALUE VALUETYPE="string">pv0</KEYVALUE>
</KEYBINDING>
</INSTANCENAME>
</VALUE.REFERENCE>
</PARAMVALUE>
<PARAMVALUE NAME="DestinationHost" PARAMTYPE="string">
<VALUE>
localhost
</VALUE>
</PARAMVALUE>
</METHODCALL>
</SIMPLEREQ>
</MESSAGE>
</CIM>
You'll need to change "pv0" to the name of a valid domain, and the
"localhost" to a valid destination host (or leave it as localhost to
test on loopback).
Note that unless you have a key setup, you'll need to type root's
password on the CIMOM's stdin.
You should be able to tweak the above to test the IsMigratable flavor
as well.
--
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms(a)us.ibm.com