VCAP6-CMA Deploy - Objective 4.3: Manage Custom Properties and Build Profiles
VMware vRealize Automation VCAP6 VCAP6-CMA
Published on 7 February 2017 by Christopher Lewis. Words: 701. Reading Time: 4 mins.
![](/img/badges/vmw-lgo-cert-adv-pro-6-cld-mgmt-auto-deploy-k.png)
Objective Overview
Objective 4.3 - Manage Custom Properties and Build Profiles
- Add / edit Custom Properties to add new attributes or override default attributes.
- Create a Build Profile according to Custom Properties from a deployment plan.
- Use Property Dictionary to define new Custom Properties.
Custom Properties - Overview
When using a Custom Property it is important to understand the Order of Precedence:
- Build profile
- Blueprint
- Business group
- Compute resource
- Reservations
- Endpoint
- Runtime
What this means is that if the same Custom Property is specified at a different levels, the highest (1 being lowest) level wins. (i.e. a value set in a Build Profile can be overridden in the Blueprint, but also the Blueprint value can be overridden at runtime.)
Objective Prerequisites
The following prerequisites are assumed for this Objective:
- A full deployed vRealize Automation 6.x solution (minimal or distributed).
Objective Breakdown
Add / edit Custom Properties to add new attributes or override default attributes.
In this example, we’re going to add some simple custom properties to override the default attributes of a Windows Blueprint/Machine by asking the user to enter a hostname and IP address at request time.
Navigate to the vRealize Automation Portal (https://vra.fqdn/vcac
)
![](/img/2017/02/07/customer-property-00.png)
Log in with a user that has the Tenant Administrator role assigned and then navigate to Infrastructure > Blueprints > Blueprints.
![](/img/2017/02/07/customer-property-01.png)
Click on the Blueprint you want to update.
Note: I’m going to update the Windows Server 2012 one
![](/img/2017/02/07/customer-property-02.png)
Click the Properties tab.
![](/img/2017/02/07/customer-property-03.png)
Click New Property.
![](/img/2017/02/07/customer-property-04.png)
Enter hostname
into the Name text box, leave the Value text box clear and check the Prompt User checkbox and click Save.
![](/img/2017/02/07/customer-property-05.png)
Click New Property.
![](/img/2017/02/07/customer-property-06.png)
Enter VirtualMachine.Network0.Address
into the Name text box, leave the Value text box clear and check the Prompt User checkbox and click Save.
![](/img/2017/02/07/customer-property-07.png)
Click OK.
When you log in as a Business User and request a Catalog Item you will see the following:
![](/img/2017/02/07/customer-property-08.png)
Create a Build Profile according to Custom Properties from a Deployment Plan.
A Build Profile is a collection of Custom Properties that are commonly used together. The creation of a Build Profile is the responsibility of the Fabric Administrator.
In this example, we’re going to create a Build Profile for Windows deployments using the two custom properties from the previous section.
Navigate to the vRealize Automation Portal for the Default Tenant (https://vra.fqdn/vcac
).
![](/img/2017/02/07/create-build-profile-00.png)
Login with an account that has the Fabric Administrator role assigned.
![](/img/2017/02/07/create-build-profile-01.png)
Click Infrastructure > Blueprints > Build Profiles
![](/img/2017/02/07/create-build-profile-02.png)
Click New Build Profile.
![](/img/2017/02/07/create-build-profile-03.png)
Enter the name of the new Build Profile into the Name text box, (optionally) select an appropriate Property Set from the Add from property set drop down and click Load.
![](/img/2017/02/07/create-build-profile-04.png)
Click New Property.
![](/img/2017/02/07/create-build-profile-05.png)
Enter VirtualMachine.Network0.Address
into the Name text box, leave the Value text box clear and check the Prompt User checkbox and click Save.
![](/img/2017/02/07/create-build-profile-06.png)
Click New Property.
![](/img/2017/02/07/create-build-profile-07.png)
Enter Hostname
into the Name text box, leave the Value text box clear and check the Prompt User checkbox and click Save.
![](/img/2017/02/07/create-build-profile-08.png)
Click OK.
![](/img/2017/02/07/create-build-profile-09.png)
Use Property Dictionary to define new Custom Properties.
The Property Dictionary is used to define Global properties to be used throughout the Tenant. In this example, we’re going to create a “cost centre” Customer Property. Whilst this will not, necessarily, directly impact the delivery of a Machine it can be used to, as an example, update a CMDB.
Navigate to the vRealize Automation Portal for the Default Tenant (https://vra.fqdn/vcac
).
![](/img/2017/02/07/create-build-profile-00.png)
Login with an account that has the Fabric Administrator role assigned.
![](/img/2017/02/07/create-build-profile-01.png)
Click Infrastructure > Blueprints > Property Dictionary
![](/img/2017/02/07/property-dictionary-01.png)
Click New Property Definition.
![](/img/2017/02/07/property-dictionary-02.png)
Enter a property Name, Display Name, select a Content Type from the dropdown,(optionally) check the Required checkbox.
![](/img/2017/02/07/property-dictionary-03.png)
Click Save.
![](/img/2017/02/07/property-dictionary-04.png)
Note: As this a dropdown, we now need to add the values that can be selected.
Under Property Attributes, click Edit.
![](/img/2017/02/07/property-dictionary-05.png)
Click New Property Attribute.
![](/img/2017/02/07/property-dictionary-06.png)
Select ValueList from the Type dropdown, enter a Name (not displayed on UI), a comma separated list of values to be displayed in the dropdown in the Value field and click Save.
![](/img/2017/02/07/property-dictionary-07.png)
Click OK.
![](/img/2017/02/07/property-dictionary-08.png)
Now if you add the Company.CostCentre
Custom Property to the Build Profile previously created, the Business User’s request then changes again.
![](/img/2017/02/07/property-dictionary-09.png)
Note: There is plenty more that can be accomplished with the Property Dictionary such as establishing relationships between Custom Properties to help drive decisions at request time.
Published on 7 February 2017 by Christopher Lewis. Words: 701. Reading Time: 4 mins.
- VCAP6-CMA Deploy - Objective 4.2: Publish a Machine Blueprint to a Service Catalog ()
- VCAP6-CMA Deploy - Objective 4.1: Create and Configure vRealize Automation Machine Blueprints ()
- VCAP6-CMA Deploy - Objective 5.1: Configure vRO for vRA ()
- HOWTO: Deploy the vRealize Orchestrator 6.x Appliance for vRealize Automation ()
- VCAP6-CMA Deploy - Objective 1.3: Deploy and Manage vRealize Automation Center Infrastructure Components ()
- Operating a Private Cloud - Part 3: Creating a Pricing Card in VMware Aria Automation
- Operating a Private Cloud - Part 2: Creating a Pricing Card in VMware Aria Operations
- Operating a Private Cloud - Part 1: Understanding Pricing Cards in VMware Aria
- Zero2Hero - Using Aria Automation to Deploy Multiple Machines with Multiple Disks - Part 5
- Zero2Hero - Using Aria Automation to Deploy Multiple Machines with Multiple Disks - Part 4