Step by Step Creating and Configuring Managed Server Oracle WebLogic Server 12c on Oracle Enterprise Linux 6

This tutorial covers creating Managed Servers by using the Oracle WebLogic Server 12c (12.1.2) administration console.

Prerequisites
Before starting this tutorial, you should have completed following
Step by Step Installing Oracle WebLogic Server 12c on Oracle Enterprise Linux 6
Step by Step Creating Domain Oracle WebLogic Server 12c on Oracle Enterprise Linux 6
Step by Step Creating Machines Oracle WebLogic Server 12c on Oracle Enterprise Linux 6

Step 1: To create Managed Server in the domain by using the administration console, perform the following steps:
If the administration server of the domain is not already running, it needs to be started. To start it, in a Terminal window enter the command:

nohup $DOMAIN_HOME/bin/startWebLogic.sh > $DOMAIN_HOME/bin/start_AdminServer.log &

Step 2: After the administration server is up and running, access the WebLogic Server administration console. Open a web browser and enter the URL:

http://hostname:port/console

In this tutorial, that is: http://lab.home.network:7001/console
Note: Use the host name of your host. Also, if you used a different port number for the administration server, use that port instead.
On the Welcome screen, log in using the Username and Password entered to start the administration server.
Oracle_WebLogic_Server_12c_machine_creation_1

Step 3: Creating Managed Server is a change to the domain’s configuration, so it must first be locked. In the Change Center of the administration console, click the Lock & Edit button.
Oracle_WebLogic_Server_12c_machine_creation_2

Step 4: Under Domain Structure, expand Environment (by clicking the + sign next to it). Then click Servers.
Oracle_WebLogic_Server_12c_managed_server_creation_3

Step 5: Click the New button from the Servers table
Oracle_WebLogic_Server_12c_managed_server_creation_4

Step 6: Under Create a New Server, enter the Server Name of MS1. Enter the Server Listen Address as lab.home.network. Enter the Server Listen Port of 7003. Select No, this is a stand-alone server.
Then click Finish.
Oracle_WebLogic_Server_12c_managed_server_creation_5

Step 7: The message Server created successfully. is displayed.
Oracle_WebLogic_Server_12c_managed_server_creation_6

Step 8: To complete the changes, go back to the Change Center. Click the Activate Changes button.
Oracle_WebLogic_Server_12c_managed_server_creation_7

Step 9: The message All changes have been activated. No restarts are necessary. is displayed.
Oracle_WebLogic_Server_12c_managed_server_creation_8

Step 10: Under Domain Structure, expand Environment (by clicking the + sign next to it). Then click Machines.
Oracle_WebLogic_Server_12c_managed_server_creation_9

Step 10: On the right, notice that the Summary of Machines section appears. In the Machines table click on Machine-0 which we have created in earlier tutorial.
Oracle_WebLogic_Server_12c_managed_server_creation_10

Step 11: Under configuration click on Servers tab
Oracle_WebLogic_Server_12c_managed_server_creation_11

Step 12: Assigning a server to a machine is a change to the domain’s configuration, so it must first be locked. In the Change Center of the administration console, click the Lock & Edit button.
Oracle_WebLogic_Server_12c_managed_server_creation_12

Step 13: Click the Add button from the Servers table
Oracle_WebLogic_Server_12c_managed_server_creation_13

Step 14: Choose Select an existing server, and associate it with this machine and from the drop down select MS1 and click on Finish button
Oracle_WebLogic_Server_12c_managed_server_creation_14

Step 15: The message Server created successfully. is displayed.
Oracle_WebLogic_Server_12c_managed_server_creation_15

Step 16: To complete the changes, go back to the Change Center. Click the Activate Changes button.
Oracle_WebLogic_Server_12c_managed_server_creation_16

Step 17: The message All changes have been activated. No restarts are necessary. is displayed.
Oracle_WebLogic_Server_12c_managed_server_creation_17

