Zend Server User Guide > Tasks > Working with CLI Tools > config-apply-changes

config-apply-changes

This CLI command applies a configuration change on a given server to the blueprint. In a cluster, the command apply the changes to all servers in the cluster.

Tip:

Use this command if you have manually changed a .conf file in your file system.

Command Specific Arguments

This table specifies the various arguments used in the command:

Abbreviated Full Description Required/Optional

-s

--serverId

The ID of the server applying the configuration change. For a single server, use 0.

Required

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 config-apply-changes:

  1. Open your CLI.
  1. Enter a help command for the config-apply-changes action to learn which arguments your command should include:

/usr/local/zend/bin/zs-manage config-apply-changes --help

  1. Enter the command with the required arguments (replace brackets with your value):

/usr/local/zend/bin/zs-manage config-apply-changes -s <server ID> -N <existing key name> -K <existing key secret>

The changes are applied by the server.

ubuntu1204-a OK

 

 

 

Read Also

  CLI Tools    
  Working with CLI Tools