VMware Cloud Community
rgignac
Contributor
Contributor

VRA 7.4 Making Storage Cluster Selection During Request

Hello,

I'm trying to allow for the individual storage clusters in a reservation to be chosen during catalog request, for example have a drop down where the requester can choose either tier1 or tier2.

I've done similar things with network and IPAM where I create a custom property definition and map it to the built in property.

I've tried these two properties but either recieve errors or the default algorithm takes over and places the VMs disks on the wrong storage.

VirtualMachine.Storage.Cluster.Name

VirtualMachine.Storage.Name

Does anyone have any experience with allowing the selection of a storage tier from a catalog request form either with a custom property definition or storage reservation?

0 Kudos
4 Replies
darrenoid
Enthusiast
Enthusiast

Only way I have done this is to select the option "Allow user to see and change storage reservation policies" under the storage tab for a blueprint's machine object. Then during the request the user can go to the storage tab for the machine object and select an available storage reservation. Make sure you are matching the storage reservation to the compute resource available storage under Infrastructure > Compute Resources > Edit compute resource > Configuration tab.

0 Kudos
rgignac
Contributor
Contributor

Thank you that seems to be working for adding new disks.

I added two disks to the blueprint and I'm able to change them in the catalog request which is good.  The only issue now if that it creates new disk in addition to the two that are already on the template I'm cloning.

disks.PNG

0 Kudos
darrenoid
Enthusiast
Enthusiast

Hello rgignac,

Are you by chance using image profiles in your blueprint? Usually you can see the template disks listed in the storage tab and can edit them there to assign a storage reservation. What I noticed is when image profile is used, the existing disks do not show up in the storage tab. I opened a ticket with VMWare about this and supposedly they fixed this in version 7.5 although I do not see it in the release notes and have not had a chance to upgrade or test 7.5 yet.

I have not tried this, but I found a custom property in the reference manual https://docs.vmware.com/en/vRealize-Automation/7.5/vrealize-automation-75-custom-properties.pdf :

VirtualMachine.DiskN.StorageReservationPolicy "Specifies the storage reservation policy to use to find storage for disk N..."

You can try setting that property and see if it works for you.

Regards,

Darren

0 Kudos
rgignac
Contributor
Contributor

Thanks for the info I'll give updating to 7.5 a shot and see how it goes.
0 Kudos