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:
-
In Cloud Control, from the Enterprise menu, select Provisioning and Patching, then select Procedure Library.
-
On the Provisioning page, from the Actions menu select Create New, and click Go.
-
Provide a unique name for your procedure UDDPTest , and click Procedure Steps tab.
-
On the Procedure Variables tab, add a procedure variable called
destination_path
. -
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.
-
On the Create page, enter a unique name Transfer JRE, and then click Next.
-
On the Select Component page, select the Component hotspot_jre6_linux32.
-
On the Select Directive page, select the directive install_jre6_linux32.
-
On the Map Properties page, map the directive properties with the variables defined. For example, set the
destination_path
directive property toChoose Variable
, and then choose the procedure variable that you setdestination_path.
-
On the review page, review the details, and click Finish.
-
-
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.
-
On the Create page, enter a unique name Check JRE Version, and then click Next.
-
On the Enter Command page, enter the following command:
${data.destination_path}/jre1.6.0_23/bin/java -version
-
On the review page, review the details, and click Finish.
-
-
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. -
Once you have provided all the details, click Submit. Enter the a unique Submission name FirstUDDP.
-
After the procedure has run, verify the output of the Check JRE Version step. Ideally the version should be
JRE6.