I set up and test fencing with RHEL 6.3(plus 6.4) and VMWare vSphere 5.0. ESXi 5.1
VC: 172.16.254.100
ESX: 172.16.254.103
USER: VitaliyOhave administration privilege.
When i try to connect to VC and ESX i received errors:
# fence_vmware_soap -z -l VitaliyO -p <password>-a 172.16.254.100 -o list
file "/usr/lib64/python2.6/urllib2.py", line 1198, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 104] Connection reset by peer>
# fence_vmware_soap -z -l VitaliyO -p "password" -a 172.16.254.103 -o list
File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error _ssl.c:475: The handshake operation timed out>
I also installed PERL VMWare SDK 5.1 and try to connect with old fencing agent - fence_vmware but problem is still
(http://blog.wains.be/2011/02/17/red-hat-cluster-vmware-esx-fencing/)
fence_vmware_helper --server '172.16.254.100' --username 'VitaliyO' --password 'Password' --operation list
Connection timed out
fence_vmware_helper --server '172.16.254.103' --username 'VitaliyO' --password 'Password' --operation list
Connection timed out
Any ideas?