Hi folks,
The first thing is the path format. All the examples have something
along the line of "/Datacenter/vm/Pool". I know what our datacenter is
called, I assume I replace Datacenter with that. Where does the rest
of the path come from? On the ESX service console, the path is
/vmfs/volumes/{shared storage}/{VMs}. Is this path releated? Or is the
path used something the VC API understands, which I know I sure don't.
The format reflects the internal hierarchy as it is used by the SDK.
Each datacenter has a 'vm' and 'host' subfolder. If you use the mob -
managed object browser - you get a fairly good understanding of his
model. You can invoke it through the browser http://yourhost/mob e.g.
As an addition to what Dirk said, I find that it usually helps to
consider that the <datacenter name>/<view> path corresponds roughly to
what you see in the VMware client console when switching the views in
the first button on the left of the toolbar, i.e <view>=host corresponds
to the Hosts & Clusters view, <view>=vm corresponds to Virtual Machines
& Templates.
To be more specific about the "mob" entry point, you then need to browse
to "content" (the ServiceContent property), then "rootFolder" and
finally the datacenter object in the childEntity property thereof to end
up browsing the datacenter object (which has a vmFolder and a hostFolder
corresponding to the "vm" and "host" path respectively). It's helpful to
see all the properties which are around, but I'm not sure it helps that
much with figuring the exact paths of some objects.
Cyrille
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users