<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Kumaran Murugan</title>
    <description>The latest articles on DEV Community by Kumaran Murugan (@kumaranm05).</description>
    <link>https://dev.to/kumaranm05</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4140633%2F479aa055-6106-4b43-85e6-71bca1994717.png</url>
      <title>DEV Community: Kumaran Murugan</title>
      <link>https://dev.to/kumaranm05</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kumaranm05"/>
    <language>en</language>
    <item>
      <title>Setting Up the Workflow Notification Mailer on an EBS 12.2 Test Instance for Safe Email Testing</title>
      <dc:creator>Kumaran Murugan</dc:creator>
      <pubDate>Tue, 24 Nov 2026 05:31:34 +0000</pubDate>
      <link>https://dev.to/kumaranm05/setting-up-the-workflow-notification-mailer-on-an-ebs-122-test-instance-for-safe-email-testing-1hc3</link>
      <guid>https://dev.to/kumaranm05/setting-up-the-workflow-notification-mailer-on-an-ebs-122-test-instance-for-safe-email-testing-1hc3</guid>
      <description>&lt;p&gt;This post shows how I configured the Workflow Notification Mailer on an Oracle E-Business Suite 12.2 test instance purely for testing. All mail is redirected to one test mailbox, old pending notifications are cleared, and the outbound server points at a local relay. These settings are meant for a test environment, not for production or for a system where real users should receive notifications. The values in the examples, such as addresses and counts, are made up.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why a test instance needs this
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;A cloned database carries over rows in &lt;code&gt;WF_NOTIFICATIONS&lt;/code&gt;, including notifications that were still waiting to be emailed.&lt;/li&gt;
&lt;li&gt;If the mailer starts with source-system settings, it can email real users from a test system.&lt;/li&gt;
&lt;li&gt;Links inside notification emails use the web agent setting, which can still point at the source system after a clone.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  These settings are for testing only
&lt;/h2&gt;

&lt;p&gt;Everything below is set up so that test mail can't reach real people. If the instance later needs to send notifications to real recipients, for example for user acceptance testing, undo the test settings:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Remove the &lt;code&gt;TEST_ADDRESS&lt;/code&gt; value, so notifications go to the real recipients again.&lt;/li&gt;
&lt;li&gt;Replace the local relay with the real outbound mail server, using the security setting your mail team requires.&lt;/li&gt;
&lt;li&gt;Check that &lt;code&gt;WF_MAIL_WEB_AGENT&lt;/code&gt; holds the URL users should actually see.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Check Oracle's documentation for the full list for your release.&lt;/p&gt;

&lt;h2&gt;
  
  
  Before you start
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Do this on a &lt;strong&gt;test instance only&lt;/strong&gt;. Don't run any of it on production.&lt;/li&gt;
&lt;li&gt;You need a mail relay the application tier can reach. I used a local Postfix relay.&lt;/li&gt;
&lt;li&gt;Have a test mailbox ready to receive the notifications, for example &lt;code&gt;wf-test@example.com&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 1: Back up WF_NOTIFICATIONS and review its statuses
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;CREATE&lt;/span&gt; &lt;span class="k"&gt;TABLE&lt;/span&gt; &lt;span class="n"&gt;applsys&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;wf_notifications_bkp&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt;
  &lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;applsys&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;wf_notifications&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;mail_status&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;COUNT&lt;/span&gt;&lt;span class="cm"&gt;(*)
FROM applsys.wf_notifications
GROUP BY mail_status;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The second query shows how many notifications are waiting in each status. Example output (your values and counts will differ):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;MAIL_STATUS   COUNT(*)
-----------   --------
SENT             48210
MAIL               312
ERROR               14
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In this example, 312 notifications are still waiting to be emailed and 14 are in error. Those are the ones that could reach real users after a clone.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Mark the old pending and errored notifications as sent
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;UPDATE&lt;/span&gt; &lt;span class="n"&gt;applsys&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;wf_notifications&lt;/span&gt;
&lt;span class="k"&gt;SET&lt;/span&gt; &lt;span class="n"&gt;mail_status&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'SENT'&lt;/span&gt;
&lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;mail_status&lt;/span&gt; &lt;span class="k"&gt;IN&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'MAIL'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'ERROR'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;COMMIT&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Use the status values from your own query in the &lt;code&gt;IN&lt;/code&gt; list. This stops the mailer from trying to send mail that was queued before the clone. It is a direct table update, so keep it to test instances, take the backup first, and check Oracle Support for current guidance. Never do it on production.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Set the test address and the reply-to address
&lt;/h2&gt;

&lt;p&gt;In the Notification Mailer's configuration in Workflow Manager, set these parameters:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Example value&lt;/th&gt;
&lt;th&gt;Purpose&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;TEST_ADDRESS&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;wf-test@example.com&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;All notifications go here instead of to the real recipients&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;REPLYTO&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;wf-noreply@example.com&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Address that replies are directed to&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;With the test address set, an approval notification meant for a real approver arrives in the test mailbox instead.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4: Set the web agent profile option
&lt;/h2&gt;

&lt;p&gt;Set the &lt;code&gt;WF_MAIL_WEB_AGENT&lt;/code&gt; profile option to the base URL of the test instance:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;http://&amp;lt;test-host&amp;gt;:&amp;lt;port&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is the address used for the links inside notification emails. If it still points at the source system, a person clicking a link in a test email lands on the wrong environment.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 5: Point the outbound server at a local test relay
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Setting&lt;/th&gt;
&lt;th&gt;Example value&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Outbound server&lt;/td&gt;
&lt;td&gt;&lt;code&gt;localhost&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Port&lt;/td&gt;
&lt;td&gt;&lt;code&gt;25&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Security&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;This points the mailer at a local Postfix relay. Security None is acceptable here only because it is a test setup with a relay on the same host. For a real mail server, use the security your mail team requires.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 6: Start the mailer and verify
&lt;/h2&gt;

&lt;p&gt;Confirm the Workflow Notification Mailer service component shows &lt;strong&gt;Running&lt;/strong&gt; in Workflow Manager. Then trigger any workflow that sends a notification, for example an approval request routed to a test user, and check two things:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It arrives at &lt;code&gt;wf-test@example.com&lt;/code&gt;, not at the real recipient.&lt;/li&gt;
&lt;li&gt;The link inside it opens the test instance.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  If mail doesn't arrive
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Check the mailer's log in Workflow Manager for errors.&lt;/li&gt;
&lt;li&gt;Check the relay's mail log, for example &lt;code&gt;/var/log/maillog&lt;/code&gt; for Postfix on many Linux systems.&lt;/li&gt;
&lt;li&gt;Confirm the outbound server name and port match the relay.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Test-setup checklist
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Back up &lt;code&gt;WF_NOTIFICATIONS&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Clear old pending and errored notifications, on test only.&lt;/li&gt;
&lt;li&gt;Set &lt;code&gt;TEST_ADDRESS&lt;/code&gt; and &lt;code&gt;REPLYTO&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Set &lt;code&gt;WF_MAIL_WEB_AGENT&lt;/code&gt; to the test URL.&lt;/li&gt;
&lt;li&gt;Point the outbound server at the relay.&lt;/li&gt;
&lt;li&gt;Start the mailer and send one test notification.&lt;/li&gt;
&lt;li&gt;Undo the test settings before the instance sends mail to real users.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What I learned
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Set the test address before the mailer starts.&lt;/strong&gt; It is the safety net on a test system.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deal with old pending notifications first.&lt;/strong&gt; Otherwise the mailer works through the old queue.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check where the links point.&lt;/strong&gt; The web agent setting decides which system a recipient lands on.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep test settings and real settings separate.&lt;/strong&gt; Know what to undo when the instance goes back to normal use.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Oracle Workflow Administrator's Guide, Release 12.2&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Kumaran Murugan is an Oracle Apps DBA and OCI Cloud Administrator with 5+ years of experience in Oracle E-Business Suite, database migrations, and OCI infrastructure. Connect on &lt;a href="https://www.linkedin.com/in/kumaranmurugan" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>oracle</category>
      <category>ebs</category>
      <category>workflow</category>
      <category>dba</category>
    </item>
    <item>
      <title>Fixing OPatch Error Code 137 (Killed) When Applying an Oracle IDM Stack Patch Bundle with SPBAT</title>
      <dc:creator>Kumaran Murugan</dc:creator>
      <pubDate>Fri, 20 Nov 2026 05:10:37 +0000</pubDate>
      <link>https://dev.to/kumaranm05/fixing-opatch-error-code-137-killed-when-applying-an-oracle-idm-stack-patch-bundle-with-spbat-4a6</link>
      <guid>https://dev.to/kumaranm05/fixing-opatch-error-code-137-killed-when-applying-an-oracle-idm-stack-patch-bundle-with-spbat-4a6</guid>
      <description>&lt;p&gt;While applying the October 2026 IDM Stack Patch Bundle (14.1.2.1.261008) to an Oracle Internet Directory (OID) 14c home with SPBAT, the Downtime phase failed with &lt;strong&gt;OPatch error code 137&lt;/strong&gt;. This post explains what that code means, what to check, and the fix that worked for me. The full OID patching walkthrough is in a separate post: [link to your OID walkthrough post].&lt;/p&gt;

&lt;h2&gt;
  
  
  The symptom
&lt;/h2&gt;

&lt;p&gt;The Downtime phase stopped with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;spbat downtime phase has FAILED.

Patching component oracle.rda, 24.3.24.7.16...
Applying interim patch '39951765' to OH '&amp;lt;ORACLE_HOME&amp;gt;'
&amp;lt;ORACLE_HOME&amp;gt;/OPatch/opatch: line 1365: &amp;lt;pid&amp;gt; Killed    $JAVA $otherOpt $JAVA_VM_OPTION ... oracle/opatch/OPatch $args $invptr

