You are on page 1of 74

Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

<AL-ZAMIL INDUSTRY>
INSTALLATION ORACLE E-BUSINESSMULTINODE ON RAC
WITH PCP CONFIGURATION

Project Management Plan Template Page 1 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Revision History
Description of Reviewer
Revision# Date Author Name
Revision Name

Project Management Plan Template Page 2 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

CONTENTS
1. Introduction .................................................................................................................................. 5
2. Environment Specification ......................................................................................................... 6
3. Installing Oracle E-Business (Database Tier) ............................................................................ 7
4. Installing Oracle E-Business (Apps Tier) .................................................................................. 12
5. Appling NLS Arabic Patch ....................................................................................................... 15
6. Upgrade Application from 12.1.1 to 12.3.1: .......................................................................... 16
7. Upgrade Database (11.1.0.7 to 11.2.0.3) .............................................................................. 17
8. Apply hrglobalization path as the following: ........................................................................ 30
9- Configure ASM Disks: ................................................................................................................ 31
10- Installing Oracle RAC 11gR2: ............................................................................................... 33
11- Create ASM Disk Group: ...................................................................................................... 56
12- Migrate Database to RAC................................................................................................... 60
13- Enable AutoConfig on Applications Database Tier ........................................................ 62
14- Establish Applications Environment for Oracle RAC ........................................................ 64
15- Set Up Load Balancing and PCP ........................................................................................ 66
16- Set Up Transaction Managers ............................................................................................. 67
17- Enable HTTP LoadBalancing and OC4J Cluster ............................................................... 68
18- Configure OCFS..................................................................................................................... 69
19- Table of Reference ............................................................................................................... 74

Project Management Plan Template Page 3 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Project Management Plan Template Page 4 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

1. Introduction
This document is to highlight the installation and configuration steps that were performed
for the Oracle E-Bussiness "R12" Multinode on RAC DB 11gR2 with PCP implementations that
were performed at AL-Zamil. The document will go through the installation steps,
configuration and setup performed.

Project Management Plan Template Page 5 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

