I. Install WebLogic on physical
machines
1. Create a new group and user.
2. Install the JDK
3. Stop/Disable Firewall.
4. Installation
II. Create the WebLogic Domain on
one physical machine
III. Configure the domain by adding
Managed Servers and Machines in one physical machine
1. Configure NodeManager
I. Install WebLogic on physical machines
Download:
The same exact version of WebLogic must be installed on both
physical machines. Also, WebLogic must be installed on the same Middleware Home
in both machines. This is necessary since we will be copying the domain file
structure from one physical machine to the
other - step
4 above. Start by going to the Oracle WebLogic downloads page and download the
latest version of WebLogic for Linux.
The following
actions should be performed by the "root" user.
Make sure the
"/etc/hosts" file contains correct entries
for both the "localhost" and real host names.
127.0.0.1
localhost localhost.localdomain localhost4 localhost4.localdomain4
::1
localhost localhost.localdomain localhost6 localhost6.localdomain6
172.16.200.200 WEBLOGIC1
1. Create a new group and user.
groupadd -g 500 oinstall
useradd -u 500 -g oinstall oracle
passwd oracle
Create the
directories in which the Oracle software will be installed.
mkdir -p /u01/app/oracle/product/fmw12cr3
mkdir -p /u01/app/oracle/config/domains
mkdir -p /u01/app/oracle/config/applications
chown -R oracle:oinstall /u01
chmod -R 775 /u01/
Append the
following entries into the "/home/oracle/.bash_profile" file.
# Adjust paths as required.
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/fmw12cr3
export MW_HOME=$ORACLE_HOME
export WLS_HOME=$MW_HOME/wlserver
export WL_HOME=$WLS_HOME
export DOMAIN_BASE=$ORACLE_BASE/config/domains
export DOMAIN_HOME=$DOMAIN_BASE/mydomain
export JAVA_HOME=/u01/app/oracle/jdk1.7.0_60
export PATH=$JAVA_HOME/bin:$PATH
2. Install the JDK
[root@WEBLOGIC1 soft]# rpm -ivh jdk-7u51-linux-x64.rpm
Preparing...
################################# [100%]
Updating / installing...
1:jdk-2000:1.7.0_51-fcs ################################# [100%]
Unpacking JAR files...
rt.jar...
jsse.jar...
charsets.jar...
tools.jar...
localedata.jar...
jfxrt.jar...
Amend the "/etc/security/limits.d/20-nproc.conf" file, making the following
change.
# From
*
soft nproc 1024
#To
* - nproc 16384
3. Stop/Disable Firewall.
[root@WEBLOGIC1 ~]# service firewalld stop
[root@WEBLOGIC1 ~]# systemctl disable firewalld
4. Installation
Run the
installer as the "oracle" user.
[oracle@WEBLOGIC1 soft]$ java -jar wls1036_generic.jar
Extracting 0%....................................................................................................100%
II. Create the WebLogic Domain on one physical machine
The Configuration
Wizard proceeds with the creation of the domain under the path specified,
which defaults to user_projects/domains under the Middleware Home.
Once the domain is created successfully, we can start it by running the startWebLogic.sh
script in the user_projects/domains/base_domain. Verify that the
domain is started successfully by observing the logs in the terminal window.
1. Configure NodeManager
Now with the
WebLogic Machines created and configured we can start the node manager on the
machine. Remember that we are still working on the same machine where we run
the Configuration Wizard in the first place. It can be started by
running the startNodeManager.sh script in the wlserver_10.3/server/bin
directory under the Middleware Home. Before starting it, go over the
start-up parameters specified in the nodemanager.properties configuration
file in the wlserver_10.3/common/nodemanager directory and verify that
it is not configured for SSL by ensuring that the SecureListener parameter
is set to false. Once started the terminal window should indicate that
the node manager is running and listening to the port configured.
Start Node Manager for the first time to generate
property file and stop
[oracle@WEBLOGIC1 ~]$ cd
/u01/app/oracle/Middleware/wlserver_10.3/server/bin/
[oracle@WEBLOGIC1 bin]$
./startNodeManager.sh
Stop Node Manager
And then start again:
[oracle@WEBLOGIC1 ~]$ cd
/u01/app/oracle/Middleware/wlserver_10.3/server/bin/
[oracle@WEBLOGIC1 bin]$
./startNodeManager.sh
Good article !!!
ReplyDelete