- We use Red Hat Linux, so the first step was to install the 64bit version on the new server and make sure all the setup steps were performed.
Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86-64 [ID 761566.1]
The above note details all of the operating system requirements and is very easy to follow.
- Shutdown the application tier.
- Export OLAP Analytic Workspaces.
OLAP, as far as I know, is only used for the EPB (Enterprise, Planning & Budgeting) and ODP (Oracle Demand Planning) modules. I asked Oracle Support if I needed to migrate OLAP if we aren’t or didn’t plan on using these modules. They stated no, so I didn’t export them. If you are using OLAP be aware of this note:
EPB AW's Cannot Be Attached Or Do Not Exist [ID 795247.1]
- Execute preclone on the appsTier. ($ADMIN_SCRIPTS_HOME/adpreclone.pl appsTier)
- Backup the controlfile to trace.
alter database backup control file to trace;
- Move necessary files to the new servers:
* Application software.
* Database datafiles
* Files under $ORACLE_HOME/dbs such as the password file, parameter file, etc.
* Control File trace.
- Install the 11.2.0 64bit software on the new server, including the examples CD.
- Create the 9inls directory:
- Apply the necessary database patches:
NOTE: For Patch 9218789: opatch napply -skip_subset -skip_duplicate
You may have to set the following environment variable:
Failed To Apply Patch Opatch Detects Platform 46 While Patch Is For 226 [ID 337812.1]
- On the new server create the control files using the backup you created in step 5.
- Start the database in UPGRADE mode:
- Invalidate and recompile database objects:
Note: If you didn’t export and drop the OLAP schema then you may hit error:
ORA-03113 And ORA-03114 While Running Utlrp.sql [ID 578940.1]
The solution is to run the following and re-run utlrp.sql:
@?/olap/admin/olap.sql SYSAUX TEMP;
I didn’t drop OLAP as per the instructions since I was migrating the database to a new server and the rollback plan in the event of a problem was simply to use the old servers.
- Import OLAP analytical workspaces
If you need to migrate OLAP then this is where you would want to import them.
- On the appsTier set the following environment variable:
LDEMULATION to elf_i386
- Update CTXORIG.xml
This file can be found under <COMMON_TOP>/clone/context/apps
Modify the following line:
<platform oa_var="s_platform" osd="LINUX_X86-64">LINUX_X86-64</platform>
- Use Netca to create a new Listener. Otherwise you’ll hit issues while trying to implement autoconfig. Create it with the same name and port as the source environment. Add an entry for the SID to the listener.ora. Restart the listener.
- Implement Autconfig on DB Tier.
This step struck me as weird because we haven’t built the appsTier yet. So I basically just copied the old appsutil.zip from $INST_TOP on the source server.
Unzip -o appsutil.zip in the DB Oracle Home
Create Context File
- Execute Post Clone on the Apps Tier
perl adcfgclone.pl appsTier
- Deregister the old Application and Database servers.
- Modify $AD_TOP/bin/adrelinknew.sh
CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh -Wl,--noinhibit-exec'
- Relink AD executables (Use AD Relink for this step)
Relink Applications programs
Generate message files
Generate form files
Generate report files
Generate product JAR files
As for step 19, it’s a bit detailed, so I will post details in a follow up shortly.