VMware Cloud Community
zt1234
Contributor
Contributor
Jump to solution

Allowing user to choose the reservation while requesting an Item

Hello,

The vRA version i'm using is 7.0 and i'm facing some kind of a limitation.

I'm trying to allow user to choose which reservation to use as i'm having 3 reservations (Prod/PreProd/Dev). I've tried to use custom properties to override VirtualMachine.Admin.ClusterName but it seems like vRA is not getting the value inserted by the user from a dropdown list.

From the VMware documentation there is no informations about this.

I was wondering if there is any way to let the user choose which reservationPolicy or which cluster where to provision the machine while he is requesting an Item.

Any ideas?

1 Solution

Accepted Solutions
GrantOrchardVMw
Commander
Commander
Jump to solution

Try this, I just wrote it up.

Grant

Grant http://grantorchard.com

View solution in original post

5 Replies
willonit
Hot Shot
Hot Shot
Jump to solution

I would give the datacenter location feature a try. Check out the links below for the documentation. Manipulating reservation policies should work as well but will probably be more work to implement.

1. Add Datacenter Locations

2. Apply a Location to a Compute Resource

3. Enable Users to Select Datacenter Locations

GrantOrchardVMw
Commander
Commander
Jump to solution

Try this, I just wrote it up.

Grant

Grant http://grantorchard.com
zt1234
Contributor
Contributor
Jump to solution

Hello,

Thanks for both of you. The two solutions worked fine. The second solution is good but the property __reservationPolicyID is not supported by vmware and is hidden.

I've already tried to use it directly but it doesn't work. As suggested by your solution there is a need to put it in Properties Group to force vRA to accept it.

Many thanks for both of you again.

0 Kudos
admin
Immortal
Immortal
Jump to solution

Grant,

What's the use of the option "Allow user to see and change storage reservation policies" available in the blueprint storage tab?

0 Kudos
GrantOrchardVMw
Commander
Commander
Jump to solution

That's for vmdk placement based on policy association with datastores at a compute resource level.

Come in handy if you have (for example) replicated and non-replicated, or some other functional difference at a storage layer that you want to expose to users at request time.

Grant

Grant http://grantorchard.com
0 Kudos