When you create a custom vRealize Automation blueprint you can allow a linked clone deployment to provision Application Services Windows-based or Linux-based applications and services to the vSphere environment. A linked clone is a copy of a virtual machine that is based on a snapshot. It occupies a small amount of disk space, is quick to provision, and is ideal when performance is not a high priority.

Prerequisites

  • Verify that vRealize Automation 6.1 or later is installed and configured.

  • Verify that the vRealize Automation business group that you plan to use with Application Services is created.

  • Verify that a vCenter Server virtual machine is available for thevRealize Automation blueprint to create a linked clone deployment.

    You must have the customization specification name available for a Windows-based vRealize Automation blueprint. See Prepare vCenter Server Windows Virtual Machine Templates.

  • Familiarize yourself with how to create a blueprint in vRealize Automation. See Iaas Configuration for Virtual Platforms.

Procedure

  1. Log in to the vRealize Automation console as a tenant administrator.
  2. Select New Blueprint > Virtual > vSphere (vCenter) and name the blueprint. For example, name the blueprint vCAC_Clone.
  3. Complete the information on the Blueprint Information tab.
  4. On the Build Information tab, select the Clone option from the Action drop-down menu.
  5. In the Clone from drop-down menu, select the vCenter Server template you created for use in vRealize Automation.
  6. For a Windows-based vRealize Automation blueprint, enter the customization specification name in the Customization spec text box.

    You created the customization specification as part of the vCenter Server virtual machine template preparation, as stated in the prerequisites section.

  7. Click OK to save your changes.
  8. Select the blueprint, request a machine from the drop-down menu, and accept the default settings. For example, select the blueprint named vCAC_Clone.

    The request information is derived from the resources defined in the vCenter Server template.

    When your machine request is processed, it appears in the Infrastructure > Machines > Managed Machines menu. The machine name, for example vCAC_Clone, is appended with a unique series of letters and numbers, for example as vCAC_Clone-VFF17Y0.

  9. Log in to the machine, for example vCAC_Clone-VFF17Y0, and stop the Application Services and vRealize Automation services depending on your Windows or Linux operating system.

    Service

    Description

    vmware-appdirector-agent-service-vcac

    Application Services bootstrap service for Linux

    vrm-agent

    vRealize Automation agent service for Linux

    AppDAgentBootstrap

    Application Services bootstrap service for Windows

    VRMAgent or winservice

    vRealize Automation 6.1 or later agent service for Windows

  10. Run the Windows script agent_reset.bat or Linux script agent_reset.sh to remove runtime log files from the machine, for example from machine vCAC_Clone-VFF17Y0.
  11. Power off the machine, for example power off machine vCAC_Clone-VFF17Y0.

What to do next

Create a snapshot from the blueprint for a linked clone deployment. See Create a Snapshot from a vRealize Automation Blueprint.