0 Replies Latest reply on Feb 28, 2019 10:07 AM by marcogre

    Get vSphere HA cluster status programmatically

    marcogre Lurker

      I have a very simple HA cluster with just two hosts, and I need to know, from inside a VM running in HA configuration, if the cluster has lost its simple redundancy, i.e. if only one host is up an running. I found that using the web services sdk I can use GetVchaClusterHealth, but I don't know if there is another option, maybe another Web services method or easier ways than using the ws sdk inside a vm (powercli?). I already use the HA Guest Sdk in the vm, but it seems to me the it offers information for the host only.

       

      Every suggestion will be appreciated. Thanks, Marco