Hi Team,
I'm trying to deploy unified access gateway using uagdeploy.ps1 script. While executing the script , getting below error
Username: administrator%40vsphere.local
Password: ********
Error: Locator does not refer to an object: vi://administrator%40vsphere.local@10.191.82.3:443/d4pcijiltanzudc1/host/cluster1/d4pcijiltanzuesxi1.kyndryl.lab :PASSWORD
Completed with errors
The input parameter what i'm giving in .INI file is a below
Hi,
This indicates that you vSphere object location is wrong. I don't know your vSphere object structure, but looks like you should remove the /host in your URI
Hi vDruid,
Attaching mu vSphere inventroy structure fyr. As per the command syntax, "/host' is a part of syntax.
PS /home/VDIAutomation/UAG/Powershell/uagdeploy> ovftool vi://administrator@vsphere.local@10.191.82.3/d4pcijiltanzudc1/
Enter login information for source vi://10.191.82.3/
Username: administrator%40vsphere.local
Password: ********
Error: Found wrong kind of object (Datacenter). Possible completions are:
vm/
host/
PS /home/VDIAutomation/UAG/Powershell/uagdeploy>
Regards,Sajith
You remove too much, just the /host/, not all the end ![]()
target=vi://administrator@vsphere.local:PASSWORD@d4pcijiltanzudc1.kyndy.lab/d4pcijiltanzudc1/cluster1/d4pcijiltanzuesxi1.kyndryl.lab
Thanks for your response!
I tried with the changes you suggested but still no luck
Enter login information for target vi://d4pcijiltanzuvc1.kyndryl.lab/
Username: administrator%40vsphere.local
Password: ********
Error: Locator does not refer to an object: vi://administrator%40vsphere.local@d4pcijiltanzuvc1.kyndryl.lab:443/d4pcijiltanzudc1/cluster1/d4pcijiltanzuesxi1.kyndryl.lab
Completed with errors
Regards,
Sajith
you can start with the top level object, e.g. by specifying:
target=vi://administrator@vsphere.local@d4pcijiltanzuvc1.kyndryl.lab/
This will then show a list of possible names to use at the next level. You can then expand it, one level at a time based on this list.
