server task cluster restart

The server task cluster restart command applies any configuration changes to the entire cluster and restarts the updated servers.

Requires authentication (administrator ID and password) to use.

server task server_name cluster restart [-ripple|-status]

If the -status option is used then the command provides a status update on the most recent cluster restart.

If the -status option is not used then the command causes each server in the cluster to examine the master for configuration updates. If required, the server updates its configuration data to synchronize with the master configuration information. If updates are applied then the server is restarted. The master server is restarted after all of the slave servers in the cluster have been updated and restarted as required. This command is only available on the configured cluster master server.

Options

Authorization

Users and groups that require access to this command must be given the s (server administration) permission in the ACL that governs the master /WebSEAL/host_name-instance_name/ object. For example, the sec_master administrative user has permission by default.

An error is returned if the server is not configured as the master of the cluster. Before executing this command, we must ensure the cluster is configured correctly using appropriate [cluster] stanza entries. For information, see [cluster] stanza.

You cannot use the two options -ripple and -status at the same time. The -ripple option is available when initiating a cluster restart, while the -status option monitors the progress of the most recent cluster restart request.

Return codes

Default value

By default the cluster is restarted in parallel.

Examples

The following example restarts the cluster in sequence. This command must be executed on the cluster master server, which in this example is default-webseald-master.ibm.com.

In this example, the following command can be used at any time after the previous request to monitor the progress of the cluster restart:

Parent topic: Command reference