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

Batch Reinstalling OSs on BMSs

Scenarios

Reinstall OSs on BMSs in batches on COC.

Precautions

Instances that have been started cannot be selected.

Procedure

  1. Log in to COC.
  2. In the navigation pane on the left, choose Resource O&M > Resource Batch Operations. On the displayed page, click the Bare Metal Server (BMS) tab, and then click the Restall OSs card on the tab page.
  3. On the Reinstall OS page, click Add.

    Figure 1 Selecting instances

  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 instances reaches the number failed ones that are calculated based on the execution success rate, the service ticket status becomes abnormal and the service ticket stops being executed.
    • The value is from 0 to 100 and can be accurate to one decimal place.

  6. Set Login Mode.

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

  7. Click Submit.

    Figure 2 Reinstalling OSs

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

    Figure 3 Confirming the execution

  9. View the execution result.

    Figure 4 Viewing the execution result

  10. 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 5 Canceling or retrying a batch BMS startup task