How to start or stop a WebSphere cluster

Home > Search > How-to
  by

Restart a cluster (using web browser)

The ripplestart option is used to restart a cluster. Ripplestart will stop and then restart each JVM, one at a time, in sequence. For example, first JVM1 is stopped and then started, and then JVM2 is stopped and then started, and so on. This is done to prevent downtime, to ensure that the JVMs in the cluster are not down at the same time, which could cause downtime.

  1. In the left panel of the WebSphere web console, expand Servers > Clusters, and select WebSphere application server clusters.
  2. Check the cluster that you want to restart and select Ripplestart.

In this example, cluster1 is ripple started. It will take some time for the cluster to restart, and every JVM in the cluster will need to be restarted.

 

Restart a cluster (using wsadmin.sh)

Using Jython:

~]# /opt/IBM/WebSphere/Dmgr/bin/wsadmin.sh -lang jython
wsadmin> cluster = AdminControl.completeObjectName('cell=cell_name,type=Cluster,name=cluster_name,*')
wsadmin> AdminControl.invoke(cluster, 'rippleStart')

 

Using Jacl:

~]# /opt/IBM/WebSphere/Dmgr/bin/wsadmin.sh -lang jacl
wsadmin> set cluster [$AdminControl completeObjectName cell=cell_name,type=Cluster,name=cluster_name,*]
wsadmin> $AdminControl invoke $cluster rippleStart

 


Stop a cluster

  1. In the left panel of the WebSphere web console, expand Servers > Clusters, and select WebSphere application server clusters.
  2. Check the cluster that you want to stop and select Stop or ImmediateStop.

Note: Stop is graceful, allowing processes to shut down gracefully. ImmediateStop is forceful, forcing processes to end, which can cause clients to get execptions in the application.

In this example, cluster1 is stopped. It will take some time for the cluster to stop, as the JVMs in the cluster will need to be stopped.

 

Stop a cluster (using wsadmin.sh)

Using Jython:

~]# /opt/IBM/WebSphere/Dmgr/bin/wsadmin.sh -lang jython
wsadmin> cluster = AdminControl.completeObjectName('cell=cell_name,type=Cluster,name=cluster_name,*')
wsadmin> AdminControl.invoke(cluster, 'stop')

 

Using Jacl:

~]# /opt/IBM/WebSphere/Dmgr/bin/wsadmin.sh -lang jacl
wsadmin> set cluster [$AdminControl completeObjectName cell=cell_name,type=Cluster,name=cluster_name,*]
wsadmin> $AdminControl invoke $cluster stop

 


Start a cluster (using web browser)

  1. In the left panel of the WebSphere web console, expand Servers > Clusters, and select WebSphere application server clusters.
  2. Check the cluster that you want to stop and select Start.

In this example, cluster1 is started. It will take some time for the cluster to start, as the JVMs in the cluster will need to be started.

 

Start a cluster (using wsadmin.sh)

Using Jython:

~]# /opt/IBM/WebSphere/Dmgr/bin/wsadmin.sh -lang jython
wsadmin> cluster = AdminControl.completeObjectName('cell=cell_name,type=Cluster,name=cluster_name,*')
wsadmin> AdminControl.invoke(cluster, 'start')

 

Using Jacl:

~]# /opt/IBM/WebSphere/Dmgr/bin/wsadmin.sh -lang jacl
wsadmin> set cluster [$AdminControl completeObjectName cell=cell_name,type=Cluster,name=cluster_name,*]
wsadmin> $AdminControl invoke $cluster start

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter in the box below so that we can be sure you are a human.




Comments