2. Environment Specification
2.1Hardware Description
2.1.1 Database Servers
Test Server Production Server
2* BL460c G7each with:2P/12Cores(Intel 2* BL620c G7 each with:2P/16Cores(Intel
Xeon X5675 (3.06GHz/6- Xeon X7560 (2.26GHz/8-
core/12MB/95W)32GB RAM (4x8GB 2Rx4 core/24MB/130W) 128GB RAM (16x8GB
PC3-10600R-9 Kit)2x 146GB 6G SAS 15K 2Rx4 PC3-10600R-9 Kit)2x 146GB 6G SAS
2.5in DP ENT HDD 15K 2.5in DP ENT HDD

2* BL460c G7each with:2P/8Cores(Intel


Xeon Processor E5640 (2.66 GHz, 12MB L3
Cache, 80W)64GB RAM (8x8GB 2Rx4 PC3-
10600R-9 Kit)2x 146GB 6G SAS 15K 2.5in
DP ENT HDD

RAM - 32 GB RAM - 16 GB
SWAP - 32 GB SWAP - 16 GB
OS - Oracle Enterprise Linux 5U5 OS - Oracle Enterprise Linux 5U5

2.1.2 Application Servers:

Test Server Production Server


2* BL460c G7each with:2P/8Cores(Intel 2* BL460c G7each with:2P/8Cores(Intel
Xeon Processor E5640 (2.66 GHz, 12MB L3 Xeon Processor E5640 (2.66 GHz, 12MB L3
Cache, 80W)16GB RAM (4x4GB 2Rx4 PC3- Cache, 80W)64GB RAM (8x8GB 2Rx4 PC3-
10600R-9 Kit)2x 146GB 6G SAS 15K 2.5in DP 10600R-9 Kit)2x 146GB 6G SAS 15K 2.5in DP
ENT HDD ENT HDD

RAM - 32 GB RAM - 16 GB
SWAP - 32 GB SWAP - 16 GB
OS - Oracle Enterprise Linux 5U5 OS - Oracle Enterprise Linux 5U5

Project Management Plan Template Page 6 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

3. Installing Oracle E-Business (Database Tier)


- Before going with Installing Oracle E-Business screen shoot make sure that all
prerequisite has been done successfully.
- Navigate to Stage location > startCD >Disk1> rapidwiz
- Execute rapidwiz script to start OUI as the following : ./rapidwiz

Project Management Plan Template Page 7 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Choose fresh database, Database SID, Hostname, Domain name, Database user with
which group and database base directory.

Note: This base directory will be a temp directory as we will migrate to RAC 11gR2.

Project Management Plan Template Page 8 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

You can choose suite licensing to get most of product licensed or you can choose
component licensing and choose your product individually as you see in next screen.

In the previous screen choose database character set

Project Management Plan Template Page 9 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

- Provide the application node Host Name


- Application Domain Name
- Operating System
- Apps OS user (Application Owner) and its group
- Application Base Directory
- Application Instance Directory

Then Click Next

Project Management Plan Template Page 10 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

This screen means that all info you provide during installation process and all prerequisite
are correct and you can press next to proceed with Database installation on first Node.

This Screen is example to be sure that installation process is working

Note: After finishing database installation transferconfiguration file that created by this
installation to the Application node and transfer stage software.

Project Management Plan Template Page 11 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

4. Installing Oracle E-Business (Apps Tier)


- Navigate to Stage location > startCD >Disk1>rapidwiz
- Execute rapidwiz script to start OUI as the following " ./rapidwiz "

Project Management Plan Template Page 12 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Point to the configuration file that has been created on the Database installation Phase.
Then Click Next

Project Management Plan Template Page 13 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

This screen appears that all Application Installation prerequisite passed.


Then Click next

Project Management Plan Template Page 14 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

5. Appling NLS Arabic Patch

1- Apply Patch 8576725 to fix performance issue while applying NLS Arabic patch.
2- System administrator > OAM > License Manager > Language > then mark
3-Arabic language and submit
4-From AD Administration, run Maintain Multi-lingual Tables (AD
5-Administration Main Menu > Maintain Applications Database Entities Menu).
6-Apply Arabic Patch.

Project Management Plan Template Page 15 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

6. Upgrade Application from 12.1.1 to 12.3.1:


Before applying the upgrade patch weve to do the following:

1- Extend Tablespace APPS_TS_TX_DATA by adding datafile.


2- Manually fix database dbf file for Fresh Installation:
$ sqlplus/nolog
sql> connect / as sysdba
sql> alter database datafile '[full path of system09.dbf]' resize 1000M;
sql> alter database datafile '[full path of system09.dbf]' resize 1500M;
3- Relink Advanced Supply Chain Planning executable
4- 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'
5- Apply Patch 9239089 (Prerequisite Patch)
6- Apply Patch 9239090 to upgrade from 12.1.1 to 12.1.3
7- Apply NLS Arabic for Patch 9239090.
8- Apply Patch 9239095(the latest consolidated online help)

Post Upgrade Steps


1- Apply Patch 9817770
2- Apply patch 9966055
3- chmod 777 /var/tmp/.oracle/
4- Source the Application Environment as oracle user.
5- Run AutoConfig on the APPL_TOP
6- Run the admkappsutil.pl utility to create the file appsutil.zip in the
<INST_TOP>/admin/out directory:
bash$ perl <AD_TOP>/bin/admkappsutil.pl
7- Transfer appsutil.zip from Application node to ORACLE_HOME on Database Node.
8- Take old appsutil directory backup before extract appsutil.zip
9- Source the Database Environment as oracle user.
10- Unzip appsutil.zip under the <RDBMS ORACLE_HOME>
bash$ unzip -o appsutil.zip
11- Run perl script $ORACLE_HOME/appsutil/bin/adbldxml.pl to generate context file
12- Run AutoConfig on the <RDBMS ORACLE_HOME> as the following:
bash$ perl adconfig.plcontext file=<Your path of context file>

Project Management Plan Template Page 16 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

7. Upgrade Database (11.1.0.7 to 11.2.0.3)


Prerequisites Steps

1- Apply Patch 9852070 using adadmin


2- Apply Patch 12686610 using adadmin

Post patches Steps

3- Source the Application Environment as oracle user.


4- Run AutoConfig on the APPL_TOP
5- Run the admkappsutil.pl utility to create the file appsutil.zip in the
<INST_TOP>/admin/out directory:
bash$ perl <AD_TOP>/bin/admkappsutil.pl
6- Transfer appsutil.zip from Application node to ORACLE_HOME on Database Node.
7- Take old appsutil directory backup before extract appsutil.zip
8- Source the Database Environment as oracle user.
9- Unzip appsutil.zip under the <RDBMS ORACLE_HOME>
bash$ unzip -o appsutil.zip
10- Run perl script $ORACLE_HOME/appsutil/bin/adbldxml.pl to generate context file
11- Run AutoConfig on the <RDBMS ORACLE_HOME> as the following:
bash$ perl adconfig.pl context file=<Your path of context file>

Oracle Software (11.2.0.3) Installation

Install Oracle Software with Version 11.2.0.3 in another separate ORACLE_HOME as


below
Before Start Installation set the following Environment to new directory for example:

bash$ export ORACLE_HOME=/u02/app/oracle/product/11.2.0/db_1


bash$ export ORACLE_BASE=/u02/app/oracle

Project Management Plan Template Page 17 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Choose Install Database Software only.

Project Management Plan Template Page 18 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Project Management Plan Template Page 19 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Project Management Plan Template Page 20 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Click Finish to begin installing Oracle Database Software.

Project Management Plan Template Page 21 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Open new terminal as user "root" and run the scripts one by one then return to this window
and click "OK" to continue

Project Management Plan Template Page 22 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Now Oracle Database Software Completed Successfully.

Oracle Database Companion CD (11.2.0.3) Installation

Install Oracle Database 11g Products from the 11g Examples CD


Export Same ORACLE_HOME and same ORACLE_BASE that you use in previous step.

Skip Software Update.

Project Management Plan Template Page 23 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Oracle_Home set already to the new Oracle Database software that you installed in
previous step, press Next.....

This Screen Appears after all prerequisite Checked Successfully, Press Install ..
Project Management Plan Template Page 24 of 74
Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Now Installing Oracle 11g Products Finished.

Create nls/data/9idata directory

Run the $ORACLE_HOME/nls/data/old/cr9idata.pl script to create the


$ORACLE_HOME/nls/data/9idata directory.
Set ORA_NLS10 environment variable to the full path of the 9idata directory
whenever you enable the 11g Oracle home.

Apply Additional database Patches to New Oracle Home


Apply Additional 11.2.0.3 RDBMS Patches (4247037 - 9858539 - 12942119 - 12960302
13004894)
Note:Do not run any of the post install instructions as those will be done after the upgrade.

Shut Down Application Process and Database Listener.

Project Management Plan Template Page 25 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Drop SYS.ENABLED$INDEXES (conditional)

If the SYS.ENABLED$INDEXES table exists, use SQL*Plus to connect to the database as


SYSDBA and running the following command to drop it:

SQL> drop table sys.enabled$indexes;

Run the Pre-Upgrade Information Tool as the following:

Log in to the system as the owner of the environment of the database being
upgraded.
Note: The Pre-Upgrade Information Tool must be copied to and must be run from
the environment of the database being upgraded
Start SQL*Plus.
Connect to the database instance as a user with SYSDBA privileges.
Set the system to spool results to a log file for later analysis:
SQL> SPOOL upgrade_info.log
Run the Pre-Upgrade Information Tool:
SQL> @$11gR2_ORACLE_HOME/rdbms/admin/utlu112i.sql
Turn off the spooling of script results to the log file:
SQL> SPOOL OFF
Check the output of the Pre-Upgrade Information Tool in upgrade_info.log.

Check the upgrade log file then fix the issues if founded then rerun utlu112i.sql

Note:Time zone can ignore


RefActions For DST Updates When Upgrading To Or Applying The 11.2.0.3 Patchset [ID
1358166.1] as we will upgrade it after upgrade database

Drop schema DMSYS:

SQL> CONNECT / AS sysdba;


SQL> DROP USER dmsys CASCADE;
SQL> DELETE FROM sys.exppkgact$ WHERE schema = 'DMSYS';
SQL> SELECT COUNT(*) FROM dba_synonyms WHERE table_owner = 'DMSYS';
If the result is non-zero rows, create and run a SQL script as follows:
SQL> set head off
SQL> spool directory_path/drop_dmsys_synonyms.sql
SQL> SELECT 'Drop public synonym ' ||'"'||SYNONYM_NAME||'";'
FROM DBA_SYNONYMS WHERE TABLE_OWNER = 'DMSYS';
SQL> spool off
SQL> @directory_path/drop_dmsys_synonyms.sql

Drop index REPCAT$_AUDIT_COLUMN_IDX1 .


Drop index SYSTEM.REPCAT$_AUDIT_COLUMN_IDX1;
Create pfile from spfile if database using spfile
Copy Directory <Old_Oracle_Home>/dbs to <New_Oracle_Home> and if you
found and ifile files append it to new oracle home.
Project Management Plan Template Page 26 of 74
Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Transfer Password file if it exist if not create new one and


transfer it from Old_Oracle_Home>/dbs to <New_Oracle_Home>/dbs
Shutdown Database Now Immediate.
Open new terminal and set the following:
ORACLE_SID, <New_ORACLE_HOME>, PATH
Change Your current directory to <New_Oracle_HOME>/rdbms/admin
directory
Connect Sqlplus as SYSDBA and startup database in upgrade mode
Set the system to spool results to a log file for later verification of success:

SQL> SPOOL upgrade.log

Run the catupgrd.sql script:

SQL> @catupgrd.sql

Note:The catupgrd.sql script determines which upgrade scripts must be run, runs
them, and then shuts down the database. You must run the script in the Oracle
Database 11g Release 2 (11.2) environment.

The upgrade script creates and alters certain data dictionary tables. It also upgrades
or installs the following database components in the new Oracle Database 11g
Release 2 (11.2) database:

Oracle Database Catalog Views


Oracle Database Packages and Types
JServer JAVA Virtual Machine
Oracle Database Java Packages
Oracle XDK
Oracle Real Application Clusters
Oracle Workspace Manager
Oracle Multimedia
Oracle XML Database
OLAP Analytic Workspace
Oracle OLAP API
OLAP Catalog
Oracle Text
Spatial
Oracle Data Mining
Oracle Label Security
Messaging Gateway
Oracle Expression Filter
Oracle Rules Manager
Oracle Enterprise Manager Repository
Oracle Database Vault
Oracle Application Express

Spool off and check spool file for any error.


Run script $ORACLE_HOME/rdbms/admin/utlu112s.sql
startup database in upgrade mode and upgrade time zone as the following:
Project Management Plan Template Page 27 of 74
Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

SQLexec DBMS_DST.BEGIN_UPGRADE('14');
25-run post script :
DECLARE
acl_path VARCHAR2(4000);
BEGIN
SELECT acl INTO acl_path FROM dba_network_acls
WHERE host = '' AND lower_port IS NULL AND upper_port IS NULL;
IF DBMS_NETWORK_ACL_ADMIN.CHECK_PRIVILEGE(acl_path,
'user_name','connect') IS NULL THEN
DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(acl_path,
'user_name', TRUE, 'connect');
END IF;
EXCEPTION
WHEN no_data_found THEN
DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('ACL_name.xml',
'ACL description', 'user_name', TRUE, 'connect');
DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('ACL_name.xml','host_name');
END;
/

NoteDon`t forget to replace user_name with apps and host_name with server hostname,
then commit
Execute $ORACLE_HOME/ctx/admin/ctxf102.sql as database user SYS, SYSTEM, or
CTXSYS
setting the compataible parameter :
SQL>shutdown immediate
Edit parameter COMPATIBLE =11.2.0
SQL>startup
Run $ORACLE_HOME/rdbms/admin/utlrp.sql to compile all invalid objects.

Post patches Steps

1- Source the Application Environment as oracle user.


2- Run AutoConfig on the APPL_TOP
3- Run the admkappsutil.pl utility to create the file appsutil.zip in the
<INST_TOP>/admin/out directory:
bash$ perl <AD_TOP>/bin/admkappsutil.pl
4- Transfer appsutil.zip from Application node to ORACLE_HOME on Database Node.
5- Take old appsutil directory backup before extract appsutil.zip
6- Source the Database Environment as oracle user.
7- Unzip appsutil.zip under the <RDBMS ORACLE_HOME>
bash$ unzip -o appsutil.zip
8- Run perl script $ORACLE_HOME/appsutil/bin/adbldxml.pl to generate context file
9- Run AutoConfig on the <RDBMS ORACLE_HOME> as the following:
bash$ perl adconfig.pl context file=<Your path of context file>

10- Copy $APPL_TOP/admin/adgrants.sql (adgrants_nt.sql for Windows) from the


administration server node to the database server node:
$ sqlplus "/ as sysdba" @adgrants.sql (or adgrants_nt.sql) [APPS schema name]
Project Management Plan Template Page 28 of 74
Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

11- Copy $AD_TOP/patch/115/sql/adctxprv.sql from the administration server node to


the database server node.
$ sqlplus apps/[APPS password] @adctxprv.sql \[SYSTEM password] CTXSYS

12- Set CTXSYS parameter


$ sqlplus "/ as sysdba"
SQL> exec ctxsys.ctx_adm.set_parameter('file_access_role', 'public');

13- Validate Workflow ruleset


On the administration server node, use SQL*Plus to connect to the database as APPS
and run the $FND_TOP/patch/115/sql/wfaqupfix.sql script using the below command
$ sqlplus [APPS user]/[APPS password] @wfaqupfix.sql\[APPLSYS user] [APPS user]

14- Gather statistics for SYS schema


Copy $APPL_TOP/admin/adstats.sql from the administration server node to the
database server node. Note that adstats.sql has to be run in restricted mode. Use
SQL*Plus to connect to the database as SYSDBA and use the following commands to
run adstats.sql in restricted mode:
$ sqlplus "/ as sysdba"
SQL> alter system enable restricted session;
SQL> @adstats.sql
$ sqlplus "/ as sysdba"
SQL> alter system disable restricted session;
SQL> exit;

15- Re-create grants and synonyms using adadmin


16- Restart Applications server processes
17- Synchronize Workflow views Log on to Oracle E-Business Suite with the "System
Administrator" responsibility. Click Requests > Run > Single Request and the OK
button. Enter the following parameters:

Request Name = Workflow Directory Services User/Role Validation


p_BatchSize = 10000
p_Check_Dangling = Yes
Add missing user/role assignments = Yes
Update WHO columns in WF tables = No
Click "OK" and "Submit".

18- view CST_LAYER_ACTUAL_COST_DTLS_V will be invalid so apply patch # 9868229 ref


# ID 1342938.1

Note:Multi Org enabled be default in Oracle E-Bussines R12 so no need to enable it.
But to make you more sure do the following:
Run AD Configuration report to check that multi org enabled Use the following commands.
The report output file is written to adutconf.lst in the current working directory.
bash$ cd $APPL_TOP/admin/<SID>/out
bash$ sqlplus <APPS schema username>/<APPS schema password> \
@$AD_TOP/sql/adutconf.sql
Project Management Plan Template Page 29 of 74
Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

8. Apply hrglobalization path as the following:


1- Apply latest HRMS patch 10281212
2- Apply Patch 12679370
3- Datainstallis run as follows:
javaoracle.apps.per.DataInstall [apps_un] [apps_pw] thin [connection]
with [connection] in form: hostname:dbport:oraclesid
4- Apply PER_TOP/patch/115/driver/hrglobal.drv patch
5- Recompile invalid using adadmin
6- Apply hrglobal.drv NLS Arabic patch 13330803
7- Run the concurrent program "Generate Payroll Dynamic Database Item
Translations".
8- Run the concurrent program "Bulk Compile Formulas".

Ref#HrGlobal (paymxearnexrules.ldt), Errors: ORA-1400: cannot insert NULL into ... [ID
1336293.1]
Latest Oracle HRMS Legislative Data Patch Available (HR Global / hrglobal)
[ID 145837.1]
Instructions for Running DataInstall/hrglobal.drv on R12 [ID 414434.1]

Project Management Plan Template Page 30 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

9-Configure ASM Disks:


1- Update the /etc/multipath.conf as the foolwoing :
multipaths {
multipath {
wwid 3600508b4000ca09a0000800001fc0000
alias ocrv1
}
multipath {
wwid 3600508b4000ca09a0000800001f80000
alias ocrv2
}
multipath {
wwid 3600508b4000ca09a0000800002000000
alias ocrv3
}
multipath {
wwid 3600508b4000ca09a0000800002150000
alias asmeb1
}

As you see in previous script ocrv1 represent to disk size 1 G and asmeb1 represent to Disk
size 200 G ... take care when you doing this steps.
2- Configure ASMLib using the following command:
bash# oracleasm configure -i
3- Configuring the Oracle ASM library driver.
This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
Loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]'). Hitting <ENTER> without typing an
answer will keep that current value. Ctrl-C will abort.

Default user to own the driver interface []: grid


Default group to own the driver interface []: asmdba
Start Oracle ASM library driver on boot (y/n) [n]: y
Scan for Oracle ASM disks on boot (y/n) [y]:
Writing Oracle ASM library driver configuration: done

4- Load the kernel module using the following command:


bash$/usr/sbin/oracleasm init
Loading module "oracleasm": oracleasm
Mounting ASMlib driver filesystem: /dev/oracleasm

Project Management Plan Template Page 31 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

5- Create ASM Disks with partitioning Disks as the following:

[root@dmmzidbts1 ~]# oracleasm createdisk "DISK_NAME" /dev/mapper/ocrv1p1


[root@dmmzidbts1 ~]# oracleasm createdisk "DISK_NAME" /dev/mapper/ocrv2p1
[root@dmmzidbts1 ~]# oracleasm createdisk "DISK_NAME" /dev/mapper/ocrv3p1
[root@dmmzidbts1~]#oracleasm createdis "DISK_NAME" /dev/mapper/asmeb1p1
[root@dmmzidbts1~]#oracleasm Createdis "DISK_NAME" /dev/mapper/asmeb2p1
Change DiskName according to your Naming confinsion

6- Scan for all disks on all nodes as the following:


[root@dmmzidbts1 ~]# oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...

7- Check that all disks appears on all nodes by doing the following command:
[root@dmmzidbts1 ~]# oracleasm listdisks
ASMEB1
ASMEB2
ASMEB3
ASMEB4
ASMEB5
OCRV1
OCRV2
OCRV3

Project Management Plan Template Page 32 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

10- Installing Oracle RAC 11gR2:


Login as user grid
export ORACLE_HOME =<Grid_HOME>
export ORACLE_BASE =<BASE_DIrectory for all software installation>

1- Installing Oracle Grid Infrastructure:

Project Management Plan Template Page 33 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Project Management Plan Template Page 34 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Project Management Plan Template Page 35 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Setup SSH Connectivity between Grid users:

Project Management Plan Template Page 36 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Choose interface name with correct interface type

Project Management Plan Template Page 37 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Choose the place of OCR &Vote Disks and we are already configured OCR Disks before
with ASM so we will choose Oracle ASM.

In this screen write your Disk Group Name "OCRV" and make Redundancy as Normal then
choose only 3 Disks that you create them before for OCR and VOTE.

Project Management Plan Template Page 38 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Project Management Plan Template Page 39 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Project Management Plan Template Page 40 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Oracle preforms prerequisite check if you found error in ASM like the following:
Verification result of failed node: racnode1
Note:ASM Errors will be found: safely ignore the below error as oracle ID 1210863.1
List of errors:
- PRVF-5150: Path ORCL:DISKCLU is not a valid path on all nodes
Operation Failed on Nodes: [racnode1]
List of errors:
- Could not get the type of storage
- Cause: Cause of Problem Not Available
- Action: User Action Not AvailablePlease Follow ref

Project Management Plan Template Page 41 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Project Management Plan Template Page 42 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

In this screen follow the instruction in the box "Execute Configuratio Scripts"
By run first script on first node and then on the second node ..Second script run on first node
then on second node as you will see on next screen

Make Sure that root.sh completed successfully before run it on second node.

Project Management Plan Template Page 43 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Installing Oracle Grid Infrastructure completed.

Project Management Plan Template Page 44 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

2- Installing Oracle Database version 11.2.0.3


Login as Oracle user
export ORACLE_HOME=<Databse Software Home>
export ORACLE_BASE=<Base Directory for installatin>

Project Management Plan Template Page 45 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

kmk

Choose Database Software only.

Project Management Plan Template Page 46 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Choose all clustered nodes

Project Management Plan Template Page 47 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Project Management Plan Template Page 48 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Choose Enterprise Edition

Project Management Plan Template Page 49 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Project Management Plan Template Page 50 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Project Management Plan Template Page 51 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

3- Installing Oracle Product from Oracle Examples CDs:


Login as oracle user
export ORACLE_HOME=<Same Oracle Database Software Home>
Follow below ScreenShoot to install Oracle Product Software:

Project Management Plan Template Page 52 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Choose all clustered nodes

Project Management Plan Template Page 53 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Project Management Plan Template Page 54 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

4- Post Installation Patches

- Apply Additional 11.2.0.3 RDBMS Patches to <Oracle_Database_RAC_Home>:


4247037 - 9858539 - 12942119 - 12960302 - 13004894
Note: No need to apply Post-Patch-Steps after migrate Database to RAC as it`s already
applied while upgrade Database from 11.1.0.7 to 11.2.0.3

Project Management Plan Template Page 55 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

11- Create ASM Disk Group:


Login as oracle user
Export ORACLE_HOME=<Oracle_Database_RAC_Home>
Export PATH =$PATH:$ORACLE_HOME/bin
Then run ASMCA and create Disk Group as the following:

Press Create

Project Management Plan Template Page 56 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Enter Disk Group Name,


Choose Redundancy as External
Choose Disks then press OK

Project Management Plan Template Page 57 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Project Management Plan Template Page 58 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Project Management Plan Template Page 59 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

12- Migrate Database to RAC

1- Apply Application Patch #9926448 to fix known issue with FND_FS/SM alias generation
with SCAN enabled.
2- As the oracle user, navigate to the 11gR2 directory $11gR2_ORACLE_HOME/assistants/
rconfig/sampleXMLs, and open the sample file ConvertToRAC_AdminManaged.xml
using a text editor such as vi. This XML sample file contains comment lines that provide
instructions on how to edit the file to suit your site's specific needs.
3- Make a copy of the sample ConvertToRAC.xml file, and modify the foolwoing
parameter:
<n:Convert verify="ONLY">
Note: Convert verify="ONLY" rconfig only performs prerequisites check; it does not
start conversion after completing prerequisite checks. --------------------------
-------------------------
<!--Specify current OracleHome of non-rac database for SourceDBHome --
><n:SourceDBHome>/u02/app/oracle/product/11.2.0/dbhome_1</n:SourceDBHo
me>
<!--Specify OracleHome where the rac database should be configured. It can be
same as SourceDBHome -->
<n:TargetDBHome>/u01/app/oracle/product/11.2.0/db_1</n:TargetDBHome>
--------------------------------------------------------------------------
<!--Specify SID of non-rac database and credential. User with sysdba role is required
to perform conversion -->
<n:SourceDBInfo SID="ZITDB">
<n:Credentials>
<n:User>sys</n:User>
<n:Password>******</n:Password>
<n:Role>sysdba</n:Role>
-----------------------------------------------------------------------------
<n:NodeList>
<n:Node name="dmmzidbts1"/>
<n:Node name="dmmzidbts2"/>
</n:NodeList>
------------------------------------------------------------------------------
<n:InstancePrefix>ZITDB</n:InstancePrefix>
--------------------------------------------------------------------------------
<n:SharedStorage type="ASM">
---------------------------------------------------------------------------------
<n:TargetDatabaseArea>+EBDATA</n:TargetDatabaseArea>
----------------------------------------------------------------------------------
<n:TargetFlashRecoveryArea></n:TargetFlashRecoveryArea>

Project Management Plan Template Page 60 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

4- Run the following tool to convert single instance into Rac intsnace:
./rconfig<path to rconfig XML file created in Step 2 of this list>

ifverfiy Completed Successfully proceed with next steps if not completed


successfully check log to check your log

5- Shutdown E-Bussiness Listener and create New listener on RAC using netca with
same port of E-Bussiness Listener.
6- Change the following parameter in script at step 2 and run rconfig to convert to
RAC:
<n:Convert verify="YES">

7- After Migration Complete check log also check the following:


Undo tablespace for database instances, TEMP tablespace, Archive destination if
not correct you have to change Archive destination.

Project Management Plan Template Page 61 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

13- Enable AutoConfig on Applications Database Tier


Steps to be done on all oracle database nodes:

1- Ensure that you have applied the Oracle Applications patches listed in the prerequisites
section above.

2- Execute $AD_TOP/bin/admkappsutil.pl on the applications tier to generate an


appsutil.zip file for the database tier.

3- Copy (e.g. via ftp) the appsutil.zip file to the database tier in the 11gR2_ORACLE_HOME.

4- Unzip the appsutil.zip file to create the appsutil directory in the 11gR2_ORACLE_HOME.

5- Copy the jre directory from SOURCE_ORACLE_HOME>/appsutil to


11gR2_ORACLE_HOME>/appsutil.

6- Create a <CONTEXT_NAME> directory under <11gR2_ORACLE_HOME>/network/admin.


Use the new instance name while creating the context directory. For example, if your
database name is VISRAC, and you want to use "vis" as the instance prefix, create the
<CONTEXT_NAME> directory as vis1_<hostname>.
7- Set the following environment variables :
ORACLE_HOME =<11gR2_ORACLE_HOME>
LD_LIBRARY_PATH=<11gR2_ORACLE_HOME>/lib, <11gR2_ORACLE_HOME>/ctx/lib
ORACLE_SID = <instance name for current database node>
PATH= $PATH:$ORACLE_HOME/bin;
TNS_ADMIN = $ORACLE_HOME/network/admin/<context_name>

8- Copy the tnsnames.ora file from $ORACLE_HOME/network/admin to the $TNS_ADMIN


directory, and edit the aliases for SID=<new RAC instance name> and <SID>_local.

9- As the APPS user, run the following command on the primary node to de-register the
current configuration: SQL>exec fnd_conc_clone.clean_setup;

10- Set local_listener parameter to <SID>_local and verify that the instances are registered
in EBS database listener.
SQL> alter system set local_listener='<SID>_local' sid='<SID>';

11- From the 11gR2 ORACLE_HOME/appsutil/bin directory, create an instance-specific XML


context file by executing the command:
adbldxml.plappsuser=<APPSuser>appspass=<APPSpwd>

12- Edit the following parameter in DB CONTEXTFILE

Project Management Plan Template Page 62 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

s_db_listener to LISTENER_EBS
s_virtual_hostname to Your virtual hostname
s_clusterInterConnects to Your Private hostname
if you are going to use scane change the following parameter also:
<scanNameoa_var="s_scan_name">scan-zitst.ziic.net</scanName>
<scanPortoa_var="s_scan_port">1570</scanPort>
<scanUpdateFlagoa_var="s_update_scan">TRUE</scanUpdateFlag>
s_sqlnet_expire_time to 1

12- From the 11gR2 ORACLE_HOME/appsutil/bin directory, execute AutoConfig on the


database tier by running the adconfig.pl script.

13- Check the following log (autoconfig.log and Netservicehandler.log)

Note:
First time you will run autconfig on first node it will not generate the correct tnsnames
so ignore and run autoconfig on second node using the same above steps then
return to the first node and check all above parameter then rerun adconfig.pl script
second time will generate correct tnsnames entries

14- Now shutdown RAC listener that created before as you are going to use E-Business
Listener.

15- Stop all Database and listener processes then startup E-Bus listener and Database.

Project Management Plan Template Page 63 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

14- Establish Applications Environment for Oracle RAC


1- Edit tnsnames.ora entries at all Database Nodes as the following:
from
scan-zitst.ziic.net:1570=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=scan-zitst.ziic.net)(PORT=1570))
)
)
to
scan-zitst.ziic.net:1570=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.4.106)(PORT=1570))
(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.4.107)(PORT=1570))
(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.4.108)(PORT=1570))
)
)
then as sysdba make the following:
SQL> alter system set remote_listener='';
System altered.
SQL> alter system set remote_listener='scan-zitst.ziic.net:1570' SID='*';
System altered.

