Repairs a cloud server, if possible.
CALL DBCloud.RepairServer ( server=server, exp_running_status=exp_running_status )
dbcloudcmd run RepairServer server exp_running_status
The cloud server to repair. Accepts a search query that identifies one cloud server, for example a cloud server name or ID. (Required)
The expected status after repair. (Required)
The following values are supported:
The object should not be running.
The object should be running and accepting requests.
The object is being maintained.
Repairing a cloud server also attempts to repair any database copies located on the cloud server.
Repairing a cloud server fails if the parent host is not running properly.
Repairing a cloud object may take a significant amount of time if there are numerous cloud objects being created, started, or repaired.
If you are repairing a cloud server that has numerous tenant databases running on it, restarting all the databases may take a significant amount of time.
Specifying an exp_running_status of run does not affect stopped database copies.
The value maintenance is for internal use only.
If the cloud server is unresponsive, disconnected, or failed, run the following task to repair and stop the cloud server my-server#2:
dbcloudcmd run RepairServer server=my-server#2 exp_running_status=stop