30.07.2012 Views

Reference Guide

Reference Guide

Reference Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Possible Action Specific Error Codes:<br />

HTTP<br />

Code<br />

Error Code Description<br />

404 noSuchServer There is no server with the provided server ID.<br />

Web API <strong>Reference</strong> <strong>Guide</strong><br />

500 cantConnectToServer Zend Server Cluster Manager is unable to connect to the<br />

specified server.<br />

500 invalidServerResponse An invalid or unexpected response from the server.<br />

503 temporarilyLocked The server cannot be disabled because another server in the<br />

cluster is performing a graceful startup/shutdown.<br />

405 notImplementedByEdition The method is not implemented by this edition of Zend Server.<br />

500 serverNotLicensed Zend Server Cluster Manager is not licensed.<br />

Example:<br />

Request (headers removed for clarity):<br />

Response:<br />

POST /ZendServerManager/Api/clusterEnableServer<br />

serverId=5<br />

HTTP/1.0 200 OK<br />

<br />

<br />

<br />

angel.eyes<br />

clusterEnableServer<br />

<br />

<br />

<br />

5<br />

www-02<br />

https://www-02.local:10082/ZendServer<br />

pendingRestart<br />

<br />

<br />

<br />

<br />

367

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

Saved successfully!

Ooh no, something went wrong!