Quantcast
Channel: VMware Communities : Discussion List - vSphere SDK for Perl
Viewing all articles
Browse latest Browse all 1577

Vmware perl SDK API to be used to check the host status after RebootHost_Task API

$
0
0

I am using RebootHost_Task API, pinging the ESX server to check if it is up(using Net::Ping module) and then using ExitMaintenanceMode_Task to exit the maintenance mode for the ESX server.

 

I sometimes get InvalidHostConnectionState fault when I trigger ExitMaintenanceMode_Task. This is because even though the ESX host is pingable, the SOAP request is unsuccessful. Which Vmware perl SDK API can be used to check the host status before triggering ExitMaintenanceMode_Task aPI


Viewing all articles
Browse latest Browse all 1577

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>