Servers command

The servers command shows information about the servers in a streaming server deployment.

Command syntax

api.sh|api.bat -u|--user user -p|--password password [-H|--host host] [-P|--port port] [-T|--truststorefile] serversgetservers
api.sh|api.bat -u|--user user -p|--password password [-H|--host host] [-P|--port port] [-T|--truststorefile] serversgetdiscoveryservers
api.sh|api.bat-u|--user user -p|--password password [-H|--host host] [-P|--port port] [-T|--truststorefile] serversgetdiscoveryserverstatus
api.sh|api.bat -u|--user user -p|--password password [-H|--host host] [-P|--port port] [-T|--truststorefile] serversgetstorageservers
api.sh|api.bat -u|--user user -p|--password password [-H|--host host] [-P|--port port] [-T|--truststorefile] serversgetstorageserverstatus
api.sh|api.bat -u|--user user -p|--password password [-H|--host host] [-P|--port port] [-T|--truststorefile] serversgetlocalserver
api.sh|api.bat -u|--user user -p|--password password [-H|--host host] [-P|--port port] [-T|--truststorefile] serversgetlocalserverstatus

Parameters

servers
Runs the servers command.
getservers
Lists all running storage and discovery servers.
getdiscoveryservers
Lists all running discovery servers.
getdiscoveryserverstatus
Shows the detailed status and performance information for all discovery servers.
getstorageservers
Lists all running storage servers.
getstorageserverstatus
Shows the detailed status and performance information for all storage servers.
getlocalserver
Shows information about the local server.
getlocalserverstatus
Shows the detailed status and performance information for the local server.

Examples

  • This command lists all running storage servers and discovery servers:
    api.sh -u user -p password -H host -P port servers getservers
  • This command lists all running discovery servers:
    api.sh -u user -p password -H host -P port servers getdiscoveryservers
  • This command shows the detailed status and performance information for all storage servers:
    api.sh -u user -p password -H host -P port servers getstorageserverstatus