2- Source the Oracle Applications environment.

3- Edit SID=<Instance 1> and PORT=<New listener port > in $TNS_ADMIN/tnsnames.ora file,
to set up connection one of the instances in the Oracle RAC environment.

4- Confirm you are able to connect to one of the instances in the Oracle RAC
environment.

5- Edit the context variable jdbc_url, adding the instance name to the connect_data
parameter.

6- Run AutoConfig using the command:


$$AD_TOP/bin/adconfig.sh contextfile=$INST_TOP/appl/admin/<context_file> .

7- Check the $INST_TOP/admin/log/<MMDDhhmm> AutoConfig log file for errors.

8- Source the environment by using the latest environment file generated

9- Verify the tnsnames.ora and listener.ora files. Copies of both are located in the
$INST_TOP/ora/10.1.2/network/admin directory and
$INST_TOP/ora/10.1.3/network/admin directory. In these files, ensure that the correct TNS
aliases have been generated for load balance and failover, and that all the aliases are
defined using the virtual hostnames.

Project Management Plan Template Page 64 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

10- Verify the dbc file located at $FND_SECURE. Ensure that the parameter APPS_JDBC_URL
is configured with all instances in the environment, and that load_balance is set to YES.

11- Open application and test that everything working fine (http,forms,report and
concurrent request)

