Oracle EBS R12.2 Database Upgrade to Oracle AI Database 26ai — Apps DBA Runbook
1. Introduction
As an Oracle Apps DBA, database upgrade activity in Oracle E-Business Suite is a critical production operation. This runbook explains the step-by-step approach to upgrade an Oracle EBS R12.2 single-node database to Oracle AI Database 26ai.
This runbook is written in a practical Apps DBA style so that it can be used during planning, execution, validation, and post-upgrade support.
2. Scope of This Runbook
This runbook is applicable for:
| Item | Details |
|---|
| Application | Oracle E-Business Suite R12.2 |
| Database Upgrade Target | Oracle AI Database 26ai |
| Architecture | Single Node |
| Environment | On-premises or OCI Compute |
| Role | Oracle Apps DBA / EBS DBA |
| Activity Type | Database upgrade with EBS interoperability steps |
3. High-Level Upgrade Flow
The complete upgrade activity can be divided into the following phases:
| Phase | Activity |
|---|
| Phase 1 | Certification and prerequisite validation |
| Phase 2 | Install new 26ai Oracle Home |
| Phase 3 | Apply required database patches |
| Phase 4 | Prepare EBS appsutil and TNS configuration |
| Phase 5 | Execute pre-upgrade checks |
| Phase 6 | Upgrade database using AutoUpgrade |
| Phase 7 | Perform post-upgrade EBS tasks |
| Phase 8 | Run AutoConfig, ETCC, EDBPC, and validations |
| Phase 9 | Start application services and release system to users |
4. Pre-Upgrade Planning Checklist
Before touching production, prepare the below checklist.
4.1 Confirm Certification
First confirm that your EBS release, database version, operating system, and platform are certified for Oracle AI Database 26ai.
Check:
| Validation | Status |
|---|
| EBS R12.2 certified with Oracle AI Database 26ai | Pending / Completed |
| OS certified | Pending / Completed |
| Required database patches identified | Pending / Completed |
| EBS interoperability notes reviewed | Pending / Completed |
| Backup strategy confirmed | Pending / Completed |
| Downtime window approved | Pending / Completed |
| Rollback plan documented | Pending / Completed |
4.2 Take Mandatory Backups
Before starting the upgrade, take valid backups.
Recommended backups:
Also back up:
5. Install Oracle AI Database 26ai Software
5.1 Create a New Oracle Home
The 26ai Oracle Home must be installed in a different directory from the existing 19c Oracle Home.
Example:
Do not overwrite the old Oracle Home.
5.2 Install Software Only
Run the Oracle Database 26ai installer.
Select:
Do not create a new database during installation.
5.3 Set Environment Variables
After installing 26ai software, verify the environment.
Validate:
6. Apply Required 26ai Database Patches
Before upgrade, apply all mandatory Oracle EBS certified database patches for 26ai.
Run OPatch validation:
Apply patches as per the certified patch list.
After patching, confirm:
7. Create 9idata Directory
Run the below command from the new 26ai Oracle Home:
Then set:
Validate:
8. Create appsutil.zip and Copy to DB Tier
From the application tier, create appsutil.zip and copy it to the database tier.
Typical approach:
Copy the generated file to the database server and unzip under the new Oracle Home:
Validate:
9. Generate CDB TNS Files
On the database server, run:
Example:
Verify sqlnet.ora contains:
Command:
10. Update UTL_FILE_DIR Directory Object Values
Before the upgrade, review and update UTL_FILE_DIR related directory object values.
Check current value:
or:
Also identify EBS temporary directories required for application processing.
11. Shutdown Application Tier
Before database upgrade, stop all EBS application services.
On application tier:
Validate:
Expected result: no active EBS application services.
12. Shutdown Old Database Listener
On database tier, using old 19c Oracle Home:
Also check LOCAL_LISTENER:
If it points to an old or invalid listener during upgrade, review and correct it before proceeding.
13. Prepare AutoUpgrade Configuration File
Create an AutoUpgrade config file.
Example file:
Sample content:
14. Prepare Parameter Add/Delete Files
Create add and delete parameter files as required.
Example add file:
Example content:
Example delete file:
Example content:
Important Apps DBA note:
Do not blindly copy parameters. Validate them against your environment and Oracle EBS recommended database initialization parameter document.
15. Run AutoUpgrade Analyze Mode
Set new Oracle Home:
Run analyze:
Check logs:
Review errors and warnings carefully.
16. Run AutoUpgrade Fixups
After analyze mode, run fixups:
Validate fixup logs:
Do not proceed to deploy until critical issues are resolved.
17. Run AutoUpgrade Deploy Mode
Once analyze and fixups are clean, start upgrade:
Monitor upgrade:
Check database status:
18. Set Compatible Parameter After Testing
Oracle recommends changing compatible only after upgrade testing is completed.
Check current value:
Set only after approval:
Restart database:
19. Start Listener from 26ai Oracle Home
Generate PDB TNS admin files:
Set PDB environment:
Start listener:
20. Run adrevoke.sql and Grant EBS Privileges
Copy adrevoke.sql from application tier to database tier:
Connect to PDB as SYSDBA:
Then perform EBS database privilege grants as per Oracle EBS privilege management procedure.
21. Compile Invalid Objects
Run utlrp.sql using catcon.pl:
Check invalid objects:
For APPS invalids:
22. Gather SYS Schema Statistics
Copy adstats.sql from application tier:
Run in restricted mode:
Validate:
23. Generate New Database Context File and Run AutoConfig
Run post PDB creation tasks:
Check logs:
24. Update Application Tier Context File
On each application tier node, update these context variables:
| Context Variable | Required Value |
|---|
s_dbport | New database port |
s_apps_jdbc_connect_descriptor | NULL / blank |
s_applptmp | Valid directory defined for EBS temporary file usage |
Check allowed temporary directory:
25. Validate TWO_TASK Entry
Check $TNS_ADMIN/tnsnames.ora on both run and patch file systems.
Expected format:
Test connection:
26. Run AutoConfig on Application Tier
Run AutoConfig on both run and patch file systems.
Source run file system:
Source patch file system:
Apps DBA note:
Errors on patch file system AutoConfig may be ignorable in some cases, but always review the log before closing the task.
27. Run ETCC on Database Tier
Run ETCC to verify required database patches.
Review output:
If missing patches are reported, apply them before releasing the environment.
28. Run EBS Database Parameter Checker
Download latest EDBPC utility patch and run the database parameter checker.
Purpose:
| Check | Reason |
|---|
| Missing parameters | Identify required EBS parameters |
| Incorrect values | Correct non-compliant settings |
| Deprecated parameters | Remove unsupported values |
| Sizing parameters | Validate recommended configuration |
Review the generated report and correct all mandatory findings.
29. Regenerate JAR Files
Run adadmin from the run file system.
Select:
Then select:
30. Implement Network ACLs
For Oracle AI Database 26ai, implement required Network ACLs for EBS database network access.
Typical validation:
Confirm required EBS schemas have appropriate network privileges.
31. Conditional Post-Upgrade Tasks
Depending on your environment, perform these additional tasks.
| Component | Required Action |
|---|
| Database Vault | Disable before upgrade, enable after upgrade if used |
| TLS | Reconfigure database tier TLS setup |
| ISG | Perform ISG post-upgrade tasks |
| OID/OUD | Update DIP provisioning profile |
| APEX | Upgrade APEX if installed |
| External Integrations | Reconfigure with updated DBC file |
| ECC | Reconfigure JNDI / DBC connectivity if applicable |
| Encrypted DB | Review wallet and sqlnet entries |
32. Set INACTIVE_ACCOUNT_TIME to Unlimited
Connect to PDB as SYSDBA:
Run:
Validate:
33. Start Application Services
Start EBS application tier services:
Validate services:
Check:
34. Post-Upgrade Validation Checklist
34.1 Database Validation
34.2 Invalid Object Validation
34.3 EBS Login Validation
Validate:
| Test | Status |
|---|
| EBS login page opens | Pass / Fail |
| User login successful | Pass / Fail |
| Forms launch successful | Pass / Fail |
| OAF page opens | Pass / Fail |
| Concurrent manager starts | Pass / Fail |
| Sample concurrent request completes | Pass / Fail |
| Workflow mailer status checked | Pass / Fail |
| Integration connectivity validated | Pass / Fail |
34.4 Concurrent Manager Validation
Check active requests:
35. Common Issues and Troubleshooting
Issue 1: Application Login Fails After Upgrade
Check:
Validate:
Possible causes:
| Cause | Action |
|---|
| Wrong TNS entry | Correct tnsnames.ora |
| AutoConfig not run | Run AutoConfig |
| Listener not started | Start listener |
| Wrong service name | Correct service name as ebs_<PDB_SID> |
Issue 2: Invalid Objects Remain
Run:
Recompile:
Issue 3: Concurrent Managers Not Starting
Check internal manager:
Check logs:
Issue 4: Forms Not Opening
Check:
Bounce services if required:
36. Final Production Handover Checklist
| Item | Status |
|---|
| Database upgraded successfully | Completed |
| Listener running from 26ai Oracle Home | Completed |
| PDB open read write | Completed |
| AutoConfig completed on DB tier | Completed |
| AutoConfig completed on app tier run FS | Completed |
| AutoConfig completed on app tier patch FS | Completed |
| ETCC completed | Completed |
| EDBPC completed | Completed |
| Invalid objects reviewed | Completed |
| SYS stats gathered | Completed |
| JAR files regenerated | Completed |
| EBS login tested | Completed |
| Concurrent manager tested | Completed |
| Business smoke testing completed | Completed |
| Monitoring enabled | Completed |
| Backup after upgrade completed | Completed |
37. Apps DBA Best Practices
- Never upgrade directly without certification validation.
- Always install 26ai in a new Oracle Home.
- Keep old Oracle Home untouched until upgrade is fully signed off.
- Take complete RMAN and configuration backups.
- Run AutoUpgrade analyze and fixups before deploy.
- Review every warning in AutoUpgrade logs.
- Run ETCC after upgrade.
- Run EDBPC to validate database parameters.
- Always test EBS login, Forms, OAF pages, concurrent managers, workflow, and integrations.
- Keep rollback plan ready until business sign-off is received.
38. Conclusion
Upgrading Oracle EBS R12.2 database to Oracle AI Database 26ai is not only a database upgrade activity. It is a complete EBS technology stack activity involving database home installation, EBS appsutil configuration, TNS generation, AutoUpgrade execution, AutoConfig, ETCC, EDBPC, invalid object compilation, JAR regeneration, and full application validation.
For an Apps DBA, the success of this activity depends on careful planning, clean execution, strong validation, and proper communication with business and application teams