OPatch failed with error code 137
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fb3e6w2b20p4qgf39sdye.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fb3e6w2b20p4qgf39sdye.png" alt=" "&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 1. The Downtime phase fails: OPatch is killed with error code 137 while applying interim patch 39951765. The pre-checks above it had already passed.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What error code 137 means
&lt;/h2&gt;

&lt;p&gt;Exit code 137 is 128 + 9, which means the process was killed with SIGKILL. That is different from a patch failing on its own terms. The pre-checks had already ended with "All checks passed", so this was not a conflict or a prerequisite problem. Something outside OPatch ended the process, and the word "Killed" in the output is the shell reporting it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to check before you rerun
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Check 1: Was it the out-of-memory killer?&lt;/strong&gt;&lt;br&gt;
This is the most common reason for a SIGKILL on a Java process. Look in the kernel log:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;dmesg -T &lt;span class="o"&gt;|&lt;/span&gt; grep -i -E &lt;span class="s2"&gt;"out of memory|killed process"&lt;/span&gt;
grep -i -E &lt;span class="s2"&gt;"out of memory|killed process"&lt;/span&gt; /var/log/messages
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Check 2: How much memory and swap are free?&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;free -m
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Check 3: What else is running on the host?&lt;/strong&gt;&lt;br&gt;
Other Java processes, databases and middleware components all compete for the same memory.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ps aux --sort=-%mem &lt;span class="o"&gt;|&lt;/span&gt; head
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Check 4: Is there a memory limit?&lt;/strong&gt;&lt;br&gt;
A container or a cgroup limit can kill a process even when the host has free memory.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cat /sys/fs/cgroup/memory.max
&lt;span class="nb"&gt;ulimit&lt;/span&gt; -a
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Check 5: How far did the phase get?&lt;/strong&gt;&lt;br&gt;
Review the SPBAT log and the OPatch log under &lt;code&gt;$ORACLE_HOME/cfgtoollogs/opatch&lt;/code&gt; to see which patches were applied before the process was killed.&lt;/p&gt;
&lt;h2&gt;
  
  
  The fix that worked for me
&lt;/h2&gt;

&lt;p&gt;By default, a JVM chooses its maximum heap size based on the memory of the host. I capped the heap for the OPatch run, then reran the Downtime phase from the SPBAT directory:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;_JAVA_OPTIONS&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"-Xms512m -Xmx2048m"&lt;/span&gt;
&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="nv"&gt;$ORACLE_HOME&lt;/span&gt;
./spbat.sh -type OID -phase Downtime -mw_home &lt;span class="nv"&gt;$ORACLE_HOME&lt;/span&gt; -spb_download_dir /u02/stage/CPUOCTPatch/IDM_SPB_14.1.2.1.261008
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In my case, limiting the heap let the rerun complete successfully. &lt;code&gt;_JAVA_OPTIONS&lt;/code&gt; applies to every JVM started from that shell, so it limits how much memory OPatch's JVM can ask for. Treat it as a workaround, not a root-cause fix. If the host is regularly short of memory, free up memory by stopping unrelated processes, or add memory, before the next patching window.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fx5ohk6akeiod5hx92aak.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fx5ohk6akeiod5hx92aak.png" alt=" "&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 2. The rerun of the Downtime phase after setting _JAVA_OPTIONS completes successfully.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What happened to the patches already applied
&lt;/h2&gt;

&lt;p&gt;The first attempt had already applied some patches before it was killed. The inventory shows patch 39646824 once, with a timestamp from the first attempt, and the remaining patches with later timestamps from the rerun. So the rerun carried on with the patches that were still missing. Before you rerun, check the SPBAT log to see how far the phase got.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ORACLE_HOME&lt;/span&gt;/OPatch/opatch lsinventory &lt;span class="o"&gt;|&lt;/span&gt; grep -E &lt;span class="s2"&gt;"Patch|Unique Patch ID"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F520kkys5wf39kchgevcf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F520kkys5wf39kchgevcf.png" alt=" "&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 3. The inventory after the rerun. The first line, "Picked up _JAVA_OPTIONS", shows the setting was still active in the shell.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Clean up
&lt;/h2&gt;

&lt;p&gt;When patching is finished, unset the variable so it doesn't affect other Java commands in that shell:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="kd"&gt;unset&lt;/span&gt; _JAVA_OPTIONS
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What I learned
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Error 137 means killed, not conflicted.&lt;/strong&gt; Look at the operating system's memory before you look at the patch.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check the kernel log first.&lt;/strong&gt; It tells you quickly whether the out-of-memory killer was involved.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Capping the JVM heap is a quick workaround&lt;/strong&gt; when memory is tight, but it doesn't remove the underlying shortage.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A rerun can resume.&lt;/strong&gt; The inventory timestamps show what was already applied.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unset temporary variables afterwards.&lt;/strong&gt; They affect every Java command in the session.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Have you seen OPatch exit with 137 on your systems? I'd like to hear what the cause turned out to be.&lt;/p&gt;

&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Patch 40131416, IDM Stack Patch Bundle 14.1.2.1.261008&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Kumaran Murugan is an Oracle Apps DBA and OCI Cloud Administrator with 5+ years of experience in Oracle E-Business Suite, database migrations, and OCI infrastructure. Connect on &lt;a href="http://www.linkedin.com/in/kumaranmurugan" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>oracle</category>
      <category>opatch</category>
      <category>dba</category>
      <category>oid</category>
    </item>
    <item>
      <title>Patching Oracle Internet Directory 14c with the October 2026 IDM Stack Patch Bundle (SPBAT Walkthrough)</title>
      <dc:creator>Kumaran Murugan</dc:creator>
      <pubDate>Thu, 19 Nov 2026 07:18:27 +0000</pubDate>
      <link>https://dev.to/kumaranm05/patching-oracle-internet-directory-14c-with-the-october-2026-idm-stack-patch-bundle-spbat-3l47</link>
      <guid>https://dev.to/kumaranm05/patching-oracle-internet-directory-14c-with-the-october-2026-idm-stack-patch-bundle-spbat-3l47</guid>
      <description>&lt;p&gt;This post applies the October 2026 IDM Stack Patch Bundle (SPB) 14.1.2.1.261008, patch 40131416, to an Oracle Internet Directory (OID) 14.1.2.1 home using SPBAT, the SPB automation tool. It is the companion to my Oracle Access Manager patching post: [link to your OAM post]. My first Downtime run failed with an OPatch error, which I cover in a separate post: [link to the error 137 post].&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the SPB and not individual patches
&lt;/h2&gt;

&lt;p&gt;Oracle's support documentation recommends applying the latest IDM Stack Patch Bundle to IDM 14.1.2.1 environments. The bundle collects the latest mandatory patches for the whole stack, including the WebLogic and Fusion Middleware layers underneath OID. Picking individual CPU patches by hand risks drifting away from the combination Oracle has certified together. My Oracle Support article KA754 tracks the latest bundle.&lt;/p&gt;

&lt;h2&gt;
  
  
  Before you start
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Download and unzip the SPB into a stage directory. Mine was &lt;code&gt;/u02/stage/CPUOCTPatch/IDM_SPB_14.1.2.1.261008&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Check OPatch. The README asks for 13.9.4.2.17 or higher, and my OID home had 13.9.4.2.24.&lt;/li&gt;
&lt;li&gt;Patch as the OS user that installed OID. SPBAT checks that the patching user matches the install user.&lt;/li&gt;
&lt;li&gt;Set &lt;code&gt;ORACLE_HOME&lt;/code&gt; to the OID Oracle home.&lt;/li&gt;
&lt;li&gt;Back up the Oracle home, the domain home and the schema database first.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 1: Record the current patch level
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ORACLE_HOME&lt;/span&gt;/OPatch/opatch lsinventory &lt;span class="o"&gt;|&lt;/span&gt; grep -E &lt;span class="s2"&gt;"Patch|Unique Patch ID"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Before the update, the OID home showed IDM Stack Patch Bundle 14.1.2.1.260906, applied on 6 October 2026, with OID bundle patch 14.1.2.1.0 (ID:260814.2147).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fg54biur9rxo4ws6m5w3o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fg54biur9rxo4ws6m5w3o.png" alt=" " width="747" height="531"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 1. Patch level of the OID home before the update.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Check the OPatch version
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; &lt;span class="nv"&gt;$ORACLE_HOME&lt;/span&gt;/OPatch
./opatch version
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7v4sq82pmrx0pr5p3c47.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7v4sq82pmrx0pr5p3c47.png" alt=" " width="385" height="102"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 2. OPatch 13.9.4.2.24 in the OID Oracle home, above the minimum the README asks for.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Run the PreStop phase
&lt;/h2&gt;

&lt;p&gt;SPBAT lives under the bundle's &lt;code&gt;tools/spbat/generic/SPBAT&lt;/code&gt; directory. Run it from there, not from the top of the bundle.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; /u02/stage/CPUOCTPatch/IDM_SPB_14.1.2.1.261008/tools/spbat/generic/SPBAT
./spbat.sh -type OID -phase PreStop -mw_home &lt;span class="nv"&gt;$ORACLE_HOME&lt;/span&gt; -spb_download_dir /u02/stage/CPUOCTPatch/IDM_SPB_14.1.2.1.261008
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;SPBAT prints the log location and a &lt;code&gt;-status report&lt;/code&gt; command you can run from a second terminal. Keep the first terminal open while the phase runs.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fty6e5gllhox06hpfkzzz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fty6e5gllhox06hpfkzzz.png" alt=" " width="800" height="173"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 3. PreStop phase completed successfully.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4: Stop the OID components and WebLogic servers, then run Downtime
&lt;/h2&gt;

