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

Batch Changing OSs

Scenarios

Change the OSs of Flexus L instances in batches on COC.

Precautions

If there are instances that are not stopped, select Stop now.

If no instance is stopped, submit the task.

Procedure

  1. Log in to COC.
  2. In the navigation pane on the left, choose Resource O&M > Resource Batch Operations, and click Change OS in Batch FlexusL Operations.
  3. On the Change OS page, click Add.

    Figure 1 Changing OSs

  4. Select 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 target instances are in the same batch.

  5. Set Suspension Policy.

    • 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.
    • The value range is from 0 to 100 and can be set to one decimal place.

  6. Select the image that you want to switch to.

    Figure 2 Switching images

  7. In the Confirm Execution dialog box, click OK.

    Figure 3 Confirming the execution

  8. View the execution result.
  9. If the execution result is abnormal, you can click the Retry button in the Operation column or the Batch Retry button above the list to re-execute the failed one or more tasks. You can also click the Cancel button in the Operation column or Batch Cancel button above the list to skip one or more abnormal tasks.

    Figure 4 Canceling or retrying batch tasks