Is it possible to start or stop ESXi services from vMA?
What services are you intending to restart remotely? You can use esxcli <conn_options> to connect esxi hosts from vma
suppose ssh service of host.
Yes this is possible with the use of a custom scripthostServiceManagement.pl
Copy the script to your VMA and go ahead! I tested it on VMA 5.1 and ESXi 5.1 hosts and works fine
Query the services
perl hostServiceManagemenet.pl --server server1.local.net --username root --operation query
Start the SSH service
perl hostServiceManagemenet.pl --server server1.local.net --username root --operation start --service TSM-SSH
Stop the SSH service
perl hostServiceManagemenet.pl --server server1.local.net --username root --operation stop --service TSM-SSH
well that is a good use of the api, nice work.