Migrating Oracle EBS R12 Linux 32bit To 64bit FULL DOCUMENT
Migrating Oracle EBS R12 Linux 32bit To 64bit FULL DOCUMENT
1]
Execution date [13 and 14 of May 2011]
Attention: A full backup of the Oracle E-Business Suite system should be made before carrying out the
migration to the target machine.
Footnote 1 This is the Release 12.1.1 version; versions for earlier releases are also available from the Oracle E-
Business Suite Online Documentation Library
3. Apply the latest AD patch
Refer to My Oracle Support to obtain the latest AD patch. At the time of writing this note, the following
patches were available:
4. For Release 12.1:
e. Where:
Parameter Usage
txktop Temporary working directory use by Perl Modules. Should not be an empty string.
contextfile Location of the context file. If not passed, default is picked from the environment.
To generate the report in text format, the parameter -reporttype=text needs to be passed to the above
commands. For example:
$ outfile=$APPLTMP/Report_Inventory.html -reporttype=text
$ sh <RDBMS_ORACLE_HOME>/appsutil/scripts/<CONTEXT_NAME>/adautocfg.sh
16. Prepare the source system database tier for cloning
Log on to the source system as the ORACLE user, and run the following commands:
$ cd [RDBMS ORACLE_HOME]/appsutil/scripts/[CONTEXT_NAME]
$ perl adpreclone.pl dbTier
Migration
The migration of the E-Business Suite system from the 32-bit environment to the 64-bit environment is a two steps
process of migrating the database using the process documented in Using Oracle E-Business Suite Release 12 with a
Database Tier Only Platform on Oracle 10g Release 2 and migrating the application tier using the process documented in
Cloning Oracle Applications Release 12 with Rapid Clone .
4. Kernel Requirements
The following table lists the required minimum kernel versions (to determine version, enter: $ uname -r):
Operating System Kernel
o Oracle Linux 4 o 2.6.9-42.0.0.0.1.EL
5. Oracle Linux 5*
Red Hat Enterprise Linux 5* (base and Advanced Platform)
Update 1 (5.1) or higher of Oracle Linux 5 is required
Update 1 (5.1) or higher of Red Hat Enterprise Linux (RHEL) 5 is required
The following packages (or versions of 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:
o openmotif21-2.1.30-11.EL5.i3861
o 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.x86_642
For Update 3:
o binutils-2.17.50.0.6-9.0.1.x86_642
For Update 4 (5.4) or higher, see workaround listed below in the 'After Installing or Upgrading' section.
6. Relink Advanced Supply Chain Planning executables (for SLES 10 and Oracle Linux/RHEL 5.4 or
higher only)
During the relink phase of the installation of EBS Release 12 (12.1.1) on SLES 10 or Oracle Linux/RHEL 5.4
(Update 4 or higher), failures will result while relinking the Advanced Supply Chain Planning (ASCP) executables
MSO, MSC, MSR and FEM. 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.
Additional Information:
The application of an EBS Release Update Pack (RUP) or AD family pack could over-write the adrelinknew.sh file - users
must then re-edit and make changes to the above file in order to avoid relinking failures.
The following packages must be installed from the Oracle Linux 5 or RHEL 5 distribution media:
o gcc-4.1.2-14.el5.x86_64
o gcc-c++-4.1.2-14.el5.x86_64
o glibc-2.5-18.i686 (32-bit)
o glibc-2.5-18.x86_64
o glibc-common-2.5-18.x86_64
o glibc-devel-2.5-18.i386 (32-bit)
o glibc-devel-2.5-18.x86_64
o libgcc-4.1.2-14.el5.i386
o libgcc-4.1.2-14.el5.x86_64
o libstdc++-devel-4.1.2-14.el5.i386
o libstdc++-devel-4.1.2-14.el5.x86_64
o libstdc++-4.1.2-14.el5.i386
o libstdc++-4.1.2-14.el5.x86_64
o make-3.81-1.1.x86_64
o gdbm-1.8.0-26.2.1.i386
o gdbm-1.8.0-26.2.1.x86_64
o libXp-1.0.0-8.1.el5.i386
o libXp-1.0.0-8.1.el5.x86_64
o libaio-0.3.106-3.2.i386
o libaio-0.3.106-3.2.x86_64
o libgomp-4.1.2-14.el5.x86_64
o sysstat-7.0.0-3.el5.x86_64
o util-linux-2.13-0.45.el5.x86_64
o compat-libstdc++-296-2.96-138.i386
o compat-libstdc++-33-3.2.3-61.i386
Additionally, the following RPMs are required for an 11gR1 Database (which is bundled with the 12.1.1 release) on
the database tier:
o compat-libstdc++-33-3.2.3-61.x86_64
o elfutils-libelf-devel-0.125-3.el5.x86_64
o elfutils-libelf-devel-static-0.125-3.el5.x86_64
o libaio-devel-0.3.106-3.2.x86_64
o unixODBC-2.2.11-7.1.i386
o unixODBC-devel-2.2.11-7.1.i386
o unixODBC-2.2.11-7.1.x86_64
o unixODBC-devel-2.2.11-7.1.x86_64
o kernel-headers-2.6.18-8.el5.x86_64
9. Kernel Settings
Edit the /etc/sysctl.conf file to configure your kernel settings. After editing the file, use the "sysctl -p" command or
restart the system to invoke the new settings.
Parameter Value
o kernel.semmsl o 2561
o kernel.semmns o 320001
o kernel.semopm o 1001
o kernel.semmni o 1421
o kernel.shmall o 2097152
o kernel.shmmax o Half the size of the physical memory (in bytes), and at least
21474836482
o kernel.shmmni o 4096
o kernel.msgmax o 8192
o kernel.msgmnb o 65535
o kernel.msgmni o 2878
o fs.file-max o 131072
o net.core.rmem_default o 262144
o net.core.rmem_max o 4194304
o net.core.wmem_default o 262144
o net.core.wmem_max o 262144
1
: set using the following entry in the /etc/sysctl.conf file: kernel.sem = 256 32000 100 142
2
: 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
3
: values recommended for the local port range may need to be adjusted according to the specific needs of the
user's environment in order to avoid port conflicts.
On SUSE Linux Enterprise Server 9 and 10, ensure that you set the following kernel parameter:
disable_cap_mlock = 1
10. 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
11. Verifying Host Names
Use the following to verify host name settings:
For Oracle Linux 4 and 5, and Red Hat Enterprise Linux AS/ES 4 and 5:
o Verify that the /etc/hosts file is formatted as follows:
localhost.localdomain localhost
[ip_address] [node_name].[domain_name] [node_name]
o Verify that the /etc/sysconfig/network file is formatted as follows:
HOSTNAME=[node_name].[domain_name]
If the /etc/sysconfig/networking/profiles/default/network file exists, remove it.
o If you changed any files in the previous steps, restart the system.
For SUSE Linux SLES 9 and 10:
o 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]
o If you changed any files in the previous step, restart the system.
12. Modifying the Number of Open File Descriptors
Open the /etc/security/limits.conf file and change the existing values for "hard" and "soft" parameters as
follows. Restart the system after making changes.
Note: If the current value for any parameter is higher than the value listed in this document, then do not change the value
of that parameter.
* hard nofile 65535
* soft nofile 4096
* hard nproc 16384
* soft nproc 2047
13. OS Library Patch for Oracle HTTP Server (on Oracle Linux 5 and RHEL 5 only)
Download and apply the patch 6078836 from My Oracle Support to fix an issue with the Oracle HTTP Server
(missing libdb.so.2) bundled with the E-Business Suite technology stack.
Note that this patch (which includes a required operating system library) must be applied before installing Oracle
E-Business Suite.
14. Link to Motif library in Oracle Application Server 10.1.2 (on Oracle Linux 5 and RHEL 5 only)
Perform the following command (as root on your system) to update a required link to a Motif library prior to
relinking or patching the 10.1.2 Application Server Oracle Home:
# unlink /usr/lib/libXtst.so.6
# ln -s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6
Without this updated link, you may see the following errors during a relink of the 10.1.2 Oracle Home:
/usr/lib/libXtst.so.6: undefined reference to `__stack_chk_fail@GLIBC_2.4'
/usr/lib/libXtst.so.6: undefined reference to `__fprintf_chk@GLIBC_2.3.4'
/usr/lib/libXtst.so.6: undefined reference to `__sprintf_chk@GLIBC_2.3.4'
Since the ldconfig command overrides this link, the above link command (ln) will have to be re-issued after
running the ldconfig command.
To address this issue, perform the following steps before installing or upgrading:
o Check if the port 6000 is being used ("netstat -a | grep 6000")
o If so, you should disable the graphics console login process on the Linux server. This can be accomplished
by logging in as root and issuing the following commands:
o Find the process that uses port 6000 by the command "lsof -i TCP:6000".
o Use "kill -9" to abort the process found in the previous step
o Confirm that nothing is listening at port 6000 ("netstat -a | grep 6000")
o Modify /etc/inittab by changing "id:5:initdefault:" to "id:3:initdefault:"
o Run "/sbin/init 3" to restart dtlogin
Note: The source and target database versions must be the same.
Attention: A full backup of the Oracle E-Business Suite system should be made before carrying out the migration
to the target machine.
Note: The Oracle E-Business Suite system will be unavailable during the migration process.
b. Create a .trc file to use as template to re-create the control files on the target machine.
Run the following command on the source database to create a .trc file, which you will use to recreate the
control files on the target machine in a later step.
$ sqlplus /nolog
SQL> connect / as sysdba
SQL> alter database backup controlfile to trace
Perform the following steps to move the Linux 32-bit database to Linux x86-64:
a. Copy the database (.dbf) files from the source machine to the target machine
b. Copy the database configuration files init.ora and ifilecbo.ora
c. Modify configuration files on target machine to reflect the new environment. Also, set
_system_trig_enabled=false
d. Start up the database in nomount mode
e. Recreate the database control files
Sql> shutdown immediate;
i. Import OLAP analytical workspaces by performing the detailed steps 7-8 as documented in My Oracle Support
Note 352306.1 to import the OLAP analytical workspaces that were previously exported from the source
machine.
j. Perform Step 11 of Appendix C.6.2.1 of Oracle Database Administrator's Reference 11g Release 2 (11.2) for
Linux and UNIX-based Operating Systems to re-create the java system.
Sql> connect /as sysdba
Sql> create or replace java system;
Post-Migration
Perform the following steps to configure the target system and synchronize the application tier with the database tier.
Database Tier
Refer to Section 4: Post-Migration tasks of Using Oracle E-Business Suite Release 12 with a Database Tier Only Platform on
Oracle 10g Release 2 and perform the following steps.
1. Natively recompile PL/SQL code
2. Start the new database listener
3. Implement and run AutoConfig on the database server node
4. Re-create custom database links
Use SQL*Plus to connect to the database as APPS and run the following command:
$ sqlplus apps/[APPS password]
SQL> exec fnd_conc_clone.setup_clean;
Additionally, verify the permissions of the executables under ORACLE_HOME/bin that can potentially be owned by
root (i.e. nmo, nmhs, nmb, etc).
Post-Migration
Perform the following steps to configure the target system and synchronize the application tier with the database
tier.
Application Tier
Refer to Section 2: Clone Oracle Applications Release 12 of Cloning Oracle Applications Release 12 with Rapid
Clone and perform the following steps.
Configure the target system
Configure the target system application tier server nodes
Log on to the target system as the APPLMGR user and enter the following commands:
$ cd [COMMON_TOP]/clone/bin
$ perl adcfgclone.pl appsTier
Refer to Oracle Applications Maintenance Procedures and perform the following steps using AD Administration.
1. Relink AD executables (Use AD Relink for this step)
2. Relink Applications programs
3. Generate message files
4. Generate form files
5. Generate report files
6. Generate product JAR files
Refer to Section 3: Finishing Tasks of Cloning Oracle Applications Release 12 with Rapid Clone and perform the
following steps.
1. Update profile options
Rapid Clone updates only site level profile options. If any other profile options are set to instance specific
values, you must update them manually.
2. Update printer settings
If the new cloned system needs to utilize different printers, update the target system with the new
printer settings now.
3. Update Workflow configuration settings
Cloning an Oracle Applications instance will not update the host and instance-specific information used
by Oracle Workflow. Review the tables and columns listed in Table 4 to check for any instance-specific
data in the Workflow configuration on the target system.
Application Tier Platform Migration with Oracle E-Business Suite Release 12 [ID 438086.1]
Contents
Section 1: Prerequisites: Must be completed prior to using the migration utility.
Section 2: Migration Tasks : Tasks to migrate an application tier to a new platform.
Section 3: Finishing Tasks: Tasks that need to be performed after the migration.
Application Tier Platform Migration with Oracle E-Business Suite Release 12 [ID 438086.1]
Vs.
Cloning Oracle Applications Release 12 with Rapid Clone [ID 406982.1]
Prerequisites of above both documents are same but only
contextfile Location of the context file. If not passed, default is picked from the environment.
To generate the report in text format, the parameter -reporttype=text needs to be passed to the above commands. For
example:
$ outfile=$APPLTMP/Report_Inventory.html -reporttype=text
Note: The Clone Context tool will ask for all the new mount points on the Target System migration node.
Note: If SQL*Net security is being used, the Target System should be allowed to make incoming connections to
the database before running the Clone Context utility.
Note: If you have chosen to create a new digital signature for the Target System, the above AutoConfig session
may complete with errors: specifically, the adgenjky.sh script fails to generate the appltop.cer file. This can occur
because the adjkey executable that this script calls is still specific to Source system. However, the adgenjky script
will be executed correctly on the last step of the migration.
If you are migrating into a different machine name, you will need to recreate the Node configuration by
completing the following two steps:
a. Run afcpclean.sh in the Target Application Tier.
$ cd [INST_TOP]/admin/install
$ ./afcpclean.sh [Apps User] [Apps Password]
Warning: This step will remove the Nodes from the current system. It only applies if the source and
target hostnames have changed. Before running this step, shut down all the application tier service
processes.
If you were using Oracle Discoverer 10.1.2, OID, SSO or Portal 10g on the Source System, refer to the
corresponding documentation to complete the migration:
Product Documentation
Oracle Discoverer 10.1.2 My Oracle Support Knowledge Document 373634.1.
Oracle Internet Directory (OID) and Oracle Single Sign-
My Oracle Support Knowledge Document 376811.1.
On (SSO)
Oracle Portal 10g My Oracle Support Knowledge Document 380484.1.
Note: Refer to My Oracle Support Knowledge Document 380482.1 for documents relating to other Technology Stack
components.
Syntax:
To Tar:
tar –cvzf tarfilename foldername
Untar:
tar –xvzf tarfilename
Example:
tar –cvzf abc.tar.gz abc
- This will zip [tar] the abc folder with the name abc.tar.gz