12- Shutdown Application Process now and run preclone script then transfer application file
to second node and run adcfgclone on the second node.

Project Management Plan Template Page 65 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

15- Set Up Load Balancing and PCP


Note: thatthe Below Configuration should be done on all application nodes:

1- Edit the following parmeter in CONTEXT_FILE to loadbalance forms, self-service with


Databasename_BALANCE alias generated in the tnsnames.ora file.
s_tools_twotask
s_weboh_twotask
s_apps_jdbc_connect_alias

2- Edit the following parmeter in CONTEXT_FILE for PCP Configuration:


s_cp_twotask to DatabaseName_BALANCE
APPLDCP to ON
s_concstatus to disabled - This Configured on second Node Only

3- Execute AutoConfig by running the command:


$AD_TOP/bin/adconfig.sh contextfile=$INST_TOP/appl/admin/<context_file>

4- Check the tnsnames.ora and listener.ora configuration files, located in


$INST_TOP/ora/10.1.2/network/admin. Ensure that the required FNDSM and
FNDFS entries are present for all other concurrent nodes.

5- Resource New Application Environment then Restart Application.

6- Ensure that value of the profile option "Application Database ID" is set to dbc file
name generated in $FND_SECURE.
7- Log in to Oracle E-Business Suite Release 12 using the SYSADMIN account, and
choose the System Administrator Responsibility. Navigate to Install > Nodes
screen, and ensure that each node in the cluster is registered.

