Re-configure a cluster member to match the cluster's profile. This operation will fail on a Zend Server Cluster Manager with no valid license.
Required Permissions: full
HTTP method: POST
Supported by Editions:Zend Server Cluster Manager
Request Parameters:
Parameter |
Type |
Required |
Description |
serverId |
String |
Yes |
The server ID. |
doRestart |
Boolean |
No |
Specify if the re-configured server should be restarted after the re-configure action. The default is FALSE. |
Expected Response Code:
Response Type: serverInfo with the status of the server which is being re-configured. The status is expected to be either:
Possible Action Specific Error Codes:
HTTP Code |
Error Code |
Description |
404 |
noSuchServer |
There is no server with the provided server ID. |
500 |
cantConnectToServer |
Zend Server Cluster Manager is unable to connect to the specified server. |
500 |
invalidServerResponse |
An invalid or unexpected response from the server. |
503 |
temporarilyLocked |
The server cannot be re-configured because it is currently in the middle of another operation (e.g. being disabled). |
405 |
notImplementedByEdition |
The method cannot executed by this edition of Zend Server. |
500 |
serverNotLicensed |
Zend Server Cluster Manager does not have a valid license. |
500 |
restartFailed |
Restarting the server failed. |
|
Example: Request (headers removed for clarity): POST /ZendServerManager/Api/clusterReconfigureServer Response: HTTP/1.0 200 OK |
|
Important Note:
For Zend Server or Zend Server Cluster Manager on Mac or Linux, this action is also available via the command line using CLI Tools. For more information see CLI Tools.
|
|
|
Related Links: Server and Cluster Management Methods |
|
|
© 1999-2013 Zend Technologies, Ltd. All rights reserved.