Updated on 2026-09-30 GMT+08:00

Managing Contingency Plans

In the routine emergency management of COC, public and custom contingency plans form a complementary contingency plan system that addresses diverse operational emergency scenarios.

Public contingency plans are standard baseline plans preset on the platform, covering typical scenarios of cloud O&M. You can directly check and use contingency plan templates queried on the Public Plans page. If public contingency plans cannot meet your specialized requirements, you can clone a public contingency plan to quickly generate a custom plan, which greatly reduces the cost of creating a new one.

You can modify and delete a custom contingency plan according to your service scenario and fault-handling process.

Prerequisites

You have enabled the Fault Drills (Professional Edition) package. For details about billing, see Billing Items.

Viewing Contingency Plan Details

  1. Log in to COC.
  2. In the navigation pane, choose Resilience Center > Contingency Plans.
  3. Click Public Plans or Custom Plans as required.
  4. On the displayed page, locate the contingency plan you want to view and click its name to go to the details page.

    On the contingency plan details page, you can view the basic information and troubleshooting details of the contingency plan.

Cloning a Public Contingency Plan

  1. Log in to COC.
  2. In the navigation pane, choose Resilience Center > Contingency Plans.
  3. Click Public Plans.
  4. Locate the target public contingency plan and click Clone in the Operation column.
  5. Set the parameters to the same values as for creating a contingency plan. For details, see Table 1 and Table 2.

    Table 1 Basic information parameters

    Parameter

    Description

    Contingency Plan

    Enter a contingency plan name.

    Enterprise Project

    Select the enterprise project to which the contingency plan belongs.

    Application

    Select the application to which the contingency plan belongs.

    Recovery Duration

    Enter the expected fault rectification duration, in minutes.

    Version

    Enter the contingency plan version number.

    Summary

    Enter the main information about the contingency plan.

    The value can contain a maximum of 1,024 characters.

    Table 2 Troubleshooting parameters

    Parameter

    Description

    Contingency Plan Type

    You can choose an automatic plan or a document plan.
    • If you choose an automatic plan, you can use scripts or jobs to rectify faults.
    • If you choose a document plan, you need to manually perform recovery actions step by step to rectify faults.

    Handling Method

    The value can be Scripts or Jobs. For a document plan, you can also select N/A.
    • Scripts: Select a script. You can select a custom script or public script.
    • Jobs: Select a job. You can select a custom job or public job.
    • N/A: This option can be selected only for a document plan.

    Step Name

    Step Name: It is mandatory only for a document plan. If you set Handling Method to Scripts or Jobs, the script or job name will be used automatically.

    Step Description

    Enter the step description. It is mandatory only for a document plan. The description cannot exceed 3 MB.

  6. Click OK.

Modifying a Custom Contingency Plan

  1. Log in to COC.
  2. In the navigation pane, choose Resilience Center > Contingency Plans.
  3. Click Custom Plans. On the displayed page, locate the target contingency plan and click Modify in the Operation column.
  4. Set the parameters to the same values as for creating a contingency plan. For details, see Table 3 and Table 4.

    Table 3 Basic information parameters

    Parameter

    Description

    Contingency Plan

    Enter a contingency plan name.

    Enterprise Project

    Select the enterprise project to which the contingency plan belongs.

    Application

    Select the application to which the contingency plan belongs.

    Recovery Duration

    Enter the expected fault rectification duration, in minutes.

    Version

    Enter the contingency plan version number.

    Summary

    Enter the main information about the contingency plan.

    The value can contain a maximum of 1,024 characters.

    Table 4 Troubleshooting parameters

    Parameter

    Description

    Contingency Plan Type

    You can choose an automatic plan or a document plan.
    • If you choose an automatic plan, you can use scripts or jobs to rectify faults.
    • If you choose a document plan, you need to manually perform recovery actions step by step to rectify faults.

    Handling Method

    The value can be Scripts or Jobs. For a document plan, you can also select N/A.
    • Scripts: Select a script. You can select a custom script or public script.
    • Jobs: Select a job. You can select a custom job or public job.
    • N/A: This option can be selected only for a document plan.

    Step Name

    Step Name: It is mandatory only for a document plan. If you set Handling Method to Scripts or Jobs, the script or job name will be used automatically.

    Step Description

    Enter the step description. It is mandatory only for a document plan. The description cannot exceed 3 MB.

  5. Click OK.

Deleting a Custom Contingency Plan

  1. Log in to COC.
  2. In the navigation pane, choose Resilience Center > Contingency Plans.
  3. Click Custom Plans. On the displayed page, locate the target contingency plan and click Delete in the Operation column.
  4. Click OK.