Hi,
I'm a little confusing of MigrateVirtualSystemToSystem method,who can
tell me what does "DestinationSystem" refer to? It different from
DestinationHost which can be passed by a simple ip address. As a reference,
the DestinationSystem's Name have to be parsed below. Then what on earth
does it mean?
if (cu_get_str_path(dsys, "Name", &dname) != CMPI_RC_OK) {
cu_statusf(_BROKER, &s,
CMPI_RC_ERR_FAILED,
"Missing key (Name) in DestinationSystem");
METHOD_RETURN(results, 1);
return s;
}
Thanks!
Best,
Regards
Daisy Guo Lian Yun
E-mail: yunguol(a)cn.ibm.com
IBM China Development Lab, Shanghai, China
TEL: (86)-21-61008057
Show replies by date
GY> I'm a little confusing of MigrateVirtualSystemToSystem method,who
GY> can tell me what does "DestinationSystem" refer to? It different
GY> from DestinationHost which can be passed by a simple ip
GY> address. As a reference, the DestinationSystem's Name have to be
GY> parsed below. Then what on earth does it mean?
DestinationSystem is a REF of a CIM_System to migrate to. Currently,
the Name key of the system is used as the hostname.
I still need to update the schema for the migration calls and validate
that the Name key is the appropriate one to use.
For now, using DestinationHost and MigrateVirtualSystemToHost is
probably the best way for now. The MigrateVirtualSystemToSystem call
is just another way to do it, if you have a REF of the destination
system.
--
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms(a)us.ibm.com