Updated on 2024-04-19 GMT+08:00

Repairing Patches

The patch repair feature allows users to repair non-compliant ECS or CCE instances scanned by patches. The patch repair feature upgrades or installs non-compliant patches on ECS or CCE instances.

Scenarios

Repair patches on Cloud Operations Center.

Procedure

  1. Log in to COC.
  2. In the navigation pane on the left, choose Resource O&M. On the displayed page, click Patch management.
  3. Select the instance whose patch needs to be repaired and click Repair.

    Figure 1 Select the target instances

  4. Set the batch policy.

    Batch policy
    • Automatic: The selected hosts are automatically divided into multiple batches based on the preset rule.
    • Manual: You can manually create multiple batches and add instances to each batch as required.
    • No batch: All hosts to be executed are in the same batch.
    Figure 2 Selecting the batch policy

  5. Set a suspension policy.

    Suspension threshold: You can set the execution success rate. When the number of failed hosts meet the number calculated based on the suspension threshold, the service ticket status become abnormal and the service ticket will stop being executed.
    Figure 3 Suspension policy

  6. Set whether to allow restart.

    Some patches take effect only after the system is restarted. If you select No, you need to restart the system at another time.

  7. Confirm the execution information. If the information is correct, click OK.

    Figure 4 Execution information page