Hi all,

I build a pool includes 3 hosts  : vGate7 vGate8 vGate9.  vGate9 is
the master,others are slaves.

I build a page to show the host and vm metrics(e.g. cpu_utilization)
on the same page.It works fine for the master (vGate9) .But it cannot
get the slave metrics.

As follows:










In python,I use the following codes to get the CPU Usage:



I attempt to make an API call to a slave (even something trivial like
pool.get_all()), I get the
['HOST_IS_SLAVE' ] exception, along with the master's IP address.

The main problem is to get three
hosts real-time performing metrics and to show them on the same page.

Is there any workaround to solve this problem? Thank you in advance!





Best Regards!


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

Reply via email to