Diagnoses the current status of a host or list of hosts.
CALL DBCloud.DiagnoseHost ( host_list=host_list )
dbcloudcmd run DiagnoseHost host_list
A list of hosts to diagnose. Accepts a search query that identifies hosts. The search query can be a list of host names or IDs separated by semicolons (;), or a full search. (Required)
This task attempts to diagnose the current status of all the cloud servers on the host. It may also update the status of database copies assigned to the cloud servers.
After the diagnosis completes, you may need to repair some or all of the hosts.
If all hosts marked with tag GroupA have the status disconnected or are in an inconsistent state after a failed task, run the following task to determine the current status of the hosts:
dbcloudcmd run DiagnoseHost host_list=tag:host01