Considering that you have at least basic Linux
and Oracle E-Business Suite product knowledge we will start by installing Red
Hat Enterprise Linux.
This document is based on a fresh installation
of Oracle EBS R 12.1 on a fresh installed Red Hat Enterprise Linux 5 x86
(32-bit).
1.0
operating system basic requirements
1.1
Network/space/memory related settings
IMPORTANT : The following are
(usually) mandatory and must be treated as such
1.1.1
When
installing RHEL5 disable the default firewall and or SELinux which might interfere in a bad way with the
product installation or functionality.
If they are already active they can be removed or their settings changed
before installing EBS
1.1.2 The machine’s
network configuration must be set use static ip
- There are around 3 ways to do that and all relatively simple. If using
graphical user interface, the network configuration can be set through system-config-network
- If you prefer using a command line tool type: system-config-network-tui
- Method #3 can be applied by manually editing the configuration files
stored in /etc/sysconfig/network-scripts/
-All steps must be completed as root and don’t forget to restart the
networking service after each change.
1.1.3 Make sure the machine has at least 85GB of space for a fresh
install with a production database, and 233GB for a fresh install with a Vision
Demo database.
1.1.4 The memory/cpu requirements usually differ for each installation’
needs. While documenting I’ve used a Vmvare virtual machine with 1.3GB of RAM.
1.2 installing the
needed tools and packages
The following lists the required packages and the minimum required
versions for Linux (32-bit).
The following i386 packages are not part of the OS
distribution media and must be downloaded separately (from
http://oss.oracle.com/projects/compat-oracle/files/Enterprise_Linux for both
Oracle Linux 5 and RHEL 5) and installed manually:
·
openmotif21-2.1.30-11.EL5.i3861
·
xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386
·
For Update 1 or 2:
o binutils-2.17.50.0.6-6.0.1.i3862
·
For Update 3:
o binutils-2.17.50.0.6-9.0.1.i3862
The following i386 packages
must be installed from the Oracle Linux 5 or RHEL 5 distribution media:
·
compat-glibc-2.3.4-2.26
·
compat-glibc-headers-2.3.4-2.26
·
gcc-4.1.2-14.el5
·
gcc-c++-4.1.2-14.el5
·
glibc-2.5-123
·
glibc-common-2.5-123
·
glibc-devel-2.5-12
·
glibc-headers-2.5-12
·
kernel-headers-2.6.18-128.el5
·
libgcc-4.1.2-14.el53
·
libstdc++-devel-4.1.2-14.el5
·
libstdc++-4.1.2-14.el53
·
make-3.81-1.13
·
gdbm-1.8.0-26.2.13
·
libXp-1.0.0-8.1.el5
·
libaio-0.3.106-3.23
·
libgomp-4.1.2-14.el5
·
sysstat-7.0.0-3.el5
·
compat-libstdc++-296-2.96-138
·
compat-libstdc++-33-3.2.3-61
Additionally, the following RPMs are required for an
11gR1 Database (which is bundled with the 12.1.1 release) on the database tier:
·
elfutils-libelf-devel-0.125
·
elfutils-libelf-devel-static-0.125
·
libaio-devel-0.3.106
·
unixODBC-2.2.11
·
unixODBC-devel-2.2.11
·
kernel-headers-2.6
Note:
1: The openmotif package version must be 2.1.30 (for
example, openmotif-2.2.3-10.RHEL4.5 is not supported).
2: This GNU linker (ld) version 2.17 provided by Oracle is required
for relinking the modules in Advanced Planning & Scheduling (MSC, MSO, MSR)
and Profitability Manager (FEMCCE)
3: This rpm is distributed as part of the 'default' installation of
Enterprise Linux
You can also install
these packages by using the yum installer
Ex:
[root@ebs12 ~]# yum install glibc
Loaded plugins: rhnplugin, security
Setting up Install Process
|
After installing
these patches, run
The following
maintenance tools must be installed on all machines:
To easily check if any is missing run the following:
[root@ebs12 ~]# ar;gcc;g++;ld;make;X;ksh
|
If any of these are missing you will
receive the following output (make is missing or misconfigured):
-bash: make: command not found
|
1.3
setting up kernel
Next, considering you have installed all packages stated above further
modifications need to be made
Edit the /etc/sysctl.conf file to configure your kernel settings.
kernel.sem = 256 32000 100 142
kernel.shmall 2097152
kernel.shmmax Half the size of the physical memory (in bytes), and at least 21474836482
-On the server
running the EBS Database, this kernel parameter must be the lesser of half
the size of the
physical memory (in bytes) and 4294967295
kernel.shmmni 4096
kernel.msgmax 8192
kernel.msgmnb 65535
kernel.msgmni 2878
fs.file-max 131072
net.ipv4.ip_local_port_range 10000 650003
net.core.rmem_default 262144
net.core.rmem_max 4194304
net.core.wmem_default 262144
net.core.wmem_max 262144
|
After editing the file, use the sysctl -p command or restart the system to invoke the new
settings.
Next
edit or add the following entries to /etc/resolv.conf file
options attempts:5
options timeout:15
|
1.4
setting up /etc/hosts
Verify that the /etc/hosts file is formatted as follows:
127.0.0.1 localhost.localdomain localhost
[ip_address] [node_name].[domain_name]
[node_name]
|
Ex:
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.128.25 ebs12.local.tv ebs12
|
Verify
that the /etc/sysconfig/network file is formatted as follows:
If the /etc/sysconfig/networking/profiles/default/network file exists, remove it and reboot the system!
IMPORTANT: It is advised not to use underscore “_” within
the domain/hostname configuration
Ex:
ebs12.local_c ß-- wrong
Ex:
ebs12.local.something ß-- CORRECT
1.5
setting up /etc/security/limits.conf
Next Open the /etc/security/limits.conf file and add/change the parameters as follows:
* hard nofile 65535
* soft nofile 4096
* hard nproc 16384
* soft nproc 2047
|
1.6
applying needed patches
Download
and apply the patch 6078836
Perform
the following command (as root on your system) to update a required link
[root@ebs12 ~]# unlink /usr/lib/libXtst.so.6
[root@ebs12 ~]# ln -s /usr/X11R6/lib/libXtst.so.6.1
/usr/lib/libXtst.so.6
|
The most current version of the Rapid Install wizard is 12.1.1.11. You
can obtain this version by applying patch 8639046,
available at My Oracle Support (Formerly Oracle MetaLink). To verify your
current version, use the RapidWizVersion executable, located in the rapidwiz
directory.
Check if port 6000 is
being used. If so follow these steps:
Find the process that uses port 6000 by the command
"lsof -i TCP:6000".
Use "kill -9" to abort the process found in the previous step
Confirm that nothing is listening at port 6000 ("netstat -a | grep
6000")
Modify /etc/inittab by changing "id:5:initdefault:" to
"id:3:initdefault:"
Run "/sbin/init 3" to restart dtlogin
2.0
Starting installation
2.1.1
Before starting the actual
installation process we will need to create the main directory for the
application as per the EBS R12.1 install documentation the directry should be
named in the format: /d01.
2.1.2
Oracle requires graphical mode in
order to run the installer.
There are few ways
that can help us in this matter (vnc/xming/etc)
RealVNC.
Using RealvNC on target machine:
Installing vnc using yum:
[root@ebs12 oracle]# yum
install vnc
Loaded plugins: rhnplugin,
security
Setting up Install Process
Package
vnc-4.1.2-14.el5_6.6.i386 already installed and latest version
Nothing to do
|
Starting the vnc server in graphical mode –first time use we will need to provide a password for security and authentification
purposes-:
[root@ebs12 ~]# vncserver
You will require a password
to access your desktops.
Password:
Verify:
xauth: creating new authority file
/root/.Xauthority
New 'ebs12.local.tv:2
(oracle)' desktop is ebs12.local.tv:2
Creating default startup
script /root/.vnc/xstartup
Starting applications
specified in /root/.vnc/xstartup
Log file is
/root/.vnc/ebs12.local.tv:2.log
[root@ebs12 ~]#
|
Next assuming we are working from a windows machine (in my case Win. XP)
we will need to start the vnc viewer that will help us communicate with the
target machine running vncserver.
You will need to
provide the chosen password for authentification and if everything works as it
should you will end up with this session shown in the following screenshot and
able to run oracle’s or most tools that require
graphical interaction.
Xming.
2.1.3
On machines containing multiple
nodes, you can assign one user account to be the owner of the database node
file system, and another to be the owner of the Applications node file system.
For this type of install, Rapid Install can install both nodes in one run if
the install is started by the root user. If you are installing on a machine
with only one node to install, or with all nodes sharing the same user, you can
run the install as either the root user or the specific user for those nodes.
2.1.4
Before running Rapid Install, you
must create the operating system accounts that will be used:
·
in the installation of the
database node: the oracle account
The operating
system user that owns the database node file system and starts the database
node services is called the oracle user.
·
and Applications node file
systems: the applmgr account
The operating
system user that owns the Applications node file system and starts the
Applications node services is called the applmgr user.
[root@ebs12 ~]# groupadd dba
[root@ebs12 ~]# useradd -m -g dba oracle
[root@ebs12 ~]# passwd oracle
[root@ebs12 ~]# useradd -m -g dba applmgr
[root@ebs12 ~]# passwd oracle
|
2.1.5
While installing I noticed that it
the rapidwiz installer does not set directory permissions and you might end up
with a write/directory creation error during installation. The following will:
·
create the installation
directories by following the naming convention of Oracle for an Optimal
Flexible Architecture
·
associate the contents of the
directory with the dba group
·
Allow the users to actually create
files in the directory
[root@ebs12 ~]# mkdir -p /d01/oracle/PROD
[root@ebs12 ~]# mkdir -p
/d01/oracle/PROD/inst
[root@ebs12 ~]# chown -R oracle:dba /d01
[root@ebs12 ~]# chmod -R 775 /d01
|
2.1 unset environment
Unset the ENV
environment variable prior to installing installation
[root@ebs12 rapidwiz]# unset env
|
2.2
starting installer
Unzip the downloaded
patch, go to startCD/Disk1/rapidwiz and run:
[root@ebs12 rapidwiz]# ./rapidwiz
Rapid Install Wizard is validating your
file system......
4 dvd labels found
Rapid Install Wizard will now launch the
Java Interface.....
|
The Rapid Wiz
installer will guide you through the following steps to install E-Business
Suite R12.1.
Relink Advanced
Supply Chain Planning executables (for SLES 10 and OEL/RHEL 5.4 or higher only)
To fix this problem,
users are required to replace the following line under the Linux section of the
$AD_TOP/bin/adrelinknew.sh:
CPP_LDFLAGS='
-L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs lclntsh'
|
With
CPP_LDFLAGS='
-L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs –lclntsh
-Wl,--noinhibit-exec'
|
After making this
change, users are then required to run the adadmin utility and relink
application executables.
3.0
good to know
3.1
starting the application after reboot:
Make sure that you
are logged in with the correct user and that the environment variables are set
and valid.
Ex:
[oracle@ebs12 PROD_ebs12]$
ORACLE_HOME=/d01/oracle/PROD/db/tech_st/11.1.0/
[oracle@ebs12 PROD_ebs12]$ ORACLE_SID=PROD
[oracle@ebs12 PROD_ebs12]$
PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin
[oracle@ebs12 PROD_ebs12]$ export PATH
ORACLE_HOME ORACLE_SID
|
Login as Database
owner (oracle) and start both the Database and the Listener
cd
$ORACLE_HOME/appsutil/scripts/SID_Hostname
|
- addlnctl.sh start
SID – to start the listener
- addbctl.sh start –
to start the database
Login as the
Application owner (applmgr) and start the services
cd $COMMON_TOP/admin/scripts/SID_Hostname
|
- adstrtal.sh
apps/<apps_password>
4.0
usefull links
- Download
oracle products:
- How to add swap to your machine: http://www.linuxtopia.org/online_books/rhel5/rhel5_administration/rhel5_s1-swap-adding.html
- How to install EBS on vmware: http://www.vmware.com/files/pdf/customers/VMwareandOracleEBSDeploymentGuideFINAL.pdf
- Download
oracle required prerequisites:
- How
to set static ip:
- How to start ebs after reboot: http://forums.oracle.com/forums/thread.jspa?threadID=465548&tstart=-22
- EBS - E-Business Suite 12.1.1 Standard Installation on
Linux OEL 5.3: http://gerardnico.com/wiki/ebs/installation
- Using Xming and putty: