Nothing Special   »   [go: up one dir, main page]

Weblogic 10.3.6 Samples Installation and Main Install On OracleLinux PDF

Download as pdf or txt
Download as pdf or txt
You are on page 1of 32

Introduction.............................................................................................................................................

2
Links ......................................................................................................................................................... 2
Setup Network Cards............................................................................................................................... 3
BASH_PROFILE ......................................................................................................................................... 3

Weblogic Server 10.3.6 Samples Installation


Start Weblogic Installation as the 'oracle' user ....................................................................................... 4
Starting Administration Console (WL Examples)..................................................................................... 6
Deployments (WL Example) .................................................................................................................... 8
Weblogic Directories (Samples) ............................................................................................................. 9
Creating Scripts for Weblogic Samples.................................................................................................. 10
Shutdown Weblogic Server (Sample) .................................................................................................... 12

Weblogic Server 10.3.6 Installation


Starting Quick Start For Further Configuration And Installation ........................................................... 12
Creating a Weblogic Domain ................................................................................................................. 12
Configuring Administration Server ........................................................................................................ 14
Directories of this Domain..................................................................................................................... 15
Starting the Weblogic Administration Server........................................................................................ 16
Creating Two Managed Servers ............................................................................................................ 17
Starting Managed Server ....................................................................................................................... 21
Stopping Managed Server ..................................................................................................................... 22
Creating A Machine to hold the Managed Servers ............................................................................... 23
Assigning Weblogic Managed Servers To A Machine............................................................................ 25
Configuring Node Manager ................................................................................................................... 28
Starting Node Manager And Monitor Status ........................................................................................ 29
Creating boot identity file ..................................................................................................................... 29
Scripts For Automating Start-up and Shutdown .................................................................................. 30

Introduction

This article describes installation of Weblogic Server Examples and preparing the System for
further configuration and installation (Admin, Managed Server etc.)
There are several ways how a Managed Server is configured. For example, Weblogic Admin
Server running on a Windows Server and Weblogic Managed Server running on a Linux /
Unix. In this article Managed Servers are configured on the same Linux Host listening to a
particular IP Address. Of course Administration Server configured on the same Linux Host
I found it interesting to explore initially what directories were created with Weblogic Server
Examples installation . So, if you are new to Weblogic you can start this way
The screen shots here are minimal. For detailed information or screen shots see the Links
Also, some example scripts to automate Startup procedure of Weblogic's Servers

Links

JRockit

http://oracle-base.com/articles/linux/jrockit-installation-on-linux.php

Software used for Weblogic in this article


Weblogic Server 11gr1 - Generic Installer (10.3.6)
http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-for-dev1703574.html

Prepare System for Installation

http://oracle-base.com/articles/11g/oracle-weblogic-server-11gr1-1036-installation-on-oracle-linux5-and-6-11gr1.php

Creating boot identity file

http://oracle-base.com/articles/11g/weblogic-11g-create-extend-and-removedomains.php#creating-a-boot-identity-file

Setup Network Cards

Three Network Adapters were enabled

Assuming you have the below IP Addresses. The /etc/hosts File has the following entries. In
the below the 'mgd-srv1' refers to Managed Server's IP and so on

BASH_PROFILE

Below is the bash_profile of Oracle. Assuming following directories were created already

Below is the default directory by JRockit Installer. Just edit only the /home/oracle if you
want it in /u01/ .....as shown below

Start Weblogic Installation as the 'oracle' user


$ $JAVA_HOME/bin/java -Xmx1024m -jar wls1036_generic.jar

See the section "Installation" on this link for screen shots but stop at "Choose Install Type"
to get samples installed, which is shown below

http://oracle-base.com/articles/11g/oracle-weblogic-server-11gr1-1036-installation-on-oracle-linux5-and-6-11gr1.php

Navigating to Samples Directories

Starting Administration Console (WL Examples)

Using Alias the QuickStart was started. See above the bash_profile for setting Alias

Deployments (WL Example)

Navigation to there is highlighted

Weblogic Directories (Samples)

Navigating To Samples Or Weblogic Examples Directories

The directories in Weblogic Home

Creating Scripts for Weblogic Samples

An 'example-WL' directory was created to save the scripts and using 'touch' command
multiple files were created in this directory as shown below

Scripts are not ready for executing

Making the scripts executable in a one go

Below is about the entries in each Script

Shutdown Weblogic Server (Sample)

Starting Quick Start For Further Configuration And Installation

Using Alias the Quick Start was started. See above the bash_profile for setting Alias

Creating a Weblogic Domain

Below is the default Domain name. Under it is the new domain name and the directory in
which it is saved

Configuring Administration Server

A name was assigned and the port. The Listen Address left blank

Directories of this Domain

Starting the Weblogic Administration Server

Administration Console opened with an IP Address

The Main Page of Administration Console

Creating Two Managed Servers

Check the Status of Administration Server and click on "New" to start creating first Managed
Server

A Managed Server is created but needs to be started

Creating second Managed Server

Second Managed Server created successfully and it needs to be started

If everything is configured it can be started in the below way. But, in this case it is not
possible. The boot identity file must contain user name and password to start up with a click
on "Server Start"

Starting Managed Server

Watch out for the Managed Server details present after the script. Starting the first
Managed Server

Manually give password and user name to start it

Watch out for the Managed Server details present after the script. Starting the second
Managed Server

Manually give password and user name to start it

Checking the Status of Managed Servers on the Administration Console

Stopping Managed Server

Stopping the first Managed Server. Watch out for the Managed Server details present after
the script. Repeat the same step to stop the second Managed Server

Checking the status of Servers on the Administration Console

Creating A Machine to hold the Managed Servers

Give a name

If the Machine is configured with SSL then the Type is SSL. For non SSL etc. "Plain" is selected

Assigning Weblogic Managed Servers To A Machine

Configuring Node Manager

In this case 'Plain' is selected instead of SSL or SSH

Starting Node Manager And Monitor Status

After Start-up of Node Manager the below files are created

Creating boot identity file

Creating boot identity file for the two Managed Servers

Save the Password and User Name in this file

Save the Password and User Name in this file

Scripts For Automating Start-up and Shutdown

The below scripts will be created

Using "Touch" multiple files created in one go

The entries in each script is as follows

Shutdown everything and Startup using Scripts

You might also like