Tuning Linux for 11i Apps Red Hat Linux 3.0* -

来源:互联网 发布:python入门教程 编辑:程序博客网 时间:2024/05/17 22:39
Tuning Linux for 11i Apps Red Hat Linux 3.0* -
(Recommended version)
Quarterly Update 3
Note: From the Package Group Selection screen, select Legacy Software
Development. The following components will be installed automatically:

  • compat-db-4.0.14-5
  • compat-gcc-7.3-2.96.128
  • compat-libstdc++-7.3-2.96.128
  • compat-gcc-c++-7.3-2.96.128
  • compat-libstdc++-devel-7.3-2.96.128
  • setarch-1.3-1
  • pdksh-5.2.14-21 (Discoverer)
openmotif21-2.1.30-8
Note: Must be installed manually. Available on Disk 3 of QU3 media.

Java 2 Standard Edition (J2SE)

Rapid Install installs the Java 2 Standard Edition 1.4.2 automatically for systems running on Solaris, Linux, or Windows operating systems. If your system runs on HP-UX PA-RISC, HP-Tru64, or IBM AIX, you must download and install J2SE before you continue with the installation or upgrade.

All Linux x86 Operating Systems

Red Hat 2.1, Red Hat 3.0, SUSE SLES8, and SUSE SLES9 all have dependencies on the following components. Dependencies that pertain only to a subset of Linux x86 operating systems are listed under separate headings.

Kernel Requirements

Red Hat 3.0 2.4.21-9.EL (required)
2.4.21-20.EL (recommended)


glibc Requirements

The following table lists the required minimum glibc versions.
Red Hat 3.0 2.3.2-95.3 Same

Domain Name System (DNS) Resolver Parameters

Two Domain Name System (DNS) resolver parameters (timeout and attempts) are set by default to low values when the operating system is installed. These low values may cause attempted network connections to an Oracle database to fail. If this happens, add or update the following entries to these minimum settings in the /etc/resolv.conf file on each server node:

options attempts:5
options timeout:15

Red Hat Linux (3.0 and 4.0) and SUSE Linux (SLES8 and SLES9)

This section describes requirements that apply only to Red Hat Linux 3.0, Red Hat Linux 4.0, SUSE Linux SLES8, and SUSE Linux SLES9.

Host Names

Verify the host name settings:
1. Verify that the /etc/hosts file is formatted as follows:
127.0.0.1 localhost.localdomain

.
HOSTNAME=.

3. If the /etc/sysconfig/networking/profiles/default/network file exists,
remove it.

4. If you changed any files in the previous steps, reboot the system.
Modify number of open file descriptors
Open the file /etc/security/limits.conf and change the existing values for "hard"
and "soft" parameters as follows. Reboot the system after making changes.
For Red Hat Linux (3.0 and 4.0)

hard nofile 65535
soft nofile 4096


Modify port range value

Open the file /etc/sysctl.conf and change the value of net.ipv4.ip_local_port_ range as following. Reboot the system after making changes.

net.ipv4.ip_local_port_range = 1024 65000

Set the Environment

Perform the following tasks to set the environment before you run Rapid Install.
1. Rename the /usr/bin/gcc and /usr/bin/g++ files.
For Red Hat Linux 3.0
# mv /usr/bin/gcc /usr/bin/gcc323
# mv /usr/bin/g++ /usr/bin/g++323

2. Create symbolic links.
For Red Hat Linux 3.0:
# ln -s /usr/bin/gcc296 /usr/bin/gcc
# ln -s /usr/bin/g++296 /usr/bin/g++

3. Verify that the host name setting is correct. The command should return a fully qualified host name. For example: ..
# hostname
# setarch i386

Set LD_ASSUME_KERNEL environment variable

The value for the LD_ASSUME_KERNEL environment variable must be set correctly so that Java will work. Then, you must make the setting permanent by entering it in the applmgr and oracle user鈥檚 shell initialization files (such as $HOME/.bash_profile or $HOME/.profile) or in the system's global shell initialization file (/etc/profile).

From a Bourne, Bash, or Korn shell, type the following:
For Red Hat Linux (3.0 and 4.0):
LD_ASSUME_KERNEL=2.4.19
export LD_ASSUME_KERNEL

Complete Pre-installation Tasks

Complete these tasks after you set the environment variables and before you begin the installation steps described in Installing Oracle Applications.

1. Unset the NLS_LANG environment variable, if it is defined prior to installation.

2. Apply one of these OS library patches: 4198954 (for Red Hat 4.0), 3006854 (for Red Hat 3.0), or 3633386 (for SUSE SLES9). You can download these patches from OracleMetaLink.

3. Reboot your system.

Complete Post-installation Tasks

After the installation is complete, perform these tasks in addition to the ones described in Installing Oracle Applications.

Only for Red Hat Linux 3.0 and 4.0:
Apply patch 3119415 to the ORACLE_HOME on the database tier.
At the end you have to edit two script files to start and stop the oracle 11i Apps...

The File Locations : -

pwd: -

/u01/oracle/viscomn/admin/scripts/VIS_apps11510

And The Files :-

adstrtal.sh and adstpall.sh

-------------------------------example of the files ----------------------------------
adstpall.sh :-

##################### add line of oracle 11i erp ############################

/u01/oracle/visdb/9.2.0/appsutil/scripts/VIS_apps11510/addlnctl.sh start VIS
/u01/oracle/visdb/9.2.0/appsutil/scripts/VIS_apps11510/addbctl.sh start

############################## END #####################################

adstpall.sh:-

###################################### Oracle 11i Add #####################

/u01/oracle/visdb/9.2.0/appsutil/scripts/VIS_apps11510/addbctl.sh stop immediate
/u01/oracle/visdb/9.2.0/appsutil/scripts/VIS_apps11510/addlnctl.sh stop VIS

############################ Oracle 11i ERP End ##########################