Usage: pools_get poolId
Get the list of pools nested within the specified pool.
To extract the poolId, you actually have to look in the following file:
Here is a quick snippet of code to extract the poolId based on a VM Name:
cat /etc/vmware/hostd/pools.xml | grep "RESOURCE_POOL_NAME" -A1 | grep "<objID>" | sed 's/<objID>//;s/<\/objID>//g' | sed -e 's/^blank:*//;s/blank:*$//'
To register a VM and assign it to a given resource pool, you can do the following (Assuming you have a VM named *UCSB-GAUCHOS* and Resource Pool named *UCSB-DEV-RP*: