I used Component Profiles to make it possible to select the OS when the VM is deployed.
I also used Custom property to select datastores when deploying VMs.
However, if I select something other(In my case, Windows-Server) than Default value Sets,
The Custom property value is empty and the VM is not placed on the datastore I selected.(3PAR-LUN5).
If I deploy as a Linux Template selected as Default Value, the VM is normally deployed on the datastore I select.
How can I solve this problem?
Please give me a lot of advice.
Many Thanks
You can't use those custom properties with a component profile because component profiles cannot reference custom properties. You're probably going about this in the wrong way to begin with. Rather than setting disk-level custom properties, you should be creating and leveraging storage reservation policies. Read the docs for how those work.
---------------------------------------------------------------------------------------------------------
Was it helpful? Let us know by completing this short survey here.
You can't use those custom properties with a component profile because component profiles cannot reference custom properties. You're probably going about this in the wrong way to begin with. Rather than setting disk-level custom properties, you should be creating and leveraging storage reservation policies. Read the docs for how those work.
---------------------------------------------------------------------------------------------------------
Was it helpful? Let us know by completing this short survey here.
So how can I use those two things together?
I'd appreciate it if you could just tell me how to do it.
I used a storage reservation policy (VirtualMachine.DiskN.StorageReservationPolicy)
To use both together you'll need to apply some backend logic that associates a storage reservation policy with the value of the custom property that represents the image. You can manually do this in vRO with custom code, but I don't do that and instead use the Property Toolkit to apply that dynamically.
Thank you very much!
I will look for Property Toolkit.
If I ask you again, Please welcome me. :smileylaugh: