Hi Tom,tgriep wrote:Lets try and see if you can connect to the VMWare server using the VMWare Perl SDK tools to see if we can get those to work.
Your path to the tool could be different from ours as we are using the SDK version 5.5 and not 6.
Change to the following directory
/usr/lib/vmware-vcli/apps/general
Run this to test to see if you can connect to the VMWare VCenter server
./connect.pl --url https://xxx.xxx.xxx.xxx/sdk/vimService --username <username> --password <password>
If the above passes, go to this directory.
/usr/lib/vmware-vcli/apps/host
Run this to test to see if you can get the list of hosts connected to the VMWare VCenter server
./hostinfo.pl --url https://xxx.xxx.xxx.xxx/sdk/vimService --username <username> --password <password>
Remember to replace xxx.xxx.xxx.xxx with the IP address of your VCenter server and to put in the correct username and password.
Please post any errors
Please find the update.
Code: Select all
[root@lussvpnagiosxi00 general]# ./connect.pl --url https://xx.xx.xx.xx/sdk/vimservice --username 'domain\user' --password passwd
Connection Successful
Server Time : 2016-02-04T14:56:22.981082Z
Code: Select all
[root@lussvpnagiosxi00 general]# ls -ltra
total 84
-r-xr-xr-x 1 root root 1228 Dec 4 00:11 connect.pl
-r-xr-xr-x 1 root root 8065 Dec 4 00:11 viversion.pl
-r-xr-xr-x 1 root root 12784 Dec 4 00:11 vidiscovery.pl
-r-xr-xr-x 1 root root 21667 Dec 4 00:11 fileaccess.pl
-r-xr-xr-x 1 root root 6071 Dec 4 00:11 extractlog.pl
-r-xr-xr-x 1 root root 12792 Dec 4 00:11 credstore_admin.pl
drwxr-xr-x 2 root root 4096 Dec 4 00:11 .
drwxr-xr-x 10 root root 4096 Dec 4 00:11 ..
As per our discussion, is it mandatory to have local access created. if yes, how is it different from Domain user access. Our VMware team wanted to understand on this, I am not sure i can take that question. could you please help me this question too. thanks.