Build a new Oracle E-Business Suite 12.2 application tier on a fresh Oracle Linux 8 server, connected to a database that already exists, with the ebsclone kit. Every step checks its own result and stops with the reason if something is wrong. Allow about 90 minutes for a first build and 15 for the teardown.
Prepared by Marcques Mouton, Stor Systems.
| Server | Role | What the kit does there |
|---|---|---|
| Source apps host | An existing apps tier at the same patch level as the database | Read only: its apps files are copied. Optionally refreshes its clone stage (step 05). |
| Target VM | A freshly installed Oracle Linux 8 server | Installs the prerequisites, receives the apps files, builds and starts the new apps tier. |
| Database server | Holds the PDB the new tier will use | Takes a restore point, registers the PDB with EBS, applies the safety gate. |
Type each one once. The steps then have buttons that copy the right one. Nothing is saved or sent anywhere: the values stay in this browser tab and are gone when you close or reload it.
Every step reads the same settings file on each server. Fill it in once here; the install commands below carry it to each server together with the kit. Orange fields still need a value. Like the passwords, nothing typed here is saved or sent.
Paste the contents of a clone.vars (or clone.vars.example) and the form below fills in from it. Lines that are not settings are ignored.
Each prints ebsclone kit installed with the PDB, source and VM it is set for.
p33471111_111190_Generic.zip from My Oracle Support to your PC first.Adjust the path if the zip is not in your Downloads folder. In MobaXterm you can instead drag it into /tmp in the session's file browser.
if ! /usr/libexec/platform-python -c "import zipfile,sys; sys.exit(0 if zipfile.is_zipfile('/tmp/p33471111_111190_Generic.zip') else 1)" 2>/dev/null; then echo "/tmp/p33471111_111190_Generic.zip is missing or not a complete zip: do part 1 (again)."; else mkdir -p /u01/ebsclone/patches/33471111 && /usr/libexec/platform-python -m zipfile -e /tmp/p33471111_111190_Generic.zip /u01/ebsclone/patches/33471111 && ls /u01/ebsclone/patches/33471111; fiThe listing shows a prereq folder (it may sit one level down).
Next: <step> or STOP: <reason>. On STOP, fix what it names and run the same step again; the parts already done are skipped. Long tools run detached, so a dropped connection does not stop them: run the step again and it reconnects to the running tool./u01/ebsclone/kit/00_check_vm.sh
OK for release, names, disk and memory; FAIL for the EBS packages and limits.
oracle-ebs-server-R12-preinstall package and its dependencies, the apps owner and its limits, the Oracle inventory, the host entry, the Motif library link, the web port in the firewall and time synchronisation. It ends by running step 00 again./u01/ebsclone/kit/10_os_prereqs.sh
The step 00 run at the end shows every line OK. The VM needs access to the Oracle Linux repositories, or an offline copy of the packages in the folder named in RPM_DIR.
su - oracle -c /u01/ebsclone/kit/01_check_db.sh
all checks passed. A WARN that the restore point is not taken yet is expected.
su - applmgr -c /u01/ebsclone/kit/05_source_preclone.sh
APPS password, then WebLogic password.
source stage ready
su - oracle -c /u01/ebsclone/kit/20_db_prepare.sh
yes, confirming the database administrator has agreed.
restore point taken and PDB prepared
/u01/ebsclone/kit/25_db_register.sh
First the source's root password (the prompt names the source: root@source's password), to pick up the database tools step 05 made. If step 05 was skipped, the step says so and carries on with the tools already on this server. Then APPS, then SYSTEM.
txk + AutoConfig completed, APPS can log in over the new service
/u01/ebsclone/kit/30_stage_apps.sh
The source's root password, once (the prompt names the source: root@source's password), to place a temporary copy key there. The key removes itself after the copy.
temporary copy key removed, move plan has no source/PROD references, staged
/u01/ebsclone/kit/40_configure_apps.sh
APPS password, WebLogic password.
The hosts blocked lines list what this VM can no longer reach. The key answers line must name PDB, DB_HOST and NEW_BASE. Progress then sits at 0% and 50% for 20 minutes or more; that is work, not a hang.
AutoConfig completed successfully, every JDBC URL names the new service, apps tier configured, not started
su - oracle -c /u01/ebsclone/kit/50_safety_gate.sh
yes
no host ACEs left, mailer stopped and manual, smtp_out_server empty, safety gate applied
su - applmgr -c /u01/ebsclone/kit/60_start_verify.sh
yes, APPS password, WebLogic password.
answers 200 for login and Forms, every manager runs its target number of processes, DONE
Puts everything back as it was found, so the build can be practised as often as needed. About 15 minutes.
/u01/ebsclone/kit/95_reset_apps.sh
yes, APPS password, WebLogic password.
no process of the new tier left, inventory has no home under it, isolation rules removed
Keep the copied files, then restart at step 40:
/u01/ebsclone/kit/95_reset_apps.sh --keep-copy
--final also drops the restore point; leave it off to go round again from step 20.su - oracle -c "/u01/ebsclone/kit/90_reset_db.sh --final"
su - oracle -c /u01/ebsclone/kit/90_reset_db.sh
yes
open mode as found and each service running again
rm -rf /u01/ebsclone
Open a second session on the same server. Ctrl-C only stops watching; the job keeps running.
/u01/ebsclone/kit/logs.sh
/u01/ebsclone/kit/logs.sh 40_configure_apps
/u01/ebsclone/kit/logs.sh ebs
stalled waiting for input. A progress counter that sits at 0% or 50% while the log keeps growing is not a hang.| What you see | Cause | Fix |
|---|---|---|
| Step 00: package and limit checks FAIL | A fresh VM | Run step 10 |
| Step 10: the preinstall package cannot be installed | No access to the Oracle Linux repositories (the package is in ol8_addons, which step 10 switches on for the install) | Give the VM repository access, or put the package and its dependencies in the offline folder and rerun |
Step 25: txk stops at Enter Hostname | The database listener lacks USE_SID_AS_SERVICE_LISTENER=ON | Add it to the listener.ora named in the settings, reload the listener, rerun step 25 |
Step 30: could not install the copy key | Wrong root password for the source | Rerun step 30 and type it again |
| Step 30: stage check files do not know Oracle Linux 8 | Patch 33471111 is not on the VM | Do "Put patch 33471111 on the target VM", rerun step 30 |
Step 40: source/PROD names left | A source name the answers file rewrite did not cover | Read the listed lines and correct the settings, rerun step 40 |
Step 40: FMW_Home or inst left from an earlier attempt | A previous adcfgclone attempt | Answer yes to remove them, or run step 95 with --keep-copy |
Step 60: managers at 0, the log says giving up | Another apps tier's concurrent manager is still connected to this PDB | Stop that tier fully (its processes can take minutes to exit), then rerun step 60 |