Tuesday, 6 October 2015

Oracle apps instalation


Installing Oracle Applications


This includes:

1. Pre Installation Steps
2. Main Installation Steps
3. Post Installation Steps(optional for 11.5.10 Installation)

1. Pre Installation Steps:
1.1 Creating two user accounts and set ownership rights.
 Create a group§
Log in as root and execute the command
# groupadd dba

 Create two users (applmgr and oracle)§
Create applmgr user and assigning to dba group
# useradd -g dba -d /apps/applmgr applmgr
Create applmgr user and assigning to dba group
# useradd -g dba -d /apps/oracle oracle

 Set ownerships§
Create two directories product and oradata.
# mkdir /apps/product/
# mkdir /apps/oradata/
Change ownership of product to applmgr
# chown applmgr:dba /apps/product
Change ownership of oradata to oracle
# chown oracle:dba /apps/oradata

1.2 Set host name to Fully Qualified Domain Name ( FQDN ).

 Check whether we already have FQDN, to skip this step§
# hostname
ex: apps11i.test.com ( we can leave this step )
[or ]
# hostname
ex:apps11i ( we need to convert it to FQDN as above )

 Follow these steps to make host name as FQDN§
Need to update /etc/hosts file and save this file
# vi /etc/hosts
IP ..com Alias
ex: 200.200.2.170 apps11i.test.com apps11i
The updated value will get affected after rebooting the system, so reboot the system.
# reboot
Once the system is booted log in as root and check for FQDN
# hostname (This time it should show full name)
(Once the name is set we can move to next step, else try editing /etc/sysconfig/network and other possible ways). Until we set FQDN correctly we aren’t eligible for the next step.





1.3 Installing two Inter-operability patches with RPM Package Manager to make it compatible with RHEL 4.

s.no Name Action purpose
1 compat-oracle-rhel4-1.0-5.i386.rpm Provides gcc and g++ scripts that use libgcc.a 2.96 Provides compatibility for certain Oracle products running on RHEL 4
2 compat-libcwait-2.1-1.i386.rpm Installs /lib/libcwait.so to provide a missing symbol needed by some Oracle products

1.3.1 Install Inter-operability patch 1

Move to the Stage directory where the software’s are downloaded and copy the file.
# cp /Stage_11510/11.5.9/Stage11i/patches/compat-oracle-rhel4-1.0-5.i386.rpm /apps/softwares
 Move to the /apps/softwares directory where the file is copied.§
# cd /apps/softwares
 Install compat-oracle.. with RPM Package Manager (rpm)§
# rpm –ivh compat-oracle-rhel4-1.0-5.i386.rpm

1.3.2 Install Inter-operability patch 2

Move to the Stage directory where the software’s are downloaded and copy the file.
# cp /Stage_11510/11.5.9/Stage11i/patches/ compat-libcwait-2.1-1.i386.rpm /apps/softwares
 Move to the /apps/softwares directory where the file is copied.§
# cd /apps/softwares
 Install compat-oracle.. with RPM Package Manager (rpm)§
# rpm –ivh compat-libcwait-2.1-1.i386.rpm

1.4 Set environment variable in system profile ( /etc/bashrc )

Move to the etc directory
# cd /etc
Edit bashrc file, save and quit (These changes will be effected on all OS users)
# vi bashrc
Press Shift+g (This will take you to the last line of the file)
Add the following lines:
 LD_ASSUME_KERNEL=2.4.19;export LD_ASSUME_KERNELv
 unset LANGv
Purpose: Since some modules still rely on older kernel version, this will make to load 2.4.19 kernel version. Present RHEL 4 kernel version is 2.6.9-5.


This completes Pre Installation steps. Now System is prepared for 11.5.10 installation.

2 Main Installation Steps

2.1 Change the directory to Stage directory where 11.5.10 dump is stored

# cd /Stage_11510/11.5.10/startCD/
# cd Disk1/rapidwiz/
# ./rapidwiz (This brings Java-Installation Screen)

Oracle Applications Rapid Install Wizard

 Select “Install Oracle Applications” ( default )v
 Click Next to move to next screenv














Select No ( default )v
 Click Next to move to next screenv













Select “Single Node (All services on a single node)”(default)v
 Click Next to move to next screenv













 Database Name: PRODv
 Database Type: vision demo database (select from Drop down)v
 Click Next to move to next screenv
















Database Install Information -

 Oracle OS User: oraclev
 Oracle OS Group: dbav
 Base Install directory: /apps/v



Click “Advanced Edit” button of this window to edit internal directory structure.

 Oracle Home: /apps/oracle/product/920v
 DATA_TOP(SYS): /apps/oradatav
 DATA_TOP(LOG): /apps/oradatav
 DATA_TOP(TXN): /apps/oradatav
 DATA_TOP(ARCHIVE): /apps/oradatav












