Creating an Action
This topic describes how to create an Action.
To create an Action
- From the Management Console, select Actions > Action Repository.
- In the Actions Repository page, click Create New Action.
In the General page, populate the following fields, and click Next.
In the Action Execution page, populate the following fields, and click Next.
In the Availability page, populate the following fields, and click Next.
In the Remediation page, populate the following fields, and click Next.
(For SQL Actions only) In the Credentials page, select the Credentials Options option button corresponding to one of the following options:
In the Application Schema page, populate the following fields, and click Next.
- In the Custom Fields page, specify custom fields for this Action and click Next.
- Click Add.
- Enter the name of the custom field in the Custom Fields Name field. The name used here must match the name used in the template that you load in the Actions Files page.
- If this custom field should be a required field, select the Required check box.
- Click Add to add the field name to the list.
- Repeat these steps for each custom field to be added to this Action.
In the Restrictions page, populate the following fields, and click Next.
In the Action Files page, populate the following fields, and click Next.
- In the Summary page, review the provisioning information.
To make changes, do the following:- Click Go to to return to the provisioning step that you want to edit.
- Make your changes.
- Click Save and Review to return to the Summary page.
- Click Create Action to finish creating the Action.
Actions scope and provisioning associations
BMC Database Automation Actions can be used as pre-provisioning and post-provisioning scripts during provisioning operations. When the options for Available as Pre-Provisioning Script and Available as Post-Provisioning Script are selected on the Actions Configuration page, the Actions scope determines the relevant scripts to display on the Custom Scripts Configuration page during provisioning.
|
| Actions Scope |
Database type | Wizard |
| Oracle | SQL Server | Sybase |
|
| Node | Home | DB | DB instance | Member instance | DB | Dataserver/ Dataserver instance | Repserver/ Repserver instance |
Oracle | Create cluster | X | X |
|
|
|
|
|
|
| Add node | X | X |
|
|
|
|
|
|
| Remove node | X | X |
|
|
|
|
|
|
| Remove cluster | X | X |
|
|
|
|
|
|
| Create Oracle database | X | X | X | X |
|
|
|
|
| Add instance | X | X | X | X |
|
|
|
|
| Upgrade Oracle database | X | X | X | X |
|
|
|
|
| Remove instance | X | X | X | X |
|
|
|
|
| Remove Oracle database | X | X | X | X |
|
|
|
|
| Create Oracle Home | X | X |
|
|
|
|
|
|
SQL Server | Create MSSQL instance | X |
|
|
| X |
|
|
|
| Add node to instance | X |
|
|
| X |
|
|
|
| Remove node from instance | X |
|
|
| X |
|
|
|
| Remove MSSQL instance | X |
|
|
| X |
|
|
|
| Create MSSQL database | X |
|
|
| X | X |
|
|
| Remove MSSQL database | X |
|
|
| X | X |
|
|
Sybase | Create Dataserver | X |
|
|
|
|
| X |
|
| Remove Dataserver | X |
|
|
|
|
| X |
|
| Create Replication Server | X |
|
|
|
|
|
| X |
| Remove Replication Server | X |
|
|
|
|
|
| X |