title: How to identify a vCenter locator in vSphere?
body: <p>When deploying an OVA/OVF file to vCenter, <code>ovftool</code> requires a locator.</p>
  
  <p>The example locator in the <a href="http://www.vmware.com/support/developer/ovf/ovf20/ovftool_201_userguide.pdf" rel="nofollow">user guide</a> looks like this: <code>vi://user@localhost/Datacenter</code></p>
  
  <p>When I look at the vCenter path with vSphere, the hierarchy we have set up is:</p>
  
  <pre><code>    - Location
      -- Department with Spaces
      --- security_group
  </code></pre>
  
  <p>Perhaps my assumption that this hierarchy is the locator is incorrect, because <code>vi://user@localhost/Location/Department\ with\ Spaces/security_group</code> just returns <code>Error: Cannot parse VI locator</code>.</p>
  
  <p>Is there a way in vSphere to determine the correct locator of a vcenter for an <code>ovftool</code> deployment?</p>