&lt;p&gt;Stop the OID components (oid1 and oid2), the OID WebLogic server and AdminServer with your usual stop scripts, then run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;./spbat.sh -type OID -phase Downtime -mw_home &lt;span class="nv"&gt;$ORACLE_HOME&lt;/span&gt; -spb_download_dir /u02/stage/CPUOCTPatch/IDM_SPB_14.1.2.1.261008
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;My first run of this phase failed with OPatch error code 137. After applying the fix described in [link to the error 137 post], the rerun completed successfully.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fg24n5vlmn2rnh7ncw133.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fg24n5vlmn2rnh7ncw133.png" alt=" " width="800" height="232"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 4. The Downtime phase completed successfully after the rerun.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 5: Verify the patch level
&lt;/h2&gt;

&lt;p&gt;Run the same &lt;code&gt;lsinventory&lt;/code&gt; command again.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ORACLE_HOME&lt;/span&gt;/OPatch/opatch lsinventory &lt;span class="o"&gt;|&lt;/span&gt; grep -E &lt;span class="s2"&gt;"Patch|Unique Patch ID"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The new bundle appears as inventory entry 40131551, with a description naming SPB 14.1.2.1.261008 (patch 40131416). That is the entry to look for. The OID bundle patch moved to 14.1.2.1.0 (ID:260911.0510), and OPatch itself moved from 13.9.4.2.24 to 13.9.4.2.25 during the run. The bundle ships its own opatch folder, which is likely why.&lt;/p&gt;

&lt;p&gt;The "Picked up _JAVA_OPTIONS" line at the top of the output comes from the fix in the error 137 post. That post also explains how to clear it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9apx6qtp0d837fxg4w5u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9apx6qtp0d837fxg4w5u.png" alt=" " width="714" height="417"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 5. Patch level after the update: the SPB 14.1.2.1.261008 entry, applied on 23 October 2026.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 6: Start the OID components
&lt;/h2&gt;

&lt;p&gt;The README lists no post-install configuration steps for OID, so after the Downtime phase the next step is starting the services. I started the two OID system components through Node Manager:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$DOMAIN_HOME&lt;/span&gt;/bin/startComponent.sh oid1
&lt;span class="nv"&gt;$DOMAIN_HOME&lt;/span&gt;/bin/startComponent.sh oid2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0ooyhdzqmnnmulz9bb2i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0ooyhdzqmnnmulz9bb2i.png" alt=" " width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 6. Starting oid1 and oid2 with startComponent.sh through Node Manager.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 7: Run the PostStart phase
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;./spbat.sh -type OID -phase PostStart -mw_home &lt;span class="nv"&gt;$ORACLE_HOME&lt;/span&gt; -spb_download_dir /u02/stage/CPUOCTPatch/IDM_SPB_14.1.2.1.261008
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffsy5q9mgr0hkg01yjpmw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffsy5q9mgr0hkg01yjpmw.png" alt=" " width="800" height="173"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 7. PostStart phase completed successfully.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 8: Verify the environment
&lt;/h2&gt;

&lt;p&gt;I checked the environment in two places. The WebLogic Remote Console showed AdminServer and wls_ods1 RUNNING with health ok.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faqogjz502ga80li0sqg8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faqogjz502ga80li0sqg8.png" alt=" " width="800" height="362"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 8. WebLogic Remote Console: AdminServer and wls_ods1 RUNNING with health ok.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Fusion Middleware Control showed the two WebLogic servers Running with health OK, and the oid1 and oid2 components registered under Identity and Access. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvp0uyvqpd8fc37vkhkuj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvp0uyvqpd8fc37vkhkuj.png" alt=" " width="617" height="119"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And there is no Post installation steps for OID.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I learned
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Patch with the SPB, not individual CPU patches.&lt;/strong&gt; It keeps the stack on a combination Oracle has certified together.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OID's README lists no post-install configuration.&lt;/strong&gt; After the Downtime phase, starting the services and running PostStart was all that was left.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OID components start through Node Manager.&lt;/strong&gt; &lt;code&gt;startComponent.sh&lt;/code&gt; handled both &lt;code&gt;oid1&lt;/code&gt; and &lt;code&gt;oid2&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check more than one place.&lt;/strong&gt; The Remote Console and Fusion Middleware Control each showed the environment from a different angle.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;If a phase fails, read the exit code first.&lt;/strong&gt; Mine is explained in the error 137 post.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;My Oracle Support: KA754, Stack Patch Bundle for Oracle Identity Management Products&lt;/li&gt;
&lt;li&gt;Patch 40131416, IDM Stack Patch Bundle 14.1.2.1.261008&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Kumaran Murugan is an Oracle Apps DBA and OCI Cloud Administrator with 5+ years of experience in Oracle E-Business Suite, database migrations, and OCI infrastructure. Connect on &lt;a href="http://www.linkedin.com/in/kumaranmurugan" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>oracle</category>
      <category>oid</category>
      <category>dba</category>
    </item>
    <item>
      <title>Patching Oracle Access Manager 14c with the October 2026 IDM Stack Patch Bundle (SPBAT Walkthrough)</title>
      <dc:creator>Kumaran Murugan</dc:creator>
      <pubDate>Wed, 18 Nov 2026 04:55:27 +0000</pubDate>
      <link>https://dev.to/kumaranm05/patching-oracle-access-manager-14c-with-the-october-2026-idm-stack-patch-bundle-spbat-walkthrough-7j2</link>
      <guid>https://dev.to/kumaranm05/patching-oracle-access-manager-14c-with-the-october-2026-idm-stack-patch-bundle-spbat-walkthrough-7j2</guid>
      <description>&lt;p&gt;Oracle's recommended way to patch Oracle Access Manager (OAM) 14c is the &lt;strong&gt;IDM Stack Patch Bundle (SPB)&lt;/strong&gt;, applied with the SPB automation tool, SPBAT. This post walks through applying the October 2026 SPB (14.1.2.1.261008, patch 40131416) to an OAM 14.1.2.1 home. A second post covers Oracle Internet Directory (OID).&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the SPB and not individual patches
&lt;/h2&gt;

&lt;p&gt;Oracle's support documentation recommends applying the latest IDM Stack Patch Bundle to OAM. The bundle collects the latest mandatory patches for the whole IDM 14.1.2.1 stack, including the WebLogic and Fusion Middleware layers underneath OAM. Picking individual CPU patches by hand risks drifting away from the combination Oracle has certified together. My Oracle Support article KA754 tracks the latest bundle.&lt;/p&gt;

&lt;h2&gt;
  
  
  Before you start
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Download and unzip the SPB into a stage directory. Mine was &lt;code&gt;/u02/stage/CPUOCTPatch/IDM_SPB_14.1.2.1.261008&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Check OPatch. The README asks for 13.9.4.2.17 or higher, and my home had 13.9.4.2.24.&lt;/li&gt;
&lt;li&gt;Patch as the OS user that installed OAM. SPBAT checks that the patching user matches the install user.&lt;/li&gt;
&lt;li&gt;Set &lt;code&gt;ORACLE_HOME&lt;/code&gt; to the OAM Oracle home.&lt;/li&gt;
&lt;li&gt;Back up the Oracle home, the domain home and the schema database first.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 1: Record the current patch level
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ORACLE_HOME&lt;/span&gt;/OPatch/opatch lsinventory &lt;span class="o"&gt;|&lt;/span&gt; grep -E &lt;span class="s2"&gt;"Patch|Unique Patch ID"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Before the update, the inventory showed IDM Stack Patch Bundle 14.1.2.1.260906, applied on 7 October 2026.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgdju5do3j6baupivgsqt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgdju5do3j6baupivgsqt.png" alt=" " width="699" height="443"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 1. Patch level before the update: IDM Stack Patch Bundle 14.1.2.1.260906.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Check the OPatch version
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; &lt;span class="nv"&gt;$ORACLE_HOME&lt;/span&gt;/OPatch
./opatch version
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;bash-4.2$ ./opatch version&lt;br&gt;
OPatch Version: 13.9.4.2.17&lt;br&gt;
OPatch succeeded.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;OPatch 13.9.4.2.24 in the OAM Oracle home, above the minimum the README asks for.&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Step 3: Run the PreStop phase
&lt;/h2&gt;

&lt;p&gt;SPBAT lives under the bundle's &lt;code&gt;tools/spbat/generic/SPBAT&lt;/code&gt; directory. If you run &lt;code&gt;./spbat.sh&lt;/code&gt; from the top of the bundle, you get "No such file or directory".&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; /u02/stage/CPUOCTPatch/IDM_SPB_14.1.2.1.261008/tools/spbat/generic/SPBAT
./spbat.sh -type OAM -phase PreStop -mw_home &lt;span class="nv"&gt;$ORACLE_HOME&lt;/span&gt; -spb_download_dir /u02/stage/CPUOCTPatch/IDM_SPB_14.1.2.1.261008
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;SPBAT prints the log location and a &lt;code&gt;-status report&lt;/code&gt; command you can run from a second terminal. Keep the first terminal open while the phase runs.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fo9rnxuebpwt6v6i1t7qa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fo9rnxuebpwt6v6i1t7qa.png" alt=" " width="800" height="223"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 2. PreStop phase. The first attempt from the bundle's top directory failed. The second, from the SPBAT directory, completed successfully.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4: Stop the services and run the Downtime phase
&lt;/h2&gt;

&lt;p&gt;Stop AdminServer, oam_policy_mgr1 and oam_server1 with your usual stop scripts, then run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;./spbat.sh -type OAM -phase Downtime -mw_home &lt;span class="nv"&gt;$ORACLE_HOME&lt;/span&gt; -spb_download_dir /u02/stage/CPUOCTPatch/IDM_SPB_14.1.2.1.261008
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9jd49eoouzbqyzwveij4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9jd49eoouzbqyzwveij4.png" alt=" " width="800" height="227"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 3. Downtime phase completed successfully.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 5: Verify the patch level
&lt;/h2&gt;

