Updated on 2024-11-20 GMT+08:00

Repairing Patches

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

Scenarios

Repair patches on COC.

Procedure

  1. Log in to COC.
  2. In the navigation pane on the left, choose Resource O&M > Automated O&M. Click Patch management. On the displayed page, click Patch Scanning.
  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 reaches the pre-set suspension threshold figure, the service ticket status becomes abnormal and the service ticket stops being executed.
    Figure 3 Suspension policy

  6. Set whether to allow restart.

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

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

    Figure 4 Execution information page