Followers

Tuesday, January 28, 2014

Weblogic Dynamic Cluster configuration

This is a new feature available in Weblogic 12c (12.1.2).
Dynamic cluster contains one or more dynamic servers. It allows you to add a new server dynamically at peak loads.  This would eliminate the need of adding the managed server manually to a cluster.  The businesses can define number of servers that needs to be added dynamically anticipating the peak loads.
The concept of dynamic cluster is based on a single shared server template.
For further reading on server template please refer the below post.
Prerequisites:
  1. Configured machine .

You can create the setup in two ways.
  1. From Administration console
  2. Using WLST

I. Using Administration console:
1. Login into the administration console  – >  Cluster  – > Click on new — > Select Dynamic Cluster from the drop down.

Weblogic Dynamic Cluster
Weblogic Dynamic Cluster

2. Select the messaging mode and define number of servers you would need at the peak load.
You can either create a new server template or use an already existing one.
Dynamic Cluster-NoOfServers
Dynamic Cluster-NoOfServers


3. Associate dynamic servers with machines.
Note: Associating dynamic servers with machines is essential if you intend to use the Node Manager and the Administration Console (or WLST) to start servers.

Weblogic Dynamic Cluster-Machine
Weblogic Dynamic Cluster-Machine


4. Specify Listen port bindings:
You would need to define port bindings for only one dynamic server, and each subsequent server will be given an incremental port.
Weblogic Dynamic Cluster
Weblogic Dynamic Cluster
weblogic Dynamic Cluster
weblogic Dynamic Cluster

Weblogic Dynamic Cluster Details
Weblogic Dynamic Cluster Details

This would create a server template based on the dynamic cluster configuration, which can be reused.
Dynamic Cluster Server Template
Dynamic Cluster Server Template

No comments:

Post a Comment