In last post of this series we learnt about Network profiles and Reservations. In this post we will be focussing on how to create blueprints. Blueprints in one thing with which you will be spending a lot of time day in day out.
If you have landed directly on this page by mistake, then I encourage you to read earlier posts of this series from below links:
Lets start the discussion with blueprints.
What is Blueprint?
Blueprints define the resources and attributes associated with the provisioning of a virtual, physical, or cloud machine. vRA supports several type of platforms as endpoint such as vSphere, vCloud, Hyper-V, XEN, Physical, Amazon etc so a unique Blueprint is needed per platform.
Blueprints are visible as Item to end users in Service Catalog from where they can request to provision a new virtual machine or applications etc.
To create a blueprint, login to vRA using Tenant Admin credentials and navigate to Design > Blueprints and click on + button to add a new blueprint.
- Name for the blueprint.
- Based on your provided name, vRealize Automation automatically assigns a permanent, unique ID to this blueprint. This ID can’t be changed later.
- Select deployment limit if you want to limit the max number of deployment that can be created per request. Max allowed value is 100. Leave blank for unlimited deployments.
- Lease (days) Minimum and Maximum specifies how long a machine can be used before it gets destroyed.
- Specifying Archive (days) implies that the machines are not automatically destroyed when the lease expires. When lease expires, VM’s are turned off until the archive period expires and is deleted afterwards. If no value is specified here, VM’s are deleted immediately when lease expires.
Once you hit OK, blueprint designer will be opened where you will be designing the blueprint by adding the stuffs into the canvas. The designer works pretty easy: Choose a category from the left pane, drag and drop an element from the item list to the design canvas, select the item on the canvas and configure its properties.
In this example I am adding a vSphere Machine item to the canvas.
Under general tab, specify following:
- The ID of the machine. Optionally provide a description.
- If Display location on request is selected, it lets end-user to see to which ‘datacenter location’ a machine is provisioned to.
- Specify Reservation Policy by selecting one from the drop down list.
- Specify Machine Prefix from the list. You can either select the business group’s machine prefix (created earlier) or you can override this setting.
- Specify a Minimum and a Maximum amount of instances that can be deployed.
Navigate to build information tab and:
- Blueprint Type: Supported values are Desktop and Server. We are selecting server for this demonstration.
- Action: Supported actions are Create,Clone, Linked Clone, NetApp FlexClone. I am going to clone from a template so I selected clone here.
- Clone From: Select a template which will be used in provisioning VM’s when end user want to deploy VM’s from this blueprint. This template should be present in vSphere endpoint.
- Customization Spec: Select a customization specification manager from vSphere.
Navigate to Machine Resources and:
- Specify Min and Max CPU that can be assigned to VM deployed from this blueprint.
- Specify Min and max memory for this VM.
- Change the size of virtual disk if you want a different size than what is specified in the template used.
Navigate to storage tab. The table on this tab is pre-filled based on your configuration on the build information tab.
In addition, you can associate your disk drives with a reservation storage policy. Also, it is possible to specify a drive letter / mount point for your drives, but for this to work you need guest agent to be working correctly in the selected template.
Navigate to Network tab. When you initially configure a machine template, no network components are configured, so you have to drag a network component onto the canvas and configure if for your network adapter.
Select Network & Security from the list and drag and drop Existing Network to the canvas.
Select the network added to canvas and from General tab, select the network profile what will be associated with this network. We have already created this in last post of this series.
I am not using any DNS for this network, so I skipped to IP Ranges. Select an IP range from the list (if more than one range is associated with selected network profile).
Click on save button.
You will be redirected to canvas. Now in the network tab, select the network and specify method for assigning IP’s. Also you can specify the max number of NIC’s that can be assigned to virtual machine deployed from this blueprint.
I am not doing and NSX and custom properties related stuffs, so I left the next 2 tabs blank at the moment.
Click on Save and Finish button to complete the blueprint creation wizard.
Select the newly created template and click on Publish button.
And that’s it for this post. In next post of this series we will learn about entitlements and catalogs.
I hope you find this post informational. Feel free to share this on social media if it is worth sharing. Be sociable 🙂