Step 18: Now you can start the managed server MS1 through the console via NodeManager. To do the same under Domain Structure, your Domain Name clicked on Servers option. Then click on Control tab. Select MS1 and click on Start button
Oracle_WebLogic_Server_12c_managed_server_creation_18

Step by Step Creating Machines Oracle WebLogic Server 12c on Oracle Enterprise Linux 6

In a WebLogic Server domain, machines can be defined to represent physical computers that host one or more Oracle WebLogic Server instances. Machine definitions help WebLogic Server choose backup servers for session replication. Machine definitions also allow your administration server to communicate with any WebLogic Node Manager processes.

This tutorial covers creating machines by using the Oracle WebLogic Server 12c (12.1.2) administration console.

Prerequisites
Before starting this tutorial, you should have completed following
Step by Step Installing Oracle WebLogic Server 12c on Oracle Enterprise Linux 6
Step by Step Creating Domain Oracle WebLogic Server 12c on Oracle Enterprise Linux 6

Step 1: To create machines in the domain by using the administration console, perform the following steps:
If the administration server of the domain is not already running, it needs to be started. To start it, in a Terminal window enter the command:

nohup $DOMAIN_HOME/bin/startWebLogic.sh > $DOMAIN_HOME/bin/start_AdminServer.log &

Step 2: After the administration server is up and running, access the WebLogic Server administration console. Open a web browser and enter the URL:

http://hostname:port/console

In this tutorial, that is: http://lab.home.network:7001/console
Note: Use the host name of your host. Also, if you used a different port number for the administration server, use that port instead.
On the Welcome screen, log in using the Username and Password entered to start the administration server.

Oracle_WebLogic_Server_12c_machine_creation_1

Step 3: Creating machines is a change to the domain’s configuration, so it must first be locked. In the Change Center of the administration console, click the Lock & Edit button.
Oracle_WebLogic_Server_12c_machine_creation_2

Step 4: Under Domain Structure, expand Environment (by clicking the + sign next to it). Then click Machines.
Oracle_WebLogic_Server_12c_machine_creation_3

Step 5: On the right, notice that the Summary of Machines section appears. Above the Machines table (which is empty), click the New button
Oracle_WebLogic_Server_12c_machine_creation_4

Step 6: In the Create a New Machine screen, for Name enter Machine-0
For Machine OS use the drop-down list to select Unix.
Then click Next.
Oracle_WebLogic_Server_12c_machine_creation_5

Step 7: On the next screen, for Type of Node Manger, use the drop-down list to select Plain.
For the Node Manager Listen Address, enter the IP address or host name of one of the computers on which your server(s) run. In this tutorial it is: lab.home.network.
For the Node Manager Listen Port, leave the default of 5556.
Then click Finish.
Oracle_WebLogic_Server_12c_machine_creation_6

Step 8: To complete the changes, go back to the Change Center. Click the Activate Changes button.
Oracle_WebLogic_Server_12c_machine_creation_7

Step 9: The message All changes have been activated. No restarts are necessary is displayed.
Oracle_WebLogic_Server_12c_machine_creation_8

Step 10: Now we need to start the NodeManager. To start the NodeManager you need to run following command

nohup $DOMAIN_HOME/bin/startNodeManager.sh > /dev/null 2>&1 &

For above command to run properly you need to set proper environment variables.
You can set the same by following Step by Step Installing Oracle WebLogic Server 12c on Oracle Enterprise Linux 6
Once done kill the NodeManager process, cause we need to do some configuration changes in the NodeManager Configuration file
Kill the NodeManager by finding its pid using following command

ps auxwww | grep NodeManager

Once killed, open $DOMAIN_HOME/nodemanager/nodemanager.properties and do following
Change ListenAddress from localhost to your actual machine hostname
Change SecureListener from true to false as we have selected plain protocol type.
StopScriptEnabled and StartScriptEnabled should be true
Save and close the file and once again start the NodeManager
Now to check the NodeManager status go to
Under Domain Structure, expand Environment (by clicking the + sign next to it). Then click Machines. Then select the machine you have created, in our environment it is Machine-0. Then click on Monitoring tab. If everything goes well you will see NodeManager status as Reachable.
Oracle_WebLogic_Server_12c_machine_creation_9

