Add User-Defined Plan Groups and Steps

You can add user-defined groups and steps to a Disaster Recovery (DR) plan after Full Stack DR creates an initial DR plan with built-in groups and steps.

Note

You can run user-defined steps only using Oracle Cloud Agent's Run Command feature on instances that are present in either the primary or standby DR protection group. You can also run user-defined steps using Oracle Functions.
Note

For a failover plan, when you add a function to a step, ensure to select a function from the standby region.
You can add a new user-defined group and a step to a plan, or you can add a new step to an existing user-defined group.
  1. Navigate to the Resource page for the DR protection group.
  2. Click the Plans link in the Resources panel to list the DR plans for the DR protection group.
  3. Click the name of the plan to which you want to add groups and steps.
    The plan details with a sequential list of plan groups are displayed.
  4. Click the Add group button to add a new user-defined group with a step, or click the three-dots Action menu for an existing user-defined group and select Add step to add a step to the user-defined group.
  5. Provide a name for the new group (if adding a new group).
  6. Click Add after or Add before to add a group after or before a particular group.
    Note

    Ensure to add a group after the Built In Prechecks group. The plan fails if you try to add a step before the Built In Prechecks group.
  7. Select a Group from the list of groups.
  8. Provide a name for the new step.
  9. Select Enable step to enable the step for execution. If you deselect the box, DR plan execution will skip this step.
  10. Select either of the following error modes for the new step:
    1. Stop on error – Indicates that DR plan execution should stop if step execution fails.
    2. Continue on error – Indicates that DR plan execution should continue even if the step execution fails.
  11. Provide a timeout value for the step. This is the total duration allowed for step execution before the step is considered timed out.
  12. Select a region which contains the instance on which this step will execute. This only applies to steps where an object store or local script executes on an instance. This region must be region where the instance is currently present, and not the region where the step will execute.
    The following sections describe the three different choices for configuring the user-defined step to execute user-provided script or function:
    • Run object storage script
    • Run local script
    • Invoke function