Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP SQL Anywhere, on-demand edition 1.0 SP 6 » Task syntax

DiagnoseHost task

Diagnoses the current status of a host or list of hosts.

Syntax 1 (SQL)
CALL DBCloud.DiagnoseHost ( host_list=host_list )
Syntax 2 (Cloud Command utility)
dbcloudcmd run DiagnoseHost host_list
Parameters
  • 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)

Required privileges

StartStopServer

Remarks

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.

Example

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