A plan atomic operation is the smallest unit of an emergency or disaster recovery operation. You can apply it to emergency plans or disaster recovery plans.
System atomic operations
Log on to the High Availability Management Console.
In the navigation pane on the left, click Emergency Plan > Plan Atomic Operation.
On the System Atomic Operations tab, click the name of the target atomic operation or click Details in the Actions column to view its basic information and parameter settings.

Custom atomic operations
Create an atomic operation
In the navigation pane on the left, click Emergency Plan > Plan Atomic Operation.
On the Custom Atomic Operations tab, click Create. In the Create Custom Atomic Operation panel, configure the following parameters.
Parameter
Required
Description
Name
Required
Enter a name for the atomic operation.
Description
Optional
Enter a description for the atomic operation.
Type
Required
Select Java Script, Python Script, or Shell Script.
Tag
Optional
Select one or more tags for easy query and statistics. To add a new tag, switch to the ROC tenant and add it on the Backend Management > Tag Management page.
Click OK.
The status of the atomic operation changes to Pending Self-test.
Add parameter settings.
Click the name of the atomic operation to open its details page. In the parameter settings section, click Add and configure the following parameters.
Parameter
Required
Description
Parameter Name
required
The name of the parameter. It must be unique.
Parameter Constraint
Required
A regular expression. The default value is
^[0-9a-zA-Z.]+$.Parameter Description
Required
A description of the parameter.
Parameter Example
Required
The parameter value.
Encrypt Information
Optional
Select whether to encrypt the parameter.
Click Save.
(Optional) Upload a JAR package.
Click Upload JAR Package.
Select the JAR package from your local computer to import it.
On the atomic operation details page, click Complete Self-test.
NoteAlternatively, on the Custom Atomic Operations tab, click
> Complete Self-test in the Actions column for the target atomic operation.The status of the atomic operation changes to Self-tested.
On the Custom Atomic Operations tab, in the Actions column for the target atomic operation, click
> Submit for Approval.
After the operation is approved, its status changes to Published. You can then apply the atomic operation.
More operations
Edit an atomic operation
You can edit the plan information in one of the following methods:
Method 1:
In the navigation pane on the left, click Emergency Plan > Plan Atomic Operation.
On the Custom Atomic Operations tab, click Edit in the Actions column for the target atomic operation. On the Edit Custom Atomic Operation page, modify the information.
Click OK.
Method 2:
In the navigation pane on the left, click Emergency Plan > Plan Atomic Operation.
On the Custom Atomic Operations tab, click the name of the target atomic operation to open its details page. In the upper-right corner of the page, click Edit. On the Edit Custom Atomic Operation page, modify the information.
Click OK.
Clone an atomic operation
The plan atomic operation module lets you clone existing atomic operations. You can then modify the cloned operation to create a new one. The procedure is as follows:
In the navigation pane on the left, click Emergency Plan > Plan Atomic Operation.
On the Custom Atomic Operations tab, click Clone in the Actions column for the target atomic operation.
The cloned atomic operation appears in the list with a status of Pending Self-test. The operation cannot be applied until it is submitted for approval and published.
Edit the cloned atomic operation. Add parameter settings and upload a JAR package. For more information, see Create an atomic operation.
On the Custom Atomic Operations tab, click
> Complete Self-test in the Actions column for the target atomic operation.On the Custom Atomic Operations tab, click
> Submit for Approval in the Actions column for the target atomic operation.After the operation is approved, its status changes to Published. You can then apply the atomic operation.
Delete an atomic operation
A deleted plan cannot be recovered. Proceed with caution.
In the navigation pane on the left, click Emergency Plan > Plan Atomic Operation.
On the Custom Atomic Operations tab, click Delete in the Actions column for the target atomic operation. In the dialog box that appears, click OK.
Export an atomic operation
In the navigation pane on the left, click Emergency Plan > Plan Atomic Operation.
On the Custom Atomic Operations tab, select the target atomic operation, and then click Export.
Import an atomic operation
In the navigation pane on the left, click Emergency Plan > Plan Atomic Operation.
On the Custom Atomic Operations tab, click Import.
Select the atomic operation to import from your local computer and click Open.