&lt;p&gt;Run the same &lt;code&gt;lsinventory&lt;/code&gt; command again.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ORACLE_HOME&lt;/span&gt;/OPatch/opatch lsinventory &lt;span class="o"&gt;|&lt;/span&gt; grep -E &lt;span class="s2"&gt;"Patch|Unique Patch ID"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The new bundle appears as inventory entry 40131551, with a description naming SPB 14.1.2.1.261008 (patch 40131416). That is the entry to look for. The same run applied the OAM bundle patch 14.1.2.1.260928 and the WebLogic patch set update 14.1.2.0.260922. OPatch itself moved from 13.9.4.2.24 to 13.9.4.2.25 during the run. The bundle ships its own opatch folder, which is likely why.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5n2w2cxcvvc42y1xctjt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5n2w2cxcvvc42y1xctjt.png" alt=" " width="709" height="446"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 4. Patch level after the update: the SPB 14.1.2.1.261008 entry, applied on 23 October 2026.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 6: Clear the cache and tmp directories
&lt;/h2&gt;

&lt;p&gt;The README says to clear the cache, tmp and stage directories under each server directory before starting the servers. It lists no post-install actions after startup. I renamed the directories instead of deleting them, which leaves a copy to fall back on:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; &lt;span class="nv"&gt;$DOMAIN_HOME&lt;/span&gt;/servers/AdminServer
mv cache cache_23OCT2026
mv tmp tmp_23OCT2026
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I repeated this for oam_policy_mgr1 and oam_server1. Delete the renamed copies once you are happy with the result, since they use disk space.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq49uv41cqo5jq1qalrey.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq49uv41cqo5jq1qalrey.png" alt=" " width="800" height="152"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 5. Renaming the cache and tmp directories under all three server directories.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 7: Start the services and run PostStart
&lt;/h2&gt;

&lt;p&gt;Start AdminServer and the managed servers, then run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;./spbat.sh -type OAM -phase PostStart -mw_home &lt;span class="nv"&gt;$ORACLE_HOME&lt;/span&gt; -spb_download_dir /u02/stage/CPUOCTPatch/IDM_SPB_14.1.2.1.261008
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;PostStart phase completed successfully.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 8: Verify the servers
&lt;/h2&gt;

&lt;p&gt;In the WebLogic Remote Console, all three servers showed RUNNING with health ok. The README also says to restart and verify the environment and URLs after patching, so I'd add a real login through OAM to this check.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ft5qjo1f3zytc6ck4nx2r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ft5qjo1f3zytc6ck4nx2r.png" alt=" " width="800" height="391"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 6. AdminServer, oam_policy_mgr1 and oam_server1 all RUNNING with health ok.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I learned
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Patch with the SPB, not individual CPU patches.&lt;/strong&gt; It keeps the stack on a combination Oracle has certified together.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Run SPBAT from its own directory.&lt;/strong&gt; The top of the bundle doesn't contain &lt;code&gt;spbat.sh&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rename instead of delete.&lt;/strong&gt; It costs a little disk space and gives you a way back.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use the status report command.&lt;/strong&gt; It lets you watch a long phase from a second terminal.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;My Oracle Support: KA754, Stack Patch Bundle for Oracle Identity Management Products&lt;/li&gt;
&lt;li&gt;My Oracle Support: PALRT2206, OAM Bundle Patch Release History&lt;/li&gt;
&lt;li&gt;Patch 40131416, IDM Stack Patch Bundle 14.1.2.1.261008&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Kumaran Murugan is an Oracle Apps DBA and OCI Cloud Administrator with 5+ years of experience in Oracle E-Business Suite, database migrations, and OCI infrastructure. Connect on &lt;a href="http://www.linkedin.com/in/kumaranmurugan" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>automation</category>
      <category>infrastructure</category>
      <category>security</category>
    </item>
    <item>
      <title>Starting, Stopping and Restarting the Cost Manager in Oracle EBS 12.2 (Inventory Interface Managers)</title>
      <dc:creator>Kumaran Murugan</dc:creator>
      <pubDate>Mon, 16 Nov 2026 05:30:07 +0000</pubDate>
      <link>https://dev.to/kumaranm05/starting-stopping-and-restarting-the-cost-manager-in-oracle-ebs-122-inventory-interface-managers-3f9c</link>
      <guid>https://dev.to/kumaranm05/starting-stopping-and-restarting-the-cost-manager-in-oracle-ebs-122-inventory-interface-managers-3f9c</guid>
      <description>&lt;p&gt;If inventory or work in process transactions in your Oracle E-Business Suite environment aren't being costed, one of the first things to check is whether the &lt;strong&gt;Cost Manager&lt;/strong&gt; is running. This post explains what it does, why it matters, and how to start, stop and restart it in EBS 12.2.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the Cost Manager does
&lt;/h2&gt;

&lt;p&gt;Oracle Cost Management automatically costs and values inventory, work in process and purchasing transactions, so that inventory value matches the accounting transactions behind it. The Cost Manager is the background process that does this work for you.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It runs in the background at a set &lt;strong&gt;process interval&lt;/strong&gt; and passes pending transactions to worker processes.&lt;/li&gt;
&lt;li&gt;Oracle's Inventory User's Guide says the material cost transaction manager must be started for material transactions to be costed.&lt;/li&gt;
&lt;li&gt;It also covers resource transactions from work in process.&lt;/li&gt;
&lt;li&gt;Oracle recommends setting the interface manager to run at &lt;strong&gt;five-minute intervals&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why it matters
&lt;/h2&gt;

&lt;p&gt;If it isn't running, transactions stay &lt;strong&gt;uncosted&lt;/strong&gt;. Inventory valuation and accounting fall behind, and uncosted transactions can stop you from closing an inventory period, since Oracle lists "no uncosted material transactions" among the period close conditions.&lt;/p&gt;

&lt;h2&gt;
  
  
  When you would start, stop or restart it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;On a new environment where the transaction managers have never been launched. Launching them is part of Oracle's Cost Management setup steps.&lt;/li&gt;
&lt;li&gt;After you have fixed the cause of a costing error and want processing to resume.&lt;/li&gt;
&lt;li&gt;After maintenance that affects concurrent processing, such as bouncing the concurrent managers. These managers run as concurrent requests, so it's worth checking they are still Active afterwards.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Before you start
&lt;/h2&gt;

&lt;p&gt;You need a user with the &lt;strong&gt;Inventory&lt;/strong&gt; responsibility, or a custom responsibility that includes the Interface Managers function. In this walkthrough I used SYSADMIN, which had the Inventory responsibility assigned.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Open the Interface Managers window
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Option A: from the navigator (HTML home page)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Log in and choose the &lt;strong&gt;Inventory&lt;/strong&gt; responsibility.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqgiqt4hiu4v0pd3n74vz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqgiqt4hiu4v0pd3n74vz.png" alt=" " width="478" height="345"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Then go to &lt;strong&gt;Setup &amp;gt; Transactions &amp;gt; Interface Managers&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fcqtcvm7gx1qqewcv2pue.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fcqtcvm7gx1qqewcv2pue.png" alt=" " width="383" height="468"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Option B: from Oracle Forms&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Use &lt;strong&gt;File &amp;gt; Switch Responsibility&lt;/strong&gt; (or the toolbar icon) and choose &lt;strong&gt;Inventory&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;In the Navigator, press &lt;strong&gt;Ctrl+L&lt;/strong&gt; and search for &lt;code&gt;%launch%&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Launch Interface Managers&lt;/strong&gt; and click &lt;strong&gt;OK&lt;/strong&gt;. Don't pick Launch Cost Collection Manager or Launch Cost Update, which are different functions.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxgwmexgslw8srs49qeb2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxgwmexgslw8srs49qeb2.png" alt=" " width="799" height="540"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Read the window
&lt;/h2&gt;

