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

Changing OSs

Scenarios

Change OSs of ECSs on Cloud Operations Center.

Precautions

If the ECS is started, select Stop now.

If the ECS is stopped, submit the request directly.

Procedure

  1. Log in to COC.
  2. In the navigation pane on the left, choose Resource O&M. On the displayed page, click Batch ECS Operations.
  3. Click Change OS.
  4. On the Change OS page, click Add Instances.

    Figure 1 Changing OSs

  5. Select a 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.

  6. Set a suspension policy.

    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.

    The value from 0 to 100 and can be accurate to one decimal place.

  7. Enter the image ID.
  8. Set the login mode.

    Login mode:
    • Password: You can use the original ECS password or enter the new one.
    • Password pair: You can select the corresponding key pair in Key Pair Service.
    • Configuration after creation: Before logging in to the ECS, reset the password.

  9. Click OK.

    Figure 2 Changing OSs

  10. Click OK.

    Figure 3 Confirming the execution

  11. View the execution result.

    Figure 4 Execution result