Creating a blueprint for VCHS has a few pieces to it that are a little different that creating a standard vSphere blueprint. We need to start by creating a component blueprint that will then be utilized by the blueprint that we will publish to the catalog. The reason for this so you could potentially create multi-component application blueprints that can be requested from your users. If you use the vCloud Director integration you will recognize the similarities. This article provides a brief run through of creating a basic VCHS blueprint that can be provisioned against VMware’s VCHS cloud service.
Creating the VCHS Blueprint
- Start by going to Infrastructure -> Blueprints -> Blueprints and select New Blueprint -> Cloud -> vApp Component(vCloud Director).
- Next give the component blueprint a name. I recommend giving it a name that identifies it as a component blueprint to make it easier to differentiate. You will also need to select a Machine Prefix to utilize of leave it as the Group Default.
- Next on the build information tab we need to complete a number of items that will be familiar if you have created a vSphere blueprint. We need to set the blueprint type to “Server”, Action to ‘Clone” and the Provisioning Workflow should be ‘vAppCloneWorkflow”. You will also select the VCHS template to clone form by clicking the dialog box next to the field as depicted in the second image below. Then you will need to Set the minimum and optionally the maximum for CPU, Memory, & Storage. Finally add additional storage if you need.
- Next go to the properties tab and set any needed properties for your configuration.
- Finally go to the actions tab and select the actions that you want to make available for the blueprint and click OK to save the component blueprint.
- We now need to create another blueprint that will be the vApp blueprint that is published to the catalog. Go to Infrastructure -> Blueprints -> Blueprints and select New Blueprint -> Cloud -> vApp (vCloud Director).
- Once the new blueprint dialog opens give the blueprint a name, select the prefix to be utlized for the service and set the archive days.
- Next on the Build Information click the dialog box next to clone from and select the template that you have created a component blueprint for. It’s important that these are the same. Once you select the template, the template name will be populated under components.
- Next click the pencil next to the template name and from the blueprint drop down dialog select the component blueprint that you created earlier. and select the green checkbox once complete.
- Next add any needed properties on the property tab.
- Finally select the actions you want to make available for the service and click ok to save the blueprint.
- Once complete and you can see your blueprint in the list over over the blueprint and select publish to publish the blueprint.