Previous Topic: Define Applications

Next Topic: Execute Commands


Execute Application Installation

To run an application during service provisioning, specify the application file to execute and specify action options to define how to execute the application.

Follow these steps:

  1. Click Resources, and in the Explore tree, select Applications. In the Applications pane, click the tool icon for the application to Edit.
  2. Select the Configure Installation Actions tab.
  3. Click + (Add).

    The Define Action wizard opens in the Select Installation Action panel.

    Note: If you are adding actions during Define Applications, start from this step.

  4. Select Execute Program from the Action drop-down list.
  5. Select the Program Name to execute from the drop-down list. The File Location that is specified for the application determines the available executable files.

    Note: You can directly input the command and options that are required to execute the application file in the Program Name field. However, this option does not enable you to modify the application options.

  6. (Optional) Click Username to specify user credentials to use when executing the action.

    Note: This option enables user-restricted actions during service provisioning. The primary use case is to enable clustered application deployment using domain user credentials.

  7. Add a description, modify the supported operating systems for the specified executable application as required, and click Next.

    The Define Installation Action Options panel opens with the Action Preview displaying the application command to execute when the application is deployed during service provisioning.

    Note: Specifying supported operating systems for actions as well as applications enables you to define separate OS-specific actions. An action only executes when an application deploys to the specified operating systems for the action. For example, define an application that supports Windows and Linux, and specify separate .bat and .sh actions for Windows and Linux respectively.

  8. (Optional) Click the Add icon.
    1. Specify an Action Parameter to use to modify the execution of the application.
    2. Specify a Description, Data Type, and Default Value for the action parameter.
    3. (Optional) Select User Editable to indicate that the end user can input a value for the action parameter during the execution of the application. Specify a Label as the prompt the end user receives when an input is required.
    4. (Optional) Select Mandatory to specify that a user input is required.
    5. Click Finish.

    The wizard adds the action option to the Options list in the Define Action Options panel and updates the Action Preview.

    Note: Click the Parse icon to input an entire executable command, with all its options. The wizard parses the command and creates each individual action option. Edit each action option individually before continuing.

  9. Click Finish.

    The wizard adds the Action to the Action list in the Installation Actions panel.

  10. (Optional) Repeat steps 3 through 9 to add additional actions to apply during application execution. Use the up and down arrows to specify the order in which to execute actions.
  11. Click OK.

    Note: If you are adding actions during Define Applications, click Finish.

    CA Server Automation modifies the application definition to execute the defined actions when it is deployed during service provisioning.