8- Verify that the Internal Monitor for each node is defined properly, with correct
primary and secondary node specification, and work shift details. For example,
Internal Monitor: Host2 must have primary node as host2 and secondary node as
host3. Also ensure that the Internal Monitor manager is activated: this can be
done from Concurrent > Manager > Administrator.

9- Set profile option 'Concurrent: PCP Instance Check' to OFF

10- Navigate to system administrator > OAM > Site Map > Parallel Concurrent
Programming Setup and then add secondary node to all concurrent program
Project Management Plan Template Page 66 of 74
Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

16- Set Up Transaction Managers


1-Shut down the application services (servers) on all nodes
2-Shut down all the database instances cleanly in the Oracle RAC environment, using the
command:

SQL>shutdown immediate;

3-Edit $ORACLE_HOME/dbs/<context_name>_ifile.ora. Add the following parameters:

_lm_global_posts=TRUE
_immediate_commit_propagation=TRUE

4-Start the instances on all database nodes, one by one.

5-Start up the application services (servers) on all nodes.

6-Log on to Oracle E-Business Suite Release 12 using the SYSADMIN account, and choose
the System Administrator responsibility. Navigate to Profile > System, change the profile
option Concurrent: TM Transport Type' to QUEUE', and verify that the transaction manager
works across the Oracle RAC instance.
Navigate to Concurrent > Manager > Define screen, and set up the primary and
secondary node names for transaction managers.
Restart the concurrent managers.
If any of the transaction managers are in deactivated status, activate them from
Concurrent > Manager > Administrator.
Connect as sysdba and make the following:

