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

Reinstalling OSs

Scenarios

Re-install OSs of ECS instances in batches 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 Reinstall OS.
  4. On the Reinstall OS page, click Add Instances.

    Figure 1 Adding instances

  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. 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.

  8. Click OK.

    Figure 2 Reinstalling OSs

  9. Click OK.

    Figure 3 Confirming the execution

  10. View the execution result.

    Figure 4 Viewing the execution result