Tag Archives: dynamic cluster creation

Create Dynamic Cluster(Part-3-)

A dynamic cluster is a WebLogic cluster that contains one or more dynamic servers. Dynamic clusters are based on a single, shared server template. You use the shared server template to specify the configuration of the servers in your dynamic cluster. This means that each managed server (dynamic sever) does not need to be manually configured when expanding the cluster.

  1. Administration Server should be started. In a Terminal Window, type:


It will prompt for username and password, enter: weblogic and then welcome1.

Ekran Resmi 2015-09-04 15.31.33

Wait until you see in the console: Server started in RUNNING mode.

Ekran Resmi 2015-09-04 15.31.46

  1. Open a browser instance and type: http://localhost.localdomain:7001/console.

Login using weblogic and welcome1 credentials.

Ekran Resmi 2015-09-04 15.31.54

Open a new terminal.

cd /u01/projects/wlsdevday/nodemanager/wlsdevdaynode

vi nodemanager.properties

Change SecureListener=false, save the file and close it.

Ekran Resmi 2015-09-04 15.32.02

  1. Start Node Manager. In the Terminal Window type:



  1. Go to Administration Server Console, Expand Environment, click on Machines. The Administration Console Change Center provides a way to lock a domain configuration so you can make changes to the configuration while preventing other accounts from making changes during your edit session. The domain configuration locking feature is always enabled in production domains. It can be enabled or disabled in development domains.

Click on Lock and Edit to create a session of editing.

Click New and Enter Machine as Name and Click Next.

Ekran Resmi 2015-09-04 15.32.09

Enter the following:

Type:                           SSL

Listen Address:             localhost

Listen Port:                  5556

Click Finish.
Ekran Resmi 2015-09-04 15.32.19

Click on Activate Changes.
Ekran Resmi 2015-09-04 15.32.30

  1. Create a standalone managed server which will behave as a load balancer on Port Number 7002.
    1. Click on ‘Lock & Edit’
    2. Click on “Environment->Servers”.
    3. Click on “New”
    4. Enter the following:
    5. Server Name: SampleLB
    6. Server Listen Address: localhost
    7. Server Listen Port: 7002
    8. Select “No, This is a stand-alone server.”
    9. Click on “Finish”

Ekran Resmi 2015-09-04 15.32.40

Activate Changes, once the Managed Server (SampleLB) is created.

  1. Click on ‘Lock & Edit’ again. Click on newly created “SampleLB” managed server.

Ekran Resmi 2015-09-04 15.32.47

  1. Specify the Machine to “machine” and click on “Save”. And then ‘Activate Changes’

Ekran Resmi 2015-09-04 15.32.56

  1. Click on Control tab and select the SampleLB Server and click on “Start”. It will ask for a confirmation message, accept it.This will start the “SampleLB” managed server.

Ekran Resmi 2015-09-04 15.33.14

  1. Deploy the load balancing application to stand-alone managed server “SampleLB”. Click on ‘Lock & Edit’. Click on “Environment->Deployments” and click on “Install”.

Ekran Resmi 2015-09-04 15.33.22

  1. Enter the following Path: “/u01/content/weblogic-innovation-seminars/WInS_Demos/cluster-module/ClustWLSSessionSampleLBApp” and select ‘ClustWLSessionSampleLBApp.war’

Ekran Resmi 2015-09-04 15.33.31

  1. Click on “Next”. Select “Install this deployment as an application”. Click on “Next”.

Ekran Resmi 2015-09-04 15.33.41

  1. Select “SampleLB” Servers box. And click on “Next”.

Ekran Resmi 2015-09-04 15.33.48

  1. Click on “Finish”. Once the page is redirected to the Deployments screen and the successful message is displayed, click on ‘Activate Changes’

Ekran Resmi 2015-09-04 15.33.55

  1. Go to Administration Server Console, Expand Environment, click on Clusters.

Click on Lock and Edit to create a session of editing.

Click New and choose Dynamic Cluster:

Ekran Resmi 2015-09-04 15.34.08

  1. Enter the Name wlsdevCluster and click Next.

Ekran Resmi 2015-09-04 15.34.15

  1. Leave the default, 2 for the number of dynamic servers and enter Server Name Prefix: wlsdevManaged- and click Next.Ekran Resmi 2015-09-04 15.34.22
  2. Choose Use a single machine for all dynamic servers and choose Selected Machine: Machine. Click Next.

Ekran Resmi 2015-09-04 15.34.27

  1. Use the ports: Listen Port for First Server 7002 and SSL 8100 and click Next.

Ekran Resmi 2015-09-04 15.34.32

  1. Review the details and click Finish.

Ekran Resmi 2015-09-04 15.34.40

  1. Click Activate Changes to activate your edit session.
  2. Go to Environment->Servers.

Click Control tab.

Check box near to wlsdevManaged Servers and click on Start.

Ekran Resmi 2015-09-04 15.34.47

Click Yes.

Ekran Resmi 2015-09-04 15.34.57

Refresh the page till both the managed server gets started.

Ekran Resmi 2015-09-04 15.35.04

Note: you can also look on nodemanager log, Node manager is responsible for starting and stopping managed server.

Ekran Resmi 2015-09-04 15.35.15