pkirklewski
Enthusiast
Enthusiast

RVC - resource_pool.create

Hi there,

I am trying to create a resource pool via RVC wothout any luck so far.

Attempt1:

xyz.com/Dev/datastores/upgr> resource_pool.create test-rpool
missing argument 'parent'
Attempt2:
xyz.com/Dev/datastores/upgr>resource_pool.create test-rpool /xyz.com/Dev/datastores/upgr/DT1/
Expected ResourcePool but got Datastore at "/xyz.com/Dev/datastores/upgr/DT1/"

Attempt3:

/xyz.com> resource_pool.create test-rpool /xyz.com/Development/datastores/upgr/DT1/Resources


no matches for "/xyz.com/Development/datastores/upgr/DT1/Resources"

Could anyone please explain what do they mean by parent ? I don't want to create a sub-pool.

Regards

Peter

0 Kudos
1 Reply
lamw
Community Manager
Community Manager

Do you have a Cluster in your vCenter? If you're familiar with the vSphere Client, you'll see that a Resource Pool is created as part of the Host/Cluster view and from what I can see below, you're trying to a create a Resource Pool under a Datastore which is invalid.

0 Kudos