Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

download Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

of 32

Transcript of Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    1/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 ........................................................................................................ 14Directories 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

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    2/32

    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-dev-

    1703574.html

    Prepare System for Installation

    http://oracle-base.com/articles/11g/oracle-weblogic-server-11gr1-1036-installation-on-oracle-linux-

    5-and-6-11gr1.php

    Creating boot identity file

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

    http://oracle-base.com/articles/linux/jrockit-installation-on-linux.phphttp://oracle-base.com/articles/linux/jrockit-installation-on-linux.phphttp://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-for-dev-1703574.htmlhttp://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-for-dev-1703574.htmlhttp://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-for-dev-1703574.htmlhttp://oracle-base.com/articles/11g/oracle-weblogic-server-11gr1-1036-installation-on-oracle-linux-5-and-6-11gr1.phphttp://oracle-base.com/articles/11g/oracle-weblogic-server-11gr1-1036-installation-on-oracle-linux-5-and-6-11gr1.phphttp://oracle-base.com/articles/11g/oracle-weblogic-server-11gr1-1036-installation-on-oracle-linux-5-and-6-11gr1.phphttp://oracle-base.com/articles/11g/weblogic-11g-create-extend-and-remove-domains.php%23creating-a-boot-identity-filehttp://oracle-base.com/articles/11g/weblogic-11g-create-extend-and-remove-domains.php%23creating-a-boot-identity-filehttp://oracle-base.com/articles/11g/weblogic-11g-create-extend-and-remove-domains.php%23creating-a-boot-identity-filehttp://oracle-base.com/articles/11g/weblogic-11g-create-extend-and-remove-domains.php%23creating-a-boot-identity-filehttp://oracle-base.com/articles/11g/weblogic-11g-create-extend-and-remove-domains.php%23creating-a-boot-identity-filehttp://oracle-base.com/articles/11g/oracle-weblogic-server-11gr1-1036-installation-on-oracle-linux-5-and-6-11gr1.phphttp://oracle-base.com/articles/11g/oracle-weblogic-server-11gr1-1036-installation-on-oracle-linux-5-and-6-11gr1.phphttp://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-for-dev-1703574.htmlhttp://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-for-dev-1703574.htmlhttp://oracle-base.com/articles/linux/jrockit-installation-on-linux.php
  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    3/32

    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

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    4/32

    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-linux-

    5-and-6-11gr1.php

    http://oracle-base.com/articles/11g/oracle-weblogic-server-11gr1-1036-installation-on-oracle-linux-5-and-6-11gr1.phphttp://oracle-base.com/articles/11g/oracle-weblogic-server-11gr1-1036-installation-on-oracle-linux-5-and-6-11gr1.phphttp://oracle-base.com/articles/11g/oracle-weblogic-server-11gr1-1036-installation-on-oracle-linux-5-and-6-11gr1.phphttp://oracle-base.com/articles/11g/oracle-weblogic-server-11gr1-1036-installation-on-oracle-linux-5-and-6-11gr1.phphttp://oracle-base.com/articles/11g/oracle-weblogic-server-11gr1-1036-installation-on-oracle-linux-5-and-6-11gr1.php
  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    5/32

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    6/32

    Navigating to Samples Directories

    Starting Administration Console (WL Examples)

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

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    7/32

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    8/32

    Deployments (WL Example)

    Navigation to there is highlighted

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    9/32

    Weblogic Directories (Samples)

    Navigating To Samples Or Weblogic Examples Directories

    The directories in Weblogic Home

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    10/32

    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

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    11/32

    Below is about the entries in each Script

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    12/32

    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

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    13/32

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

    which it is saved

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    14/32

    Configuring Administration Server

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

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    15/32

    Directories of this Domain

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    16/32

    Starting the Weblogic Administration Server

    Administration Console opened with an IP Address

    The Main Page of Administration Console

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    17/32

    Creating Two Managed Servers

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

    Server

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    18/32

    A Managed Server is created but needs to be started

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    19/32

    Creating second Managed Server

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    20/32

    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"

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    21/32

    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

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    22/32

    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

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    23/32

    Checking the status of Servers on the Administration Console

    Creating A Machine to hold the Managed Servers

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    24/32

    Give a name

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

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    25/32

    Assigning Weblogic Managed Servers To A Machine

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    26/32

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    27/32

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    28/32

    Configuring Node Manager

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

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    29/32

    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

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    30/32

    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

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    31/32

  • 8/10/2019 Weblogic-10.3.6-Samples-Installation-And-Main-Install-On-OracleLinux.pdf

    32/32

    Shutdown everything and Startup using Scripts