Hello i am trying to validate my insatllation of vSphere 4.1 SDK Perl.
The command syntax to validate is the following:
perl discovery/datacenterlisting.pl --server --datacenter --username --password
I do not know what my datacenter is. Ive tried my Vcenter Server hostname, i've tried both of my hosts, nothing will work.
my question is what is the --datacenter referring to?
how do i find out the hostname of my datacenter?
Hi,
the datacenter is the object right below your vCenter Server in the vSphere Client. It contains your hosts, for example.
http://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/vim.Datacenter.html
Regards