SQL> alter system set parallel_force_local=TRUE sid='*';


System altered.
"Parallel Execution and Oracle RAC parameters
It is recommended to set the parameters PARALLEL_FORCE_LOCAL
on each instance, to ensure that parallel requests do not span instances.As of 11gR2,
EBS customers must set the value of this parameter to TRUE and then are no longer
required to set parallel_instance_groups and instance groups for the purpose of
preventing inter-instance sql parallelism in RAC environments."

Project Management Plan Template Page 67 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

17- Enable HTTP LoadBalancing and OC4J Cluster


1. Enabling HTTP Load Balancing:

$FND_TOP/bin/txkrun.pl -script=SetAdvCfg \
-appsuser=apps -appspass=apps -enable=HTTPLoadBal \
-t_session_persistent=[y|n] \
-t_dns=[y|n] \
-s_webentryhost=<The HTTP load balancer host name> \
-s_webentrydomain=<The HTTP load balancer domain name> \
-s_webentryurlprotocol=<The HTTP load balancer's protocol> \
-s_active_webport=<The HTTP load-balancer's external port>

* Optional. If not specified, s_active_webport will be set to the value of the web port
(s_webport).

Note: s_active_webport : is the port between user and load balancer, We use port 80 in
test server

2.Enabling OC4J Load Balancing:

