Posted on August 19, 2015 2:49 pm
 |  Asked by Ronald David Hurtado Ulfe
 |  251 views
RESOLVED
0
0
Print Friendly, PDF & Email

Dear Arista friends,

From Arista we can see the virtual machines using vmtracer.

Is it possible to power on/off the virtual machines working on ESX from arista switch?

What is required to develop this option?

 

0
Posted by Alexis Dacquay
Answered on August 19, 2015 3:02 pm

Ronald,

You would need to access vCenter for this kind of operations on the VMs.
The VMtracer feature aims at auto-provisioning VLANs/trunks, and providing visibility into the virtualisation, but not take any function of the server virtualisation.

You could think about using the Vmware SDK/API to communicate with vCenter, but practically there is probably too much complexity in the variation of ”power” functions.

If the VM/network roles are distinct, I am not sure the server/VM admin would like its VM shutting down by the network admin.
If the roles are merged, then the operator would have access to both anyway, and typically operate VM maintenance from vCenter, including snapshots, suspend, etc.

If you really want to do this, then I would suggest to look at the VMware vCenter API/SDK and what you need to access to control the power on/off. These controls could be ran from the script via scripts. It’s no minor but although I am not a specialist : if the API allows it, then you could probably do it.

Regards,
Alexis

Post your Answer

You must be logged in to post an answer.