A provision task provisions the machines. The plug-in provider for this task is vRealize Automation. Based on the provider, specific configuration is required. You can create machines from a single machine blueprint for a provision task. The task output is an array of machines.

About this task

Assign the catalog item to a service. The service must be added to the entitlement for the Business group proxy user.

Figure 1. Sample Provision Task
Sample provision task showing machine properties.

Prerequisites

  • Verify that you used vRealize Orchestrator to register the vRealize Automation server. See Register a vRealize Automation Server.

  • Verify that you completed the following tasks in vRealize Automation.

    • Choosing an Endpoint Scenario see IaaS Configuration for Virtual Platforms.

    • Create a Fabric Group see IaaS Configuration for Virtual Platforms.

    • Create a Business Group see IaaS Configuration for Virtual Platforms.

    • Create a Reservation see IaaS Configuration for Virtual Platforms.

    • Create a Reservation Policy see IaaS Configuration for Physical Machines.

    • Create a Network Profile see IaaS Integration for Multi-Machine Services.

    • Create a Blueprint see IaaS Configuration for Virtual Platforms.

    • Publish a Blueprint see IaaS Configuration for Virtual Platforms.

Procedure

  1. Select Release Automation.
  2. Select the pipeline to configure from the Pipeline tab.
  3. Select Edit > Stages.
  4. Select Add Task.
  5. Select Provision from the Category drop-down menu.
  6. Select vRA Provisioning from the Provider drop-down menu.
  7. Select the vRealize Automation server you registered in vRealize Orchestrator from the drop-down menu.
  8. Enter a name for the provision task and click OK.
  9. Select the new task from the stage column.
  10. Confirm to save the pipeline for configuration.
  11. Enter the machine properties.

    Option

    Description

    Blueprint

    Select the published vRealize Automation blueprint.

    Number of Machines

    Enter the number of machines to be provisioned that are pipeline or global variables.

    (Optional) Configuration Details

    Enter the Lease (Days), CPUs, Memory (MB), Storage (GB), and Description.

  12. Provide a unique name prefixed with a dollar sign ($) to bind to for the Output Parameters.

    This variable contains details of the machines successfully provisioned by this task. You can use this variable in succeeding tasks to retrieve the machine details.

  13. Click Save.

Task Output Format for a Provisioning Task

The following task output format is an example for a provisioning task.

[
    {
        "name": "vcac-prov01",
        "value": {
            "memory": 1024,
            "machineId": "f9ee3f71-c5d0-4138-9520-24e15e376d13",
            "hostIp": ["10.72.12.56"],
            "cpu": 1,
            "endLease": 1410478627000,
            "storageSize": 4,
            "startLease": 1410392227000,
            "blueprintId":" f9ee3f71-c5d0-4138-3476-24e15e376f36",
            "provider":"iaas-service"
        },
        "type": "MACHINE"
    }
]