Zend Server User Guide > Tasks > Working with CLI Tools > cluster-reconfig-server

cluster-reconfig-server

This CLI command re-configures a cluster member to match the cluster's profile.

Command Specific Arguments

This table specifies the various arguments used in the command:

Abbreviated Full Description Required/Optional

-d

--doRestart

Should the reconfigured server be restarted after the reconfigure action. Default is FALSE.

Optional

Common Arguments

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

Abbreviated Full Description Required/Optional

-N

--key-name

WebAPI key name.

Required

-K

--secret-key

WebAPI secret key.

Required

-U

--server-url

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

Required - when action is performed on a remote server.

-h

--help

Show usage information and exit.

Optional

 

 

Instructions on how to complete a procedure

To use cluster-reconfig-server:

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

/usr/local/zend/bin/zs-manage cluster-reconfig-server --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-reconfig-server <server ID> [optinal parameters - see table above] -N <existing key name> -K <existing key secret>

The specified server is re-configured to match the cluster configuration.

3 SERVER3 10.9.183.85 OK

 

 

 

 

Related Links

Related Links:

CLI Tools

Working with CLI Tools

 

 

 

© 1999-2013 Zend Technologies, Ltd. All rights reserved.