VMware Cloud Community
0zzY
Contributor
Contributor

script to disable HA from linux machine

Hi all,

how can i disable HA from a cluster with scripts if i have only a Linux machine?

i can do it with powerCLI from Windows..but how can i do it from Linux?

0 Kudos
3 Replies
LucD
Leadership
Leadership

Thread moved to vSphere Command-Line Interface


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
0zzY
Contributor
Contributor

i have found this thread https://communities.vmware.com/thread/394024?tstart=0

but i receive an error using that script:Error connecting to server at 'https://localhost/sdk/webService': Perhaps host is not a vCenter or ESX server

someone can help me?

0 Kudos
0zzY
Contributor
Contributor

sorry, i have resolved running:

./HAmanagement.pl --server 10.1.200.82 --cluster Cluster --operation enable

0 Kudos