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
- Log in to COC.
 - In the navigation pane on the left, choose Resource O&M > Automated O&M. Click Patch management. On the displayed page, click Patch Scanning.
 - Select the instance whose patch needs to be repaired and click Repair.
    
    Figure 1 Select the target instances
     - 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
      - 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
      - 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.
 - Confirm the execution information. If the information is correct, click OK.
    
    Figure 4 Execution information page
     
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.