30.07.2012 Views

Reference Guide

Reference Guide

Reference Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Zend Server <strong>Reference</strong> Manual<br />

clusterGetServerStatus<br />

Use this method to get the list of servers in the cluster and the status of each one. On a Zend Server<br />

Cluster Manager with no valid license, this operation fails. This operation causes Zend Server Cluster<br />

Manager to check the status of servers and return fresh, non-cached information. This is different from<br />

the Servers List tab in the GUI, which may present cached information. Users interested in reducing load<br />

by caching this information should do it in their own code.<br />

Required Permissions: read<br />

HTTP method: GET<br />

Supported by Editions: Zend Server Cluster Manager<br />

Request Parameters:<br />

Parameter Type Required Description<br />

servers Array No A list of server IDs. If specified, the status is returned for these<br />

servers only. If not specified, the status of all the servers is<br />

returned.<br />

Expected Response Code: 200 OK<br />

Response Type: serversList<br />

Possible Action Specific Error Codes:<br />

HTTP<br />

Code<br />

358<br />

Error Code Description<br />

404 noSuchServer One or more of the provided server IDs does not exist in the<br />

cluster.<br />

405 notImplementedByEdition This method is only available on Zend Server Cluster<br />

Manager.<br />

500 serverNotLicensed Zend Server Cluster Manager is not licensed.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!