Creating agent components in VMware vRealize Automation#

After you configure the integration with VMware vRealize Automation Enterprise, you can create software components for UrbanCode™ Deploy agents.

You can import VMware vRealize Automation Enterprise catalog items into empty blueprints in the blueprint designer. To add UrbanCode Deploy components to images in these catalog items without creating a new blueprint in vRealize automation, the image must contain a vRealize Automation software component for an UrbanCode Deploy agent.

  1. To create vRealize Automation software components for the agent, complete the following steps:
  2. Extract the installation files for the agent components.

  3. From the command line, change to the installation_directory/ibm-ucd-patterns-install/agent-package-install/ folder, and run the installation program:

    • On a Linux™ computer, run the following command:

      ./create-ucd-linux-agent-swcomp-for-vra.sh -s <VRA\_SERVER\_URL> -u <VRA\_USERNAME> -p <VRA\_PASSWORD> -t <VRA\_TENANT>

      This command is split onto separate lines for clarity, but it must be entered on a single line.

      • VRA_SERVER_URL is the URL of the vRealize Automation server
      • VRA_USERNAME is a vRealize Automation user that is assigned a role with permission to create a software component, such as the Infrastructure Architect or Software Architect role.
      • VRA_PASSWORD is the password for that user.
      • VRA_TENANT is the tenant that can access the component. Note: The VRA_SERVER_URL and VRA_TENANT values must match the values that were used to configure the vRealize Automation cloud project in the blueprint designer.
    • On a Windows™ computer, run the following command:

      ./create-ucd-windows-agent-swcomp-for-vra.ps1 -s <VRA\_SERVER\_URL> -u <VRA\_USERNAME> -p <VRA\_PASSWORD> -t <VRA\_TENANT>

      This command is split onto separate lines for clarity, but it must be entered on a single line.

      • VRA_SERVER_URL is the URL of the vRealize Automation server
      • VRA_USERNAME is a vRealize Automation user that is assigned a role with permission to create a software component, such as the Infrastructure Architect or Software Architect role.
      • VRA_PASSWORD is the password for that user.
      • VRA_TENANT is the tenant that can access the component. Note: The VRA_SERVER_URL and VRA_TENANT values must match the values that were used to configure the vRealize Automation cloud project in the blueprint designer.

Now you can create vRealize Automation blueprints that contain software components for the agents. Then, users can import catalog items that are based on the blueprint into the blueprint designer and add UrbanCode Deploy components to images that contain an agent. They can provision these blueprints from the blueprint designer without modifying or creating assets in vRealize Automation.