This a newby question so must be an easier one for most of you to answer. I am learning perl SDK for vSphere 5. I have written a simple script to get the list of VMs on a perticular datastore. This is the command I run:
# perl test.pl --server <my_vCenter_hostname> --username <username> --datacenter <datacenter_name>
but my script fails right in the beginning as below:
so the hostname I was using was alias to the vCenter. I used the actual hostname of the vCetner and it worked.
i need to see why DNS is failing on the alias.