Starting and stopping a Liberty server cluster

The collective controller provides a ClusterManager MBean that can be used to start or stop a Liberty server cluster. The MBean startCluster and stopCluster methods start and stop all of the members in the cluster serially. To start or stop cluster members individually, you can use startServer and stopServer methods in the ServerCommands MBean or run server start and stop commands from a command line.

Before you begin

  • All of the members of the server cluster must have the clusterMember-1.0 feature enabled in their server.xml files.
  • All of the members of the server cluster must be configured for collective member starting and stopping. See Starting and stopping a Liberty collective member for more information.

Procedure


Icon that indicates the type of topic Task topic

File name: twlp_start_stop_cluster.html