Hi,

I'm developing a Xen Monitoring Portlet in Java.
I'm using the binding Java for Xen api,
and I have few questions...

1 - How can I create a new VM?

2 - How can I do a hard-reboot on a VM ?
I tryed  : myVM.hardReboot();
I got this error :
[EUNSUPPORTED, Method Unsupported]
    at com.xensource.xenapi.VM.hardReboot(VM.java:2337)

3 - How can I get VDI informations?
I tryed  : myVBD.getVDI().getVirtualSize();
I got this error :
[HANDLE_INVALID, VDI, ]
    at com.xensource.xenapi.VDI.getVirtualSize(VDI.java:440)

I tryed  : myVBD.getVDI().getPhysicalUtilisation();
I got this error :
[HANDLE_INVALID, VDI, ]
    at com.xensource.xenapi.VDI.getPhysicalUtilisation(VDI.java:463)

4 - How can I get a DomU IP adresse?

If you have any idea or document to help me in this work...
_______________________________________________
xen-api mailing list
[email protected]
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api

Reply via email to