This CLI command retrieves a list of all the servers in a cluster.

Common Arguments

This table lists arguments common to all zs-manage commands:

Abbreviated Full Description Required/Optional



WebAPI key name.




WebAPI secret key.




Zend Server URL. Default: http://localhost:10081/ZendServer.

Required - when action is performed on a remote server.



Show usage information and exit.




Instructions on how to complete a procedure

To use cluster-list-servers:

  1. Open your CLI.
  1. Enter a help command for the cluster-list-servers action to learn which arguments your command should include:

/usr/local/zend/bin/zs-manage cluster-list-servers --help

  1. Enter the command with the required arguments (replace brackets with your value):

If performed by a server in a cluster:

/usr/local/zend/bin/zs-manage cluster-list-servers -N <existing key name> -K <existing key secret>

Your CLI displays a list of all the servers in the cluster and their status.


1 ubuntu1204-a Warning

warning The directive 'zend_sc.allowed_hosts' is mismatched: expected ',', actual ''

warning The directive 'zend_sc.ha.cluster_members' is mismatched: expected ',', actual ''

2 ubuntu1204-b Error

error The daemon 'scd' is offline

  1. For info on a specific server in the cluster, enter the same command, and add the server ID:

/usr/local/zend/bin/zs-manage cluster-list-servers [server ID]

CLI Tools will return information on the specific server.