&lt;p&gt;The Interface Managers window lists the managers and their status. In this environment it showed Cost Manager, Lot Move Transaction, Material transaction and Move transaction, all &lt;strong&gt;Inactive&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Status:&lt;/strong&gt; Active or Inactive.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Worker Rows:&lt;/strong&gt; the maximum number of rows assigned to a worker (200 here).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Process Interval:&lt;/strong&gt; how often the manager checks for work (5 minutes here, matching Oracle's recommendation).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fygh8fvzi5nd5dwqsj2hb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fygh8fvzi5nd5dwqsj2hb.png" alt=" " width="800" height="443"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Start (launch) the Cost Manager
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Select the &lt;strong&gt;Cost Manager&lt;/strong&gt; row.&lt;/li&gt;
&lt;li&gt;Choose &lt;strong&gt;Tools &amp;gt; Launch Manager&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffay7dva8bxh8e1md4eoi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffay7dva8bxh8e1md4eoi.png" alt=" " width="784" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The &lt;strong&gt;Launch Inventory Managers&lt;/strong&gt; window opens with the name set to Cost Manager and &lt;strong&gt;Run the Job&lt;/strong&gt; set to As Soon as Possible. Click &lt;strong&gt;Submit&lt;/strong&gt;. If the manager is already active, Oracle shows a warning first. I left the Schedule button alone, because the repeat interval comes from the Process Interval in the Interface Managers window.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F95yd4x0sel1g00m87enr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F95yd4x0sel1g00m87enr.png" alt=" " width="800" height="555"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Requery&lt;/strong&gt; the Interface Managers window. The status now shows &lt;strong&gt;Active&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2dhs1b0pd4huy9mim0p5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2dhs1b0pd4huy9mim0p5.png" alt=" " width="800" height="522"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;To confirm, open the Requests window. The Cost Manager request shows Phase &lt;strong&gt;Running&lt;/strong&gt; and Status &lt;strong&gt;Normal&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faptb1upqr4bsap3f1yzu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faptb1upqr4bsap3f1yzu.png" alt=" " width="800" height="528"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4: Stop the Cost Manager
&lt;/h2&gt;

&lt;p&gt;Oracle's documentation notes that transaction managers keep running at their interval until you delete them through the concurrent manager. So to stop it:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open the Requests window and find the running &lt;strong&gt;Cost Manager&lt;/strong&gt; request.&lt;/li&gt;
&lt;li&gt;Select it and click &lt;strong&gt;Cancel Request&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Requery the Interface Managers window. The status returns to &lt;strong&gt;Inactive&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Step 5: Restart the Cost Manager
&lt;/h2&gt;

&lt;p&gt;A restart is a stop followed by a start:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Stop it as in Step 4.&lt;/li&gt;
&lt;li&gt;In the Requests window, check that no cost worker requests are still running, and let them finish.&lt;/li&gt;
&lt;li&gt;Launch it again as in Step 3 and confirm the status is &lt;strong&gt;Active&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  If it won't stay Active
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Check that the concurrent managers are up, since the Cost Manager runs as a concurrent request.&lt;/li&gt;
&lt;li&gt;Open the log of the failed request for the error.&lt;/li&gt;
&lt;li&gt;Before closing a period, review the uncosted transactions listed in the period close checks.&lt;/li&gt;
&lt;li&gt;Some older blog posts suggest updating the transaction tables directly to clear errors. I haven't done that and wouldn't without guidance from Oracle Support.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What I learned
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;It's a background process, not a one-off job.&lt;/strong&gt; It keeps running at its interval until you cancel it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;"Inactive" matters.&lt;/strong&gt; A stopped Cost Manager quietly builds up uncosted transactions, which you tend to find out about at period close.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stop it cleanly.&lt;/strong&gt; Let running workers finish before you launch it again.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;How do you check on your Cost Manager after a concurrent manager bounce? I'd like to hear what works for you.&lt;/p&gt;

&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Oracle Inventory User's Guide, Release 12.2: Launching Transaction Managers (&lt;a href="https://docs.oracle.com/cd/E26401_01/doc.122/e48820/T291651T291655.htm" rel="noopener noreferrer"&gt;https://docs.oracle.com/cd/E26401_01/doc.122/e48820/T291651T291655.htm&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Oracle Cost Management User's Guide, Release 12.2: Setting Up Oracle Cost Management (&lt;a href="https://docs.oracle.com/cd/E26401_01/doc.122/e48829/T372621T372759.htm" rel="noopener noreferrer"&gt;https://docs.oracle.com/cd/E26401_01/doc.122/e48829/T372621T372759.htm&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Kumaran Murugan is an Oracle Apps DBA and OCI Cloud Administrator with 5+ years of experience in Oracle E-Business Suite, database migrations, and OCI infrastructure. Connect on &lt;a href="http://www.linkedin.com/in/kumaranmurugan" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>oracle</category>
      <category>ebs</category>
      <category>dba</category>
    </item>
    <item>
      <title>datapatch Fails in sqlpatch.pm: Fixing a Corrupted PDB$SEED Tempfile in Oracle 19c</title>
      <dc:creator>Kumaran Murugan</dc:creator>
      <pubDate>Wed, 04 Nov 2026 06:13:35 +0000</pubDate>
      <link>https://dev.to/kumaranm05/datapatch-fails-in-sqlpatchpm-fixing-a-corrupted-pdbseed-tempfile-in-oracle-19c-3f0b</link>
      <guid>https://dev.to/kumaranm05/datapatch-fails-in-sqlpatchpm-fixing-a-corrupted-pdbseed-tempfile-in-oracle-19c-3f0b</guid>
      <description>&lt;h2&gt;
  
  
  The symptom
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;datapatch -verbose&lt;/code&gt; stopped with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Unsupported named object type for bind parameter at $ORACLE_HOME/sqlpatch/sqlpatch.pm line 6153.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That message says very little. The useful clue was in the database alert log at the same time:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Read of datafile '/u01/oradata/CDB1/pdbseed/temp01&amp;lt;timestamp&amp;gt;.dbf' (fno 202) header failed with ORA-01206
ORA-01122: database file 202 failed verification check
ORA-01206: file is not part of this database - wrong database id
PDB$SEED(2): Cannot re-create tempfile /u01/oradata/CDB1/pdbseed/temp01&amp;lt;timestamp&amp;gt;.dbf, the same name file exists
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What the alert log is telling you
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;ORA-01206 (wrong database id):&lt;/strong&gt; the header of the PDB$SEED tempfile belongs to a different database.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;"Cannot re-create tempfile... the same name file exists":&lt;/strong&gt; when PDB$SEED opened, Oracle tried to rebuild the bad tempfile on its own. It couldn't, because a file with that name was already on disk.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The datapatch error:&lt;/strong&gt; datapatch needs a working temporary tablespace in every container, including the seed. With none available, it hit an unhandled exception in &lt;code&gt;sqlpatch.pm&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Likely cause
&lt;/h2&gt;

&lt;p&gt;The tempfile name carries a timestamp from 2024, but PDB$SEED had already been patched successfully in an earlier cycle, so the header problem probably appeared after that, for example following a storage-level copy or a refresh of the database files between patch cycles. I can't prove when or how it happened, so treat this as the most likely explanation, not a confirmed one.&lt;/p&gt;

&lt;p&gt;This is a useful lesson in itself: a seed that patched fine once can still break later.&lt;/p&gt;

&lt;h2&gt;
  
  
  The fix
&lt;/h2&gt;

&lt;p&gt;I replaced the bad tempfile in PDB$SEED with a new one. This uses a hidden parameter, so read the cautions below first.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="n"&gt;sqlplus&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;sysdba&lt;/span&gt;

&lt;span class="c1"&gt;-- allow changes to the seed (session level only)&lt;/span&gt;
&lt;span class="k"&gt;ALTER&lt;/span&gt; &lt;span class="k"&gt;SESSION&lt;/span&gt; &lt;span class="k"&gt;SET&lt;/span&gt; &lt;span class="nv"&gt;"_oracle_script"&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;TRUE&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;ALTER&lt;/span&gt; &lt;span class="n"&gt;PLUGGABLE&lt;/span&gt; &lt;span class="k"&gt;DATABASE&lt;/span&gt; &lt;span class="n"&gt;PDB&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;SEED&lt;/span&gt; &lt;span class="k"&gt;CLOSE&lt;/span&gt; &lt;span class="k"&gt;IMMEDIATE&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;ALTER&lt;/span&gt; &lt;span class="n"&gt;PLUGGABLE&lt;/span&gt; &lt;span class="k"&gt;DATABASE&lt;/span&gt; &lt;span class="n"&gt;PDB&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;SEED&lt;/span&gt; &lt;span class="k"&gt;OPEN&lt;/span&gt; &lt;span class="k"&gt;READ&lt;/span&gt; &lt;span class="k"&gt;WRITE&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;ALTER&lt;/span&gt; &lt;span class="k"&gt;SESSION&lt;/span&gt; &lt;span class="k"&gt;SET&lt;/span&gt; &lt;span class="n"&gt;CONTAINER&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;PDB&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;SEED&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="c1"&gt;-- remove the corrupted tempfile&lt;/span&gt;
&lt;span class="k"&gt;ALTER&lt;/span&gt; &lt;span class="k"&gt;DATABASE&lt;/span&gt; &lt;span class="n"&gt;TEMPFILE&lt;/span&gt; &lt;span class="s1"&gt;'/u01/oradata/CDB1/pdbseed/temp01&amp;lt;timestamp&amp;gt;.dbf'&lt;/span&gt; &lt;span class="k"&gt;DROP&lt;/span&gt; &lt;span class="k"&gt;INCLUDING&lt;/span&gt; &lt;span class="n"&gt;DATAFILES&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="c1"&gt;-- add a clean one&lt;/span&gt;
&lt;span class="k"&gt;ALTER&lt;/span&gt; &lt;span class="n"&gt;TABLESPACE&lt;/span&gt; &lt;span class="k"&gt;TEMP&lt;/span&gt; &lt;span class="k"&gt;ADD&lt;/span&gt; &lt;span class="n"&gt;TEMPFILE&lt;/span&gt; &lt;span class="s1"&gt;'/u01/oradata/CDB1/pdbseed/temp01.dbf'&lt;/span&gt;
  &lt;span class="k"&gt;SIZE&lt;/span&gt; &lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="n"&gt;M&lt;/span&gt; &lt;span class="n"&gt;AUTOEXTEND&lt;/span&gt; &lt;span class="k"&gt;ON&lt;/span&gt; &lt;span class="k"&gt;NEXT&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="n"&gt;M&lt;/span&gt; &lt;span class="n"&gt;MAXSIZE&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="k"&gt;G&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="c1"&gt;-- put the seed back as it was&lt;/span&gt;
&lt;span class="k"&gt;ALTER&lt;/span&gt; &lt;span class="k"&gt;SESSION&lt;/span&gt; &lt;span class="k"&gt;SET&lt;/span&gt; &lt;span class="n"&gt;CONTAINER&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;CDB&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;ROOT&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;ALTER&lt;/span&gt; &lt;span class="n"&gt;PLUGGABLE&lt;/span&gt; &lt;span class="k"&gt;DATABASE&lt;/span&gt; &lt;span class="n"&gt;PDB&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;SEED&lt;/span&gt; &lt;span class="k"&gt;CLOSE&lt;/span&gt; &lt;span class="k"&gt;IMMEDIATE&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;ALTER&lt;/span&gt; &lt;span class="n"&gt;PLUGGABLE&lt;/span&gt; &lt;span class="k"&gt;DATABASE&lt;/span&gt; &lt;span class="n"&gt;PDB&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;SEED&lt;/span&gt; &lt;span class="k"&gt;OPEN&lt;/span&gt; &lt;span class="k"&gt;READ&lt;/span&gt; &lt;span class="k"&gt;ONLY&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="n"&gt;EXIT&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then rerun datapatch:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ORACLE_HOME&lt;/span&gt;/OPatch/datapatch &lt;span class="nt"&gt;-verbose&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Verify
&lt;/h2&gt;

&lt;p&gt;After the fix, the rerun patched all three containers, including the seed:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ORACLE_HOME/OPatch/datapatch -verbose
SQL Patching tool version 19.32.0.0.0 Production

Installation queue:
  For the following PDBs: CDB$ROOT PDB$SEED &amp;lt;PDB_NAME&amp;gt;
    The following interim patches will be rolled back:
      37847857 (OJVM RELEASE UPDATE: 19.28.0.0.250715)
    Patch 39472050 (Database Release Update : 19.32.0.0.260721):
      Apply from 19.28.0.0.0 to 19.32.0.0.0
    The following interim patches will be applied:
      39222882 (OJVM RELEASE UPDATE: 19.32.0.0.260721)

Patch installation complete.  Total patches installed: 9

Patch 37847857 rollback (pdb CDB$ROOT): SUCCESS
Patch 39472050 apply (pdb CDB$ROOT): SUCCESS
Patch 39222882 apply (pdb CDB$ROOT): SUCCESS
Patch 37847857 rollback (pdb PDB$SEED): SUCCESS
Patch 39472050 apply (pdb PDB$SEED): SUCCESS
Patch 39222882 apply (pdb PDB$SEED): SUCCESS
Patch 37847857 rollback (pdb &amp;lt;PDB_NAME&amp;gt;): SUCCESS
Patch 39472050 apply (pdb &amp;lt;PDB_NAME&amp;gt;): SUCCESS
Patch 39222882 apply (pdb &amp;lt;PDB_NAME&amp;gt;): SUCCESS
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then check the tempfiles across all containers:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;con_id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;file_id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;file_name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;tablespace_name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;status&lt;/span&gt;
&lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;cdb_temp_files&lt;/span&gt; &lt;span class="k"&gt;ORDER&lt;/span&gt; &lt;span class="k"&gt;BY&lt;/span&gt; &lt;span class="n"&gt;con_id&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;CON_ID 2 (the seed) should show the new &lt;code&gt;temp01.dbf&lt;/code&gt;. Confirm the seed is back in its normal state:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;open_mode&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;restricted&lt;/span&gt; &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;pdbs&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Finally, check that the patch was recorded:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;patch_id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;action&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;status&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;description&lt;/span&gt;
&lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;dba_registry_sqlpatch&lt;/span&gt; &lt;span class="k"&gt;ORDER&lt;/span&gt; &lt;span class="k"&gt;BY&lt;/span&gt; &lt;span class="n"&gt;action_time&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Cautions
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;_oracle_script&lt;/code&gt; is an underscore parameter.&lt;/strong&gt; Oracle's own scripts use it, but using it by hand to change the seed is not something I'd do without a backup and a check of the relevant My Oracle Support note. In production, I'd raise a Service Request first.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;I set it at session level only.&lt;/strong&gt; &lt;code&gt;ALTER SESSION&lt;/code&gt; means it was gone when I exited and never touched the spfile.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Take a backup first&lt;/strong&gt; and try this in a non-production database.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Read-only afterwards.&lt;/strong&gt; Always put PDB$SEED back in READ ONLY once you're done.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What I learned
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A Perl-level error can hide a storage problem.&lt;/strong&gt; When &lt;code&gt;datapatch&lt;/code&gt; fails inside &lt;code&gt;sqlpatch.pm&lt;/code&gt;, read the alert log at the same moment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check the seed's tempfile, not just the root.&lt;/strong&gt; A bad tempfile in PDB$SEED can block patching even when everything else looks healthy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open your PDBs before running datapatch.&lt;/strong&gt; It only patches PDBs that are open, and it skips closed ones.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Files can change between patch cycles.&lt;/strong&gt; A seed that patched fine before can still break after copies or refreshes, so it's worth checking tempfile headers before a patching window.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Have you seen this error after patching a cloned or refreshed CDB? I'd like to hear whether the cause matched.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Kumaran Murugan is an Oracle Apps DBA and OCI Cloud Administrator with 5+ years of experience in Oracle E-Business Suite, database migrations, and OCI infrastructure. Connect on &lt;a href="http://www.linkedin.com/in/kumaranmurugan" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>oracle</category>
      <category>database</category>
      <category>dba</category>
      <category>oci</category>
    </item>
    <item>
      <title>EBS 12.2.15: Fixing "ERROR: This env should be sourced from apps !" When Sourcing the Patch File System</title>
      <dc:creator>Kumaran Murugan</dc:creator>
      <pubDate>Sun, 25 Oct 2026 15:50:06 +0000</pubDate>
      <link>https://dev.to/kumaranm05/ebs-12215-fixing-error-this-env-should-be-sourced-from-apps-when-sourcing-the-patch-file-41om</link>
      <guid>https://dev.to/kumaranm05/ebs-12215-fixing-error-this-env-should-be-sourced-from-apps-when-sourcing-the-patch-file-41om</guid>
      <description>&lt;p&gt;I recently built a fresh Oracle E-Business Suite 12.2.15 environment from the OCI Marketplace image, following Oracle's installation document (KB849587). The services came up cleanly. The problem appeared the first time I tried to prepare for patching.&lt;/p&gt;

&lt;h2&gt;
  
  
  The symptom
&lt;/h2&gt;

&lt;p&gt;When I sourced the environment file and chose the patch file system, it failed immediately:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Please choose the environment file you wish to source [R/P]:P
  Sourcing the PATCH File System ...
ERROR: This env should be sourced from apps !
[oracle@ebsdemo12-2-15 ~]$
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The application was up and running, so the environment itself was healthy. Only the patch file system would not source.&lt;/p&gt;

&lt;h2&gt;
  
  
  Background: two file systems
&lt;/h2&gt;

&lt;p&gt;EBS 12.2 uses online patching with two application file systems, a &lt;strong&gt;run&lt;/strong&gt; file system and a &lt;strong&gt;patch&lt;/strong&gt; file system. When you source the environment file, you choose which one you want:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;R&lt;/strong&gt; sets up the environment for the run file system, which is what users are connected to.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;P&lt;/strong&gt; sets up the environment for the patch file system, which &lt;code&gt;adop&lt;/code&gt; needs before you apply a patch.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If the patch file system won't source, you can't start a patching cycle.&lt;/p&gt;

&lt;h2&gt;
  
  
  What fixed it
&lt;/h2&gt;

&lt;p&gt;I ran AutoConfig directly against the &lt;strong&gt;patch file system's context file&lt;/strong&gt;, from the &lt;code&gt;AD_TOP/bin&lt;/code&gt; directory:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;perl adconfig.pl &lt;span class="nv"&gt;contextfile&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;/u01/install/APPS/fs2/inst/apps/EBSDB_apps/appl/admin/EBSDB_apps.xml
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Once AutoConfig finished, I sourced the environment file again, chose &lt;strong&gt;P&lt;/strong&gt;, and the patch environment loaded normally.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why it happens
&lt;/h2&gt;

&lt;p&gt;The error is raised by the environment-sourcing logic, before any patch is involved. So this is an environment configuration problem, not a patch problem.&lt;/p&gt;

&lt;p&gt;AutoConfig regenerates the environment and configuration files for a file system from its context file. Running it against the patch file system's context file was the only change I made, and it resolved the error. The most likely cause is that the environment files for the patch file system were stale or incomplete after the initial build, while the run file system had been fully configured.&lt;/p&gt;

&lt;p&gt;A Marketplace environment is provisioned onto a new host, so the two file systems don't necessarily get configured at the same time. I haven't proven this from the internals, so treat it as the most likely explanation and verify it on your own system with the checks below.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to check your own system
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Rule out the simple cause.&lt;/strong&gt; Run &lt;code&gt;whoami&lt;/code&gt; and &lt;code&gt;ls -ld&lt;/code&gt; on the patch file system directory. If your install uses a separate application OS user, make sure you are sourcing as that user.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Compare the context files.&lt;/strong&gt; Check that key values, such as the hostname, match between the run and patch context files:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-i&lt;/span&gt; s_hostname &amp;lt;run context file&amp;gt;
   &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-i&lt;/span&gt; s_hostname &amp;lt;patch context file&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Check the AutoConfig log.&lt;/strong&gt; After the run, look in the patch file system's &lt;code&gt;admin/log&lt;/code&gt; directory for a clean &lt;code&gt;adconfig.log&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Compare file timestamps.&lt;/strong&gt; Look at the environment files in the patch file system before and after the run to see what AutoConfig regenerated.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What I learned
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Read the error as an environment problem.&lt;/strong&gt; The message appears before &lt;code&gt;adop&lt;/code&gt; starts, so look at the file system's configuration first.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Run AutoConfig on both file systems.&lt;/strong&gt; On a new or cloned environment, I now treat this as a pre-patching checklist item, not just a fix for when something breaks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Don't force the environment.&lt;/strong&gt; Regenerating it from the context file is cleaner than editing generated files by hand.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Have you hit this error on a Marketplace or cloned EBS environment? I'd like to know whether the cause was the same.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Kumaran Murugan is an Oracle Apps DBA and OCI Cloud Administrator with 5+ years of experience in Oracle E-Business Suite, database migrations, and OCI infrastructure. Connect on &lt;a href="http://www.linkedin.com/in/kumaranmurugan" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>cloud</category>
      <category>devops</category>
      <category>linux</category>
    </item>
    <item>
      <title>Provisioning an Oracle Autonomous AI Database and Connecting Securely with a Cloud Wallet</title>
      <dc:creator>Kumaran Murugan</dc:creator>
      <pubDate>Mon, 19 Oct 2026 06:54:16 +0000</pubDate>
      <link>https://dev.to/kumaranm05/provisioning-an-oracle-autonomous-ai-database-and-connecting-securely-with-a-cloud-wallet-3p81</link>
      <guid>https://dev.to/kumaranm05/provisioning-an-oracle-autonomous-ai-database-and-connecting-securely-with-a-cloud-wallet-3p81</guid>
      <description>&lt;p&gt;Spinning up a database used to mean planning hardware, installing software, and configuring backups. With Oracle Autonomous AI Database on OCI, you can have a working database in minutes. The step that trips most people up isn't creating it, though. It's &lt;strong&gt;connecting to it securely from a client tool&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;In this walkthrough, I provision a Serverless Autonomous AI Database, connect to it from SQL Developer using a Cloud Wallet, and then stop and terminate it so it doesn't keep consuming resources.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you'll need
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;An OCI account or a LiveLabs sandbox&lt;/li&gt;
&lt;li&gt;SQL Developer installed on your machine&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 1: Start the create wizard
&lt;/h2&gt;

&lt;p&gt;In the OCI Console, open &lt;strong&gt;Oracle Database → Autonomous AI Database&lt;/strong&gt; and click &lt;strong&gt;Create&lt;/strong&gt;. Choose the &lt;strong&gt;Serverless&lt;/strong&gt; deployment and give the database a display name and a database name.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fx50w6gn39jmp9bqvrutn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fx50w6gn39jmp9bqvrutn.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Choose workload type and size
&lt;/h2&gt;

&lt;p&gt;Pick the workload type that matches your use case (data warehouse, transaction processing, JSON, or APEX). Then set the compute (ECPU count) and storage. Autonomous Database handles patching, tuning and scaling for you, so sizing is the main decision.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fj2dnia23jnri3552fqk5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fj2dnia23jnri3552fqk5.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fen11evhgajca5yhlh9co.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fen11evhgajca5yhlh9co.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7gbn7rp5iqjt5x8khe5d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7gbn7rp5iqjt5x8khe5d.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Set the ADMIN password
&lt;/h2&gt;

&lt;p&gt;The wizard creates an &lt;strong&gt;ADMIN&lt;/strong&gt; user. Choose a strong password and store it somewhere safe. You will need it when you connect from SQL Developer.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2i3zg03xhq5hzmf58tg3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2i3zg03xhq5hzmf58tg3.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4: Set network access and backups
&lt;/h2&gt;

&lt;p&gt;For a learning environment, I used &lt;strong&gt;Secure access from everywhere&lt;/strong&gt;. For anything real, use &lt;strong&gt;allowed IPs and VCNs&lt;/strong&gt; or a &lt;strong&gt;private endpoint&lt;/strong&gt; instead. I also reviewed the backup retention setting here, since it is chosen at creation time.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5wsrx4bbv06k840dmw0m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5wsrx4bbv06k840dmw0m.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Add a contact email for operational notifications, then click &lt;strong&gt;Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3rhxs78s5aknwsi26d0l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3rhxs78s5aknwsi26d0l.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 5: Wait for Available
&lt;/h2&gt;

&lt;p&gt;The database moves from &lt;strong&gt;Provisioning&lt;/strong&gt; to &lt;strong&gt;Available&lt;/strong&gt;. This usually takes a few minutes.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7nem2uhx05g16yh0cur8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7nem2uhx05g16yh0cur8.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 6: Download the Cloud Wallet
&lt;/h2&gt;

&lt;p&gt;From the database details page, open &lt;strong&gt;Database connection&lt;/strong&gt; and download the &lt;strong&gt;wallet&lt;/strong&gt;. The wallet is a zip file with the credentials and connection details your client needs. Set a wallet password when prompted.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 7: Connect from SQL Developer
&lt;/h2&gt;

&lt;p&gt;Create a new connection and enter:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Username:&lt;/strong&gt; &lt;code&gt;admin&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Password:&lt;/strong&gt; your ADMIN password&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Connection Type:&lt;/strong&gt; &lt;code&gt;Cloud Wallet&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Configuration File:&lt;/strong&gt; your downloaded wallet zip&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Service:&lt;/strong&gt; &lt;code&gt;&amp;lt;dbname&amp;gt;_high&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Click &lt;strong&gt;Test&lt;/strong&gt;. You should see &lt;strong&gt;Status: Success&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1h8hdt6sgkfatb8u4rir.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1h8hdt6sgkfatb8u4rir.png" alt=" " width="768" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Which service name?
&lt;/h3&gt;

&lt;p&gt;Each database exposes several services. As a rule of thumb:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;_high&lt;/code&gt;: highest priority and resources, fewest concurrent sessions&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;_medium&lt;/code&gt;: a balance of the two&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;_low&lt;/code&gt;: lowest priority, most concurrency&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 8: Stop the database
&lt;/h2&gt;

&lt;p&gt;When you're done, open &lt;strong&gt;More actions → Stop&lt;/strong&gt;. Stopping pauses compute billing while keeping the database definition.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fuiw3w7tdvj3rgzkf2g5y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fuiw3w7tdvj3rgzkf2g5y.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F74cb02k38x891z5oe3oz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F74cb02k38x891z5oe3oz.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 9: Terminate it
&lt;/h2&gt;

&lt;p&gt;For a lab database you no longer need, choose &lt;strong&gt;More actions → Terminate&lt;/strong&gt; and type the database name to confirm. The name confirmation exists to prevent accidental deletion.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fiajnb2ry7yq1jpjd1caw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fiajnb2ry7yq1jpjd1caw.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fe6axctlrlv62y1bmrsxt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fe6axctlrlv62y1bmrsxt.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I learned
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The wallet is the key concept.&lt;/strong&gt; A client connects with the wallet and a service name, not a host and port.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Service names are a workload choice.&lt;/strong&gt; &lt;code&gt;_high&lt;/code&gt;, &lt;code&gt;_medium&lt;/code&gt; and &lt;code&gt;_low&lt;/code&gt; let you trade throughput against concurrency.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Network access is easy to leave too open.&lt;/strong&gt; "Secure access from everywhere" is fine in a sandbox, but restrict it for real workloads.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stop and terminate idle databases.&lt;/strong&gt; Cleanup is part of the workflow, not an afterthought.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you're preparing for the OCI Autonomous Database certification, this is a good exercise to run end to end at least once.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;What do you use to connect to Autonomous Database: SQL Developer, Database Actions, or something else?&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Kumaran Murugan is an Oracle Apps DBA and OCI Cloud Administrator with 5+ years of experience in Oracle E-Business Suite, database migrations, and OCI infrastructure. Connect on &lt;a href="http://www.linkedin.com/in/kumaranmurugan" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>cloud</category>
      <category>database</category>
      <category>sql</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Flashback Database with a Guaranteed Restore Point</title>
      <dc:creator>Kumaran Murugan</dc:creator>
      <pubDate>Wed, 14 Oct 2026 05:17:17 +0000</pubDate>
      <link>https://dev.to/kumaranm05/flashback-database-with-a-guaranteed-restore-point-44co</link>
      <guid>https://dev.to/kumaranm05/flashback-database-with-a-guaranteed-restore-point-44co</guid>
      <description>&lt;p&gt;Before a patch, an upgrade, or a risky schema change, the most useful question a DBA can ask is: "How fast can I get back if this goes wrong?" A full RMAN restore can take hours. Flashback Database with a &lt;strong&gt;guaranteed restore point&lt;/strong&gt; can take minutes.&lt;/p&gt;

&lt;p&gt;In this walkthrough, I create a guaranteed restore point, simulate an accidental loss, and flash the database back to the exact state it was in before.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why a guaranteed restore point?
&lt;/h2&gt;

&lt;p&gt;A normal restore point can age out as the flashback retention window moves forward. A guaranteed restore point tells Oracle to keep every flashback log needed to return to that point, however long it takes. The trade-off is that those logs consume space in the Fast Recovery Area (FRA) until you drop the restore point.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prerequisites
&lt;/h2&gt;

&lt;p&gt;Flashback Database needs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The database in &lt;strong&gt;ARCHIVELOG&lt;/strong&gt; mode&lt;/li&gt;
&lt;li&gt;A configured and sized &lt;strong&gt;Fast Recovery Area&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Flashback logging enabled&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 1: Enable ARCHIVELOG mode
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="n"&gt;SHUTDOWN&lt;/span&gt; &lt;span class="k"&gt;IMMEDIATE&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;STARTUP&lt;/span&gt; &lt;span class="n"&gt;MOUNT&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;ALTER&lt;/span&gt; &lt;span class="k"&gt;DATABASE&lt;/span&gt; &lt;span class="n"&gt;ARCHIVELOG&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;ALTER&lt;/span&gt; &lt;span class="k"&gt;DATABASE&lt;/span&gt; &lt;span class="k"&gt;OPEN&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;ARCHIVE&lt;/span&gt; &lt;span class="n"&gt;LOG&lt;/span&gt; &lt;span class="n"&gt;LIST&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;ARCHIVE LOG LIST&lt;/code&gt; should now show &lt;strong&gt;Archive Mode&lt;/strong&gt; with automatic archival enabled.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Configure the FRA and enable Flashback
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;FLASHBACK_ON&lt;/span&gt; &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;V&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="k"&gt;DATABASE&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;   &lt;span class="c1"&gt;-- NO&lt;/span&gt;

&lt;span class="k"&gt;ALTER&lt;/span&gt; &lt;span class="k"&gt;SYSTEM&lt;/span&gt; &lt;span class="k"&gt;SET&lt;/span&gt; &lt;span class="n"&gt;DB_RECOVERY_FILE_DEST_SIZE&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="k"&gt;G&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;ALTER&lt;/span&gt; &lt;span class="k"&gt;SYSTEM&lt;/span&gt; &lt;span class="k"&gt;SET&lt;/span&gt; &lt;span class="n"&gt;DB_RECOVERY_FILE_DEST&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'/path/to/fast_recovery'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;ALTER&lt;/span&gt; &lt;span class="k"&gt;DATABASE&lt;/span&gt; &lt;span class="n"&gt;FLASHBACK&lt;/span&gt; &lt;span class="k"&gt;ON&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;LOG_MODE&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;FLASHBACK_ON&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;NAME&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;OPEN_MODE&lt;/span&gt; &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;V&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="k"&gt;DATABASE&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Set the size parameter &lt;strong&gt;before&lt;/strong&gt; the destination parameter. Size the FRA for your change rate. Flashback logs live here, and a full FRA can stall the database.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Create the guaranteed restore point
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;CREATE&lt;/span&gt; &lt;span class="n"&gt;TABLESPACE&lt;/span&gt; &lt;span class="n"&gt;tbs1&lt;/span&gt; &lt;span class="n"&gt;DATAFILE&lt;/span&gt; &lt;span class="s1"&gt;'tbs1_data.dbf'&lt;/span&gt; &lt;span class="k"&gt;SIZE&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;CREATE&lt;/span&gt; &lt;span class="n"&gt;RESTORE&lt;/span&gt; &lt;span class="n"&gt;POINT&lt;/span&gt; &lt;span class="n"&gt;demo2&lt;/span&gt; &lt;span class="n"&gt;GUARANTEE&lt;/span&gt; &lt;span class="n"&gt;FLASHBACK&lt;/span&gt; &lt;span class="k"&gt;DATABASE&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is the checkpoint. Everything after this moment can be undone.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4: Simulate the accident
&lt;/h2&gt;

&lt;p&gt;I dropped the test tablespace, then confirmed it was gone:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;DROP&lt;/span&gt; &lt;span class="n"&gt;TABLESPACE&lt;/span&gt; &lt;span class="n"&gt;tbs1&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;V&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;TABLESPACE&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;   &lt;span class="c1"&gt;-- 20 rows, TBS1 missing&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 5: Flash the database back
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="n"&gt;SHUTDOWN&lt;/span&gt; &lt;span class="k"&gt;IMMEDIATE&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;STARTUP&lt;/span&gt; &lt;span class="n"&gt;MOUNT&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;FLASHBACK&lt;/span&gt; &lt;span class="k"&gt;DATABASE&lt;/span&gt; &lt;span class="k"&gt;TO&lt;/span&gt; &lt;span class="n"&gt;RESTORE&lt;/span&gt; &lt;span class="n"&gt;POINT&lt;/span&gt; &lt;span class="n"&gt;demo2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;ALTER&lt;/span&gt; &lt;span class="k"&gt;DATABASE&lt;/span&gt; &lt;span class="k"&gt;OPEN&lt;/span&gt; &lt;span class="k"&gt;READ&lt;/span&gt; &lt;span class="k"&gt;ONLY&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Opening &lt;strong&gt;read-only&lt;/strong&gt; first lets you check the result before committing to it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;V&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;TABLESPACE&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;   &lt;span class="c1"&gt;-- 21 rows, TBS1 is back&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Once you're satisfied, finish the recovery:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="n"&gt;SHUTDOWN&lt;/span&gt; &lt;span class="k"&gt;IMMEDIATE&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;STARTUP&lt;/span&gt; &lt;span class="n"&gt;MOUNT&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;ALTER&lt;/span&gt; &lt;span class="k"&gt;DATABASE&lt;/span&gt; &lt;span class="k"&gt;OPEN&lt;/span&gt; &lt;span class="n"&gt;RESETLOGS&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 6: Clean up
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;ALTER&lt;/span&gt; &lt;span class="k"&gt;DATABASE&lt;/span&gt; &lt;span class="n"&gt;FLASHBACK&lt;/span&gt; &lt;span class="k"&gt;OFF&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;DROP&lt;/span&gt; &lt;span class="n"&gt;RESTORE&lt;/span&gt; &lt;span class="n"&gt;POINT&lt;/span&gt; &lt;span class="n"&gt;demo2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Don't skip this step.&lt;/strong&gt; A guaranteed restore point keeps holding FRA space until it is dropped.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I learned
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Flashback is much faster than a full restore.&lt;/strong&gt; It applies flashback logs rather than restoring datafiles.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Read-only first is a cheap safety check.&lt;/strong&gt; You can verify the recovered state before opening with RESETLOGS, which is irreversible.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;FRA sizing is the real operational risk.&lt;/strong&gt; An undersized FRA is the most common way a restore point goes wrong.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Clean up after yourself.&lt;/strong&gt; A forgotten guaranteed restore point quietly eats storage.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I now treat a guaranteed restore point as a standard step in change windows for patching and upgrades, because it gives you a fast, rehearsed way back.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Kumaran Murugan is an Oracle Apps DBA and OCI Cloud Administrator with 5+ years of experience in Oracle E-Business Suite, database migrations, and OCI infrastructure. Connect on (&lt;a href="http://www.linkedin.com/in/kumaranmurugan" rel="noopener noreferrer"&gt;http://www.linkedin.com/in/kumaranmurugan&lt;/a&gt;).&lt;/em&gt;&lt;/p&gt;

</description>
      <category>oracle</category>
      <category>oracledatabase</category>
      <category>restore</category>
    </item>
    <item>
      <title>How to Restore and Clone an OCI DB System from an Automatic Backup</title>
      <dc:creator>Kumaran Murugan</dc:creator>
      <pubDate>Thu, 24 Sep 2026 07:31:57 +0000</pubDate>
      <link>https://dev.to/kumaranm05/how-to-restore-and-clone-an-oci-db-system-from-an-automatic-backup-4lpd</link>
      <guid>https://dev.to/kumaranm05/how-to-restore-and-clone-an-oci-db-system-from-an-automatic-backup-4lpd</guid>
      <description>&lt;p&gt;If you're running Oracle databases on OCI's Base Database Service, one of the most useful recovery skills to have is knowing how to spin up a completely new DB system from an existing automatic backup — whether you're recreating a test environment, recovering from an accidental termination, or just validating that your backups actually work.&lt;/p&gt;

&lt;p&gt;In this walkthrough, I'll take you through the full process: terminating an existing DB system, and rebuilding it from scratch using nothing but an automatic backup.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this matters
&lt;/h2&gt;

&lt;p&gt;OCI decouples compute and storage lifecycle from your actual data. That means even if a DB system is gone, your data isn't — as long as a backup exists, you can rebuild the entire compute/storage/networking stack around it. This is a pattern worth practicing &lt;em&gt;before&lt;/em&gt; you need it in a real incident.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step-by-step walkthrough
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Locate your source backup&lt;/strong&gt;&lt;br&gt;
Navigate to your DB system's Backups tab and review the available automatic incremental backups, each with its own start/end timestamp.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Start the restore&lt;/strong&gt;&lt;br&gt;
Select the backup you want and choose "Create database" from its action menu — this launches the Create Database from Backup wizard.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Choose what to restore&lt;/strong&gt;&lt;br&gt;
Decide whether to include all PDBs from the backup, or select specific ones.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Pick your target compartment&lt;/strong&gt;&lt;br&gt;
The new DB system doesn't have to go back into the same compartment — useful if you're rebuilding into a test/dev compartment instead of production.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Configure compute shape&lt;/strong&gt;&lt;br&gt;
Choose your shape series (AMD, Intel, or Ampere) and OCPU count.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Configure storage&lt;/strong&gt;&lt;br&gt;
Pick your storage management software (Oracle Grid Infrastructure or Logical Volume Manager) and performance tier.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;7. Add SSH access and licensing&lt;/strong&gt;&lt;br&gt;
Paste or upload your SSH key, and choose License Included or Bring Your Own License.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;8. Set up networking&lt;/strong&gt;&lt;br&gt;
Select your VCN, subnet, and hostname prefix.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;9. Set the database name and credentials&lt;/strong&gt;&lt;br&gt;
Name your database, then provide the SYS password — plus the &lt;em&gt;source&lt;/em&gt; database's TDE wallet/RMAN password, since that's required to unlock the backup.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;10. Submit and monitor&lt;/strong&gt;&lt;br&gt;
The whole operation runs as a single Work Request, so you can track provisioning, networking setup, and the actual database restore in one place, right through to "Available."&lt;/p&gt;

&lt;h2&gt;
  
  
  What I learned
&lt;/h2&gt;

&lt;p&gt;A few things stood out to me doing this hands-on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The TDE wallet/RMAN password is non-negotiable&lt;/strong&gt; — without the source database's original password, the backup can't be unlocked, so document it defensively.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Recovery area storage is read-only&lt;/strong&gt; and auto-derived from the backup — you don't configure it directly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You get real flexibility&lt;/strong&gt; on where the new system lands — different compartment, VCN, even subnet — which makes this a genuinely practical way to spin up isolated test/dev copies of production data without touching the original.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you're studying for the OCI Architect certifications or just want to build confidence in your OCI story, I'd recommend running through this exact exercise once in a sandbox — it's the kind of thing that's much better to have already practiced before you need it under pressure.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Kumaran Murugan is an Oracle Apps DBA and OCI Cloud Administrator with 5+ years of experience in Oracle E-Business Suite, Database migrations, and OCI infrastructure. Connect on &lt;a href="http://www.linkedin.com/in/kumaranmurugan" rel="noopener noreferrer"&gt;www.linkedin.com/in/kumaranmurugan&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>oci</category>
      <category>oracle</category>
      <category>appsdba</category>
      <category>cloudcomputing</category>
    </item>
  </channel>
</rss>
