The life cycle refers to all the states that a bare metal server goes through from creation to deletion. This chapter briefly describes the details of each state and the transitions between states.
Figure 1 BMS states
Table 1 Description of BMS states
State | Attribute | Description | API Status |
---|---|---|---|
Creating | Intermediate state | A BMS is in this state after you request for the BMS and before it enters the running state. If a BMS remains in this state for a long time, exceptions will occur. Contact the administrator to handle the exceptions. |
BUILD/BUILDING |
Starting | Intermediate state | It is an intermediate state between Stooed and Runnig. If a BMS remians in this state for a long time, exceptions will occur. Contact the administrator to handle the exceptions. |
SHUTOFF |
Running | Stable state | A BMS is in this state when it is running properly. A BMS in this state can be used normally. |
ACTIVE |
Stopping | Intermediate state | It is an intermediate state between Runnig and Stopped. If a BMS remians in this state for a long time,exceptions will occur. Contact the administrator to handle the exceptions. |
ACTIVE |
Stopped | Stable state | A BMS is in this state after it is stopped successfully. A BMS in this state cannot be used. |
SHUTOFF |
Restarting | Intermediate state | A BMS is in this state when it is being restarted. If a BMS remains in this state for a long time, exceptions will occur. Contact the administrator to handle the exceptions. |
REBOOT |
Forcibly restarting | Intermediate state | A BMS is in this state when it is being forcibly restarted. | HARD_REBOOT |
Deleting | Intermediate state | A BMS is in this state when it is being deleted. If a BMS remains in this state for a long time, exceptions will occur. Contact the administrator to handle the exceptions. | ACTIVE/SHUTOFF/ REBOOT/HARD_REBOOT /ERROR |
Deleted | Intermediate state | A BMS is in this state after it is deleted successfully. A BMS in this state cannot be used and will be removed from the system in a short time. | DELETED |
Faulty | Stable state | A BMS is in this state when an exception occurs on it.A BMS in this state cannot be used. Contact the administrator to rectify the fault. | ERROR |
Rebuilding | Intermediate state | A BMS is in this state when it is being rebuilt. | SHUTOFF |
Reinstalling OS | Intermediate state | A BMS is in this state when its OS is being reinstalled. | SHUTOFF |
Reinstalling OS failed | Stable state | An exception occurred when the BMS OS was being reinstalled and the reinstallation failed.A BMS in this state cannot be used. Contact the administrator to rectify the fault. | SHUTOFF |
Freeze | Stable state | Bare metal server orders are stopped by the system administrator due to expiration or arrears. The server in this state cannot provide services to the outside world and needs to contact the administrator for processing. | SHUTOFF |
Lock | Intermediate state / Stable state | The BMS display is locked and in a protected state. At this time, some operations will be disabled. Please refer to the interface prompts for details. |