Step 11: In case of any issue you need to see $DOMAIN_HOME/nodemanager/nodemanager.log

Heartbleed Vulnerability IBM WebSphere Application Server and IBM HTTP Server

Following is the par from the IBM support article which states that IBM WebSphere Application Server and IBM HTTP Server are not vulnerable to CVE-2014-0160 Heartbleed vulnerability.

This vulnerability does NOT affect the SSL that is used by IBM WebSphere Application Server in all editions and all platforms. The IBM Java JSSE does not use OpenSSL.
This vulnerability does NOT affect the IBM HTTP Server component in all editions and all platforms. The GSKit component of IBM HTTP Server does not use OpenSSL SSL code.

Ref : IBM WebSphere Application Server and IBM HTTP Server CVE-2014-0160

Step by Step Installing Oracle WebLogic Server 12c on Oracle Enterprise Linux 6

This tutorial covers installing Oracle WebLogic Server 12c (12.1.2) on a Linux system by using WebLogic generic installer.

Prerequisites

Step 1: Login as a root user and make sure the /etc/hosts file contains correct entries for both the “localhost” and real host names.
Following is the example of the my host file
Oracle_WebLogic_Server_12c_installation_1
lab.home.network would be picked for configuration. Further remember that only one host entry per line is allowed.

Step 2: Create a yum repository using DVD of Oracle Enterprise Linux 6.5 and install following packages. You need to install this packages using root user.

yum install --enablerepo=OEL -y binutils compat-libcap1 compat-libstdc++-33 gcc gcc-c++ glibc glibc glibc-devel libaio libaio-devel libgcc libstdc++ libstdc++ libstdc++ libXext openmotif openmotif22 sysstat

Oracle_WebLogic_Server_12c_installation_2

Step 3: Create a new group and user using following commands to install Oracle WebLogic 12c

groupadd oinstall
useradd -g oinstall oracle
passwd oracle

Oracle_WebLogic_Server_12c_installation_3

Step 3: Create the directories in which the Oracle WebLogic software will be installed using following commands

mkdir -p /u01/app/oracle/product/ofm12.1.2
mkdir -p /u01/app/oracle/config/domains
mkdir -p /u01/app/oracle/config/applications
chown -R oracle:oinstall /u01
chmod -R 775 /u01/

Oracle_WebLogic_Server_12c_installation_4

Step 4: WebLogic 12.1.2 is certified on Oracle JDK 1.7.0_X, hence download the Oracle JDK 1.7.0_51 from Oracle JDK Download page
To download the software you need to Accept the License Agreement. Here we will be downloading jdk-7u51-linux-x64.tar.gz file as we will be going to install WebLogic on 64bit machine
Oracle_WebLogic_Server_12c_installation_6

Step 5: To download the Oracle WebLogic 12.1.2.0.0 go to Oracle WebLogic Download page
Accept the OTN Licence Agreement. Here we will be downloading Generic downloder which includes Oracle WebLogic Server and Oracle Coherence.
Oracle_WebLogic_Server_12c_installation_5

Step 6: Make directories for binaries and transfer WebLogic and Oracle JDK binaries into it

mkdir -p /u01/app/binaries
mkdir -p /u01/app/binaries/{OHS,WEBLOGIC,JDK}

Oracle_WebLogic_Server_12c_installation_7

Step 7: Go to /u01/app/binaries/JDK. Hope you have already transferred the Oracle JDK to this folder
Oracle_WebLogic_Server_12c_installation_8

Step 8: Run following command to do the Oracle JDK setup in /u01/app/oracle folder

cd /u01/app/oracle
tar zxvf /u01/app/binaries/JDK/jdk-7u51-linux-x64.tar.gz

Oracle_WebLogic_Server_12c_installation_9

Step 9: Append the following entries into the /home/oracle/.bash_profile file. Adjust paths as required.