$ $FND_TOP/bin/txkrun.pl -script=SetAdvCfg \
-appsuser=apps -appspass=apps -enable=OC4JLdBal \
-s_oc4j_cluster_nodes=<hostName1:onsPort1,hostName2:onsPort2>

3.Now Run adconfig.sh.


$ AD_TOP/bin/adconfig.sh contextfile=CONTEXT_FILE_PATH

Project Management Plan Template Page 68 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

18- Configure OCFS


1.Create Directory for Example:
mkdir /u02

2. Download the appropriate version of the OCFS2 kernel module and tools :
ocfs2console
ocfs2-tools
ocfs2

3. Install the software


rpm -Uvh ocfs2*

4. Start the OCFS2 Console by issuing the following command as the root user.
# ocfs2console
The image below shows the console window.

5.Select the "Cluster > Configure Nodes..." menu option and ignore the subsequent
information message by clicking the "Close" button.

On the "Node Configuration" screen, click the "+ Add" button.

Project Management Plan Template Page 69 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

Enter the server name and IP address for the first node, then click the "OK" button.

6.Add the second node, then click the "Apply" button followed by the "Close" button on
the "Node Configuration" screen

7. Edit the "/etc/init.d/o2cb" script, removing the following entries "Take Backup from
script before edit":
### BEGIN INIT INFO
## Provides: o2cb
## Required-Start: $network
## Should-Start:
## Required-Stop:
## Default-Start: 2 3 5
## Default-Stop:
## Description: Load O2CB cluster services at system boot.
### END INIT INFO

