+ All Categories
Home > Documents > Oracle WebLogic Installation and Configuration document provides technical information about setting...

Oracle WebLogic Installation and Configuration document provides technical information about setting...

Date post: 24-Apr-2018
Category:
Upload: lamthu
View: 215 times
Download: 0 times
Share this document with a friend
14
Weblogic Installation Oracle Weblogic
Transcript
Page 1: Oracle WebLogic Installation and Configuration document provides technical information about setting up and configuring Oracle Weblogic. 1.2. Intended Audience This manual is intended

Weblogic Installation

Oracle Weblogic

Page 2: Oracle WebLogic Installation and Configuration document provides technical information about setting up and configuring Oracle Weblogic. 1.2. Intended Audience This manual is intended

-2-

Table of Content

1. INTRODUCTION ................................................................................. 3

1.1. PURPOSE OF DOCUMENT ........................................................................... 3 1.2. INTENDED AUDIENCE ............................................................................... 3 1.3. SCOPE OF THIS GUIDE.............................................................................. 3

2. WEBLOGIC INSTALLATION ................................................................ 4

2.1. PREPARATION ....................................................................................... 4 2.2. SOLARIS OPERATING SYSTEM TUNING FOR WEBLOGIC ........................................ 6 2.2.1. T SERIES SERVERS /ETC/SYSTEM TUNING ............................................... 6 2.2.2. T2 SERIES SERVERS /ETC/SYSTEM TUNING ............................................. 6 2.2.3. WEBLOGIC TUNING IN SOLARIS BOOT PROCESS ........................................ 7 2.3. WEBLOGIC INSTALLATION ......................................................................... 8

Page 3: Oracle WebLogic Installation and Configuration document provides technical information about setting up and configuring Oracle Weblogic. 1.2. Intended Audience This manual is intended

-3-

1. INTRODUCTION

1.1. Purpose of Document

This document provides technical information about setting up and configuring Oracle Weblogic.

1.2. Intended Audience

This manual is intended for

IT / Support department

Technical staffs that perform setup, and configuration on Oracle Weblogic.

1.3. Scope of this guide

This document consists of 2 parts:

- The first part is to list down all the preparation to install Weblogic binary. - The second part is to install Weblogic binary.

Page 4: Oracle WebLogic Installation and Configuration document provides technical information about setting up and configuring Oracle Weblogic. 1.2. Intended Audience This manual is intended

-4-

2. Weblogic Installation

2.1. Preparation

Login as root, then create xanadu folder: bash cd / mkdir xanadu

Now, you have to create xanadu user by following below commands: useradd –d /xanadu –g sys –m –s /bin/bash xanadu cd / chown –Rf xanadu:sys xanadu chmod –Rf 755 xanadu passwd xanadu

At this instant, you should setting up the kernel parameters by doing below operations. To create the resource project that will be used by user xanadu, type projadd xanadu

Navigate to directory /etc and type edit user_attr. It will be viewed as below figure first. cd /etc vi user_attr It will be viewed as this figure below

Content of user_attr file.

You need to add a new line to the end of this file that reads:

xanadu::::project=xanadu

That means the user xanadu will be assigned to the new resource project called xanadu whenever he logs on.

Open antoher login session using user xanadu perform command:

# Copyright (c) 2003 by Sun Microsystems, Inc. All rights reserved. # /etc/user_attr # user attributes. see user_attr(4) #pragma ident "@(#)user_attr 1.1 03/07/09 SMI" adm::::profiles=Log Management lp::::profiles=Printer Management root::::auths=solaris.*,solaris.grant;profiles=Web Console Management,All;lock_after_retries=no

You need to add a new line to the end of this file that reads:

oracle::::project=oracle

Page 5: Oracle WebLogic Installation and Configuration document provides technical information about setting up and configuring Oracle Weblogic. 1.2. Intended Audience This manual is intended

-5-

prctl -n project.max-shm-memory -i project xanadu

The shared memory segments must be upgraded into the needed size of project.max-shm-memory. So, open a new terminal session and login as root user. After that, perform following command (for example the value of project.max-shm-memory is 14GB):

prctl -n project.max-shm-memory -v 14gb -r -i project xanadu

Using user xanadu perform this command to check the value of project.max-shm-memory:

prctl -n project.max-shm-memory -i project xanadu

Also, you have to make the value of shared memory becomes permanent by performing this command as root user:

projmod -s -K "project.max-shm-memory=(priv,14gb,deny)" xanadu

To execute jar type installer file java version must be checked for compatibility issue, to check Java version type

java -version

Java Weblogic Version Installer Filename

1.4.2.xxx WLS 8.1 SPx platformVERSION_OS.bin or .jar or .exe

1.5.xxx WLS 9.x.xx serverVERSION_OS.bin or .jar or .exe

1.6.xxx WLS 10.x wlsVERSION_OS.bin or .jar or .exe

A JDK 1.6 must be installed in xanadu home directory in order to install Weblogic 10.x or Weblogic 11g, if the current version of JDK is not 1.6. In installing JDK please notice the type of the Operating System that is being used, in this case the OS is Solaris Sparc.

After the desired JDK has been installed edit the environment variable, by editting .profile file in the xanadu directory, append this line in the end of the file.

JAVA_HOME=/xanadu/jdk1.6.0_17 PATH=$JAVA_HOME/bin:$PATH Export JAVA_HOME PATH

Page 6: Oracle WebLogic Installation and Configuration document provides technical information about setting up and configuring Oracle Weblogic. 1.2. Intended Audience This manual is intended

-6-

2.2. Solaris Operating System Tuning for Weblogic

2.2.1. T Series Servers /etc/system Tuning

Append this line of code in the end of /etc/system,

