In some cases, the successful deployment of an application during service provisioning requires additional actions. For example, another service must stop before an application can deploy, and then restart after deployment. The application definition enables you to specify direct command-line inputs to perform these additional actions.
Follow these steps:
The Define Action wizard opens in the Select Installation Action panel.
Note: If you are adding actions during Define Applications, start from this step.
Note: If you require user definable inputs and configurable options, only input the basic command.
Note: This option enables user-restricted actions during service provisioning. The primary use case is to enable clustered application deployment using domain user credentials.
The Define Installation Action Options panel opens with the Action Preview displaying the 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.
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.
The wizard adds the Action to the Action list in the Installation Actions panel.
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.
Copyright © 2013 CA. All rights reserved. |
|