Project Management Plan Template Page 70 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

8. Reregister the o2cb service using the following commands.


# chkconfig --del o2cb
# chkconfig --add o2cb
# chkconfig --list o2cb
o2cb 0:off 1:off 2:on 3:on 4:on 5:on 6:off
9. Configure the o2cb service using the following commands.
# /etc/init.d/o2cb offline ocfs2
Cleaning heartbeat on ocfs2: OK
Stopping cluster ocfs2: OK
#
# /etc/init.d/o2cb unload
Unmounting ocfs2_dlmfs filesystem: OK
Unloading module "ocfs2_dlmfs": OK
Unmounting configfs filesystem: OK
Unloading module "configfs": OK
#
# /etc/init.d/o2cb configure
Configuring the O2CB driver.

This will configure the on-boot properties of the O2CB driver.


The following questions will determine whether the driver is loaded on
boot. The current values will be shown in brackets ('[]'). Hitting
<ENTER> without typing an answer will keep that current value. Ctrl-C
will abort.

Load O2CB driver on boot (y/n) [y]:


Cluster to start on boot (Enter "none" to clear) [ocfs2]:
Writing O2CB configuration: OK
Loading module "configfs": OK
Mounting configfs filesystem at /config: OK
Loading module "ocfs2_nodemanager": OK
Loading module "ocfs2_dlm": OK
Loading module "ocfs2_dlmfs": OK
Mounting ocfs2_dlmfs filesystem at /dlm: OK
Starting cluster ocfs2: OK
10. Partition the shared disk(s) on a single node using fdisk Command line then On the
other nodes, start the "fdisk" command and pick the "w" option to make sure the node
knows the parition exists
11. Start the OCFS2 Console on the first node, using the following command.
# ocfs2console
12. On the Console screen, select the "Tasks > Format" menu option. Select the
appropriate partiton and click the "OK" button and confirm the operation by clicking
the "Yes" button on the subsequent screen.

Project Management Plan Template Page 71 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

The partition is displayed on the console screen once the format operation is complete.

Make sure the partition is highlighted, then click the mount button on the toolbar. Enter
the "/u02" mount point and any additional options, then click the "OK" button.

The partition is now listed along with its mount point in the console screen.

Project Management Plan Template Page 72 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

13.Only the mount operation is necessary on all other nodes, not the format operation.

To automount the filesystem, append the following entry to the "/etc/fstab" file on each
node "Take Backup Before append":

/dev/sdb1 /u02 ocfs2 _netdev,datavolume 00

Project Management Plan Template Page 73 of 74


Document Identification

Installing Oracle E-Bus R12 on RAC 11gR2 with


Name Ver. 2 Date 05Feb 2012
PCP Configuration

19- Table of Reference

Number Reference
1 Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1)
for Linux x86-64 [ID 761566.1]
2 Interoperability Notes EBS R12 with Database 11gR2 [ID 1058763.1]
3 Oracle Database Upgrade Guide 11g Release 2 (11.2) Chapters 3 and 4
4 Latest Oracle HRMS Legislative Data Patch Available (HR Global /
hrglobal) [ID 145837.1]
5 Instructions for Running DataInstall/hrglobal.drv on R12 [ID 414434.1]
6 Using Oracle 11g Release 2 Real Application Clusters with Oracle E-
Business Suite Release 12 [ID 823587.1]
7 Oracle HRMS Product Family - Release 11i and Release 12 Information [ID
135266.1]

8 JSP Pages Hanging in R12 After Removing Cached Class Files in _pages [ID
433386.1]

9 HrGlobal (paymxearnexrules.ldt), Errors: ORA-1400: cannot insert NULL into


... [ID 1336293.1]

10 Device Checks for ASM Fails with PRVF-5150: Path ORCL: is not a valid path
[ID 1210863.1]

11 Oracle Grid Infrastructure Installation Guide


11g Release 2 (11.2) for Linux
12 Oracle Database Installation Guide
11g Release 2 (11.2) for Linux
13 Using Load-Balancers with Oracle E-Business Suite Release 12 [ID 380489.1]

14
Running Configuration Wizards from the Command Line in Oracle E-
Business Suite Release 12 [ID 1364368.1]

Project Management Plan Template Page 74 of 74

You might also like