set ip:ip_soft_rings_cnt=16 set rlim_fd_cur=8192 set rlim_fd_max=8192 set autoup=900 set tune_t_fsflushr=1

it can be done by login as root and type:

bash vi /etc/system

scroll down until the end and insert the code.

2.2.2. T2 Series Servers /etc/system Tuning

Append this line of code in the end of /etc/system,

set ip:ip_soft_rings_cnt=16 set rlim_fd_cur=8192 set rlim_fd_max=8192 set autoup=900 set tune_t_fsflushr=1 set segkmem_lpsize=0x400000 set pcie:pcie_aer_ce_mask=0x1 set ip:ip_squeue_bind = 0 set ip:ip_squeue_fanout = 1 set ipge:ipge_tx_syncq=1 set ipge:ipge_taskq_disable = 0 set ipge:ipge_tx_ring_size = 2048 set ipge:ipge_srv_fifo_depth = 2048 set ipge:ipge_bcopy_thresh = 512 set ipge:ipge_dvma_thresh = 1 set segkmem_lpsize=0x400000 set consistent_coloring=2

it can be done by login as root and type:

bash vi /etc/system

scroll down until the end and insert the code.

Page 7: Oracle WebLogic Installation and Configuration document provides technical information about setting up and configuring Oracle Weblogic. 1.2. Intended Audience This manual is intended

-7-

2.2.3. Weblogic Tuning in Solaris Boot Process

Login to the server as root user and go to /etc/rc2.d directory and create a file with name S99Weblogic, it can be done by:

bash

cd /etc/rc2.d

vi S99Weblogic

Insert the following codes into S99Weblogic:

## configuration for Weblogic

ndd -set /dev/tcp tcp_time_wait_interval 60000 ndd -set /dev/tcp tcp_conn_req_max_q 16384 ndd -set /dev/tcp tcp_conn_req_max_q0 16384 ndd -set /dev/tcp tcp_ip_abort_interval 60000 ndd -set /dev/tcp tcp_keepalive_interval 7200000 ndd -set /dev/tcp tcp_rexmit_interval_initial 4000 ndd -set /dev/tcp tcp_rexmit_interval_max 10000 ndd -set /dev/tcp tcp_rexmit_interval_min 3000 ndd -set /dev/tcp tcp_smallest_anon_port 32768 ndd -set /dev/tcp tcp_xmit_hiwat 131072 ndd -set /dev/tcp tcp_recv_hiwat 131072

In order to apply all the tuning parameter, reboot the server with command

init 6

Page 8: Oracle WebLogic Installation and Configuration document provides technical information about setting up and configuring Oracle Weblogic. 1.2. Intended Audience This manual is intended

-8-

2.3. Weblogic Installation

Below are the steps for installing Oracle Weblogic server in console mode:

Login to the server using user xanadu

Go to the directory where the installation file existed

Change installer file permission into rwx r-x r-x by using this command

chmod 755 installerFile.bin

Execute the bin type installer file and make it in console mode by typing this command

./installerFile.bin -mode=console

Execute jar type installer file by executing this command :

java -jar installerFile.jar

After the extracting process is done, the welcome screen will be shown and options to quit the installation part by typing exit or continue the installation part by typing next or press Enter/Return Button. So, continue the installation process.

The next steps is to choose Weblogic Home Directory type 1 and press Enter/Return button for creating the new Middleware Home.

Page 9: Oracle WebLogic Installation and Configuration document provides technical information about setting up and configuring Oracle Weblogic. 1.2. Intended Audience This manual is intended

-9-

The installation will ask to input a new Weblogic Home or use the default directory. For default option, just type next.

In this case, new Weblogic Home is /xanadu/oracle11g, or any directory that is specified. After that, there will be a screen that show the chosen /xanadu/oracle11g as Weblogic Home directory. Type next to continue the installation.

Type 3 to not recieve security update

Page 10: Oracle WebLogic Installation and Configuration document provides technical information about setting up and configuring Oracle Weblogic. 1.2. Intended Audience This manual is intended

-10-

Type No to not recieve security update

Type Yes to bypass this step.

Type Next to go to the next stage

Page 11: Oracle WebLogic Installation and Configuration document provides technical information about setting up and configuring Oracle Weblogic. 1.2. Intended Audience This manual is intended

-11-

There are the two types of installation. The first one is the typical or default installation, type 1 and press Enter/Return button for choosing it. However, you can modify software components to be installed by typing 2 and press Enter/Return button. In this case, choose the second option of installation.

Choose the components that need to be installed. The default settings of the components are chosen; in this case, only select the Weblogic server part. To unselect the others, just simply type the number of component and press Enter/Return button, components with x mark will be installed. Finally, type next to continue it.

Page 12: Oracle WebLogic Installation and Configuration document provides technical information about setting up and configuring Oracle Weblogic. 1.2. Intended Audience This manual is intended

-12-

Now choose the default JDK home that will be used, in this case JDK 1.6 version, the current option is number 2 with x mark. Type next to the next stage.

Now, the product installation directory selection will be prompted again, type next after ensuring that the directory for WebLogic Server is right. Weblogic installer will start the installation process of the products automatically.

Page 13: Oracle WebLogic Installation and Configuration document provides technical information about setting up and configuring Oracle Weblogic. 1.2. Intended Audience This manual is intended

-13-

Weblogic Installer also installed the JDK. After completing the process, there will be congratulation message for indicating that the BEA product has been installed successfully. Press Enter/Return button to continue. BEA Installer will start clean up process.

There will be progress bar.

Page 14: Oracle WebLogic Installation and Configuration document provides technical information about setting up and configuring Oracle Weblogic. 1.2. Intended Audience This manual is intended

-14-

Press Enter to end and start clean up process


Recommended