Hi,

I am facing following issues:-

I have installed VMware-VIPerl-1.6.0-104313.x86_64.tar.gz & 
VMware-vSphere-Perl-SDK-4.1.0-254719.x86_64.tar.gz on the RHEL6 image.

My ESXi server hostname is "esx5"

1) If I use wrong password, I get error message as expected :-
[root@OEL6_VIP_1 ~]# /usr/sbin/fence_vmware  -o reboot -a x.x.x.x -l 'root' -p 
'wrong_pass' -n esx5
fence_vmware_helper returned Cannot connect to server!
VMware error:Cannot complete login due to an incorrect user name or password.

Please use '-h' for usage

2) If I use right password, then I get error message like:-
[root@OEL6_VIP_1 ~]# /usr/sbin/fence_vmware  -o reboot -a 172.16.150.5 -l 
'root' -p 'right_pass' -n esx5
fence_vmware_helper returned Cannot find vm esx5!

I can ping that node "esx5" :-
PING esx5.localdomain (x.x.x.x) 56(84) bytes of data.
64 bytes from esx5.localdomain (x.x.x.x): icmp_seq=1 ttl=64 time=0.064 ms

What might be going wrong, so that my fence_vmware script is not able to find 
"esx5"?

Thanks,
Amit

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Amit Jathar
Sent: Wednesday, March 30, 2011 10:08 PM
To: General Linux-HA mailing list
Subject: [Linux-HA] Need help on the femce_vmware configuration

Hi,

I am having two RHEL6 vmware images running on Windows machines.
I have configured STONITH on those RHEL6 images.

I have installed the VI API on those machines.
I get error as "cound not connect http://x.x.x.x/SDK/webService"; when I 
manually try "/usr/sbin/fence_vmware -o reboot -a x.x.x.x -l xxx -p xxx -n xxx"

My question is :- can I use this fence_vmware script on the RHEL6 vmware images 
running on Windows machines ?
                         or I must use the RHEL6 vmware images running on ESXi 
server ?

Thanks,
Amit


________________________________
This email (message and any attachment) is confidential and may be privileged. 
If you are not certain that you are the intended recipient, please notify the 
sender immediately by replying to this message, and delete all copies of this 
message and attachments. Any other use of this email by you is prohibited.
________________________________


_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


________________________________
This email (message and any attachment) is confidential and may be privileged. 
If you are not certain that you are the intended recipient, please notify the 
sender immediately by replying to this message, and delete all copies of this 
message and attachments. Any other use of this email by you is prohibited.
________________________________


_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to