To add configured and published software components to a blueprint in your multi-tier scenario, you can drag drop the software components to a blueprint.

About this task

Procedure

  1. Log in to the vRealize Automation Rainpole portal.
    1. Open a Web browser and go to https://vra01svr01.rainpole.local/vcac/org/rainpole.
    2. Log in using the following credentials.

      Setting

      Value

      User name

      itac-tenantadmin

      Password

      itac-tenantadmin_password

      Domain

      Rainpole.local

  2. Navigate to Design > Blueprints.
  3. Select the Multi-Tier Web App blueprint and click Edit .
  4. In the Categories area of the design canvas, select Software Components.
  5. Drag the System Configuration software component onto both the Web vSphere machine and the Database vSphere machine.

    The System Configuration component is now available on both the Web and Database virtual machines that you create using this blueprint. The System Configuration component has a machine dependency can therefore be directly placed on the vSphere machine.

  6. Drag the Apache Service onto the Web vSphere Machine.

    The Apache Service component is now available on all the Web virtual machines that you create with this blueprint. The Apache component has a machine dependency and can therefore be directly placed on the vSphere machine.

  7. Drag the MySQL software component onto the Database vSphere Machine.

    The MySQL component is now available on Database virtual machines that you create with this blueprint. The MySQL component has a machine dependency and can therefore be directly placed on the vSphere machine.

  8. Drag the PHP Service onto the Web vSphere Machine and position it below the Apache Service.

    The PHP Service component is now available on all the Web virtual machines that you create with this blueprint. The associated script is on the same virtual machines as the Apache Service script.

  9. Drag the Wordpress Database inside the MySQL software component within the Database vSphere Machine.

    The Wordpress Database component is now available on the Database virtual machines that you create with this blueprint. The Wordpress Database has a database parent dependency on MySQL. It is therefore placed inside the MySQL software component.

  10. Drag the Wordpress Service inside the Apache Service within the Web vSphere Machine.

    The Wordpress Service component is now available on Web virtual machines that you create with this blueprint. The Wordpress Service has a parent dependency on Apache Service and is therefore placed inside the Apache Service software component.

  11. Select the Wordpress Service software component inside the Apache Service software component




  12. Click the Properties tab, select WP_DB_HOST, and then click Edit.
  13. Click the Binding check box, change the WP_DB_HOST value to _resource~Database~ip_address, and click Save.