Login
Register

Home

Trainings

Fusion Blog

EBS Blog

Authors

CONTACT US

Weblogic Server
  • Register

Oracle Gold Partners, our very popular training packages, training schedule is listed here
Designed by Five Star Rated Oracle Press Authors & Oracle ACE's.

webinar new

Search Courses

 

Cluster :

A WebLogic Server cluster consists of multiple WebLogic Server server instances running simultaneously and working together to provide increased scalability and reliability. A cluster appears to clients to be a single WebLogic Server instance. The server instances that constitute a cluster can run on the same machine, or be located on different machines. You can increase a cluster’s capacity by adding additional server instances to the cluster on an existing machine, or you can add machines to the cluster to host the incremental server instances. Each server instance in a cluster must run the same version of WebLogic Server.

 

Creating cluster in Web logic serevr:

1.Suppose there are two managed servers : ms1 & ms2.
Before creating the cluster make sure the managed servers are not running you need to shut down them.

You can go to control tab and shut down the server which is running.

 

Select ms1> Shutdown> Force shutdown now

2.Click on Domain Structure>Clusters
--> Click on New
--> Name the Cluster, Cluster-V and Click on OK

--> Click on the Cluster-V which is created 

 

 --> Click on Servers tab and click on Add

 

--> Select the Managed Server (ms1) & Click on Finish

--> Again Click and add and select second managed server (ms2)

--> Click on Activate changes 

 

--> When you click on servers you will see that managed servers ms1 and ms2 now belong to the cluster Cluster-V
a11

 

3. Click on deployments under Domain Structure
--> Click on testapp 

-->Click on Targets tab for targeting the testapp application


a14

 

4. Determine the IP address of your machine using ifconfig command in the terminal.

 

a15


--> In web logic server console click on ms2 managed server
--> Click on Lock & Edit

--> Enter the IP address we retrieved from ifconfig command as the listener address for the ms1 & Click on Save. Second managed server must have the remote listener address

5. Run the unpack utility on the 1st machine and jar the domain.
-->To run the pack utility use the pack.sh file available ib wls server bin folder.

a18

-->Template is written to ....domains/base_domain_pack.jar.
Once base_domain_pack.jar file is created, move it to the 2nd machine
-->First change the permission of jar file using chmod command.
chmod 775 *.jar
a19

 

--> To move the jar file to 2nd machine enter following command :
scp base_domain_pack.jar This email address is being protected from spambots. You need JavaScript enabled to view it.\"';document.getElementById('cloakb5f0b33a9ff273012c8ad9e77db62c9a').innerHTML += ''+addy_textb5f0b33a9ff273012c8ad9e77db62c9a+'<\/a>'; /root/Oracle/Middleware/domain_tem
a20

Your file will be successfully moved.

--> Next step is to unpack the domain in the second machine using the command as shown in below screen shot.

a21

 

--> Now execute the startms2.sh file
a22

--> It will ask you to enter WLS username & password
a23

 

--> Once you enter correct user name & password your managed server will start running.
a24

--> When you open Web Logic Server Admin console you will see ms2 is running.
a25


Kashif Baksh

Comments   

0 #1 Balajibonam 2015-08-21 13:49
Hi Kashif,


R u installed weblogic under root user?
if u install under root user why should we change permissions for jar file as root is owner.
Quote

Add comment


Security code
Refresh

About the Author

Kashif Baksh

Search Trainings

Fully verifiable testimonials

Apps2Fusion - Event List

<<  May 2024  >>
 Mon  Tue  Wed  Thu  Fri  Sat  Sun 
    1  2  3  4  5
  6  7  8  9101112
13141516171819
20212223242526
2728293031  

Enquire For Training

Fusion Training Packages

Get Email Updates


Powered by Google FeedBurner