2019-12-12 00:26:09 +13:00
========================
Database instance status
========================
2020-12-02 14:36:39 +13:00
Trove is maintaining two types of status, named `` status `` and `` operating_status `` .
2019-12-12 00:26:09 +13:00
2020-12-02 14:36:39 +13:00
`` status `` is reflecting the trove instance VM status and instance task status, e.g. after successfully creating a trove instance, the `` status `` is `` ACTIVE `` , when doing backup, the `` status `` is `` BACKUP `` , etc.
2019-12-12 00:26:09 +13:00
2020-12-02 14:36:39 +13:00
`` operating_status `` is the actual database status inside the trove instance, trove guest agent is actively monitoring the database status and reporting back to trove, e.g. when MySQL service is up and running, the `` operating_status `` should be `` HEALTHY `` , if MySQL service is not running for some reason, the `` operating_status `` is `` SHUTDOWN `` .
The possible values for `` status `` are:
2019-12-12 00:26:09 +13:00
NEW
2020-12-02 14:36:39 +13:00
The database instance creation request is just received by Trove.
2019-12-12 00:26:09 +13:00
BUILD
2020-12-02 14:36:39 +13:00
The database instance is being installed.
2019-12-12 00:26:09 +13:00
2020-12-02 14:36:39 +13:00
ACTIVE
The database instance is up and running.
2019-12-12 00:26:09 +13:00
2020-12-02 14:36:39 +13:00
REBOOT
The database instance is rebooting.
2019-12-12 00:26:09 +13:00
2020-12-02 14:36:39 +13:00
RESIZE
The database instance is being resized.
UPGRADE
The database instance is upgrading its datastore, e.g. from mysql 5.7.29 to mysql 5.7.30
2019-12-12 00:26:09 +13:00
RESTART_REQUIRED
The database service needs to restart, e.g. due to the configuration change.
2020-12-02 14:36:39 +13:00
PROMOTE
A replica instance in the replication cluster is being promoted to the primary.
EJECT
The current primary instance in a replication cluster is being ejected, one of the replicas is going to be elected as the new primary.
2019-12-12 00:26:09 +13:00
2020-12-02 14:36:39 +13:00
DETACH
One of the replicas in a replication cluster is being detached and will become a standalone instance.
SHUTDOWN
The database instance is being shutdown during deletion.
2019-12-12 00:26:09 +13:00
2020-12-02 14:36:39 +13:00
BACKUP
The database instance is being backed up.