Adding Steps and Phases to User Defined Deployment Procedure Using GUI

To add phases and steps to User Defined Deployment Procedure (UDDP), log in to Cloud Control as a Designer, and follow these steps:

  1. In Cloud Control, from the Enterprise menu, select Provisioning and Patching, then select Procedure Library.

  2. On the Provisioning page, from the Actions menu select Create New, and click Go.

  3. Provide a unique name for your procedure UDDPTest , and click Procedure Steps tab.

  4. On the Procedure Variables tab, add a procedure variable called destination_path.

  5. Select the Default Phase, and click Insert to add a new step to the phase. On the Create wizard select Type as Library:Component. The page refreshes, and a five-step wizard appears.

    1. On the Create page, enter a unique name Transfer JRE, and then click Next.

    2. On the Select Component page, select the Component hotspot_jre6_linux32.

    3. On the Select Directive page, select the directive install_jre6_linux32.

    4. On the Map Properties page, map the directive properties with the variables defined. For example, set the destination_path directive property to Choose Variable, and then choose the procedure variable that you set destination_path.

    5. On the review page, review the details, and click Finish.

  6. Select the step Transfer JRE, and click Insert. On the Create Wizard, select Type Host Command. The page refreshes, and a three-step wizard appears.

    1. On the Create page, enter a unique name Check JRE Version, and then click Next.

    2. On the Enter Command page, enter the following command:

      ${data.destination_path}/jre1.6.0_23/bin/java -version
      
    3. On the review page, review the details, and click Finish.

  7. Go back to the Procedure Library page, and select the UDDPTest procedure that you just created, and click Launch. To complete the wizard enter the following details: target where you want to provision your procedure, variable (destination path: /tmp), credential info, and notification information.

  8. Once you have provided all the details, click Submit. Enter the a unique Submission name FirstUDDP.

  9. After the procedure has run, verify the output of the Check JRE Version step. Ideally the version should be JRE6.