#Added lines for Oracle WebLogic 12c
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/ofm12.1.2
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/techienote
export JAVA_HOME=/u01/app/oracle/jdk1.7.0_51
export PATH=$JAVA_HOME/bin:$PATH

After doing above you need to log off and log in again with the oracle user.

Step 10: Now onwards we will start installation using oracle user.
Run following command to start the installation

$JAVA_HOME/bin/java -jar /u01/app/binaries/WEBLOGIC/wls_121200.jar

Oracle_WebLogic_Server_12c_installation_10

Step 11: If this is the first installation on the server, enter the inventory installation location and click OK button.
Oracle_WebLogic_Server_12c_installation_11

Step 12: Click the Next button on the welcome screen.
Oracle_WebLogic_Server_12c_installation_12

Step 13: Enter the middleware home (/u01/app/oracle/product/ofm12.1.2) and click the Next button.
Oracle_WebLogic_Server_12c_installation_13

Step 14: Accept the WebLogic Server Installation option by clicking the Next button.
Oracle_WebLogic_Server_12c_installation_14

Step 15: Wait for the prerequisite checks to complete. If there are failures, correct them and rerun the checks. If there are no failures, click the Next button.
Oracle_WebLogic_Server_12c_installation_15

Step 16: Either enter your support details, or uncheck the security updates checkbox. Click the Next button. If you chose not to receive security updates, click the Yes button on the warning dialogue.
Oracle_WebLogic_Server_12c_installation_16

Oracle_WebLogic_Server_12c_installation_17

Step 17: If you are OK with the summary information, click the Install button.
Oracle_WebLogic_Server_12c_installation_18

Step 18: Wait for the installation to complete, then click the Next button.
Oracle_WebLogic_Server_12c_installation_19
Oracle_WebLogic_Server_12c_installation_20

Step 18: On the installation complete screen, click the Finish button, remember to uncheck launch the Configuration Wizard as we will be covering this in next tutorial
Oracle_WebLogic_Server_12c_installation_21

Creating a Local Yum Repository Using an ISO Image Oracle Enterprise Linux 6

This document explains how to create a local Yum Repository using an ISO image Oracle Enterprise Linux 6

Prerequisites

  • You should have already installed Oracle Enterprise Linux 6 on your machine. If you have not already done this follow Oracle Enterprise Linux 6 Installation and Setup Guide
  • The system must have sufficient storage space to host a full Oracle Linux Media Pack DVD image (approximately 4 GB)
  • Oracle Enterprise Linux 6 DVD image. You can download the same from the Oracle Software Delivery Cloud

Step by step tutorial of creating local yum repository.
Step 1 : Transfer the removable storage to the system on which you want to create a local yum repository, and copy the DVD image to a directory in a local file system.

Step 2 : Create a suitable mount point, for example /media/OEL/, and mount the DVD image on it using root user.

mkdir -p /media/OEL/
mount -o loop /home/vidyadhar/Downloads/V41362-01.iso /media/OEL/

Note in above /home/vidyadhar/Downloads/ path is where I have copied the ISO. Adjust the PATH as per your setup / environment.

Step 3 : Create an entry in /etc/fstab so that the system always mounts the DVD image after a reboot.

/home/vidyadhar/Downloads/V41362-01.iso /media/OEL/ loop defaults 0 0

Step 4 : Install createrepo to build repository

rpm -Uvh /media/OEL/Packages/deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
rpm -Uvh /media/OEL/Packages/python-deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
rpm -Uvh /media/OEL/Packages/createrepo-0.9.9-18.0.1.el6.noarch.rpm

Step 5 : To create a repository open or create Media.repo file in /etc/yum.repos.d/ location and dump following content into it. Save the file.

[OEL]
name=OEL
baseurl=file:///media/OEL
enabled=1
gpgcheck=0

Step 6 : Clean up the yum cache by running following command

yum clean all

Step 7 : Test that you can use yum to access the repository by running following command

yum install --enablerepo=OEL file groff

Hope this helped you.

Page 1 of 18123456»10...Last »
rss twitter facbook

Categories

Archives