Click OK

Configuration Information for Node -

 Apps OS User: applmgrv
 Apps OS Group: dbav
 Base Install directory: /apps/v













Click “Advanced Edit” button of this window to edit internal directory structure.

 APPL_TOP Mount point: /apps/applmgr/11510v
 APPL_TOP aux. 1: apps/applmgr/11510v
 APPL_TOP aux. 2: apps/applmgr/11510v
 APPL_TOP aux. 3: / apps/applmgr/11510v
 Apps OS Group: dba(default)v
 COMMON_TOP: /apps/applmgr/commonv
 8.0.6 ORACLE_HOME: /apps/product/806v
 IAS ORACLE_HOME: /apps/product/iASv
 Temp Directory: /apps/applmgr/common/tempv













Click OK


 Select ‘Port Pool’ value with no conflicts.v
 You can check the port pool values by clicking Advanced Edit.v
 Click Next to move to next screen.v













 Enter the full path for the configuration: /apps/InstallConfig.txtv
 Click Next to move to next screenv













v This will take some time. It will check for the directory structure, File space, Port Availability, Users Group Check, Host Domain Check...
 After checking, this will exit by leaving a report in the next screen.v



















Concentrate more on the Crossed and Exclamation marks. Resolve the problem and start from Step 7 again until there are no issues.
 Once every thing is fixed click Next to get to the final screen. Click yes to install.v













 This is the final screen. If you want to continue with the installation process press “Yes” and can quit the installation by clicking “No”.









Press “Yes” to start the Installation process. This takes few hours according to the system configuration on which the installation going on.

v This is the first Screen of the post installation process, this screen is a report for the health of the respective components.
 You can click the check marks to know more about them in detail.v
 Click next to the final screen.v



 Scr15:§













Click “Finish” and this completes Main Installation process.

Note: - Post Installation Steps are conditional, they need to be performed when your OS is not compatible with the Apps Instance. Check the below mentioned steps whether they are required for your case.

 If your Apps Instance is 11.5.9 or below, you need to perform “Post Installation Steps”v
 Since 11.5.10 is certified with RHEL4, we can omit “Post Installation Steps”.v
 RHEL2.1 doesn’t require the “Post Installation Steps”.v




3 Post Installation Steps:

3.1 Applying inter-operability patches

3.1.1 Install 8.0.6 Inter-operability patch

Login as applmgr user and set the environment
$ su - applmgr
$ cd 1159
$ . APPS.env

 Move to the Stage directory where the software’s are downloaded and copy the file.§
$ cp /Stage_11510/11.5.9/Stage11i/patches/p3830807_8063_LINUX.zip /apps/softwares

 Move to the /apps/softwares directory where the file is copied.§
$ cd /apps/softwares

 Unzip the patch.§
$ unzip p3830807_8063_LINUX.zip

 Move to the patch directory§
$ cd 3830807

 Set Execute permissions to the patch.sh§
$ chmod u+x patch.sh

 Run the patch.sh script§
$ ./patch.sh
$ cd $COMMON_TOP/admin/scripts//addisctl.sh start

 Relink the Executables§
$ ./adrelink force=y “all”

This will relink all the executables to the oracle products.

3.1.2 Install Discoverer patch

Move to the Stage directory where the software’s are downloaded and copy the file.
$ cp /Stage_11510/11.5.9/Stage11i/patches/p3170128_4i_LINUX.zip /apps/softwares

 Move to the /apps/softwares directory where the file are copied.§
$ cd /apps/softwares
$ unzip p3170128_4i_LINUX.zip –d 3170128
Move to the patch directory
$ cd 3170128

Stop all Discoverer Services
$ $COMMON_TOP/admin/scripts//addisctl.sh stop

Move to Oracle Home/ vbroker/bin and take a back up of following files
$ cd $ORACLE_HOME/vbroker/bin
$ cp osagent osagent.bak
$ cp locserv locserv.bak
$ cp osfind osfind.bak

Copy New files from the unzip directory to this directory
$ cp /apps/softwares/3170128/osagent .
$ cp /apps/softwares/3170128/locserv .
$ cp /apps/softwares/3170128/osfind .

Start all Discoverer Services
$ $COMMON_TOP/admin/scripts//addisctl.sh start

3.2 Bounce all the services

Stop all the services
$ cd $COMMON_TOP/admin/scripts//adstpall.sh apps/apps

Start all the services
$ cd $COMMON_TOP/admin/scripts//adstpall.sh apps/apps

This completes the Post installation steps. Now the instance is ready for use.
 
Thanks
Srini

No comments:

Post a Comment


No one has ever become poor by giving