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 />

clusterEnableServer<br />

This method is used to re-enable a cluster member. This process may be asynchronous if Session<br />

Clustering is used. If this is the case, the initial operation will return an HTTP 202 response. This action is<br />

idempotent, and running it on an enabled server will result in a 200 OK response with no consequences.<br />

On a Zend Server Cluster Manager with no valid license this operation fails.<br />

Required Permissions: full<br />

HTTP method: POST<br />

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

Request Parameters:<br />

Parameter Type Required Description<br />

serverId String Yes The server ID<br />

Expected Response Code:<br />

366<br />

200 OK - The server was enabled successfully. This status appears if the server is not re-joining<br />

the cluster after performing a graceful shutdown and has no sessions to reclaim.<br />

202 Accepted - The process started but has not completed yet. You can check the server status<br />

within a few seconds using the clusterGetServerStatus method to verify that the operation is<br />

complete.<br />

Response Type: serverInfo with the status of the server being enabled. Status is expected to be either<br />

startingUp if the server is in the process of re-joining the cluster, or any other active status (OK,<br />

pendingRestart, misconfigured, extensionMismatch, daemonMismatch, notResponding) if the process<br />

was completed.

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

Saved successfully!

Ooh no, something went wrong!