<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Buddhika Hasitha on Medium]]></title>
        <description><![CDATA[Stories by Buddhika Hasitha on Medium]]></description>
        <link>https://medium.com/@buddhikadb1?source=rss-7d7bfcd6ee9b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*BgJKeTNwEcKFUCeSXsEg6A.jpeg</url>
            <title>Stories by Buddhika Hasitha on Medium</title>
            <link>https://medium.com/@buddhikadb1?source=rss-7d7bfcd6ee9b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 02:09:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@buddhikadb1/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[SLOUG Tech Connect 2026: A Milestone for the Oracle Community in Sri Lanka -Behind the scenes of…]]></title>
            <link>https://medium.com/@buddhikadb1/sloug-tech-connect-2026-a-milestone-for-the-oracle-community-in-sri-lanka-behind-the-scenes-of-eb4716581006?source=rss-7d7bfcd6ee9b------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb4716581006</guid>
            <category><![CDATA[ace-oracle]]></category>
            <category><![CDATA[oracle]]></category>
            <category><![CDATA[sloug]]></category>
            <category><![CDATA[oracle-user-group]]></category>
            <category><![CDATA[sloug-tech-connect]]></category>
            <dc:creator><![CDATA[Buddhika Hasitha]]></dc:creator>
            <pubDate>Sun, 22 Nov 2026 17:08:44 GMT</pubDate>
            <atom:updated>2026-11-22T17:08:44.332Z</atom:updated>
            <content:encoded><![CDATA[<h3>SLOUG Tech Connect 2026: A Milestone for the Oracle Community in Sri Lanka -<em>Behind the scenes of the event, from the organizing team’s side</em></h3><h3>SLOUG Tech Connect 2026: A Milestone for the Oracle Community in Sri Lanka</h3><p><em>Behind the scenes of the event, from the organizing team’s side</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*NEvS8kJpAMD_Rwfy" /></figure><p>On Thursday, 8 October 2026, the Sri Lanka Oracle User Group (SLOUG) hosted <strong>SLOUG Tech Connect 2026</strong> at Mandarina Colombo. It was a full day of technical sessions, conversations and networking for Oracle enthusiasts. With around 100 participants in the room, the event marked a real milestone for the Oracle community in Sri Lanka.</p><p>I was lucky to be part of the organizing committee, and this article is about the event and the team that made it happen.</p><h3>An Event Built Around Learning and Connection</h3><p>From the opening session to the final handshake, the day was about bringing people together: DBAs, developers, architects and students, all with a shared interest in Oracle technologies.</p><p>The technical sessions were valuable, but what stood out to me was the networking. Conversations continued in the breaks and between sessions, and I saw many people connect with others who work on the same problems they do. That is what a user group is for.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NXy57kOILw45C00v" /><figcaption><strong>Image 2: Group photo of all attendees</strong></figcaption></figure><h3>Our Chief Guest and Keynote Speaker</h3><p>We were honored to welcome <strong>Karkuvelraja Thangamariappan</strong>, an <strong>Oracle ACE Director</strong> from India, as our chief guest and keynote speaker. Having him in Sri Lanka was a privilege for our community.</p><p>His keynote was titled <strong>“What’s New in Oracle APEX 26.1 &amp; How the Oracle APEX Community Helped Shape Release 26.1.”</strong> It covered what’s coming in the release and showed how much a community can influence the products it uses. There was a lot to take in, and I’ll cover the highlights in a separate article.</p><h3>The Team Behind the Success</h3><p>An event like this succeeds because of the people who prepare it. Our organizing committee had ten members:</p><ol><li>Gayan Lokumanna</li><li>Asiri Ranatunga</li><li>Achitha Rathnayake</li><li>Dinindu Ranatunga</li><li>Vihen Theekshadha</li><li>Sri Monishan</li><li>Kulith Jayakody</li><li>Nalaka Ranasinghe</li><li>Widasun Wickramasinghe</li><li>Buddhika Rajapakse (myself)</li></ol><p>A special thank you to <strong>Gayan Lokumanna, Asiri Ranatunga and Achitha Rathnayake</strong>, who led the team with clear direction and a lot of dedication. Their leadership held everything together.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*4fe_icyCleKrf3Fq" /><figcaption><strong>Image 3: Photo of the organizing team</strong></figcaption></figure><h3>My Role</h3><p>It was a privilege to serve on the organizing committee, and a great opportunity to contribute not only as a SLOUG member but also as an <strong>Oracle ACE Associate</strong>. My responsibilities were:</p><ul><li><strong>Coordinating the event flow</strong>, multimedia arrangements and session transitions, to help the event run smoothly</li><li><strong>Supporting stage coordination</strong> and overall event operations</li><li><strong>Contributing to other event-related activities</strong> wherever needed</li></ul><p>On the day, I helped manage the flow and session transitions from around 8:00 AM to 2:00 PM. Keeping a full program on schedule is demanding, but it was rewarding to work behind the scenes and see everything come together.</p><h3>This Is Just the Beginning</h3><p>SLOUG Tech Connect 2026 is only the start. The turnout, the energy and the support from the community all show how much appetite there is for this kind of event in Sri Lanka, and we have more planned.</p><p>Thank you to everyone who attended, to our keynote speaker, and to the organizing team. I’m looking forward to what comes next.</p><p><strong>Stay connected:</strong></p><ul><li>🔗 <a href="https://lnkd.in/p/gzuyhJNQ">SLOUG Tech Connect 2026 (LinkedIn)</a></li><li>🌐 <a href="https://www.sloug.org/">Sri Lanka Oracle User Group</a></li></ul><p><em>#SLOUG #OracleACE #OracleAPEX #OracleCommunity #SriLanka #TechConnect2026</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb4716581006" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tape Rotation and Media Replacement on the Oracle StorageTek SL150 with Veritas NetBackup]]></title>
            <link>https://medium.com/@buddhikadb1/tape-rotation-and-media-replacement-on-the-oracle-storagetek-sl150-with-veritas-netbackup-e5465ca02b5f?source=rss-7d7bfcd6ee9b------2</link>
            <guid isPermaLink="false">https://medium.com/p/e5465ca02b5f</guid>
            <category><![CDATA[veritas]]></category>
            <category><![CDATA[tape-drive]]></category>
            <category><![CDATA[oracle]]></category>
            <category><![CDATA[oracle-storagetek-sl150]]></category>
            <category><![CDATA[backup-tape]]></category>
            <dc:creator><![CDATA[Buddhika Hasitha]]></dc:creator>
            <pubDate>Fri, 09 Oct 2026 11:43:31 GMT</pubDate>
            <atom:updated>2026-10-11T04:38:24.656Z</atom:updated>
            <content:encoded><![CDATA[<h3>Tape Rotation and Media Replacement on the Oracle StorageTek SL150 with Veritas NetBackup</h3><h4>A step-by-step operational guide: from the “no media available” failure (Status 96) to a healthy tape run</h4><p><em>Part 2 of a 2-part series on Oracle tape library operations</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q0dXw3k3WQ3qSe-1OHH4zw.png" /></figure><p>In Part 1 we looked at the Oracle StorageTek SL150 itself: its hardware, its main components and its web GUI. In this part we put it to work.</p><p>Tape cartridges fill up. When the last writable cartridge in the library is full, your backup jobs do not warn you politely. They fail. This article walks through the exact routine I use to replace full cartridges with new ones in an SL150 that is used with Veritas NetBackup, and how to confirm that tape duplication is healthy again afterwards.</p><p>The procedure is based on a real operational runbook for a disk-to-tape backup environment. Screenshots are real, but all hostnames, IP addresses, server names, policy names and media IDs have been hidden (grey boxes). Names, slot numbers and screen layouts in your own environment will be different, so always verify before you act.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MnzH6io_Tssd_njXwVQuuQ.png" /><figcaption>Figure 1: The whole process on one page. The rest of this article walks through each step.</figcaption></figure><h4>The setup: disk first, tape second</h4><p>In this environment Veritas NetBackup is the central backup platform:</p><ul><li>Database backups are written to disk storage on the NetBackup server first.</li><li>A NetBackup Storage Lifecycle Policy (SLP) then duplicates those backups from disk to tape through the SL150.</li><li>Full tapes are exported through the mailslot and stored according to the retention and off-site policy.</li></ul><p>This design has an important consequence. A tape shortage does not stop the disk backup, which still completes normally. It only breaks the second stage, the duplication to tape. That is why the failure is easy to miss until someone looks at the Activity Monitor.</p><h4>Key terms used in this article</h4><ul><li>SLP: NetBackup Storage Lifecycle Policy, used here to duplicate backup images from disk to tape.</li><li>Robot / TLD: the tape library object controlled by NetBackup. It appears as TLD(0) in the console.</li><li>Mailslot: the SL150 media access area used to exchange cartridges without opening a magazine. It has four positions, so we replace up to four tapes per cycle.</li><li>Scratch pool: a NetBackup volume pool holding writable media that is available for allocation.</li><li>Standalone residence: the logical location NetBackup assigns to a cartridge that has been removed from the robot.</li><li>Full and Full Multiple Retention Levels: NetBackup media states for cartridges that are full. The second one means the tape also holds data with more than one retention level.</li></ul><p>Scope note- This procedure changes the physical tape population and the NetBackup media configuration. It does not expire, erase, relabel or overwrite the removed full tapes. Retention and off-site storage rules must continue to be followed.</p><p>— -</p><h4>Step 1: Detect the problem (Status 96)</h4><p>The clearest sign is a failed SLP duplication job with NetBackup Status 96: “unable to allocate new media for backup, storage unit has none available”.</p><p>Open the Activity Monitor in the NetBackup Administration Console. You will see several duplication jobs ending in Done with Status 96, each lasting only a few seconds, while the normal backup jobs still show Status 0.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b1qZlSPtfhnRs8i3Gv8StQ.png" /><figcaption>Figure 2: Activity Monitor. Several Duplication jobs have failed with Status 96 while the Backup jobs succeed (Status 0). The job policy and client columns are masked.</figcaption></figure><p>Double-click one of the failed jobs. The Job Overview tab shows the status text directly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_zknhha89AUxsVf4odFwxg.png" /><figcaption>Figure 3: Job Overview of a failed duplication job: “(96) unable to allocate new media for backup, storage unit has none available”.</figcaption></figure><p>The Detailed Status tab confirms the root cause: the EMM (Enterprise Media Manager) reports that no media is available, and the duplication exits with Status 96.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cQn_DZCMf2935w8eSq1_Eg.png" /><figcaption>Figure 4: Detailed Status. “NetBackup status: 96, EMM status: No media is available”. Resource names are masked.</figcaption></figure><p>Note - Do not assume every Status 96 is solved only by loading tapes. Before replacing media, also confirm the expected robot, drive, storage unit, volume pool, media type and drive paths. The screenshots here show the specific case where the library had no writable tape media.</p><p>— -</p><h4>Step 2: Prerequisites and safety checks</h4><p>Before touching anything, make sure you have:</p><ul><li>NetBackup Administration Console access that allows you to view media, inventory the robot and change volume pools.</li><li>SL150 web interface access with permission to move cartridges.</li><li>Authorized physical access to the SL150 mailslot.</li><li>Four correctly barcoded new or reusable cartridges that are approved for this library and tape generation.</li><li>A tape movement log or change record for the removed and inserted media.</li></ul><p>And run through this checklist:</p><p>[ ] The initial database-to-disk backups are completing, and the failure is in the tape duplication stage.</p><p>[ ] SL150 health is Operational and the library is Online.</p><p>[ ] None of the cartridges you plan to remove is mounted in a drive or used by a running job.</p><p>[ ] You have recorded the barcode / media ID and NetBackup media status of every cartridge to be removed.</p><p>[ ] The replacement cartridges have readable barcode labels and are physically undamaged.</p><p>[ ] The mailslot is empty before you transfer the first full cartridge.</p><p>[ ] Operations staff know the library may briefly go Offline during each Move Tape action.</p><p>Handling precaution — Do not open the mailslot while the robot is moving. Wait until the SL150 activity completes and the library is Online again. Handle cartridges carefully, do not touch the tape leader, and apply the write-protect switch to removed tapes only when your site storage policy requires it.</p><p>— -</p><h4>Step 3: Identify the full tapes in NetBackup</h4><ol><li>Open the NetBackup Administration Console.</li></ol><p>2. Go to Media and Device Management → Media.</p><p>3. In the robot media list, find cartridges whose Media Status is Full or Full Multiple Retention Levels.</p><p>4. Select a batch of up to four, because the SL150 mailslot has four positions.</p><p>5. Record each media ID, barcode, current robot slot, volume pool, media status and retention before removal.</p><p>6. Confirm the cartridges are not mounted and not needed by an active restore or duplication job.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FgXZASNTaDVxf9CB45T36Q.png" /><figcaption>Figure 5: The Media view lists each cartridge with its robot slot, media status, volume pool and mount count. Media ID, barcode and robot control host columns are masked.</figcaption></figure><p>Practical tip- In our case we selected four tapes with Full Multiple Retention Levels. It is better practice to remove the Full cartridges first and only then the Full Multiple Retention Levels ones.</p><p>— -</p><h4>Step 4: Check the SL150 before you start</h4><p>Log in to the SL150 web interface and confirm three things:</p><ul><li>The header shows SL150 Health: Operational and the library is Online.</li><li>The Library view shows all four mailslot positions empty.</li><li>The drive is not in a fault state and the robot is idle (Library Idle).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i_sZZWyzZmq_bOUfHmr01Q.png" /><figcaption>Figure 6: Healthy starting point. The mailslot (top right) has four empty positions, the robot is empty, and the status bar shows Library Idle.</figcaption></figure><p>— -</p><h4>Step 5: Move each full tape to the mailslot (export)</h4><p>You can move cartridges from either the Library view or the Tapes view. The Tapes list gives the clearest, barcode-based selection and is recommended when several cartridges sit close together.</p><ol><li>Open Tapes and find the first recorded barcode.</li></ol><p>2. Select the cartridge, right-click and choose Move Tape.</p><p>3. Set Destination to Mailslot and pick Mailslot 1 for the first cartridge.</p><p>4. Keep “Set the Library back Online after applying this action” ticked.</p><p>5. Confirm. The library may go Offline briefly while the robot moves the cartridge.</p><p>6. Wait until the move completes and the library returns Online.</p><p>7. Repeat for the other cartridges, using Mailslot 2, 3 and 4.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9PTUWBuS-zg319JeU39Khg.png" /><figcaption>Figure 7: Move Tape. The source is the cartridge’s slot and the destination is Mailslot, position 1. The barcode is masked.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9fixwOCaQDv1-n9n_iAxYQ.png" /><figcaption>Figure 8: The SL150 warns that the library must go Offline to apply the action and will return Online when the checkbox is ticked.</figcaption></figure><p>While the move runs, you can see the robot at work. The cartridge leaves its magazine slot, appears in the Robot box, and is then placed in the mailslot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xhYUC1luyx4nAcIBHToVKw.png" /><figcaption>Figure 9: Library view during a move. The tape cartridge icon is now in the Robot box, on its way to Mailslot 1.</figcaption></figure><p>Remember: every movement goes slot → robot → mailslot. Do not issue the next physical action until the current move has completed.</p><p>— -</p><h4>Step 6: Physically swap the tapes</h4><p>Once all selected tape cartridges sit in Mailslot 1 to 4:</p><ol><li>Verify that all four mailslot positions show a cartridge in the GUI.</li></ol><p>2. Open the mailslot using your approved site procedure. You can also do it from the GUI: select the Mailslot, right-click → Open, then pull the mailslot out at the unit.</p><p>3. Remove the four full cartridges and compare every barcode with your removal list.</p><p>4. Apply the write-protect switch if your retention or off-site procedure requires it.</p><p>5. Place each removed cartridge in its protective case or transport container.</p><p>6. Insert the four new/free cartridges with the barcode labels oriented correctly.</p><p>7. Close the mailslot completely and wait for the library to recognize the media.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yqGCbINHrBmqHk07iYX00Q.png" /><figcaption>Figure 10: All four mailslot positions are occupied. The full tapes are now ready to be physically removed.</figcaption></figure><p>Barcode control is mandatory — The barcode is the identity used by both the SL150 and NetBackup. Never exchange, relabel or record a cartridge by slot number alone. Slot numbers can change; the barcode / media ID is the permanent reference.</p><p>— -</p><h4>Step 7: Move the new tapes from the mailslot into storage slots (import)</h4><p>Right after insertion, the new cartridges appear in the SL150 Tapes list with Media Health: Unknown and Location Type: Mailslot. They must be moved into magazine slots before NetBackup can use them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/514/1*l74Q-MHMLXGaHKJ5fvX9Pw.png" /><figcaption>Figure 11: The four new cartridges appear at the top of the Tapes list with health Unknown and location Mailslot 1 to 4. Barcode labels are hidden.</figcaption></figure><ol><li>Open the SL150 Tapes page and find the new entries.</li></ol><p>2. Select the first one, right-click and choose Move Tape.</p><p>3. For Destination, choose Slot and select an empty magazine slot. Use only slots the interface shows as available.</p><p>4. Confirm and wait for the robot to finish.</p><p>5. Repeat for each remaining cartridge.</p><p>6. Verify the mailslot is empty and every new barcode has a normal magazine slot location.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PgUJKbpo2khKaQzT4zimmg.png" /><figcaption>Figure 12: Library Busy. The status bar shows the Move Tape operation and the robot carries a new cartridge from Mailslot 1 to a magazine slot.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f72DSxExZrZf11YCJTJJMA.png" /><figcaption>Figure 13: After the import, no tape has its location set to Mailslot. The new cartridges now have normal slot locations.</figcaption></figure><p>— -</p><h4>Step 8: Run the robot inventory in NetBackup</h4><p>At this point the SL150 knows where every cartridge physically is, but NetBackup does not. We must synchronize its logical volume configuration with the robot. Always Preview first, review, and only then Update.</p><ol><li>In the NetBackup Administration Console, go to Media and Device Management → Devices → Robots, or use Media → Inventory Robot.</li></ol><p>2. Select the correct Device host and Robot (in here shown as TLD(0)).</p><p>3. Choose Preview volume configuration changes and click Start.</p><p>4. Review the proposed changes. Removed media should be moved logically to standalone residence, and the new media should be added to the correct robot slots.</p><p>5. If the preview is right, choose Update volume configuration and click Start.</p><p>6. Wait for “Volume configuration successfully updated”.</p><p>Note — Stop if the preview is unexpected. Do not run Update volume configuration if the proposed media IDs or slot mappings do not match the physical change. Re-check the SL150 Tapes page, the barcode labels and the robot selection first. The slot numbers above are examples only and must never be copied into another change.</p><p>— -</p><h4>Step 9: Verify the new media in NetBackup</h4><ol><li>Go back to Media and confirm:</li></ol><p>2. All newly inserted barcodes are listed under the correct robot and slots.</p><p>3. The removed full cartridges now show standalone residence or no robot slot.</p><p>4. The new media type is correct for your drive and robot.</p><p>5. You have not changed maximum mounts, expiration date, cleaning count or description. Those need a separate approved change.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kFyGz6SZlIXxpqNzsaonTw.png" /><figcaption>Figure 14: New media now have robot slot numbers. Initially they sit in the default NetBackup pool. Two additional rows are cleaning cartridges (no slot). ID and host columns are masked.</figcaption></figure><p>— -</p><h4>Step 10: Assign the new media to the Scratch pool</h4><p>NetBackup can automatically allocate media from the Scratch pool for new duplication jobs. In this environment, newly inventoried tapes first land in the default NetBackup pool, so we manually change their pool allocation.</p><ol><li>In Media, select only the newly inserted cartridges.</li></ol><p>2. Open Change Volumes (or the equivalent media properties action).</p><p>3. For Maximum mounts, Expiration date, Description and the other fields, keep Do not change selected.</p><p>4. Under Volume pool, select New pool and choose Scratch.</p><p>5. Apply the change and verify that the selected media now appear in the Scratch pool.</p><p>6. Never change the pool of unrelated existing cartridges.</p><p>— -</p><h4>Step 11: Check the library and the drive</h4><ol><li>In the SL150 GUI, confirm SL150 Health: Operational and Library is Online.</li></ol><p>2. Open Drives and confirm the drive reports a healthy state.</p><p>3. In NetBackup Device Monitor, confirm the tape drive is UP. If it is DOWN, first check for a hardware or cleaning alert, then bring it back UP using your local NetBackup procedure.</p><p>4. Confirm no cartridge is left unexpectedly in the mailslot or in the robot hand.</p><p>— -</p><h4>Step 12: Validate that the SLP jobs resume</h4><ol><li>Open the Activity Monitor again and watch the previously failed or queued jobs:</li></ol><p>2. New duplication jobs should move to Active and start writing data instead of staying at 0 KB.</p><p>3. Review the job details for media allocation, drive assignment and write progress.</p><p>4. Confirm successful completion, or let the configured retry process restart earlier failed SLP jobs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JZCugJq4_4LdqSS6TPwI2w.png" /><figcaption>Figure 15: After the replacement, new Duplication jobs are Active, which means tape allocation works again. Older failed jobs are still listed as Done with Status 96. Policy names are masked.</figcaption></figure><p>— -</p><h4>Success criteria</h4><p>The change is a success only when all four are true:</p><ul><li>The SL150 is Operational and Online.</li><li>The NetBackup tape drive is UP.</li><li>The new media is in the Scratch pool.</li><li>At least one SLP duplication job is actively writing or has completed successfully.</li></ul><p>— -</p><h4>Summary</h4><p>Replacing tapes in an SL150 used with NetBackup is a short routine, but every step matters:</p><p>Detect the Status 96 failure → Select up to four full cartridges → Export them to the mailslot → Exchange them for new cartridges → Import the new ones into magazine slots → Inventory the robot (preview, then update) → set the new media to the Scratch pool → Validate the drive and the SLP jobs.</p><p>Follow the order, trust the barcode, and always verify at the end that duplication jobs are really writing. That is the only proof that the rotation worked.</p><p>Together with Part 1, this gives you both the understanding of the SL150 hardware and a repeatable, safe procedure for keeping its tape supply healthy.</p><p>— -</p><h4>References</h4><p>Oracle, StorageTek SL150 Modular Tape Library datasheet (PDF)</p><p>Oracle, StorageTek SL150 FAQ (PDF)</p><p>Veritas NetBackup Administrator’s Guide (Media and Device Management, Storage Lifecycle Policies)</p><p>Product names and trademarks are the property of their respective owners. The procedure reflects one specific environment; media IDs, hostnames, slot numbers and screen layouts differ between sites and must be verified before execution. Follow your own change-management and retention policies.</p><p>#Oracle #StorageTek #TapeLibrary #NetBackup #Veritas #Backup #DBA #OracleACE</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e5465ca02b5f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting to Know the Oracle StorageTek SL150 Modular Tape Library]]></title>
            <link>https://medium.com/@buddhikadb1/getting-to-know-the-oracle-storagetek-sl150-modular-tape-library-b89a9f25c2d5?source=rss-7d7bfcd6ee9b------2</link>
            <guid isPermaLink="false">https://medium.com/p/b89a9f25c2d5</guid>
            <category><![CDATA[database-backup]]></category>
            <category><![CDATA[oracle-storage-tek]]></category>
            <category><![CDATA[hardware-oracle]]></category>
            <category><![CDATA[backup-tape]]></category>
            <category><![CDATA[oracle]]></category>
            <dc:creator><![CDATA[Buddhika Hasitha]]></dc:creator>
            <pubDate>Fri, 09 Oct 2026 08:33:32 GMT</pubDate>
            <atom:updated>2026-10-09T10:52:42.632Z</atom:updated>
            <content:encoded><![CDATA[<h3>Getting to Know the Oracle StorageTek SL150 Modular Tape Library</h3><h4>A practical introduction to the SL150, its main components, its web GUI, and where it sits in Oracle’s tape library family</h4><p><strong><em>Part 1 of a 2-part series on Oracle tape library operations</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*93EshunY5lgKrgOugJBANw.png" /></figure><p>If you work in database administration or backup operations, you already know that disk is not the end of the backup story. Disk-to-disk backups are fast, but many organizations still need a cheap, offline, air-gapped, long-retention copy. That copy usually lives on tape.</p><p>In this two-part series I want to share what I have learned running an Oracle StorageTek SL150 Modular Tape Library in a real disk-to-tape backup environment.</p><p>Part 1 (this article): What the SL150 is, how it is built, what its main components do, and how to find your way around its web interface. I also compare it with its bigger siblings, the SL4000 and SL8500.</p><p>Part 2: A step-by-step operational guide to rotating tape cartridges and replacing media in an SL150 used with Veritas NetBackup.</p><h4>Physical Hardware View of the Oracle StorageTek SL150</h4><p>Before logging in to the web GUI, it helps to know what the library looks like in the rack. The SL150 is a modular, rack-mounted unit: a 3U base module with 2U expansion modules stacked beneath it. The two diagrams below label the main parts from the front and from the rear, and the tables explain each one.</p><p><strong>Note</strong>- <em>The below two diagrams are schematic drawings created for this article, based on the layout described in Oracle’s StorageTek SL150 documentation (Library Overview, front and rear views) and the SL150 datasheet. Exact LED behaviour and connector layouts may differ by hardware revision; please check Oracle’s current documentation.</em></p><p><a href="https://docs.oracle.com/cd/E35103_01/en/E24606/html/intro.htm">The SL150 Modular Tape Library System</a></p><p><strong>Front view</strong></p><p>The front is where you work day to day: the touchscreen, the status LEDs, the cartridge magazines and the mailslot. The blue touchscreen is the local counterpart of the web GUI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/938/1*YwxlEtgZlEeedy5akH1gvQ.png" /><figcaption><em>Figure 1: SL150 front view (schematic) with labelled components</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gpTnjLL3caxuI24jm5geVw.png" /></figure><p><strong>Rear view</strong></p><p>The rear holds the parts you service or cable up: the tape drives, power, module connections and network ports</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/938/1*LQwFtGDq-EQnhCxKbD-NoA.png" /><figcaption><em>Figure 3: SL150 rear view (schematic) with labelled components.</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/982/1*QkcRc90HADHEGEYL72hTWw.png" /></figure><blockquote><strong><em>⚠ Important: the tape drives are at the rear, inside the drive trays</em></strong></blockquote><blockquote>The tape drives cannot be seen or reached from the front of the SL150. Each drive is installed in its own <strong>drive tray at the rear</strong> of the module, with a top drive bay and a bottom drive bay.</blockquote><blockquote>If a drive needs to be replaced, the work is done from the <strong>rear side</strong> of the library. You release the drive tray with its green thumbscrew, pull it out, and insert and secure the replacement. The drives are customer-replaceable and hot-swappable.</blockquote><blockquote>Before replacing a drive, make sure no cartridge is loaded in it and no backup or duplication job is using it. Then follow Oracle’s drive replacement procedure for your library.</blockquote><p><strong>How the physical view maps to the web GUI</strong></p><p>• Mailslot (front, top right) → the Mailslot box with positions 1 to 4 in the Library view.</p><p>• Left and right magazines (front) → the Left Magazine and Right Magazine grids of 15 slots each.</p><p>• Robot (inside) → the Robot box at the top left of the Library view.</p><p>• Tape drives (rear trays) → the Drives section between the magazines, and the Drives page.</p><p>• Module 1, Module 2 … (labels) → the Module headings in the GUI and the slot addresses in the Tapes list.</p><h4>Why tape is still relevant</h4><p>Tape has a bad reputation for being “old technology”, but the numbers keep it in the conversation:</p><ul><li>Cost per terabyte is very low compared with disk or cloud storage.</li><li>Offline copies (a cartridge sitting on a shelf) are naturally protected from ransomware and accidental deletion.</li><li>Long retention for regulatory and compliance requirements is simple and predictable.</li><li>Capacity per cartridge keeps growing. An LTO-9 cartridge holds 18 TB native.</li></ul><p>In many enterprise environments, including regulated industries, the common pattern is:</p><p>database backup → disk → tape duplication → off-site storage.</p><p>A tape library automates the middle of that chain, so a human does not have to load and unload individual drives by hand.</p><h4>What is a tape library?</h4><p>A tape library is a robotic cabinet. It contains:</p><ul><li>Cartridge slots that store the tapes.</li><li>One or more tape drives that read and write the data.</li><li>A robot (picker) that moves cartridges between slots and drives.</li><li>A mailslot (also called a CAP, cartridge access port) that lets an operator add or remove cartridges without opening the library.</li><li>A management interface to control all of the above.</li></ul><p>Backup software such as Veritas NetBackup talks to the library (usually through a robot control path), tells it which cartridge to mount, and writes the backup data to the drive.</p><h4>Meet the Oracle StorageTek SL150</h4><p>The StorageTek SL150 is Oracle’s modular tape library for small and midsize, growing environments. Oracle describes it as a scalable library that you can start small and expand over time, without replacing what you already have.</p><p>Key facts (from the Oracle datasheet):</p><ul><li>Capacity: scales from 30 to 450 cartridge slots.</li><li>Drives: 1 to 30 half-height LTO drives.</li><li>Drive generations: LTO-5 through LTO-9, with Fibre Channel or SAS interfaces.</li><li>Uncompressed capacity: up to 8.1 PB with LTO-9 cartridges (450 slots).</li><li>Throughput: up to 32.4 TB per hour (native) with 30 drives.</li><li>Modular design: a 3U base module (30 slots) plus up to 14 expansion modules of 2U, each adding 30 slots.</li><li>Partitioning: up to 8 partitions, so one physical library can serve several applications.</li><li>Management: a touchscreen operator panel and a browser-based GUI over Ethernet. It is also supported by Oracle’s ACSLS library software.</li><li>Security: library-managed encryption through Oracle Key Manager.</li><li>Serviceability: customer-replaceable units, hot-swappable drives, and redundant, hot-swappable power supplies and fans.</li><li>Auto cleaning: configurable, with no host action required.</li></ul><p>The “modular” part matters. You buy the base module, then bolt on 30-slot expansion modules as your data grows. Expansion modules do not even need drives if you only need more capacity.</p><h4>The main components of the SL150</h4><p><strong>Everything below is shown in the SL150’s own web GUI</strong>, so you can map each piece of hardware to what you will see on screen. Here is the Library view of a real SL150 with every part labelled.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zU7VYyeDGW8xjUB267-fZg.png" /><figcaption>Figure 3: The SL150 web GUI (Library view).</figcaption></figure><p>Numbers 1 to 9 are explained below.</p><p>1. SL150 Health indicator</p><p>The health indicator sits at the top centre of the screen. It shows Operational with a green tick when the library is healthy. Read it before you touch anything: if it is not Operational, find out why before you move a single cartridge.</p><p>2. Library status / activity bar</p><p>Directly under the health indicator, this bar shows whether the library is Idle or Busy, who is logged in (for example admin), and the action in progress. During a cartridge move it shows the move description, a timer and the result (for example COMPLETED). The Host and Mount fields below it show host-side and mount activity.</p><p>3. Navigation menu</p><p>The left-hand menu switches between the views of the GUI: Library, Drives, Tapes, and the administration pages (Configuration, Firmware, SNMP, Email Alerts, Users) and Service. Each page is described in the tour further down.</p><p>4. Robot (picker)</p><p>The robot is the moving part of the library. When the backup software asks for a cartridge, the robot travels inside the library, picks the cartridge out of its slot, and delivers it to a drive. It does the reverse when the job is finished.</p><p>In the GUI, the robot appears in its own box at the top left. While a move is in progress, you can actually see the cartridge icon sitting in the robot position. One important operational point: every cartridge movement goes through the robot (slot → robot → destination). It is never a direct slot-to-slot jump.</p><p>5. Mailslot</p><p>The mailslot is the “front door” of the library. It lets you import new cartridges and export full ones without opening the magazines and without stopping the library for a long time. The base SL150 module has a four-position mailslot (an expanded 19-position mailslot is an option). In the GUI the positions are numbered 1 to 4.</p><p>The mailslot size also defines your working batch size. With a four-position mailslot, you naturally exchange up to four cartridges per cycle.</p><p>6. Left Magazine</p><p>The SL150 stores cartridges in removable magazines. Each base module has a Left Magazine and a Right Magazine, and each magazine holds 15 cartridge slots (5 columns by 3 rows).</p><p>Every slot has a position address, for example Module 1, Left, column, row.</p><p>A dark slot in the GUI means the slot is empty. A slot with a cartridge icon is occupied.</p><p>One slot can be reserved for a cleaning cartridge. In the Tapes list this shows as Slot (Reserved).</p><p>7. Drives (tape drive bay)</p><p>The drive is where data is actually written. In the SL150 GUI it sits in the Drives section between the two magazines. A base module can hold up to two half-height LTO drives, and you can mix generations and interface types (FC and SAS) in the same library.</p><p>A tape drive is also the component that most often needs attention when something goes wrong: a drive that is down, needs cleaning, or has a cartridge stuck in it. In Part 2 we will see exactly how to check this.</p><p>8. Right Magazine</p><p>The Right Magazine is the mirror image of the left one: another 15 slots, numbered from the opposite side (columns 5 to 1) because it is viewed from the front. Left plus right gives the 30 slots of a base module.</p><p>9. Module 1 (expand / collapse)</p><p>The Library view groups the hardware by module. Module 1 is the base module, and the small arrow beside its name expands or collapses that section. When expansion modules are added to the library, their own module sections follow the same layout.</p><h4>A quick tour of the SL150 web interface</h4><p>The SL150 comes with a browser-based GUI, so you only need a web browser and network access to the library’s management port. No client software is required.</p><p>The left-hand menu (callout 3) is simple and the sections are:</p><p>Library: the graphical view you saw above. It is the best view for seeing where everything is at a glance.</p><p>Drives: a table of drives with health, state, interface, firmware and mount count. The number in brackets, for example Drives (1), is the drive count.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*9pBwswfdPD6h4dwk4hV9bw.png" /><figcaption>Figure 4: The Drives view shows the drive’s health, state, type and interface.</figcaption></figure><p>Tapes: a table of every cartridge with its label, health, media type, and current location. The number in brackets, for example Tapes (25), is the cartridge count.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/514/1*l74Q-MHMLXGaHKJ5fvX9Pw.png" /><figcaption>Figure 5: The Tapes view lists every cartridge with its health, media type, location type and current location. Barcode labels are hidden in this screenshot.</figcaption></figure><p>Configuration, Firmware, SNMP, Email Alerts, Users: administration tasks such as network settings, firmware updates, SNMP monitoring, alert e-mail, and user accounts.</p><p>Service: diagnostics and service operations.</p><p><strong>Two GUI tips that save time:</strong></p><p><strong><em>Library view or Tapes view, your choice</em></strong> — You can move cartridges from either one. Right-click a cartridge and choose Move. The Tapes view is better when you need to pick cartridges by barcode, and the Library view is better when you want to see where things physically are.</p><p><strong><em>Moves briefly take the library offline</em></strong> — The GUI warns you before it applies a move and offers a checkbox to set the library back online afterwards. Keep it ticked unless you have a reason not to.</p><h3>The SL150’s bigger siblings</h3><p>The SL150 is one member of Oracle’s StorageTek family. If you outgrow it, or if you are comparing options, here is where the other libraries fit.</p><h4>StorageTek SL4000: mid-range to enterprise</h4><ul><li>A highly scalable modular tape library with optional redundant, hot-swappable robotics, power supplies, and tape drives.</li><li>Uses centerline robotics to reduce robotic travel distances and improve cartridge access times.</li><li>Scales from a few hundred cartridge slots to a maximum of 9,017 physical cartridge slots, providing up to 162 PB of uncompressed storage capacity using LTO-9 media.</li><li>Supports compatible LTO and Oracle StorageTek T10000 tape drives.</li><li>Provides web-based library management and integration with Oracle StorageTek Tape Analytics (STA) for monitoring and diagnostics.</li></ul><h4>StorageTek SL8500: enterprise-class, massive scale</h4><ul><li>An enterprise-class modular tape library designed for large-scale data protection and archival environments.</li><li>Uses four independent robotic mechanisms (HandBots) in the standard configuration, with optional redundant robotics providing up to eight robots per library.</li><li>A single library supports 1,448 to 10,088 cartridge slots, depending on its configuration.</li><li>Up to 10 SL8500 libraries can be interconnected through Pass-Thru Ports (PTPs), forming a library complex with a nominal maximum of 100,880 cartridge slots.</li><li>Oracle separately advertises up to 57.6 EB of uncompressed storage across a centrally managed multi-library environment. This is not the capacity of one SL8500 library or one 10-library complex.</li><li>Supports enterprise management through Oracle ACSLS and monitoring through StorageTek Tape Analytics.</li></ul><h4>How to choose</h4><ul><li>SL150: you are a small or midsize environment, you want to start with a few cartridges, and you want a rack-mounted unit that grows slot by slot.</li><li>SL4000: you need enterprise reliability and non-disruptive scaling, and you are managing hundreds to thousands of cartridges.</li><li>SL8500: you are running a very large archive or enterprise data center with extreme scale.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/311/0*ZoPd4qePlP74f8th" /><figcaption>Figure 6: StorageTek SL4000 and SL8500. Source: Oracle, StorageTek tape libraries. © Oracle.</figcaption></figure><p>Image Source: Oracle, StorageTek tape libraries. © Oracle.</p><h4>Where the SL150 fits in a backup design</h4><p>In my referenced environment, the SL150 is used as the last step of a disk-to-tape backup chain:</p><ul><li>Database servers back up to disk storage managed by Veritas NetBackup.</li><li>A NetBackup Storage Lifecycle Policy (SLP) then duplicates those backups from disk to tape.</li><li>The SL150 robot loads the tape, the drive writes the data, and full tapes are exported through the mailslot for off-site storage.</li><li>That last step is the one that needs regular human attention. Tapes fill up, new media has to be loaded, and the backup software has to be told about it. If it is not done on time, the tape duplication stage fails, even though the primary disk backup was fine.</li></ul><h4>Summary</h4><p>The SL150 is a modular, rack-mounted LTO tape library for small and midsize environments: 30 to 450 slots, 1 to 30 drives, up to 8.1 PB uncompressed.</p><p>Its main parts are the robot, the magazines with their slots, the drive(s), and the mailslot, all of which you can see in the web GUI.</p><p>The web GUI gives you a Library view, a Drives view and a Tapes view, with health and activity always visible at the top.</p><p>If you need more scale, SL4000 and SL8500 are the next steps up in the StorageTek family.</p><p>In Part 2, I will walk through the complete operational procedure of replacing full tapes and loading new media in an SL150 used with Veritas NetBackup. That covers exporting through the mailslot, importing new cartridges, running a robot inventory, assigning the Scratch pool, and validating that the duplication jobs resume.</p><p>— -</p><p>References</p><p>Oracle, StorageTek tape libraries</p><p>Oracle, StorageTek SL150 Modular Tape Library datasheet (PDF)</p><p>Oracle, StorageTek SL150 FAQ (PDF)</p><p>Oracle, StorageTek SL4000 datasheet (PDF)</p><p>Oracle, SL8500 Library Guide — Library Overview</p><p>Product names and trademarks are the property of their respective owners. Specifications are taken from Oracle’s published documents at the time of writing, so please check Oracle’s current documentation before making purchasing decisions.</p><p>#Oracle #StorageTek #TapeLibrary #Backup #NetBackup #DBA #OracleACE</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b89a9f25c2d5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Installing Oracle Database Client 19c and Applying RU 19.27 on Windows Server]]></title>
            <link>https://medium.com/@buddhikadb1/installing-oracle-database-client-19c-and-applying-ru-19-27-on-windows-server-f2881e2728c9?source=rss-7d7bfcd6ee9b------2</link>
            <guid isPermaLink="false">https://medium.com/p/f2881e2728c9</guid>
            <category><![CDATA[oracle-on-windows]]></category>
            <category><![CDATA[oracle-19c]]></category>
            <category><![CDATA[database-patch]]></category>
            <category><![CDATA[oracle-database-client]]></category>
            <category><![CDATA[oracle-database]]></category>
            <dc:creator><![CDATA[Buddhika Hasitha]]></dc:creator>
            <pubDate>Sun, 02 Aug 2026 09:24:33 GMT</pubDate>
            <atom:updated>2026-08-02T09:24:33.218Z</atom:updated>
            <content:encoded><![CDATA[<h3>A practical guide to installing the 19.3 base client, configuring Oracle Net, testing connectivity, and patching the Oracle Home</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kVEb6jtlATYaDIRvPWdi-A.png" /></figure><p>In the first article of this series, we explored Oracle Database Client 19c, the differences between Full Client and Instant Client, and how Oracle Client differs from Oracle SQL Developer.</p><p>In this second article, we move from theory to implementation.</p><p>We will install <strong>Oracle Database Client 19c base release 19.3</strong> on a Windows Server, configure a connection to a remote Oracle Database, test the connection using tnsping and SQL*Plus, and then patch the client Oracle Home to <strong>Release Update 19.27</strong>.</p><p>This article covers only the traditional Oracle Database Client installation performed using Oracle Universal Installer.</p><p>Oracle also provides image-based or “gold image” Oracle Database Client software that can be extracted directly into the intended Oracle Home. However, that installation method is not covered here. Starting with Oracle Database 19c, Oracle makes both traditional installation media and image-based Client media available.</p><h3>Important Certification Check Before Installation</h3><p>Before installing any Oracle product, always verify that the following combination is certified:</p><ul><li>Oracle product and release</li><li>Release Update level</li><li>Operating-system version</li><li>Operating-system edition</li><li>Processor architecture</li><li>Application architecture</li><li>Required drivers or application dependencies</li></ul><p>This is a good practice for <strong>every Oracle installation</strong>, not only this particular scenario.</p><p>Do not assume that software is certified merely because the installer starts or allows you to bypass a prerequisite warning.</p><p>For Oracle Database 19c on Windows:</p><ul><li>The original 19.3 base release supports older Windows Server versions.</li><li>Windows Server 2022 requires Oracle Database 19c RU 19.13 or later.</li><li>Windows Server 2025 requires Oracle Database 19c RU 19.27 or later.</li></ul><p>Oracle’s Windows platform requirements state that Windows Server 2025 support starts with Oracle Database 19c Release Update 19.27.</p><h3>What we did in this implementation</h3><p>In this practical scenario:</p><ol><li>We started the Oracle Database Client 19.3 installer on Windows Server 2025.</li><li>The installer displayed an operating-system certification warning because the original 19.3 installer did not recognize the newer operating system.</li><li>We acknowledged the warning and continued the base software installation.</li><li>After installing the Client Oracle Home, we applied Oracle Database RU 19.27.</li><li>We verified the patched Oracle Home and retested database connectivity.</li></ol><blockquote><em>Bypassing the installer warning does not make the base 19.3 software certified on Windows Server 2025. The Oracle Home must be patched to RU 19.27 or later to meet the documented platform requirement.</em></blockquote><p>For a new production implementation, always review the current Oracle documentation and My Oracle Support certification information before beginning.</p><h3>Implementation Overview</h3><p>The final installation flow is:</p><pre>Verify operating-system certification<br>              |<br>              v<br>Download Oracle Database Client 19.3<br>              |<br>              v<br>Extract the installation media<br>              |<br>              v<br>Run setup.exe as Administrator<br>              |<br>              v<br>Acknowledge the operating-system warning<br>              |<br>              v<br>Install the Administrator Client<br>              |<br>              v<br>Configure tnsnames.ora<br>              |<br>              v<br>Test with tnsping and SQL*Plus<br>              |<br>              v<br>Update OPatch<br>              |<br>              v<br>Apply Oracle Database RU 19.27<br>              |<br>              v<br>Verify the patched Oracle Home</pre><h3>Environment Used in This Implementation</h3><p>The practical environment used for this installation was similar to the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y7C2b1TZW5Sxrlht_8oq_A.png" /><figcaption>Envirnment used in this guide</figcaption></figure><p>The host names, IP addresses, ports, service names, and directory paths in your own environment may be different.</p><h3>Prerequisites</h3><p>Before starting the installation, confirm the following:</p><ul><li>You have local Administrator access.</li><li>The operating system is 64-bit.</li><li>The Oracle Database Client media matches the operating-system architecture.</li><li>Sufficient free disk space is available.</li><li>The intended Oracle Base and Oracle Home paths are confirmed.</li><li>The database server host name or IP address is available.</li><li>The database listener port is known.</li><li>The database service name or SID is known.</li><li>Network and firewall access to the database listener port is available.</li><li>The correct RU and latest supported OPatch package have been downloaded.</li><li>A maintenance window has been approved if the machine already runs applications using Oracle Client libraries.</li></ul><p>Check the operating system from Command Prompt:</p><pre>systeminfo</pre><p>Confirm that the system type shows an x64-based operating system.</p><h4>Step 1: Download Oracle Database Client 19c</h4><p>Download Oracle Database Client 19c for Microsoft Windows x64 from Oracle Software Delivery Cloud or the appropriate Oracle software download source.</p><p>The base software package is commonly identified as:</p><pre>Oracle Database Client 19c<br>Version 19.3.0.0.0<br>Microsoft Windows x64</pre><p>An example traditional installation package name is:</p><pre>WINDOWS.X64_193000_client.zip</pre><p>Make sure you download the <strong>Client</strong> software and not the complete Oracle Database server software.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GEvKypPE2bylRBEJ2leJDA.png" /><figcaption><strong>Oracle Software Delivery Cloud search page</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DVDi0wcC6oRtxuG-e6YA0w.png" /><figcaption><strong>Oracle Database Client 19c download selection</strong></figcaption></figure><h4>Step 2: Extract the Installation Media</h4><p>Create a staging directory:</p><pre>mkdir C:\oracle_client</pre><p>Copy the downloaded ZIP file into:</p><pre>C:\oracle_client</pre><p>Extract the ZIP file.</p><p>The extracted structure should contain a client installation directory and setup.exe.</p><p>For example:</p><pre>C:\oracle_client\client\setup.exe</pre><h4>Step 3: Start the Installer as Administrator</h4><p>Open Command Prompt using <strong>Run as administrator</strong>.</p><p>Move to the extracted client directory:</p><pre>cd /d C:\oracle_client\client</pre><p>Start Oracle Universal Installer:</p><pre>setup.exe</pre><p>You can also right-click setup.exe and select:</p><pre>Run as administrator</pre><p>Oracle’s Windows Client installation procedure requires starting setup.exe with administrative privileges and responding to the installation wizard.</p><p>Wait for Oracle Universal Installer to initialize.</p><h4>Step 4: Select the Installation Type</h4><p>On the <strong>Select Installation Type</strong> screen, select:</p><pre>Administrator</pre><p>The Administrator installation is suitable for a DBA workstation, administration server, or application server that requires a broad set of Oracle Client tools and connectivity components.</p><p>It typically provides components such as:</p><ul><li>SQL*Plus</li><li>Oracle Net</li><li>OCI libraries</li><li>ODBC components</li><li>SQL*Loader</li><li>Data Pump client utilities</li><li>Administration and development components</li></ul><p>Click <strong>Next</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/998/1*2tkDB-hvcaPWJnbRyuF2bw.png" /><figcaption><strong>Select Installation Type: Administrator</strong></figcaption></figure><h4>Step 5: Handle the Operating-System Certification Warning</h4><p>Because the original Oracle Database Client 19.3 media was created before Windows Server 2025 existed, its prerequisite validation may not recognize the operating system.</p><p>The installer may display a warning stating that the operating system does not meet the minimum requirements or is not certified.</p><p>In this implementation, we selected:</p><pre>Yes</pre><p>to acknowledge the warning and continue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/998/1*4t7lSIgq38Y31_IpfMxG0Q.png" /><figcaption><strong>Operating-system certification warning</strong></figcaption></figure><p>This decision was made because the installation plan included patching the Oracle Home to RU 19.27 immediately after the base installation.</p><blockquote><em>Do not simply ignore a certification warning without understanding its cause. Confirm the required RU level first and include patching as part of the same implementation plan.</em></blockquote><h4>Step 6: Select the Oracle Home User</h4><p>Depending on the installer screen and selected components, Oracle Universal Installer may request an Oracle Home User.</p><p>For a client-only installation, select the option appropriate for your organization.</p><p>A common choice is:</p><pre>Use Windows Built-in Account</pre><p>Review your organization’s security policy before making the selection.</p><p>Click <strong>Next</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/998/1*o28E5nIhNDNWS4Mg8t8xZw.png" /><figcaption><strong>Oracle Home User selection</strong></figcaption></figure><h4>Step 7: Configure Oracle Base and Oracle Home</h4><p>For this implementation, the following paths were used:</p><pre>Oracle Base:<br>C:\app\client</pre><pre>Software Location / Oracle Home:<br>C:\app\client\product\19.0.0\client_1</pre><p>Create the Oracle Base directory in advance:</p><pre>mkdir C:\app\client</pre><p>Oracle Universal Installer can create an Oracle Base directory when no other Oracle software exists, but creating and validating the intended directory beforehand helps avoid path and permission errors.</p><p>Make sure:</p><ul><li>The directory is on a suitable local disk.</li><li>The path does not contain unnecessary spaces.</li><li>The Administrator account can write to it.</li><li>The Oracle Home is dedicated to this Client installation.</li><li>No other Oracle product is already using the same Oracle Home.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/998/1*AYEFp1hPe4m5s210-8xiBg.png" /><figcaption><strong>Specify Installation Location</strong></figcaption></figure><h4>Step 8: Review and Install</h4><p>Review the installation summary.</p><p>Confirm:</p><ul><li>Installation type</li><li>Oracle Base</li><li>Oracle Home</li><li>Selected components</li><li>Disk-space requirements</li><li>Architecture</li></ul><p>Click <strong>Install</strong>.</p><p>Oracle Universal Installer copies and configures the Client software.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/998/1*4gDLEoUK6xVgNgUNDIcn7Q.png" /><figcaption><strong>Installation Summary screen</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/998/1*SSuVYPL0llNW5TASWstHVg.png" /><figcaption><strong>Oracle Client installation progress</strong></figcaption></figure><p>Wait until the installer reports that the installation completed successfully.</p><p>Click <strong>Close</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/998/1*mBVx4bmBs0UarMmZqNEA6A.png" /><figcaption><strong>Oracle Client installation completed successfully</strong></figcaption></figure><h4>Step 9: Confirm the Installed Client</h4><p>Open a new Command Prompt.</p><p>Set the Oracle environment temporarily:</p><pre>set ORACLE_HOME=C:\app\client\product\19.0.0\client_1<br>set PATH=%ORACLE_HOME%\bin;%PATH%</pre><p>Check which SQL*Plus executable is being used:</p><pre>where sqlplus</pre><p>Expected result:</p><pre>C:\app\client\product\19.0.0\client_1\bin\sqlplus.exe</pre><p>Check the installed version:</p><pre>sqlplus -v</pre><p>Before applying the RU, the output may show:</p><pre>SQL*Plus: Release 19.0.0.0.0 - Production<br>Version 19.3.0.0.0</pre><h4>Step 10: Configure tnsnames.ora</h4><p>Navigate to:</p><pre>C:\app\client\product\19.0.0\client_1\network\admin</pre><p>The sample configuration files may be located under:</p><pre>C:\app\client\product\19.0.0\client_1\network\admin\sample</pre><p>Copy the sample tnsnames.ora file into the main network\admin directory, or create a new text file named:</p><pre>tnsnames.ora</pre><p>Make sure Windows does not save it as:</p><pre>tnsnames.ora.txt</pre><p>For this implementation, the following alias was configured:</p><pre>DWH =<br>  (DESCRIPTION =<br>    (ADDRESS_LIST =<br>      (ADDRESS =<br>        (PROTOCOL = TCP)<br>        (HOST = 192.168.1.72)<br>        (PORT = 1591)<br>      )<br>    )<br>    (CONNECT_DATA =<br>      (SID = dwh)<br>      (SERVER = DEDICATED)<br>    )<br>  )</pre><p>Replace the example values with the values for your database environment.</p><p>When possible, use SERVICE_NAME for modern service-based connection management:</p><pre>DWH =<br>  (DESCRIPTION =<br>    (ADDRESS =<br>      (PROTOCOL = TCP)<br>      (HOST = database-server.example.com)<br>      (PORT = 1591)<br>    )<br>    (CONNECT_DATA =<br>      (SERVER = DEDICATED)<br>      (SERVICE_NAME = DWH)<br>    )<br>  )</pre><p>Use SID only when the target environment specifically requires a SID-based connection.</p><h4>Step 11: Test TNS Name Resolution</h4><p>Run:</p><pre>tnsping DWH</pre><p>The command should show:</p><ul><li>The parameter files being used</li><li>The TNSNAMES adapter</li><li>The resolved host</li><li>The listener port</li><li>The connection descriptor</li></ul><p>In the initial test, the alias resolved successfully, but the connection ended with:</p><pre>TNS-12535: TNS:operation timed out</pre><p>Example:</p><pre>C:\Users\buddhika&gt;tnsping DWH<br>TNS Ping Utility for 64-bit Windows: Version 19.0.0.0.0<br><br>Used parameter files:<br>C:\app\client\product\19.0.0\client_1\network\admin\sqlnet.ora<br><br>Used TNSNAMES adapter to resolve the alias<br>Attempting to contact ... (HOST = 192.168.1.72)(PORT = 1591) ...<br>TNS-12535: TNS:operation timed out</pre><p>This output provided two useful findings:</p><ol><li>The DWH alias was successfully read from tnsnames.ora.</li><li>The client could not complete network communication with the listener address.</li></ol><h4>Step 12: Troubleshoot TNS-12535</h4><p>TNS-12535 commonly indicates a network timeout.</p><p>Possible causes include:</p><ul><li>Windows Firewall blocking the outbound connection</li><li>A firewall between the client and database server</li><li>The listener port not being permitted</li><li>An incorrect database host name or IP address</li><li>An incorrect listener port</li><li>The Oracle listener not running</li><li>Routing or VLAN restrictions</li><li>A security group or access control rule blocking traffic</li></ul><p>Test the destination port using PowerShell:</p><pre>Test-NetConnection 192.168.1.72 -Port 1591</pre><p><strong>Then, the required firewall connectivity to the database listener port was opened.</strong></p><p>After the network rule was corrected, tnsping was executed again:</p><pre>tnsping DWH</pre><p>The result was successful:</p><pre>C:\Users\buddhika&gt;tnsping DWH<br><br>Used TNSNAMES adapter to resolve the alias<br>Attempting to contact ... (HOST = 192.168.1.72)(PORT = 1591) ...<br>OK (30 msec)</pre><h4>Step 13: Test the Database Login</h4><p>After tnsping succeeds, test an actual database login.</p><p>Start SQL*Plus without placing the password in the operating-system command:</p><pre>sqlplus /nolog</pre><p>At the SQL prompt:</p><pre>CONNECT username@DWH</pre><p>Enter the password when prompted.</p><p>Avoid commands such as:</p><pre>sqlplus username/password@DWH</pre><p>because the password may be exposed in command history, scripts, logs, or process information.</p><h3>Applying Oracle Database RU 19.27</h3><p>At this point, the Oracle Client is installed and can connect to the remote database.</p><p>However, because this implementation uses Windows Server 2025, the Oracle Home must be patched to RU 19.27 or later.</p><p>The normal approach for an already-installed Client Oracle Home is:</p><pre>Install Oracle Client 19.3<br>          +<br>Apply RU 19.27 using OPatch<br>          =<br>Patched Oracle Client home</pre><h4>Step 1: Download RU 19.27 and OPatch</h4><p>Log in to My Oracle Support.</p><p>Download:</p><ol><li>Oracle Database Release Update 19.27 for Microsoft Windows x64</li><li>The latest supported OPatch for Oracle Database 19c on Microsoft Windows x64</li></ol><p>OPatch is distributed through:</p><pre>Patch 6880880</pre><p>For both downloads, verify:</p><ul><li>Oracle release: 19c</li><li>Platform: Microsoft Windows x64</li><li>Patch type</li><li>Patch architecture</li><li>Minimum OPatch requirement</li><li>Oracle Home applicability</li></ul><p>Always read the RU’s included README before applying the patch. The README contains the authoritative prerequisite, conflict-check, application, rollback, and known-issue instructions for that patch package.</p><h4>Step 2: Set the Oracle Environment</h4><p>Open Command Prompt as Administrator.</p><p>Set the Client Oracle Home:</p><pre>set ORACLE_HOME=C:\app\client\product\19.0.0\client_1</pre><p>Add the Client and OPatch directories to PATH:</p><pre>set PATH=%ORACLE_HOME%\bin;%ORACLE_HOME%\OPatch;%PATH%</pre><p>Confirm the selected Oracle Home:</p><pre>echo %ORACLE_HOME%</pre><p>Confirm SQL*Plus:</p><pre>where sqlplus</pre><p>Confirm OPatch:</p><pre>where opatch</pre><h4>Step 3: Record the Current Inventory</h4><p>Before making changes, save the current Oracle inventory:</p><pre>%ORACLE_HOME%\OPatch\opatch.bat lsinventory</pre><p>Save the output to a file:</p><pre>%ORACLE_HOME%\OPatch\opatch.bat lsinventory &gt; C:\oracle_client\before_19_27_inventory.txt</pre><p>Check the current OPatch version:</p><pre>%ORACLE_HOME%\OPatch\opatch.bat version</pre><p>Also record the SQL*Plus version:</p><pre>sqlplus -v</pre><h4>Step 4: Back Up the Oracle Home</h4><p>Before applying a patch, take a reliable backup of the Client Oracle Home.</p><p>Stop or close all applications that may be using Oracle Client libraries.</p><p>Create a backup of:</p><pre>C:\app\client\product\19.0.0\client_1</pre><h4>Step 5: Update OPatch</h4><p>Rename the existing OPatch directory:</p><pre>cd /d %ORACLE_HOME%<br>ren OPatch OPatch_backup</pre><p>Extract the newly downloaded OPatch ZIP directly into:</p><pre>C:\app\client\product\19.0.0\client_1</pre><p>After extraction, the following file should exist:</p><pre>C:\app\client\product\19.0.0\client_1\OPatch\opatch.bat</pre><p>Do not create an extra nested directory such as:</p><pre>C:\app\client\product\19.0.0\client_1\OPatch\OPatch\opatch.bat</pre><p>Verify the updated version:</p><pre>%ORACLE_HOME%\OPatch\opatch.bat version</pre><p>Confirm that it meets the minimum OPatch version specified in the RU 19.27 README.</p><h4>Step 6: Extract RU 19.27</h4><p>Create a patch staging directory:</p><pre>mkdir C:\oracle_client\patches<br>mkdir C:\oracle_client\patches\19.27</pre><p>Extract the RU ZIP into:</p><pre>C:\oracle_client\patches\19.27</pre><p>The extracted package will contain a numeric patch directory:</p><pre>C:\oracle_client\patches\19.27\&lt;PATCH_ID&gt;</pre><p>Use the actual Windows RU 19.27 patch ID from the downloaded package.</p><p>Do not copy a patch ID from a Linux, AIX, Solaris, or Grid Infrastructure example.</p><h4>Step 7: Run OPatch Prerequisite Checks</h4><p>Move into the numeric RU patch directory:</p><pre>cd /d C:\oracle_client\patches\19.27\&lt;PATCH_ID&gt;</pre><p>Check whether the patch is applicable:</p><pre>%ORACLE_HOME%\OPatch\opatch.bat prereq CheckApplicable -ph .</pre><p>Check for patch conflicts:</p><pre>%ORACLE_HOME%\OPatch\opatch.bat prereq CheckConflictAgainstOHWithDetail -ph .</pre><p>Review the output carefully.</p><p>Do not continue if OPatch reports:</p><ul><li>Patch not applicable</li><li>Incorrect platform</li><li>Incorrect Oracle release</li><li>Unsupported Oracle Home type</li><li>Missing prerequisite patch</li><li>Insufficient OPatch version</li><li>Oracle inventory error</li><li>Unresolved patch conflict</li><li>Locked Oracle Client files</li></ul><h4>Step 8: Apply RU 19.27</h4><p>From the numeric patch directory, run:</p><pre>%ORACLE_HOME%\OPatch\opatch.bat apply</pre><p>When prompted:</p><pre>Is the local system ready for patching? [y|n]</pre><p>Enter:</p><pre>y</pre><p>Wait for OPatch to complete.</p><p>A successful operation normally ends with:</p><pre>OPatch succeeded.</pre><p>If OPatch reports that a DLL or executable is locked, close or stop the application or Windows service that is using the Client Oracle Home and retry according to the patch README.</p><h4>Is datapatch Required?</h4><p>No.</p><p>This is a <strong>client-only Oracle Home</strong>.</p><p>datapatch installs SQL changes into an Oracle Database. There is no local database instance in this Client Oracle Home.</p><p>Therefore, the patching operation is:</p><pre>Client Oracle Home binary update<br>        =<br>OPatch required</pre><h4>Step 9: Verify RU 19.27</h4><p>Check the Oracle inventory:</p><pre>%ORACLE_HOME%\OPatch\opatch.bat lsinventory</pre><p>Save the result:</p><pre>%ORACLE_HOME%\OPatch\opatch.bat lsinventory &gt; C:\oracle_client\after_19_27_inventory.txt</pre><p>Confirm that the inventory lists the RU 19.27 patch.</p><p>Check SQL*Plus:</p><pre>sqlplus -v</pre><p>The output should show a version similar to:</p><pre>SQL*Plus: Release 19.0.0.0.0 - Production<br>Version 19.27.0.0.0</pre><p>The detailed Version line and the OPatch inventory are the important verification points.</p><h4>Step 10: Retest Database Connectivity</h4><p>Test the TNS alias:</p><pre>tnsping DWH</pre><p>Expected result:</p><pre>OK</pre><p>Also restart and validate any application services that depend on this Oracle Client.</p><h3>Complete Command Summary</h3><p>Update the paths and patch ID for your environment.</p><pre>set ORACLE_HOME=C:\app\client\product\19.0.0\client_1<br>set PATH=%ORACLE_HOME%\bin;%ORACLE_HOME%\OPatch;%PATH%</pre><pre>echo %ORACLE_HOME%<br>where sqlplus<br>sqlplus -v</pre><pre>REM ============================================================<br>REM Record the current Oracle inventory<br>REM ============================================================</pre><pre>%ORACLE_HOME%\OPatch\opatch.bat version<br>%ORACLE_HOME%\OPatch\opatch.bat lsinventory</pre><pre>%ORACLE_HOME%\OPatch\opatch.bat lsinventory &gt; C:\oracle_client\before_19_27_inventory.txt</pre><pre>REM ============================================================<br>REM Move to the extracted RU patch directory<br>REM ============================================================</pre><pre>cd /d C:\oracle_client\patches\19.27\&lt;PATCH_ID&gt;</pre><pre>REM ============================================================<br>REM Run prerequisite checks<br>REM ============================================================</pre><pre>%ORACLE_HOME%\OPatch\opatch.bat prereq CheckApplicable -ph .</pre><pre>%ORACLE_HOME%\OPatch\opatch.bat prereq CheckConflictAgainstOHWithDetail -ph .</pre><pre>REM ============================================================<br>REM Apply RU 19.27<br>REM ============================================================</pre><pre>%ORACLE_HOME%\OPatch\opatch.bat apply</pre><pre>REM ============================================================<br>REM Verify patch application<br>REM ============================================================</pre><pre>%ORACLE_HOME%\OPatch\opatch.bat lsinventory</pre><pre>%ORACLE_HOME%\OPatch\opatch.bat lsinventory &gt; C:\oracle_client\after_19_27_inventory.txt</pre><pre>sqlplus -v</pre><pre>REM ============================================================<br>REM Test database connectivity<br>REM ============================================================</pre><pre>tnsping DWH<br>sqlplus /nolog</pre><h3>Conclusion</h3><p>Installing Oracle Database Client 19c on Windows Server involves more than completing Oracle Universal Installer.</p><p>A complete implementation includes:</p><ul><li>Checking Oracle certification</li><li>Selecting the correct Client media and architecture</li><li>Defining a controlled Oracle Base and Oracle Home</li><li>Configuring Oracle Net</li><li>Testing listener connectivity</li><li>Resolving network and firewall restrictions</li><li>Testing an actual database login</li><li>Updating OPatch</li><li>Applying the required Release Update</li><li>Verifying the final patch level</li><li>Retesting all dependent applications</li></ul><p>In this scenario, we installed the Oracle Database Client 19.3 base software on Windows Server 2025 after acknowledging the installer prerequisite warning. We then configured the remote DWH connection, resolved a listener-port timeout, and patched the Client Oracle Home to RU 19.27.</p><p>The most important point is that bypassing an installer warning is not a substitute for certification.</p><p>The operating-system and Oracle patch-level combination must be checked before every installation, and the required Release Update must be included in the implementation plan.</p><p><em>Thank you for reading. Follow me for more practical Oracle Database installation, patching, migration, high availability, troubleshooting, and administration articles.</em></p><p>#Oracle #OracleDatabase #Oracle19c #OracleClient #OracleDBA #DatabaseAdministration #WindowsServer #WindowsServer2025 #OraclePatching #OPatch #ReleaseUpdate #RU1927 #SQLPlus #OracleNet #TNSNames #DatabaseEngineering</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2881e2728c9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Oracle Database 19c Client Explained: Full Client, Instant Client, and How It Differs from SQL…]]></title>
            <link>https://medium.com/@buddhikadb1/oracle-database-19c-client-explained-full-client-instant-client-and-how-it-differs-from-sql-025b55a8b6bc?source=rss-7d7bfcd6ee9b------2</link>
            <guid isPermaLink="false">https://medium.com/p/025b55a8b6bc</guid>
            <category><![CDATA[oracle-database]]></category>
            <category><![CDATA[database-administration]]></category>
            <category><![CDATA[oracle-database-19c]]></category>
            <category><![CDATA[sql-developer]]></category>
            <category><![CDATA[oracle-database-client]]></category>
            <dc:creator><![CDATA[Buddhika Hasitha]]></dc:creator>
            <pubDate>Sun, 02 Aug 2026 04:54:48 GMT</pubDate>
            <atom:updated>2026-08-02T04:54:48.960Z</atom:updated>
            <content:encoded><![CDATA[<h3>Oracle Database 19c Client Explained: Full Client, Instant Client, and How It Differs from SQL Developer</h3><h3>A practical introduction for database administrators, developers, and application teams</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J88VLbMtkxHyZiKArbP2jw.png" /></figure><p>Oracle Database environments are rarely accessed only from the database server itself.</p><p>Database administrators, developers, reporting applications, integration tools, application servers, monitoring platforms, and automation scripts frequently connect to Oracle Database from separate machines.</p><p>To make those connections possible, Oracle provides <strong>Oracle Database Client software</strong>.</p><p>However, there is often confusion around the following questions:</p><ul><li>What exactly is Oracle Database Client?</li><li>What is the difference between Full Client and Instant Client?</li><li>Is Oracle Client automatically installed with Oracle Database?</li><li>Why do we need Oracle Client when SQL Developer is available?</li><li>Which Oracle Client option should we choose?</li></ul><p>This article explains those concepts from a practical Oracle DBA perspective.</p><blockquote><em>This is the first article in a two-part series.<br>The next article will cover installing Oracle Database Client 19c on Windows Server, configuring </em><em>tnsnames.ora, testing connectivity, and applying a Release Update.</em></blockquote><h3>What Is Oracle Database Client 19c?</h3><p>Oracle Database Client 19c is client-side software that enables users, applications, and utilities to communicate with an Oracle Database server.</p><p>It does <strong>not</strong> create or host an Oracle Database instance.</p><p>Instead, it provides the libraries, drivers, command-line utilities, and Oracle Net components required to establish connections to an Oracle Database.</p><p>Common Oracle Client components include:</p><ul><li>Oracle Net connectivity</li><li>SQL*Plus</li><li>Oracle Call Interface, or OCI</li><li>Oracle C++ Call Interface, or OCCI</li><li>ODBC drivers</li><li>SQL*Loader</li><li>Data Pump client utilities</li><li>Network configuration files such as tnsnames.ora</li><li>Oracle Net configuration files such as sqlnet.ora</li></ul><p>A simplified architecture looks like this:</p><pre>Application / SQL*Plus / ODBC Tool<br>                |<br>                v<br>        Oracle Client Libraries<br>                |<br>                v<br>            Oracle Net<br>                |<br>                v<br>        Oracle Database Listener<br>                |<br>                v<br>          Oracle Database</pre><p>The Oracle Client acts as the connectivity layer between the user or application and the database server.</p><h3>The Two Main Oracle Client Types</h3><p>The two main Oracle Client choices are:</p><ol><li>Oracle Database Full Client</li><li>Oracle Instant Client</li></ol><p>Although both can connect to Oracle Database, they are designed for different deployment requirements.</p><h4>1. Oracle Database Full Client</h4><p>The Full Oracle Database Client is a traditional Oracle software installation placed inside a complete Oracle Home.</p><p>It is normally installed using Oracle Universal Installer and registered in the Oracle software inventory.</p><p>Example Oracle Home on Windows:</p><pre>C:\app\oracle\product\19.0.0\client_1</pre><p>Example Oracle Home on Linux or UNIX:</p><pre>/u01/app/oracle/product/19.0.0/client_1</pre><p>The Full Client is suitable when an organization requires:</p><ul><li>A complete Oracle Home</li><li>Multiple Oracle client utilities</li><li>Oracle Net configuration tools</li><li>ODBC or development components</li><li>Centralized patch management</li><li>Oracle inventory registration</li><li>Vendor-certified client software</li><li>A dedicated DBA or application client installation</li></ul><h4>Full Client installation types</h4><p>Depending on the platform and installation media, Oracle Universal Installer may provide several installation types.</p><p><strong>Administrator : </strong>Provides a broad collection of client administration, development, connectivity, and utility components. This is usually the most appropriate selection for a DBA workstation or administration server.</p><p><strong>Runtime : </strong>Installs the components required to run applications that connect to Oracle Database. This is useful when administrative and development tools are not required.</p><p><strong>Instant Client : </strong>Provides a smaller client component set through the installer where supported.</p><p><strong>Custom : </strong>Allows individual Oracle Client components to be selected manually. This option is useful when an application requires only specific drivers, utilities, or libraries.</p><h4>2. Oracle Instant Client</h4><p>Oracle Instant Client is a lightweight distribution of Oracle Database connectivity libraries and optional utilities.</p><p>It is commonly deployed by:</p><ul><li>Extracting ZIP packages</li><li>Installing RPM packages on supported Linux systems</li><li>Installing platform-specific operating-system packages</li></ul><p>Instant Client normally does not require a traditional Oracle Universal Installer installation.</p><p>It also usually does not create a complete, inventory-registered Oracle Home when installed from ZIP files.</p><p>Common Instant Client packages include:</p><ul><li>Basic</li><li>Basic Light</li><li>SQL*Plus</li><li>Tools</li><li>SDK</li><li>ODBC</li><li>JDBC Supplement</li></ul><p>The <strong>Basic</strong> or <strong>Basic Light</strong> package is generally required. Additional packages are installed according to the application or administration requirement.</p><p>For example, a lightweight SQL*Plus installation may use:</p><pre>Instant Client Basic<br>+<br>Instant Client SQL*Plus</pre><p>An application that uses ODBC may require:</p><pre>Instant Client Basic<br>+<br>Instant Client ODBC</pre><p>A development environment compiling OCI applications may require:</p><pre>Instant Client Basic<br>+<br>Instant Client SDK</pre><h3>Full Client vs Instant Client</h3><p>The Full Client is appropriate when a complete and centrally managed Oracle environment is required.</p><p>Instant Client is appropriate when a smaller, simpler deployment is sufficient.</p><h3>On Which Platforms Is Oracle Client Available?</h3><p>Oracle Database Client 19c and Oracle Instant Client are available across several enterprise operating-system families.</p><p>The processor architecture must also be considered.</p><p>Examples include:</p><ul><li>Windows x64</li><li>Linux x86–64</li><li>Linux ARM64</li><li>IBM POWER</li><li>Solaris SPARC</li><li>macOS Intel</li><li>macOS Apple silicon</li></ul><p>The availability of a download does not automatically confirm that every operating-system version is certified.</p><p>Before installing Oracle Client in a production environment, always verify:</p><ul><li>Operating-system version</li><li>Processor architecture</li><li>Oracle Client version</li><li>Oracle Release Update level</li><li>Application certification requirements</li><li>Client-to-database interoperability</li></ul><h3>Is Oracle Client Installed with Oracle Database Software?</h3><p>Yes.</p><p>A complete Oracle Database 19c software installation already includes the client libraries and command-line utilities needed for local and remote database connections.</p><p>A database Oracle Home normally contains utilities such as:</p><pre>$ORACLE_HOME/bin/sqlplus<br>$ORACLE_HOME/bin/expdp<br>$ORACLE_HOME/bin/impdp<br>$ORACLE_HOME/bin/sqlldr<br>$ORACLE_HOME/bin/tnsping</pre><p>Oracle Net configuration files are normally located under:</p><pre>$ORACLE_HOME/network/admin</pre><p>The database Oracle Home can also be used to connect to another Oracle Database.</p><p>For example:</p><pre>export ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1<br>export PATH=$ORACLE_HOME/bin:$PATH</pre><pre>sqlplus system@PRODDB</pre><p>Therefore, it is normally unnecessary to install a separate Oracle Client on the database server simply to use SQL*Plus or Oracle Net.</p><p>However, a separate Client Oracle Home may still be required when:</p><ul><li>An application requires a specific Oracle Client release</li><li>A 32-bit application requires a 32-bit Oracle Client</li><li>A 64-bit application requires a 64-bit Oracle Client</li><li>Application software must be isolated from the database Oracle Home</li><li>A software vendor requires a dedicated Client Oracle Home</li><li>Different applications require different client patch levels</li><li>The server is being used as a shared application or integration server</li></ul><h3>Installing Oracle Client on a Separate Machine</h3><p>A separate machine can access Oracle Database when the following requirements are met:</p><ul><li>The machine has network connectivity to the database server</li><li>The database listener is running</li><li>The listener port is reachable</li><li>The database service is registered with the listener</li><li>Suitable Oracle Client software or a compatible database driver is installed</li><li>Valid database credentials are available</li></ul><p>Before installing the client, collect the following information:</p><pre>Database host name or IP address<br>Listener port<br>Database service name or SID<br>Database username<br>Required client architecture<br>Required tools or drivers</pre><p>The listener port is commonly 1521, although many production environments use a custom port.</p><h3>Full Client high-level installation process</h3><p>A typical Full Client installation follows this process:</p><ol><li>Download the correct Oracle Database Client media.</li><li>Confirm the target operating system and processor architecture.</li><li>Extract the installation package.</li><li>Start Oracle Universal Installer.</li><li>Select Administrator, Runtime, or Custom.</li><li>Specify Oracle Base.</li><li>Specify Oracle Home.</li><li>Complete prerequisite checks.</li><li>Complete the software installation.</li><li>Configure Oracle Net.</li><li>Test connectivity using tnsping.</li><li>Test database login using SQL*Plus.</li></ol><p>On Windows, Oracle Universal Installer is normally started with:</p><pre>setup.exe</pre><p>On Linux or UNIX, it is normally started with:</p><pre>./runInstaller</pre><h3>Instant Client high-level installation process</h3><p>A typical Instant Client deployment follows this process:</p><ol><li>Download Instant Client Basic or Basic Light.</li><li>Download optional packages such as SQL*Plus, Tools, SDK, or ODBC.</li><li>Extract all selected packages into the same directory.</li><li>Add the Instant Client directory to the operating-system PATH.</li><li>Configure the native library search path where required.</li><li>Create a network/admin directory or configure TNS_ADMIN.</li><li>Create tnsnames.ora.</li><li>Test the connection.</li></ol><p>Example Instant Client location on Windows:</p><pre>C:\oracle\instantclient_19_27</pre><p>Example Instant Client location on Linux:</p><pre>/opt/oracle/instantclient_19_27</pre><h3>Oracle Net and tnsnames.ora</h3><p>A TNS alias provides a reusable name for a database connection.</p><p>Instead of entering the database host, port, and service every time, a user can connect using a simple alias such as:</p><pre>PRODDB</pre><p>Example tnsnames.ora entry:</p><pre>PRODDB =<br>  (DESCRIPTION =<br>    (ADDRESS =<br>      (PROTOCOL = TCP)<br>      (HOST = dbserver01.example.com)<br>      (PORT = 1521)<br>    )<br>    (CONNECT_DATA =<br>      (SERVER = DEDICATED)<br>      (SERVICE_NAME = PRODDB)<br>    )<br>  )</pre><p>For a Full Client, the file is commonly stored under:</p><pre>%ORACLE_HOME%\network\admin\tnsnames.ora</pre><p>On Linux or UNIX:</p><pre>$ORACLE_HOME/network/admin/tnsnames.ora</pre><p>For Instant Client, the file can be stored under:</p><pre>instantclient_directory\network\admin</pre><p>A separate location can also be configured using TNS_ADMIN.</p><p>Windows example:</p><pre>set TNS_ADMIN=C:\oracle\network\admin</pre><p>Linux or UNIX example:</p><pre>export TNS_ADMIN=/etc/oracle/network/admin</pre><h3>Testing a TNS alias</h3><p>Use tnsping to test whether the alias can be resolved and whether the listener address is reachable.</p><pre>tnsping PRODDB</pre><p>A successful result normally ends with:</p><pre>OK</pre><p>It is important to understand that tnsping does not perform a complete database login.</p><p>It mainly confirms:</p><ul><li>The TNS alias can be resolved</li><li>The host can be contacted</li><li>The listener port is reachable</li><li>The listener responds</li></ul><p>A complete login test should be performed using SQL*Plus or another database tool.</p><pre>sqlplus username@PRODDB</pre><h3>Connecting without tnsnames.ora</h3><p>Oracle Easy Connect syntax can be used when a TNS alias is not required.</p><pre>sqlplus username@//dbserver01.example.com:1521/PRODDB</pre><p>The general format is:</p><pre>username@//host:port/service_name</pre><p>Easy Connect is useful for quick tests, scripts, temporary connections, and lightweight environments.</p><p>A TNS alias is often preferable in managed enterprise environments because it centralizes connection information.</p><h3>What Is Oracle SQL Developer?</h3><p>Oracle SQL Developer is primarily a graphical database development and administration application.</p><p>It provides features such as:</p><ul><li>SQL worksheet</li><li>Schema object browser</li><li>PL/SQL editor</li><li>PL/SQL debugger</li><li>Graphical query results</li><li>Data export</li><li>Database reports</li><li>User and session administration</li><li>TNS and direct connection support</li></ul><p>SQL Developer normally connects using the JDBC Thin driver.</p><p>Because JDBC Thin is implemented in Java and connects directly to the Oracle listener, a separate Full Oracle Client is normally not required for standard SQL Developer connections.</p><p>Its architecture can be represented as:</p><pre>Oracle SQL Developer<br>          |<br>          v<br>     JDBC Thin Driver<br>          |<br>          v<br>       TCP/IP<br>          |<br>          v<br> Oracle Database Listener<br>          |<br>          v<br>   Oracle Database</pre><p>This is different from an OCI-based application that loads Oracle Client native libraries.</p><h3>Oracle Client vs Oracle SQL Developer</h3><p>Oracle Client and SQL Developer can both connect to Oracle Database, but they are not replacements for each other.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gu9isF1jIIPcU3-aSp5pDg.png" /><figcaption>Differences between Oracle SQL Developer and Oracle Database Client</figcaption></figure><p>SQL Developer is a user-facing graphical application.</p><p>Oracle Client is a software connectivity platform used by applications, utilities, scripts, drivers, and development frameworks.</p><h3>Why Use Oracle Client When SQL Developer Is Available?</h3><p>This is one of the most common questions asked by new Oracle administrators.</p><p>The answer is that SQL Developer and Oracle Client solve different problems.</p><h4>1. Native application libraries</h4><p>Applications written using technologies such as the following may require Oracle native client libraries:</p><ul><li>C</li><li>C++</li><li>Python thick mode</li><li>Node.js thick mode</li><li>PHP OCI8</li><li>Perl DBI</li><li>.NET</li><li>Vendor-specific enterprise applications</li></ul><p>On Windows, an application may require a library such as:</p><pre>oci.dll</pre><p>On Linux or UNIX, it may require:</p><pre>libclntsh.so</pre><p>SQL Developer does not provide a reusable native Oracle Client installation for other applications.</p><h4>2. ODBC connectivity</h4><p>Many reporting, analytics, and enterprise applications connect through ODBC.</p><p>Examples include:</p><ul><li>Microsoft Excel</li><li>Microsoft Power BI</li><li>ETL platforms</li><li>Reporting tools</li><li>Legacy Windows applications</li><li>Vendor applications</li></ul><p>These products may require the Oracle ODBC driver.</p><p>SQL Developer cannot act as an ODBC driver for another application.</p><h4>3. SQL*Plus automation</h4><p>SQL*Plus is widely used for:</p><ul><li>Scheduled jobs</li><li>Batch files</li><li>Shell scripts</li><li>Deployment pipelines</li><li>Database health checks</li><li>Monitoring scripts</li><li>Database startup and shutdown operations</li><li>Automated administration</li></ul><p>Example:</p><pre>sqlplus -s monitor_user@PRODDB @health_check.sql</pre><p>SQL Developer is designed for interactive graphical use and is not normally used as the foundation for unattended operating-system automation.</p><h4>4. SQL*Loader and Data Pump</h4><p>SQL*Loader supports repeatable bulk loading of external files into Oracle Database.</p><p>Example:</p><pre>sqlldr userid=appuser@PRODDB control=employees.ctl log=employees.log</pre><p>Data Pump utilities allow exports and imports to be initiated from a client machine.</p><p>Example:</p><pre>expdp system@PRODDB \<br>  directory=DATA_PUMP_DIR \<br>  schemas=HR \<br>  dumpfile=hr_export.dmp \<br>  logfile=hr_export.log</pre><p>The Data Pump dump file is still read from or written to a database-server directory object.</p><p>SQL Developer does not replace the traditional sqlldr, expdp, or impdp utilities.</p><h4>5. Vendor application requirements</h4><p>Many enterprise products explicitly require:</p><ul><li>A particular Oracle Client release</li><li>A particular Oracle Client patch level</li><li>A 32-bit Oracle Client</li><li>A 64-bit Oracle Client</li><li>OCI libraries</li><li>ODBC drivers</li><li>ODP.NET</li><li>A traditional Oracle Home</li></ul><p>Installing SQL Developer does not satisfy those requirements.</p><h4>6. Thick driver functionality</h4><p>Some applications use thick connectivity because they require OCI-based functionality.</p><p>A common example is Python using python-oracledb in thick mode.</p><pre>Python Application<br>        |<br>        v<br>python-oracledb Thick Mode<br>        |<br>        v<br>Oracle Client Libraries<br>        |<br>        v<br>Oracle Database</pre><p>SQL Developer can also be configured to use OCI or thick connectivity in some scenarios, but an appropriate Oracle Client must then be installed and discoverable.</p><h3>Important Compatibility Considerations</h3><h4>32-bit and 64-bit architecture</h4><p>The application architecture should match the Oracle Client architecture.</p><pre>64-bit application -&gt; 64-bit Oracle Client<br>32-bit application -&gt; 32-bit Oracle Client</pre><p>A 32-bit application generally cannot load 64-bit Oracle Client libraries.</p><p>Likewise, a 64-bit application generally cannot load 32-bit client libraries.</p><p>This is particularly important for:</p><ul><li>ODBC applications</li><li>Microsoft Office integrations</li><li>Power BI</li><li>Legacy vendor software</li><li>Application servers</li><li>Custom OCI applications</li></ul><h4>Client and database versions</h4><p>An Oracle Client can often connect to an Oracle Database running a different supported Oracle release.</p><p>For example, an Oracle 19c Client may be able to connect to older or newer supported database versions.</p><p>However, the exact interoperability combination should be checked before production deployment.</p><p>Important factors include:</p><ul><li>Client version</li><li>Database version</li><li>Authentication method</li><li>Encryption requirements</li><li>Network protocol requirements</li><li>Application certification</li><li>Vendor support</li><li>Oracle certification information</li></ul><h4>Multiple Oracle Homes</h4><p>A computer can contain multiple Oracle Client installations.</p><p>For example:</p><pre>C:\app\oracle\product\12.2.0\client_1<br>C:\app\oracle\product\19.0.0\client_1<br>C:\oracle\instantclient_19_27</pre><p>When multiple Oracle Clients exist, the following settings determine which client is used:</p><ul><li>Windows PATH</li><li>Linux or UNIX library paths</li><li>TNS_ADMIN</li><li>Windows registry entries</li><li>Application-specific configuration</li><li>ODBC Data Source Administrator architecture</li><li>Java or application startup parameters</li></ul><p>Incorrect Oracle Home ordering can cause:</p><ul><li>The wrong oci.dll to be loaded</li><li>ODBC driver errors</li><li>TNS configuration confusion</li><li>Version mismatch problems</li><li>Application startup failures</li></ul><p>Oracle Client locations and environment variables should therefore be documented and controlled carefully.</p><h3>Conclusion</h3><p>Oracle Database Client 19c provides the connectivity libraries, drivers, network components, command-line tools, and utilities required by applications and users that access Oracle Database.</p><p>The two main options are:</p><ul><li><strong>Full Oracle Database Client</strong>, which provides a complete Oracle Home and a broad component set</li><li><strong>Oracle Instant Client</strong>, which provides a lightweight deployment for applications, scripts, containers, and command-line access</li></ul><p>A full Oracle Database server installation already includes client functionality. Therefore, installing another Oracle Client on the database server is normally unnecessary unless an application, architecture, version, or vendor requirement justifies a separate Client Oracle Home.</p><p>Oracle SQL Developer complements Oracle Client rather than replacing it.</p><p>SQL Developer provides a graphical environment for SQL development, PL/SQL programming, schema browsing, and database administration.</p><p>Oracle Client provides the reusable native libraries, ODBC drivers, SQL<em>Plus, SQL</em>Loader, Data Pump utilities, and automation capabilities required by applications and operational workflows.</p><p>Understanding the differences between these products makes it easier to choose the correct architecture for DBA workstations, application servers, reporting platforms, development machines, and enterprise integrations.</p><h3>What Comes Next?</h3><p>In the next article in this series, I will cover a practical Oracle Database Client 19c implementation on Windows Server, including:</p><ul><li>Preparing the Windows Server</li><li>Installing Oracle Database Client 19c</li><li>Selecting the correct Oracle Home</li><li>Configuring tnsnames.ora</li><li>Testing with tnsping</li><li>Troubleshooting listener and firewall connectivity</li><li>Connecting through SQL*Plus</li><li>Applying Oracle Database 19c Release Update 19.27</li></ul><h3>References</h3><p>· <strong>Oracle Database 19c — Instant Client documentation: </strong><a href="https://docs.oracle.com/en/database/oracle/oracle-database/19/lnoci/instant-client.html">https://docs.oracle.com/en/database/oracle/oracle-database/19/lnoci/instant-client.html</a></p><p>· <strong>Oracle Database 19c — Installation and Upgrade Guides: </strong><a href="https://docs.oracle.com/en/database/oracle/oracle-database/19/install-and-upgrade.html">https://docs.oracle.com/en/database/oracle/oracle-database/19/install-and-upgrade.html</a></p><p>· <strong>Oracle Database Client Installation Guide for Microsoft Windows: </strong><a href="https://docs.oracle.com/en/database/oracle/oracle-database/19/ntcli/index.html">https://docs.oracle.com/en/database/oracle/oracle-database/19/ntcli/index.html</a></p><p>· <strong>Oracle Instant Client Downloads: </strong><a href="https://www.oracle.com/database/technologies/instant-client/downloads.html">https://www.oracle.com/database/technologies/instant-client/downloads.html</a></p><p>· <strong>Oracle JDBC documentation: </strong><a href="https://docs.oracle.com/en/database/oracle/oracle-database/19/jjdbc/">https://docs.oracle.com/en/database/oracle/oracle-database/19/jjdbc/</a></p><p><em>Thank you for reading. Follow me for more practical Oracle Database administration guides, implementation notes, troubleshooting articles, and real-world learning experiences.</em></p><p>#Oracle #OracleDatabase #Oracle19c #OracleClient #OracleInstantClient #SQLDeveloper #SQLPlus #DatabaseAdministration #OracleDBA #DatabaseEngineering #ODBC #OCI #WindowsServer #Linux #CloudDatabase</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=025b55a8b6bc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Oracle APEX AI Day 2026 Sri Lanka Marks Historic Milestone with Launch of Sri Lanka Oracle User…]]></title>
            <link>https://medium.com/@buddhikadb1/oracle-apex-ai-day-2026-sri-lanka-marks-historic-milestone-with-launch-of-sri-lanka-oracle-user-aafe4f2d71c7?source=rss-7d7bfcd6ee9b------2</link>
            <guid isPermaLink="false">https://medium.com/p/aafe4f2d71c7</guid>
            <category><![CDATA[oracle-apex]]></category>
            <category><![CDATA[ai-oracle]]></category>
            <category><![CDATA[sloug]]></category>
            <category><![CDATA[oracle-apex-ai-day]]></category>
            <category><![CDATA[oracle-user-group]]></category>
            <dc:creator><![CDATA[Buddhika Hasitha]]></dc:creator>
            <pubDate>Sun, 24 May 2026 06:15:29 GMT</pubDate>
            <atom:updated>2026-05-24T06:15:29.258Z</atom:updated>
            <content:encoded><![CDATA[<h3>Oracle APEX AI Day 2026 Sri Lanka Marks Historic Milestone with Launch of Sri Lanka Oracle User Group (SLOUG)</h3><h3>Oracle APEX AI Day 2026 Sri Lanka Marks Historic Milestone with Launch of Sri Lanka Oracle User Group (SLOUG)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*2PWi5YXEvjVtIJ78.jpg" /></figure><p><strong>Colombo, March 26, 2026</strong> — Oracle technology enthusiasts gathered for APEX AI Day Spring 2026 in Colombo, Sri Lanka, marking a significant milestone for the country’s tech community. Held at the prestigious Taj Samudra Hotel, the event brought together developers, technology leaders, and Oracle experts to explore the intersection of artificial intelligence and Oracle Application Express (APEX) technologies, along with Oracle Database AI capabilities.</p><p>The full-day conference featured a comprehensive agenda highlighting the latest advancements in Oracle APEX and AI-powered development. Attendees participated in technical sessions, live demonstrations, and hands-on workshops that showcased how AI is transforming low-code application development.</p><h4>Distinguished Speakers and Technical Sessions</h4><p>The event featured presentations from internationally recognized Oracle experts and community leaders. Among the distinguished speakers were Richard Dalvi, Chaitanya Koratamaddi, Gayan Lokumanna, Balamurugan Natarajan, Karkuvelraja Thangamariappan, Kenvi Shah, Vidhyadharan Thirumurugan, Niwin Nicho, Santhossh Jagan K R, and Akshaya K M, who delivered insights on cutting-edge APEX features, AI integration strategies, and database-centric development approaches.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/907/1*cO6up7ljXDpK0ioG7Z5u8w.png" /></figure><p>The technical sessions covered a wide range of topics including AI-powered features in APEX, modern development techniques, declarative programming approaches, and practical implementations of machine learning within database-driven applications. The focus remained firmly on actionable knowledge that developers could immediately apply to their projects.</p><h4>Launch of Sri Lanka Oracle User Group (SLOUG)</h4><p>A historic highlight of the event was the official initiation of the Sri Lanka Oracle User Group (SLOUG), establishing a formal community for Oracle technology professionals in the country. This development represents a significant step forward for Sri Lanka’s technology ecosystem, providing a platform for knowledge sharing, professional networking, and collaborative innovation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/833/1*Yb3ubnJ3ETMaZ8knAvNodA.png" /></figure><p>The formation of SLOUG aligns with the broader global network of Oracle user groups and creates opportunities for local developers to engage with international Oracle communities, access technical resources, and participate in future regional events.</p><p>Join SLOUG: Interested professionals can become members through the official website at <a href="https://www.sloug.org/Contact/">https://www.sloug.org/Contact/</a></p><h4>APEX AI Spring 2026 Initiative</h4><p>The event was part of the broader Oracle APEX AI Spring 2026 initiative, a global series of community gatherings designed to showcase the latest capabilities in Oracle APEX development. Attendees gained early insights into features planned for upcoming APEX releases, with particular emphasis on AI-assisted workflows and intelligent application development.</p><h4>Community Impact and Engagement</h4><p>The atmosphere throughout the day reflected the enthusiasm of Sri Lanka’s growing Oracle developer community. Participants engaged in meaningful discussions about real-world implementation challenges, shared best practices, and explored collaborative opportunities. The networking sessions enabled attendees to build valuable professional connections with peers and industry leaders.</p><p>The event underscored the importance of staying connected within the technology community and the value of continuous learning in an era of rapid technological advancement. For many attendees, APEX AI Day 2026 provided not just technical knowledge, but also inspiration to push the boundaries of what’s possible with modern development platforms.</p><h4>Organized by Leading User Groups</h4><p>Oracle APEX AI Day 2026 — Sri Lanka was organized through a collaboration between the JAPAC Oracle APEX User Group and the India Oracle APEX User Group (INOAUG), demonstrating the strength of regional cooperation in fostering technology advancement and knowledge exchange across Asia-Pacific.</p><h4>Strategic Partnerships and Sponsorship</h4><p>The success of this landmark event was made possible through the generous support of key industry partners:</p><ul><li>Oracle (Platinum Sponsor) — Oracle’s commitment as the platinum sponsor represents a major milestone for Sri Lanka’s technology sector, bringing world-class resources and expertise to the local developer community.</li><li>MillenniumIT ESP (Gold Sponsor) — A leading technology solutions provider supporting innovation in the region.</li><li>CertHub (Silver Sponsor) — Contributing to professional development and certification initiatives.</li><li>NIBM (National Institute of Business Management) — Providing academic and institutional support for the advancement of technology education.</li></ul><p>This collaboration between global technology leaders and local institutions demonstrates the growing recognition of Sri Lanka as an important hub for Oracle technology adoption and innovation in the Asia-Pacific region.</p><h4>Looking Ahead</h4><p>The success of this inaugural event in Sri Lanka sets a strong foundation for future gatherings and positions the country as an active participant in the global Oracle APEX community. With the newly established SLOUG, Sri Lankan developers now have a dedicated platform to continue their engagement with Oracle technologies and contribute to the worldwide conversation about innovation in enterprise application development.</p><p>As the Oracle APEX ecosystem continues to evolve with increasingly sophisticated AI capabilities, events like APEX AI Day 2026 play a crucial role in ensuring that developers worldwide remain equipped with the knowledge and connections needed to leverage these powerful tools effectively.</p><h4>About Oracle APEX</h4><p>Oracle Application Express (APEX) is a low-code development platform that enables developers to build scalable, secure enterprise applications with modern user interfaces. With recent AI integrations, APEX continues to push the boundaries of rapid application development while maintaining enterprise-grade security and performance.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aafe4f2d71c7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Oracle’s Bold Bet on AI: Building the Infrastructure of Tomorrow]]></title>
            <link>https://medium.com/@buddhikadb1/oracles-bold-bet-on-ai-building-the-infrastructure-of-tomorrow-fd9a222c14bf?source=rss-7d7bfcd6ee9b------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd9a222c14bf</guid>
            <category><![CDATA[ai-infrastructure]]></category>
            <category><![CDATA[oracle]]></category>
            <category><![CDATA[oracle-ai-infrastructure]]></category>
            <category><![CDATA[ai-investment]]></category>
            <category><![CDATA[oracle-future]]></category>
            <dc:creator><![CDATA[Buddhika Hasitha]]></dc:creator>
            <pubDate>Sat, 23 May 2026 16:05:28 GMT</pubDate>
            <atom:updated>2026-05-24T05:48:56.603Z</atom:updated>
            <content:encoded><![CDATA[<h3>Oracle’s Bold Bet on AI: Building the Infrastructure of Tomorrow</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/861/1*dFiSftk1zukQxPELOGkkDQ.png" /></figure><p>Artificial intelligence is reshaping every industry on the planet. The companies that will define the next decade are those building the infrastructure to support it. Oracle is doing exactly that, committing resources at a scale that few technology companies have ever attempted.</p><p>In early 2026, Oracle announced plans to raise between <strong>$45 billion and $50 billion</strong> in gross capital during the calendar year structured across equity and debt specifically to expand Oracle Cloud Infrastructure (OCI) and meet the surging contracted demand from its roster of world-class AI clients.</p><blockquote><em>“Oracle AI Data Platform enables customers to get their data ready for AI and then leverage AI to transform every business process.” — </em>T.K. Anand, Executive Vice President, Oracle</blockquote><h4>A Platform Built for the AI Era</h4><p>At the heart of Oracle’s strategy is the <strong>Oracle AI Data Platform</strong>, announced at Oracle AI World in October 2025. The platform is designed to help enterprises securely connect leading generative AI models with their own data, applications, and workflows eliminating the complexity that has historically slowed AI adoption.</p><p>The platform combines:</p><ul><li>Automated data ingestion</li><li>Semantic enrichment and vector indexing</li><li>Built-in generative AI tools</li><li>All running on OCI with NVIDIA accelerated computing infrastructure</li></ul><p>Business users gain access to trusted, real-time insights and AI agents that automate routine tasks, surface opportunities, and embed intelligence directly into everyday operations.</p><h4>What Makes This Different?</h4><p>What makes the approach distinctive is its emphasis on <strong>data readiness</strong>. Oracle AI Data Platform supports open formats such as Delta Lake and Apache Iceberg, helping organizations eliminate data duplication while maintaining governance and compliance across all data and AI assets.</p><p>It also supports open standards including <strong>Agent2Agent (A2A)</strong> and <strong>Model Context Protocol (MCP)</strong>, enabling customers to build sophisticated multi-agent systems that interoperate with third-party environments.</p><h4>The Data Centre Network Powering It All</h4><p>Software alone does not power an AI revolution. Behind Oracle’s platform strategy is a rapidly expanding network of purpose-built AI data centres across the United States in Texas, New Mexico, Wisconsin, and Michigan each designed to deliver high-performance, secure, and sustainable infrastructure at massive scale.</p><h4>A Commitment to Communities</h4><p>Oracle’s approach to data centre design reflects a broader commitment to the communities where these facilities are built. Each campus features:</p><ul><li><strong>Closed-loop, non-evaporative cooling systems</strong> that dramatically reduce water consumption — putting usage on par with a typical office building despite the enormous computing scale</li><li><strong>On-site power generation sources</strong>, ensuring that neighbouring residents don’t bear the cost of increased energy demand</li><li><strong>Local partnerships</strong> with educational institutions, providing internships, scholarships, and career training programmes. This builds the skilled workforce that the AI era demands.</li></ul><h4>The Scale of the Opportunity</h4><p>The $45–50 billion fundraising programme is explicitly tied to contracted demand. Oracle’s cloud customer list includes some of the most consequential organizations in modern AI:</p><ul><li>OpenAI</li><li>NVIDIA</li><li>Meta</li><li>AMD</li><li>xAI</li><li>TikTok</li></ul><p>These are not speculative commitments they represent binding agreements that reflect the extraordinary appetite for reliable, high-performance cloud compute.</p><p>The investment follows Oracle’s <strong>$18 billion bond raise in 2025</strong> and a landmark <strong>$300 billion partnership with OpenAI</strong>. As data centre deals across the technology sector hit a record <strong>$61 billion in 2025</strong>, Oracle is moving decisively to ensure it has the capacity to serve both cutting-edge AI model training workloads and the growing wave of enterprise AI inference demand.</p><h4>Partners Accelerating the Vision</h4><p>Oracle is not building this future alone. At the launch of Oracle AI Data Platform, leading global system integrators and consultancies committed a <strong>collective investment of more than $1.5 billion</strong> in the platform:</p><ul><li>Accenture</li><li>Cognizant</li><li>KPMG</li><li>PwC</li></ul><p>That commitment includes:</p><ul><li><strong>Comprehensive training</strong> for over 8,000 practitioners</li><li><strong>Development of more than 100 industry-specific use cases</strong> across healthcare, financial services, supply chain, and beyond</li></ul><p>This partner ecosystem accelerates what Oracle can deliver to enterprise customers, combining Oracle’s platform depth with the domain knowledge and implementation expertise of the world’s leading professional services firms.</p><h4>What This Means for Enterprises</h4><p>For organizations evaluating their AI strategy, Oracle’s trajectory offers something increasingly rare: a <strong>single, integrated provider</strong> of cloud infrastructure, enterprise applications, autonomous databases, and an AI platform all designed to work together from the ground up.</p><p>Whether a business is running Oracle Fusion, NetSuite, or industry-specific applications in health, financial services, or construction, Oracle plans to offer tailored versions of AI Data Platform with prebuilt integration and curated, AI-ready data.</p><p>The scale of Oracle’s infrastructure investment is ultimately a statement of confidence in the trajectory of AI, in the readiness of enterprises to adopt it, and in Oracle’s ability to provide the foundation on which the next generation of intelligent applications will be built.</p><p>The infrastructure era of AI has begun. And Oracle is all in.</p><h4>By the Numbers</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/891/1*aR8hlRxryYSsp20prG5gYA.png" /></figure><p><em>Sources: Oracle.com/data-centers · Oracle AI World Press Release, October 2025 · CNBC, February 2026 · SiliconANGLE, February 2026 · TechRepublic, February 2026</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd9a222c14bf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Monitoring Oracle Database Appliance with Oracle Enterprise Manager - ODA Plug-in Installation]]></title>
            <link>https://medium.com/@buddhikadb1/monitoring-oracle-database-appliance-with-oracle-enterprise-manager-oda-plug-in-installation-d8532e4d3b16?source=rss-7d7bfcd6ee9b------2</link>
            <guid isPermaLink="false">https://medium.com/p/d8532e4d3b16</guid>
            <category><![CDATA[oracle-enterprise-manager]]></category>
            <category><![CDATA[oda-plug-in]]></category>
            <category><![CDATA[database-monitoring]]></category>
            <category><![CDATA[oda-monitoring]]></category>
            <category><![CDATA[oracle-database-appliance]]></category>
            <dc:creator><![CDATA[Buddhika Hasitha]]></dc:creator>
            <pubDate>Sun, 12 Apr 2026 06:38:47 GMT</pubDate>
            <atom:updated>2026-04-12T06:40:54.417Z</atom:updated>
            <content:encoded><![CDATA[<h3>Monitoring Oracle Database Appliance with Oracle Enterprise Manager: A Practical Guide to ODA Plug-in Installation and Discovery</h3><h3>Monitoring Oracle Database Appliance with Oracle Enterprise Manager: A Practical Guide to ODA Plug-in Installation and Discovery</h3><p><em>By Buddhika Hasitha | Practical Hands-On Series</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5CF6BXp-DFYaV3tnkSW_TQ.png" /></figure><h3>Introduction</h3><p>Oracle Database Appliance (ODA) is an integrated engineered system that combines compute, storage, and networking into an optimized platform for Oracle Database workloads. While ODA simplifies database operations significantly, enterprise-grade monitoring still demands a robust and centralized solution — and Oracle Enterprise Manager (OEM) Cloud Control remains the gold standard for that purpose.</p><p><strong>While it is possible to monitor Oracle databases on an ODA using standard OEM agents alone, this only gives you database-level visibility. To truly monitor an Oracle Database Appliance as an engineered system, the Oracle Database Appliance Plug-in is the recommended approach. The ODA-specific plug-in goes beyond database metrics — it provides hardware-level visibility including ILOM (Integrated Lights Out Manager) status, disk and storage health, Appliance Manager details, and the overall appliance health that standard agents simply cannot see. For a complete and meaningful ODA monitoring setup, the plug-in is not optional — it is essential.</strong></p><p>This article is a <strong>practical, hands-on guide</strong> based on my recent experience performing these exact steps in a production environment. My goal is to walk you through what I actually did, the commands I ran, and what to watch out for — so that you can replicate it confidently. That said, <strong>it is always recommended to refer to the official Oracle documentation</strong> for any clarification, further details, and before carrying out any production deployment.</p><h3><strong><em>Environment used in this guide:</em></strong></h3><p>In this guide, we are working with an <strong>Oracle Database Appliance X10-HA</strong> configured as a <strong>two-node RAC (Real Application Clusters)</strong> setup, which is the high-availability model of the ODA X10 platform.</p><blockquote><em>ODA Model: ODA X10 | Database Version: Oracle 19c (19.3) | OEM Version: 13.5 | ODA Plug-in Version: 13.4.3</em></blockquote><h3>The Big Picture: What Does Monitoring an ODA with OEM Involve?</h3><p>Monitoring an Oracle Database Appliance from Oracle Enterprise Manager Cloud Control using the ODA plug-in involves the following high-level steps:</p><ol><li><strong>Install OEM on a separate server</strong> <em>(OMS — Oracle Management Server)</em></li><li><strong>Install the Oracle Enterprise Manager Agent</strong> on the ODA nodes/targets</li><li><strong>Install and Deploy the ODA Plug-in on OEM</strong> <em>(OMS level)</em></li><li><strong>Deploy the Plug-in to the target Management Agents</strong> <em>(ODA nodes)</em></li><li><strong>Discover Oracle Database Appliance systems</strong> to add targets for monitoring</li><li><em>(Optional)</em> <strong>Configure monitoring metrics and notifications</strong></li></ol><blockquote><strong><em>Important Note:</em></strong><em> Steps 1 and 2 — installing OEM itself and deploying OEM agents on servers — as well as Step 6, configuring monitoring metrics, are covered in detail in my </em><strong><em>previous blog articles</em></strong><em> in this series. Please refer to those posts for those topics. This article focuses specifically on what is </em><strong><em>unique to the ODA environment</em></strong><em>: Steps 3, 4, and 5 — installing the ODA plug-in on OEM, deploying it to the ODA agents, and discovering ODA targets.</em></blockquote><h3>Prerequisites: Before You Begin</h3><p>Before deploying the Oracle Database Appliance plug-in, ensure that the following prerequisites are completed. These are well-described in the official Oracle documentation, so I will list them here as a checklist:</p><ul><li>✅ <strong>Create a Database Server Oracle ILOM Service Processor User</strong> — Create a special user for the Oracle ILOM service processor on each ODA node.</li><li>✅ <strong>Create a Monitoring OS User on the ODA Server</strong> <em>(Optional)</em> — You may create a dedicated monitoring OS user instead of using the root user.</li><li>✅ <strong>Verify the Oracle Database Appliance Software Version</strong> — Confirm that you have a supported version of Oracle Appliance Manager software installed.</li><li>✅ <strong>Validate the Storage Cable Connections</strong> — Validate ODA storage topology and any external JBOD connectivity before deploying the plug-in.</li><li>✅ <strong>Verify Host Name Resolution of the Oracle ILOM Servers</strong> — Each server node must be able to resolve the host names of the Oracle ILOM servers.</li><li>✅ <strong>Verify the Firewall Configuration</strong> — Ensure that the necessary ports are open for OEM-to-ODA communication.</li></ul><h3>Step 1: Importing the ODA Plug-in Archive File into OEM (Local Method)</h3><p>There are two methods to import the plug-in into OEM: <strong>local</strong> and <strong>remote</strong>. In this guide, we use the <strong>local method</strong>.</p><h4>1.1 — Log in to OEM via EMCLI from the Terminal</h4><p>Once you are on the OMS server, log in to the OEM Command Line Interface (EMCLI) using the sysman user:</p><pre>/u01/app/oracle/middleware/bin/emcli login -username=sysman</pre><p>You will be prompted to enter the password. Upon successful authentication, you will see:</p><pre>Login successful</pre><blockquote><strong><em>Note:</em></strong><em> The </em><em>sysman user is the OEM super-admin account. Ensure you have the password before proceeding.</em></blockquote><h4>1.2 — Synchronize the EMCLI Utility</h4><p>Before working with plug-ins, sync the EM CLI tool:</p><pre>/u01/app/oracle/middleware/bin/emcli sync</pre><h4>1.3 — Check Currently Installed Plug-ins</h4><p>List the plug-ins already deployed on the OMS server to confirm the ODA plug-in is not already present:</p><pre>/u01/app/oracle/middleware/bin/emcli list_plugins_on_server</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pju0seLfGKqpN9ngUg1zlw.png" /></figure><p>Review the output carefully. Look for any entry related to oracle.dba.odba to see whether the plug-in (or a prior version) is already installed.</p><h4>1.4 — Download the ODA Plug-in</h4><p>Download the Oracle Database Appliance plug-in from Oracle Software Delivery Cloud or My Oracle Support. The plug-in archive will be downloaded in .zip format. For our version, the downloaded file name follows this pattern:</p><pre>13.4.3.0.0_oracle.dba.odba_2000_0.zip</pre><blockquote><strong><em>Important:</em></strong><em> The OEM import command requires the file in </em><em>.opar format, not </em><em>.zip. Simply rename the file — there is </em><strong><em>no need to unzip it</em></strong><em>:</em></blockquote><pre>mv 13.4.3.0.0_oracle.dba.odba_2000_0.zip 13.4.3.0.0_oracle.dba.odba_2000_0.opar</pre><p>Transfer the renamed .opar file to your OMS server. In this example, it was placed at:</p><pre>/installers/OEM/OEM135/Plugins/</pre><h4>1.5 — Import the Plug-in into OEM</h4><p>Run the following EMCLI command to import the plug-in archive locally into OEM:</p><pre>/u01/app/oracle/middleware/bin/emcli import_update \<br>  -file=/installers/OEM/OEM135/Plugins/13.4.3.0.0_oracle.dba.odba_2000_0.opar \<br>  -omslocal</pre><p>Wait for the command to complete successfully before proceeding.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BoLR2u2mYirzWly7_GUXMw.png" /></figure><h3>Step 2: Deploying the ODA Plug-in on the OEM Management Server (OMS)</h3><p>Once the plug-in is imported, the next step is to deploy it on the Oracle Management Server itself. This is done through the OEM Cloud Control web interface.</p><blockquote><em>⚠️ </em><strong><em>Downtime Warning:</em></strong><em> This step requires the OMS to restart. Plan for a brief downtime window (approximately </em><strong><em>3 to 5 minutes</em></strong><em>) for the OMS service. Notify relevant teams before proceeding in production.</em></blockquote><h4>Step-by-Step (via OEM UI):</h4><ol><li>From the Oracle Enterprise Manager home page, open the <strong>Setup</strong> menu (gear icon ⚙️) in the menu bar, then select <strong>Extensibility → Plug-ins</strong>.</li><li>Under <strong>Name</strong>, click <strong>Engineered Systems</strong>, then select <strong>Oracle Database Appliance</strong>.</li><li>Click <strong>Deploy On</strong> and choose <strong>Management Servers</strong>. The available management servers will be listed on the <em>Deploy Plug-ins on Management Servers</em> page.</li><li>Select your management server, then click <strong>Next</strong>.</li><li>Follow the deployment wizard to complete the deployment. The wizard will guide you through confirmation screens.</li><li><strong>Monitor the OMS status</strong> during and after the deployment using the following command from the OMS server terminal:</li></ol><pre>/u01/app/oracle/middleware/bin/emctl status oms -details</pre><p>You will notice the OMS stopping and restarting as part of the plug-in deployment process.</p><p><strong>7. Wait until the OMS is fully back up</strong> before proceeding. Verify via the emctl status oms command that all OMS services are running normally.</p><p>8. You can also monitor the <strong>deployment job status</strong> from within the OEM UI under the Jobs activity section.</p><p>Once the job completes successfully, the ODA plug-in installation on the OMS is done.</p><h3>Step 3: Deploying the ODA Plug-in to the Management Agents on ODA Nodes</h3><p>With the plug-in deployed on the OMS, you now need to push it to the Management Agents running on both ODA server nodes. This step does <strong>not</strong> restart the OMS.</p><blockquote><strong><em>Prerequisite:</em></strong><em> The ODA plug-in must already be deployed on the OMS (Step 2 above) before you can deploy it on agents.</em></blockquote><h4>Step-by-Step (via OEM UI):</h4><ol><li>From the OEM home page, click <strong>Setup</strong> (gear icon ⚙️), select <strong>Extensibility</strong>, and then <strong>Plug-ins</strong>.</li><li>Under <strong>Name</strong>, click <strong>Engineered Systems</strong>, then select <strong>Oracle Database Appliance</strong>.</li><li>Click <strong>Deploy On</strong> and select <strong>Management Agent</strong> from the drop-down list.</li><li>Select the appropriate <strong>version</strong> from the Version list, and click <strong>Continue</strong>.</li><li><strong>Select the Management Agents</strong> corresponding to your ODA nodes (both Node 1 and Node 2 for a high-availability ODA). Click <strong>Continue</strong>.</li><li>On the prerequisites/validation screen:</li></ol><ul><li>If the <strong>Status</strong> column shows a <strong>green check mark ✅</strong> for all agents, click <strong>Next</strong>.</li><li>If any agent shows an <strong>error</strong>, review and resolve the issue displayed in the Error Message column before proceeding.</li></ul><p>7. Review the deployment settings, and click <strong>Deploy</strong>. A confirmation window will open indicating that plug-in deployment is in progress.</p><p><strong>8. Monitor the deployment progress</strong> from the OEM Jobs UI. Deployment typically takes approximately <strong>2 minutes</strong> per agent, depending on how many agents are deployed simultaneously.</p><p>9. Wait until the deployment completes successfully for <strong>both ODA nodes</strong>.</p><p>Once this step is complete, the ODA plug-in is now active on the Management Agents running on your ODA server nodes.</p><h3>Step 4: Discovering the Oracle Database Appliance System as a Monitoring Target</h3><p>With the plug-in deployed on both the OMS and the ODA agents, the final step is to <strong>discover the ODA system</strong> in OEM so it appears as a monitored target.</p><p>Discovery is the process by which OEM identifies all the components of your ODA — including the appliance hardware, ILOM service processors, databases, listeners, and OS — and adds them as targets in the OEM console.</p><h4>How to Discover the ODA Target:</h4><ol><li>From the OEM home page, navigate to <strong>Setup → Add Target → Add Targets Manually</strong>.</li><li>Select <strong>Add Using Guided Process</strong>.</li><li>In the target type search, look for <strong>Oracle Database Appliance</strong> and select it.</li><li>Follow the guided discovery wizard:</li></ol><ul><li>Specify the ODA <strong>hostnames</strong> for both nodes.</li><li>Provide the <strong>ILOM service processor</strong> hostnames and credentials (the ILOM user created in the prerequisites).</li><li>Provide the <strong>monitoring OS user</strong> credentials.</li><li>Specify any additional connection details as prompted.</li></ul><p>5. OEM will then scan and discover the ODA components. Review the discovered targets carefully.</p><p>6. Confirm and submit the discovery. OEM will begin monitoring the discovered ODA targets.</p><h3>Verification</h3><p>After completing all steps, verify your setup:</p><ul><li>Navigate to <strong>All Targets</strong> in OEM and search for <strong>Oracle Database Appliance</strong>. You should see your ODA system listed with its components.</li><li>Check that the target status shows <strong>Up (✅ Green)</strong> for the appliance, both nodes, and associated databases.</li><li>Review the <strong>ODA-specific monitoring metrics</strong> now available through the plug-in, such as hardware health, storage status, and ILOM metrics.</li></ul><p><strong>Once your ODA targets are successfully discovered and showing as Up in OEM, you are now ready to monitor your appliance and configure alerts, metric thresholds, and notifications. For a detailed walkthrough on how to monitor targets and configure alert rules and metric thresholds in Oracle Enterprise Manager, refer to my previous blog post in this series, where these topics are covered in depth.</strong></p><h3>Conclusion</h3><p>Monitoring an Oracle Database Appliance with Oracle Enterprise Manager using the ODA plug-in brings powerful, centralized visibility into both the software and hardware layers of your ODA environment — something that standard OEM agent monitoring alone cannot provide.</p><p>In this guide, based on my hands-on production experience with <strong>ODA X10, Oracle DB 19.3, OEM 13.5, and ODA Plug-in 13.4.3</strong>, we walked through:</p><ul><li>Importing and deploying the ODA plug-in on the OEM Management Server</li><li>Deploying the plug-in to the Management Agents on ODA nodes</li><li>Discovering the ODA system as a monitored target in OEM</li></ul><p>This completes the ODA-specific portion of the OEM monitoring setup. For OEM installation, agent deployment, and metric configuration, refer to my earlier articles in this series.</p><p>As always, this article is intended as a practical reference based on real-world experience. <strong>Always refer to the official Oracle documentation</strong> before making changes in your production environment:</p><p><em>Have questions or want to share your own ODA monitoring experience? Leave a comment below. Follow me for more content on Oracle Database, engineered systems, and cloud deployments.</em></p><p><em>#Oracle #OracleEnterpriseManager #ODA #OracleDatabaseAppliance #OEM #DatabaseMonitoring #EngineeringInProduction</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d8532e4d3b16" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering Oracle Database DR Drills: A Complete Guide to Disaster Recovery Testing]]></title>
            <link>https://medium.com/@buddhikadb1/mastering-oracle-database-dr-drills-a-complete-guide-to-disaster-recovery-testing-9c938db5bfc8?source=rss-7d7bfcd6ee9b------2</link>
            <guid isPermaLink="false">https://medium.com/p/9c938db5bfc8</guid>
            <category><![CDATA[switchover]]></category>
            <category><![CDATA[oracle-database]]></category>
            <category><![CDATA[oracle-data-guard]]></category>
            <category><![CDATA[dr-drills]]></category>
            <category><![CDATA[disaster-recovery]]></category>
            <dc:creator><![CDATA[Buddhika Hasitha]]></dc:creator>
            <pubDate>Fri, 10 Apr 2026 15:04:00 GMT</pubDate>
            <atom:updated>2026-04-10T15:04:00.410Z</atom:updated>
            <content:encoded><![CDATA[<h3>Mastering Oracle Database DR Drills: A Complete Guide to Disaster Recovery Testing</h3><p><em>A practical, hands-on walkthrough of the full DR drill lifecycle — preparation, switchover, validation, and switchback.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/932/1*y_bHUnMxLEtGn1ncSSM_rQ.png" /></figure><h3>Why your DR plan is only as good as your last test</h3><p>In today’s business landscape, data is the operational backbone of every organization. A database outage even for minutes can translate into significant financial loss, customer trust erosion, and regulatory exposure. Most organizations respond by implementing a Disaster Recovery (DR) solution, often leveraging Oracle Data Guard. But here’s the uncomfortable truth: <em>having a DR setup is not the same as having a working DR setup.</em></p><p>This guide is based on real production experience conducting DR drills in an enterprise environment. The procedures, outputs, and timing you’ll see here reflect what actually happens on the ground not just what the documentation describes. I hope it will be equally useful for you. That said, every environment is different, so it is always recommended to refer to the <strong>official Oracle documentation</strong> and your organization’s specific guidelines before making any changes to production systems.</p><p>In this guide, we simulate a full DR drill using <strong>switchover</strong> — a planned, controlled role transition between the primary and standby databases. This is the standard and recommended approach for DR drills, and it is fundamentally different from a <em>failover</em>, which is an emergency operation triggered when the primary is unavailable. We’ll clarify that distinction in the next section. A dedicated follow-up post will cover failover scenarios in full detail.</p><p>A DR drill is a <strong>planned organizational activity</strong> not a reaction to a crisis. It is scheduled, communicated to all stakeholders, and conducted with full coordination between teams. The goal is to verify that your high availability infrastructure is genuinely reliable, that your standby systems can carry production workloads, and that your teams know exactly what to do when the real thing happens.</p><p>Regular DR drills give you something no architecture diagram can: <em>confidence earned through evidence</em>. They reveal whether your replication is truly in sync, whether your application tier can redirect to the DR site, whether your batch jobs run correctly after a role transition, and whether your recovery time objectives (RTOs) are realistic. Without testing, your DR strategy is theoretical. With testing, it is operational.</p><h3>Switchover vs. failover — understanding the difference</h3><p>Before walking through the drill itself, it’s important to understand the two fundamental operation types in Oracle Data Guard, and why DR drills use one and not the other.</p><p><strong>Switchover</strong> is a planned, orderly role transition between the primary and standby databases. Both databases are online and synchronized throughout the process. The primary gracefully hands over its role to the standby — all orchestrated through Data Guard Broker and then immediately assumes the standby role itself. The operation is fully reversible. This makes switchover the ideal mechanism for DR drills.</p><p><strong>Failover</strong>, by contrast, is an emergency operation invoked when the primary database is completely unavailable due to hardware failure, network isolation, a natural disaster, or unrecoverable corruption. There is no coordination with the primary because the primary cannot be reached. Data Guard promotes the standby immediately to become the new primary. The original primary, once recovered, must be reinstated using Flashback Database (if it was enabled) or rebuilt from scratch. Depending on your protection mode and the timing of the failure, some in-flight transactions may be lost.</p><blockquote><strong><em>Note:</em></strong><em> Failover including simulation techniques using snapshot standby, reinstatement procedures, and controlled failover testing will be covered in full detail in a next post in this series.</em></blockquote><h3>DR drill architecture overview</h3><p>For this drill, the environment consists of:</p><ul><li><strong>PRODDB</strong> — Production primary database, serving live applications</li><li><strong>DRDB</strong> — Physical standby database in a separate location</li><li><strong>Data Guard Broker (DGMGRL)</strong> — Managing the configuration and orchestrating role transitions</li></ul><p>The drill simulates a complete datacenter switchover: DRDB becomes the new primary, the environment is tested for 24–72 hours, and then we switch back to PRODDB as the original primary.</p><h3>Phase 1 — Pre-drill preparation</h3><blockquote><em>Thorough preparation is what separates a smooth drill from a chaotic one. Each step below has a reason — skip none of them.</em></blockquote><h4>Step 1 — Create a full RMAN backup</h4><p>Because this is a <strong>planned activity</strong>, creating a full backup before you begin is a best practice — not optional. It provides a recovery point if anything unexpected occurs, meets change management requirements, and gives you a baseline for data integrity comparison. Before any planned DR activity, always secure a current backup.</p><pre>-- Connect to RMAN <br>rman target /<br><br>-- Backup the database and archive logs<br>BACKUP DATABASE PLUS ARCHIVELOG;<br>  </pre><p>Note: The above is a simplified command to illustrate the concept. In a production environment, always remember to allocate channels and enable compression to achieve better parallelism, faster throughput, and storage efficiency. You can explore that in detail in my previous blog post on <a href="https://medium.com/@buddhikadb1/oracle-database-rman-backup-and-restore-3e9c60504bbc"><strong>Oracle Database RMAN Backup and Restore</strong>.</a></p><h4>Step 2 — Disable scheduled jobs on the primary</h4><p>After switchover, the standby becomes the new primary. Any scheduled jobs left enabled on the original primary may attempt to run — potentially causing duplicate processing, data errors, or conflicts. Disable all critical jobs before the transition.</p><pre>-- Disable critical scheduler jobs before switchover<br>-- Adjust job names according to your environment<br>BEGIN<br>  DBMS_SCHEDULER.DISABLE(&#39;SYSTEM.NIGHTLY_BATCH_PROCESS&#39;);      -- Change per your environment<br>  DBMS_SCHEDULER.DISABLE(&#39;APPOWNER.DATA_WAREHOUSE_REFRESH&#39;);   -- Change per your environment<br>  DBMS_SCHEDULER.DISABLE(&#39;SYSTEM.MONTHLY_ARCHIVE_CLEANUP&#39;);    -- Change per your environment<br>  DBMS_SCHEDULER.DISABLE(&#39;FINANCE.END_OF_DAY_RECONCILIATION&#39;); -- Change per your environment<br>  -- Add all other critical jobs in your environment<br>END;<br>/</pre><h4>Step 3 — Verify job status</h4><pre>SELECT OWNER, JOB_NAME, STATE, NEXT_RUN_DATE<br>FROM DBA_SCHEDULER_JOBS<br>WHERE JOB_NAME IN (<br>  &#39;NIGHTLY_BATCH_PROCESS&#39;,            -- Change per your environment<br>  &#39;DATA_WAREHOUSE_REFRESH&#39;,           -- Change per your environment<br>  &#39;MONTHLY_ARCHIVE_CLEANUP&#39;,          -- Change per your environment<br>  &#39;END_OF_DAY_RECONCILIATION&#39;         -- Change per your environment<br>)<br>ORDER BY OWNER, JOB_NAME;</pre><p>All jobs must show STATE = DISABLED with a null NEXT_RUN_DATE before proceeding.</p><h4>Step 4 — Capture baseline metrics</h4><p>Run record count queries on all critical tables and save the output. You will compare these figures at every stage of the drill to confirm zero data loss.</p><pre>-- Modify table names according to your environment<br>SELECT &#39;CUSTOMER_MASTER&#39; AS TABLE_NAME,<br>       COUNT(*) AS ROW_COUNT,<br>       MAX(LAST_MODIFIED_DATE) AS LAST_UPDATED<br>FROM CUSTOMER_MASTER<br>UNION ALL<br>SELECT &#39;TRANSACTION_HEADER&#39;, COUNT(*), MAX(CREATED_TIMESTAMP)<br>FROM TRANSACTION_HEADER<br>UNION ALL<br>SELECT &#39;ACCOUNT_BALANCES&#39;, COUNT(*), MAX(UPDATED_DATE)<br>FROM ACCOUNT_BALANCES<br>UNION ALL<br>SELECT &#39;PAYMENT_RECORDS&#39;, COUNT(*), MAX(PAYMENT_DATE)<br>FROM PAYMENT_RECORDS<br>ORDER BY TABLE_NAME;</pre><p>Run the same query on the standby database. Results must match before proceeding — any discrepancy signals a replication issue that should be resolved first.</p><h4>Step 5 — Verify Data Guard synchronization</h4><pre>dgmgrl /<br><br>DGMGRL&gt; connect sys;<br>Password:<br>Connected to &quot;PRODDB&quot;<br>Connected as SYSDBA.<br><br>DGMGRL&gt; show configuration;<br><br>--output<br><br>Configuration - DG_CONFIG<br>  Protection Mode: MaxPerformance<br>  Members:<br>  PRODDB      - Primary database<br>  DRDB        - Physical standby database<br><br>Fast-Start Failover: Disabled<br><br>Configuration Status:<br>SUCCESS   (status updated 60 seconds ago)</pre><p>Check the standby database details — transport lag and apply lag should both be at zero or near-zero before proceeding:</p><pre>DGMGRL&gt; show database &quot;DRDB&quot;;<br><br>--output<br><br>Database - DRDB<br>  Role:                 PHYSICAL STANDBY<br>  Intended State:       APPLY-ON<br>  Transport Lag:        0 seconds (computed 0 seconds ago)<br>  Apply Lag:            0 seconds (computed 0 seconds ago)<br>  Average Apply Rate:   249.00 KByte/s<br>  Real Time Query:      ON<br>  Instance(s):<br>    DRDB<br><br>Database Status:<br>SUCCESS</pre><p>Also verify the primary database status:</p><pre>DGMGRL&gt; show database &quot;PRODDB&quot;;<br><br>--output<br><br>Database - PRODDB<br>  Role:               PRIMARY<br>  Intended State:     TRANSPORT-ON<br>  Instance(s):<br>    PRODDB<br><br>Database Status:<br>SUCCESS</pre><blockquote><em>You can use </em><em>show database verbose &quot;PRODDB&quot; and </em><em>show database verbose &quot;DRDB&quot; for the full detailed output including additional configuration properties.</em></blockquote><p>Also check the archive destination status and lag from the database level:</p><pre>-- On primary (PRODDB)<br>SELECT DEST_ID, STATUS, TYPE, DATABASE_MODE,<br>       RECOVERY_MODE, GAP_STATUS, ERROR<br>FROM V$ARCHIVE_DEST_STATUS<br>WHERE DEST_ID = 2;<br><br>-- Expected: STATUS=&#39;VALID&#39;, GAP_STATUS=&#39;NO GAP&#39;</pre><pre>-- On standby (DRDB)<br>SELECT NAME, VALUE, TIME_COMPUTED<br>FROM V$DATAGUARD_STATS<br>WHERE NAME IN (&#39;transport lag&#39;, &#39;apply lag&#39;);<br><br>-- Target: 0 seconds for both. Do not proceed if lag &gt; 5 seconds.</pre><p>Additionally, you can verify synchronization at the redo level by comparing the latest archived log sequence numbers on both the primary and standby databases to ensure they are aligned.</p><pre>-- On Primary (PRODDB)<br>SELECT thread#, MAX(sequence#) AS &quot;Last Primary Seq Generated&quot;<br>FROM v$archived_log val, v$database vdb<br>WHERE val.resetlogs_change# = vdb.resetlogs_change#<br>GROUP BY thread#<br>ORDER BY 1;<br><br>-- On Standby (DRDB)<br>SELECT thread#, MAX(sequence#) AS &quot;Last Standby Seq Applied&quot;<br>FROM v$archived_log val, v$database vdb<br>WHERE val.resetlogs_change# = vdb.resetlogs_change#<br>AND val.applied IN (&#39;YES&#39;,&#39;IN-MEMORY&#39;)<br>GROUP BY thread#<br>ORDER BY 1;</pre><h4>Step 6 — Validate database readiness</h4><pre>DGMGRL&gt; validate database PRODDB;<br><br>--output<br><br>Database Role:    Primary database<br>Ready for Switchover:  Yes<br>Ready for Failover:    Yes (Primary Running)<br>Flashback Database Status:<br>  PRODDB:  On<br><br><br>DGMGRL&gt; validate database DRDB;<br><br>--output<br><br>Database Role:    Physical standby database<br>Ready for Switchover:  Yes<br>Flashback Database Status:<br>  DRDB:  On</pre><blockquote><em>⚠️ </em><strong><em>Critical checkpoint:</em></strong><em> Do not proceed unless both databases show “Ready for Switchover: Yes”. This is your final go/no-go gate before initiating the switchover.</em></blockquote><h3>Phase 2 — Execute the switchover</h3><h4>Step 1 — Initiate switchover via Data Guard Broker</h4><pre>dgmgrl /<br><br>DGMGRL&gt; switchover to DRDB;<br><br>--output<br><br>Performing switchover NOW, please wait...<br>Operation requires a connection to database &quot;DRDB&quot;<br>Connecting ...<br>Connected to &quot;DRDB&quot;<br>Connected as SYSDBA.<br>New primary database &quot;DRDB&quot; is opening...<br>Operation requires start up of instance &quot;PRODDB&quot; on database &quot;PRODDB&quot;<br>Starting instance &quot;PRODDB&quot;...<br>Connected to an idle instance.<br>ORACLE instance started.<br>Connected to &quot;PRODDB&quot;<br>Database mounted.<br>Database opened.<br>Connected to &quot;PRODDB&quot;<br>Switchover succeeded, new primary is &quot;DRDB&quot;</pre><p>Typical switchover duration is <strong>30–90 seconds</strong>. Document the exact timing — it will form part of your drill report and validates your RTO.</p><h4>Step 2 — Verify the new configuration</h4><pre>DGMGRL&gt; show configuration;<br><br>--output<br><br>Configuration - DG_CONFIG<br>  Protection Mode: MaxPerformance<br>  Members:<br>  DRDB     - Primary database            &lt;-- Now PRIMARY<br>  PRODDB   - Physical standby database   &lt;-- Now STANDBY<br>Configuration Status:<br>SUCCESS<br><br><br><br>DGMGRL&gt; show database &quot;PRODDB&quot;;<br><br>--output<br><br>Database - PRODDB<br>  Role:                 PHYSICAL STANDBY<br>  Intended State:       APPLY-ON<br>  Transport Lag:        0 seconds (computed 0 seconds ago)<br>  Apply Lag:            0 seconds (computed 0 seconds ago)<br>  Average Apply Rate:   249.00 KByte/s<br>  Real Time Query:      ON<br>  Instance(s):<br>    DRDB<br><br>Database Status:<br>SUCCESS</pre><h4>Step 3 — Confirm redo transport to the new standby</h4><pre>-- On new primary (DRDB) — confirm archives are shipping to standby<br>SELECT DEST_ID, STATUS, GAP_STATUS, ERROR<br>FROM V$ARCHIVE_DEST_STATUS<br>WHERE DEST_ID = 2;<br><br>-- Expected: STATUS=&#39;VALID&#39;, GAP_STATUS=&#39;NO GAP&#39;<br><br><br>-- On new standby (PRODDB) - confirm MRP is applying redo<br>SELECT PROCESS, STATUS, THREAD#, SEQUENCE#<br>FROM V$MANAGED_STANDBY<br>WHERE PROCESS LIKE &#39;MRP%&#39; OR PROCESS LIKE &#39;RFS%&#39;<br>ORDER BY PROCESS;</pre><h3>Phase 3 — DR side validation period</h3><blockquote><em>This is the heart of the drill. Running the DR side for 24–72 hours gives you real evidence — not assumptions — that your standby can carry production workloads.</em></blockquote><h4>Step 1 — Validate data consistency</h4><p>Run the same baseline query from Phase 1 on the new primary (DRDB). Every row count must match exactly:</p><pre>TABLE_NAME           Pre-Switch     Post-Switch    Status<br>-------------------  -----------    -----------    ------<br>CUSTOMER_MASTER        1,198,185      1,198,185    ✓ MATCH<br>TRANSACTION_HEADER     1,549,089      1,549,089    ✓ MATCH<br>ACCOUNT_BALANCES       7,452,455      7,452,455    ✓ MATCH<br>PAYMENT_RECORDS        9,428,676      9,428,676    ✓ MATCH</pre><h4>Step 2 — Enable jobs on the new primary</h4><pre>-- Enable jobs on new primary (DRDB)<br>-- Use the same job names you disabled in Phase 1<br>BEGIN<br>  DBMS_SCHEDULER.ENABLE(&#39;SYSTEM.NIGHTLY_BATCH_PROCESS&#39;);      -- Change per your environment<br>  DBMS_SCHEDULER.ENABLE(&#39;APPOWNER.DATA_WAREHOUSE_REFRESH&#39;);   -- Change per your environment<br>  DBMS_SCHEDULER.ENABLE(&#39;SYSTEM.MONTHLY_ARCHIVE_CLEANUP&#39;);    -- Change per your environment<br>  DBMS_SCHEDULER.ENABLE(&#39;FINANCE.END_OF_DAY_RECONCILIATION&#39;); -- Change per your environment<br>END;<br>/</pre><pre>-- Verify all jobs are enabled and scheduled<br>SELECT OWNER, JOB_NAME, STATE, ENABLED, NEXT_RUN_DATE<br>FROM DBA_SCHEDULER_JOBS<br>WHERE STATE = &#39;SCHEDULED&#39;<br>ORDER BY OWNER, JOB_NAME;</pre><h4>Step 3 — Operational testing during DR period</h4><p>During the DR period, conduct comprehensive testing across all application tiers:</p><p><strong>Application connectivity</strong> — Update connection strings to point to the DR database. Verify all application tiers can connect, authenticate, and function. Execute critical business transactions end-to-end.</p><p><strong>Batch job execution</strong> — Monitor scheduled jobs as they run. Verify completion times, check job logs for errors, and validate output data quality.</p><p><strong>Performance monitoring</strong> — Compare DR side performance against your production baseline:</p><pre>-- Active session count<br>SELECT STATUS, COUNT(*) AS SESSION_COUNT<br>FROM V$SESSION GROUP BY STATUS;</pre><pre>-- Top wait events<br>SELECT EVENT, TOTAL_WAITS, TIME_WAITED, AVERAGE_WAIT<br>FROM V$SYSTEM_EVENT<br>WHERE WAIT_CLASS != &#39;Idle&#39;<br>ORDER BY TIME_WAITED DESC<br>FETCH FIRST 20 ROWS ONLY;<br><br>-- Redo generation rate (last 24 hours)<br>SELECT THREAD#, SEQUENCE#,<br>       ROUND(BYTES/1024/1024, 2) AS SIZE_MB,<br>       TO_CHAR(FIRST_TIME, &#39;DD-MON-YY HH24:MI:SS&#39;) AS FIRST_TIME<br>FROM V$LOG_HISTORY<br>WHERE FIRST_TIME &gt; SYSDATE - 1<br>ORDER BY FIRST_TIME DESC;</pre><p><strong>Backup verification</strong> — Test RMAN backups from the DR side to confirm backup infrastructure works from this location:</p><pre>rman target /<br><br>RMAN&gt; BACKUP DATABASE PLUS ARCHIVELOG;<br>RMAN&gt; LIST BACKUP SUMMARY;<br>RMAN&gt; VALIDATE DATABASE;</pre><h3>Phase 4 — Switchback to original primary</h3><h4>Step 1 — Pre-switchback preparation</h4><p>Before reverting, take a final archive backup from the DR side and disable all jobs:</p><pre>-- Archive backup before switchback<br>rman target /<br>RMAN&gt; BACKUP ARCHIVELOG ALL DELETE INPUT;</pre><pre>-- Disable all jobs on current primary (DRDB)<br>BEGIN<br>  DBMS_SCHEDULER.DISABLE(&#39;SYSTEM.NIGHTLY_BATCH_PROCESS&#39;);      -- Change per your environment<br>  DBMS_SCHEDULER.DISABLE(&#39;APPOWNER.DATA_WAREHOUSE_REFRESH&#39;);   -- Change per your environment<br>  DBMS_SCHEDULER.DISABLE(&#39;SYSTEM.MONTHLY_ARCHIVE_CLEANUP&#39;);    -- Change per your environment<br>  DBMS_SCHEDULER.DISABLE(&#39;FINANCE.END_OF_DAY_RECONCILIATION&#39;); -- Change per your environment<br>END;<br>/</pre><h4>Step 2 — Capture final DR metrics</h4><p>Document all data changes made during the DR period by running the full table count query one more time. This creates a complete audit trail across all three states: pre-switchover, post-switchover, and pre-switchback.</p><h4>Step 3 — Verify synchronization before reverting</h4><p>This is one of the most important things to remember before any switchover or switchback — always verify that replication is healthy and the standby is fully caught up before initiating any role transition. Skipping this check is the most common cause of complications during switchback operations.</p><p>Just as we did in Phase 1 Step 5, validate the Data Guard configuration and confirm the standby database is in good standing. The original primary (now standby PRODDB) must be fully synchronized before switching back — this is a critical step, do not skip it.</p><pre>DGMGRL&gt; show configuration;<br><br>--output <br><br>Configuration - DG_CONFIG<br>  Protection Mode: MaxPerformance<br>  Members:<br>  DRDB        - Primary database<br>  PRODDB      - Physical standby database<br>Configuration Status:<br>SUCCESS   (status updated 15 seconds ago)</pre><pre>DGMGRL&gt; show database &quot;PRODDB&quot;;<br><br>--output <br><br>Database - PRODDB<br>  Role:                 PHYSICAL STANDBY<br>  Intended State:       APPLY-ON<br>  Transport Lag:        0 seconds (computed 3 seconds ago)<br>  Apply Lag:            0 seconds (computed 3 seconds ago)<br>  Average Apply Rate:   18.50 KByte/s<br>  Real Time Query:      ON<br>  Instance(s):<br>    PRODDB<br>Database Status:<br>SUCCESS</pre><p>Now validate the database is ready for switchover — the same validation we performed in Phase 1 before the initial switchover applies equally here:</p><pre>DGMGRL&gt; validate database DRDDB;<br><br>--output<br><br>Database Role:    Primary database<br>Ready for Switchover:  Yes<br>Ready for Failover:    Yes (Primary Running)<br>Flashback Database Status:<br>  DRDB:  On<br><br>DGMGRL&gt; validate database PRODDB;<br><br>--output<br><br>Database Role:    Physical standby database<br>Ready for Switchover:  Yes<br>Flashback Database Status:<br>  PRODDB:  On</pre><p>Also check the archive destination status and lag from the database level:</p><pre>-- On primary (DRDB)<br>SELECT DEST_ID, STATUS, TYPE, DATABASE_MODE,<br>       RECOVERY_MODE, GAP_STATUS, ERROR<br>FROM V$ARCHIVE_DEST_STATUS<br>WHERE DEST_ID = 2;<br><br>-- Expected: STATUS=&#39;VALID&#39;, GAP_STATUS=&#39;NO GAP&#39;</pre><pre>-- On standby (PRODDB)<br>SELECT NAME, VALUE, TIME_COMPUTED<br>FROM V$DATAGUARD_STATS<br>WHERE NAME IN (&#39;transport lag&#39;, &#39;apply lag&#39;);<br><br>-- Target: 0 seconds for both. Do not proceed if lag &gt; 5 seconds.</pre><p>Additionally, you can verify synchronization at the redo level by comparing the latest archived log sequence numbers on both the primary and standby databases to ensure they are aligned.</p><pre>-- On Primary (DRDDB)<br>SELECT thread#, MAX(sequence#) AS &quot;Last Primary Seq Generated&quot;<br>FROM v$archived_log val, v$database vdb<br>WHERE val.resetlogs_change# = vdb.resetlogs_change#<br>GROUP BY thread#<br>ORDER BY 1;<br><br>-- On Standby (PRODDB)<br>SELECT thread#, MAX(sequence#) AS &quot;Last Standby Seq Applied&quot;<br>FROM v$archived_log val, v$database vdb<br>WHERE val.resetlogs_change# = vdb.resetlogs_change#<br>AND val.applied IN (&#39;YES&#39;,&#39;IN-MEMORY&#39;)<br>GROUP BY thread#<br>ORDER BY 1;</pre><blockquote><em>⚠️ Do not proceed with switchback if transport lag or apply lag exceeds 2 seconds, if </em><em>V$ARCHIVE_GAP returns any rows, or if </em><em>validate database does not show &quot;Ready for Switchover: Yes&quot;. Always resolve any replication issues first — this is the golden rule before any role transition.</em></blockquote><h4>Step 4 — Execute switchback</h4><pre>DGMGRL&gt; switchover to PRODDB;<br><br>--output<br><br>Performing switchover NOW, please wait...<br>Connected to &quot;PRODDB&quot;<br>Connected as SYSDBA.<br>New primary database &quot;PRODDB&quot; is opening...<br>Starting instance &quot;DRDB&quot;...<br>Database mounted.<br>Database opened.<br>Switchover succeeded, new primary is &quot;PRODDB&quot;</pre><h4>Step 5 — Post-switchback validation</h4><pre>DGMGRL&gt; show configuration;<br><br>--output <br><br>Configuration - DG_CONFIG<br>  Protection Mode: MaxPerformance<br>  Members:<br>  PRODDB   - Primary database            &lt;-- Back to PRIMARY<br>  DRDB     - Physical standby database   &lt;-- Back to STANDBY<br>Configuration Status:<br>SUCCESS<br><br><br><br>DGMGRL&gt; show database &quot;DRDB&quot;;<br><br>--output<br><br>Database - DRDB<br>  Role:                 PHYSICAL STANDBY<br>  Intended State:       APPLY-ON<br>  Transport Lag:        0 seconds (computed 0 seconds ago)<br>  Apply Lag:            0 seconds (computed 0 seconds ago)<br>  Average Apply Rate:   249.00 KByte/s<br>  Real Time Query:      ON<br>  Instance(s):<br>    DRDB<br><br>Database Status:<br>SUCCESS</pre><p>Run the full table count comparison one final time. All figures must match across all three checkpoints: pre-switchover, post-switchover, and post-switchback.</p><h4>Step 6 — Re-enable production jobs</h4><pre>BEGIN<br>  DBMS_SCHEDULER.ENABLE(&#39;SYSTEM.NIGHTLY_BATCH_PROCESS&#39;);<br>  DBMS_SCHEDULER.ENABLE(&#39;APPOWNER.DATA_WAREHOUSE_REFRESH&#39;);<br>  DBMS_SCHEDULER.ENABLE(&#39;SYSTEM.MONTHLY_ARCHIVE_CLEANUP&#39;);<br>  DBMS_SCHEDULER.ENABLE(&#39;FINANCE.END_OF_DAY_RECONCILIATION&#39;);<br>END;<br>/</pre><pre>-- Confirm all jobs are back to scheduled state<br>SELECT OWNER, JOB_NAME, STATE, ENABLED,<br>       TO_CHAR(NEXT_RUN_DATE, &#39;DD-MON-YY HH24:MI:SS&#39;) AS NEXT_RUN<br>FROM DBA_SCHEDULER_JOBS<br>WHERE STATE = &#39;SCHEDULED&#39;<br>ORDER BY OWNER, JOB_NAME;</pre><h3>DR drill report</h3><p>After completing the drill, a detailed report should be prepared documenting every phase of the activity. This includes the exact time each step was initiated and completed, the switchover and switchback durations, data validation results across all monitored tables, any issues encountered along with their resolutions, and a final sign-off from the relevant stakeholders. The report serves as an audit trail for compliance purposes, communicates the outcome to management, and builds a historical record that helps you benchmark and improve with each successive drill.</p><h3>Best practices for sustainable DR drilling</h3><p>Running one successful drill is good. Building a culture of regular, disciplined testing is what actually protects your organization.</p><p>Establish a regular cadence based on business criticality — quarterly for systems with strict SLAs, semi-annually for important but less critical systems, and at minimum annually for any database with a DR configuration. The frequency should be driven by how much your environment changes and how much downtime you can genuinely afford if your DR plan fails.</p><p>Always communicate well in advance. Notify all stakeholders 2–4 weeks before each drill, hold a planning meeting to walk through the procedures, assign clear roles to each participant, and define success criteria before you start. After the drill, conduct a structured post-mortem — even when things go well, there are usually optimizations to capture.</p><p>Automate as much of the preparation and validation as possible. Scripting the pre-check steps, metric capture queries, and job management reduces human error and speeds up execution significantly. But do not automate the decision points, a human should always review validation outputs and give a go-ahead before each transition.</p><p>Finally, track your metrics over time. If switchover time is creeping up, that’s a signal worth investigating. If apply lag is consistently higher than expected, there may be a network or I/O bottleneck building quietly. Trend data from regular drills often reveals infrastructure issues long before they cause real problems.</p><h3>Conclusion</h3><p>A DR drill is not a checkbox exercise, it is a rigorous validation that your high availability architecture delivers on its promises. Through planned switchover drills using Oracle Data Guard, you gain evidence-based confidence that your standby can handle production workloads, your team knows the procedures, and your RTO objectives are achievable in practice.</p><p>The key distinction to carry forward: <strong>switchover</strong> is your tool for planned drills — controlled, zero data loss, fully reversible. <strong>Failover</strong> is your tool for actual disasters — immediate, potentially involving data loss, requiring reinstatement or rebuild. Both matter deeply. This guide covered the former. Failover will be the subject of the next post in this series.</p><p>Invest in your DR drills. Practice them. Document them. Improve them with each iteration. When a real incident occurs, the time you spend drilling today is what determines whether your organization recovers in minutes or days.</p><p><em>This article documents practical, real-world experience conducting Oracle Data Guard DR drills in enterprise environments. While this gives you a practical guide based on real production exposure, it is always recommended to refer to the official Oracle documentation for in-depth detail and further guidance specific to your environment and version.</em></p><p><strong>Additional Resources</strong></p><ul><li><a href="https://docs.oracle.com/en/database/oracle/oracle-database/19/sbydb/">Oracle Data Guard Concepts and Administration Guide</a></li><li><a href="https://www.oracle.com/database/technologies/high-availability/maa.html">Oracle Maximum Availability Architecture (MAA) Best Practices</a></li><li><a href="https://docs.oracle.com/en/database/oracle/oracle-database/19/dgbkr/">Oracle Data Guard Broker Documentation</a></li></ul><p><em>#Oracle #DataGuard #DisasterRecovery #DRDrill #OracleDBA #HighAvailability #BusinessContinuity #Switchover #OracleACE</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c938db5bfc8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Adding Storage to an Existing Oracle RAC ASM Diskgroup on Oracle Private Cloud Appliance (PCA)]]></title>
            <link>https://medium.com/@buddhikadb1/adding-storage-to-an-existing-oracle-rac-asm-diskgroup-on-oracle-private-cloud-appliance-pca-168692df2bfd?source=rss-7d7bfcd6ee9b------2</link>
            <guid isPermaLink="false">https://medium.com/p/168692df2bfd</guid>
            <category><![CDATA[add-storage-to-asm]]></category>
            <category><![CDATA[private-cloud-appliance]]></category>
            <category><![CDATA[extending-asm]]></category>
            <category><![CDATA[oracle-rac]]></category>
            <category><![CDATA[oracle-asm]]></category>
            <dc:creator><![CDATA[Buddhika Hasitha]]></dc:creator>
            <pubDate>Wed, 08 Apr 2026 16:11:01 GMT</pubDate>
            <atom:updated>2026-04-08T16:11:01.816Z</atom:updated>
            <content:encoded><![CDATA[<h3>Adding Storage to an Existing Oracle RAC ASM Diskgroup on Oracle Private Cloud Appliance (PCA)</h3><p><em>A hands-on, step-by-step practical guide based on a real production change</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*SillGi27Ms_umhTre8J48w.png" /></figure><h3>Introduction</h3><p>If you manage Oracle databases in an enterprise environment, chances are you have faced the moment when your DBA team sends an alert — ASM free space is running low, and you need to act before it becomes a production incident. This article walks through exactly that scenario: expanding an existing Oracle ASM diskgroup by adding a new block storage volume on <strong>Oracle Private Cloud Appliance (PCA)</strong>.</p><p>This is not a theoretical guide. Every step here comes from an actual hands-on change I performed on a live RAC environment. I will walk you through the full process — from checking current ASM space, provisioning a block volume through the PCA web console, performing OS-level configuration, all the way to adding the disk to ASM and verifying the expanded storage.</p><blockquote><strong><em>Note:</em></strong><em> Always refer to the official Oracle documentation for your specific version and environment before making any changes in production. This article is intended as a practical companion, not a replacement for official guidance.</em></blockquote><h4>What Is Oracle RAC and ASM — A Quick Overview</h4><p><strong>Oracle Real Application Clusters (RAC)</strong> is Oracle’s solution for high availability and scalability. Instead of a single server running your database, RAC allows multiple servers (nodes) to access and run the same database simultaneously. If one node fails, the others keep running — giving you fault tolerance and load balancing in one solution.</p><p><strong>Oracle Automatic Storage Management (ASM)</strong> is the storage layer that goes hand in hand with RAC. Rather than managing individual disk files yourself, ASM acts as a built-in volume manager and file system designed specifically for Oracle databases. It groups your physical disks into <strong>diskgroups</strong> and handles mirroring, striping, and rebalancing automatically.</p><p>In a typical RAC + ASM setup, you will have diskgroups like:</p><ul><li><strong>DATAC1</strong> — for database datafiles</li><li><strong>RECOC1</strong> — for recovery files (archive logs, backups)</li><li><strong>DBFS_DG</strong> — for Oracle Database File System</li></ul><h4>What Is Oracle Private Cloud Appliance (PCA)?</h4><p>Oracle PCA is Oracle’s on-premises cloud infrastructure platform — think of it as “Oracle Cloud in your own data center.” It gives you the same cloud-style experience of provisioning compute instances, block storage, networking, and more, but all running on hardware you own and control inside your data center.</p><p>PCA is particularly popular in environments where data sovereignty, low latency to on-premises systems, or regulatory requirements prevent using a public cloud. The web console experience is very similar to OCI, which makes the skills transferable between both platforms.</p><h3>Environment Details</h3><p>This article is based on the following environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/863/1*L5Xaft4ZaXv46r_iNy4LzA.png" /></figure><h4>Existing ASM Diskgroups</h4><pre>ASMCMD&gt; lsdg<br><br><br>State    Type    Rebal  Sector  Block       AU  Total_MB  Free_MB  Req_mir_free_MB  Usable_file_MB  Name<br>MOUNTED  NORMAL  N         512   4096  1048576  14680064   312901          3670016          312901   DATAC1/<br>MOUNTED  EXTERN  N         512   4096  1048576    512000   511903                0          511903   DBFS_DG/<br>MOUNTED  NORMAL  N         512   4096  1048576   2097152  2047372                0         1023686   RECOC1/</pre><p>Notice that <strong>DATAC1</strong> has only <strong>312,901 MB (~305 GB) of usable space remaining</strong> — that is what triggered this change. Our goal is to add 3.5 TB of raw storage, which on a NORMAL redundancy diskgroup translates to approximately <strong>1.75 TB of usable space</strong> (mirrored across two failure groups).</p><h3>Step 1 — Check Current ASM Space and Disks</h3><p>Before making any changes, always establish a baseline. This gives you a clear before-and-after picture and helps confirm the change was successful.</p><p><strong>As the grid user, check diskgroup space</strong></p><pre>su - grid<br>. oraenv<br># Enter: +ASM1</pre><pre># Quick diskgroup overview<br>asmcmd<br><br>ASMCMD&gt; lsdg<br><br>State    Type    Rebal  Sector  Block       AU  Total_MB  Free_MB  Req_mir_free_MB  Usable_file_MB  Name<br>MOUNTED  NORMAL  N         512   4096  1048576  14680064   312901          3670016          312901   DATAC1/<br>MOUNTED  EXTERN  N         512   4096  1048576    512000   511903                0          511903   DBFS_DG/<br>MOUNTED  NORMAL  N         512   4096  1048576   2097152  2047372                0         1023686   RECOC1/</pre><p><strong>Check all disks visible to ASM using kfod</strong></p><p>kfod (Kernel Files and Disks) is an Oracle ASM utility that lists all disks the system can see, along with their size, path, and ownership. It is your best tool for understanding the current disk landscape before and after a change.</p><pre># From grid home or after setting oraenv<br>kfod disks=all</pre><p>This will show every disk on the system — including those already in ASM diskgroups and any that are candidates for addition.</p><p><strong>From SQL*Plus as sysasm</strong></p><pre>sqlplus / as sysasm</pre><pre>-- Current diskgroup summary<br>SELECT name,<br>       type,<br>       total_mb,<br>       free_mb,<br>       usable_file_mb,<br>       ROUND(total_mb/1024, 2)       AS total_gb,<br>       ROUND(free_mb/1024, 2)        AS free_gb,<br>       ROUND(usable_file_mb/1024, 2) AS usable_gb<br>FROM v$asm_diskgroup<br>WHERE name = &#39;DATAC1&#39;;<br><br>-- Current disks in DATAC1<br>SELECT disk_number, name, path, total_mb, free_mb, state, mode_status<br>FROM v$asm_disk<br>WHERE group_number = (<br>  SELECT group_number FROM v$asm_diskgroup WHERE name = &#39;DATAC1&#39;<br>)<br>ORDER BY disk_number;</pre><p>Record these values. You will compare them at the end to confirm the storage was added successfully.</p><h3>Step 2 — Provision a Block Volume on PCA and Attach to Both RAC Nodes</h3><h4>Create the Block Volume</h4><ol><li>Log in to the <strong>PCA Web Console</strong></li><li>Navigate to <strong>Storage → Block Volumes</strong></li><li>Click <strong>Create Block Volume</strong> and configure:</li></ol><ul><li><strong>Name:</strong> DATAC1_LUN06</li><li><strong>Size:</strong> 3584 GB (3.5 TB)</li><li><strong>Performance:</strong> High Performance (recommended for database workloads)</li><li><strong>Backup Policy:</strong> Bronze (or per your organization’s standard)</li></ul><p>4. Click <strong>Create</strong> and wait for the volume to reach <strong>Available</strong> status</p><h4>Attach to Both RAC Nodes — Why Shareable Matters</h4><p>This is a critical step that is unique to RAC environments. You must attach the block volume to <strong>both nodes</strong> and you must select <strong>Read/Write — Shareable</strong> as the access mode.</p><p><strong>Why Shareable?</strong> In a RAC setup, both nodes need simultaneous read/write access to the same ASM disks. If you attach as non-shareable (exclusive), only one node can access it — which defeats the purpose of RAC and will cause ASM to fail to mount the disk correctly on the second node.</p><p>To attach:</p><ol><li>Go to <strong>Compute Instances → Select prod-dbnode01 → View/Edit Instance → Attach Block Volume</strong></li><li>Select the DATAC1_LUN06 volume</li><li>Set access type to <strong>Read/Write — Shareable</strong></li><li>Confirm attachment</li><li><strong>Repeat the same steps for prod-dbnode02</strong></li></ol><blockquote><em>Once both attachments are complete, the web console configuration is done. All remaining steps are OS and ASM level.</em></blockquote><h3>Step 3 — OS Configuration (Both Nodes)</h3><p>All OS-level steps in this section must be run on <strong>both RAC nodes</strong> unless explicitly stated otherwise.</p><h4>3a. Verify the New Disk is Visible to the OS</h4><pre># Run on both nodes<br>fdisk -l</pre><p>Look for a new disk entry of approximately 3.5 TB. In this environment it appeared as /dev/sdk:</p><pre>Disk /dev/sdk: 3848.3 GB, 3848290697216 bytes, 7516192768 sectors<br>Units = sectors of 1 * 512 = 512 bytes<br>Sector size (logical/physical): 512 bytes / 512 bytes<br>I/O size (minimum/optimal): 8192 bytes / 1310720 bytes</pre><blockquote><em>Note: The device name (</em><em>sdk, </em><em>sdj, </em><em>sdl, etc.) may differ between nodes and between reboots — this is exactly why we use multipath and udev rules.</em></blockquote><h4>3b. Get the Disk’s WWID</h4><p>The WWID (World Wide Identifier) is the permanent, globally unique fingerprint of your disk. It never changes regardless of which server or port the disk is connected through. This is what we use to identify the disk consistently across both nodes.</p><pre># Run on node 1 — same WWID will appear on node 2 for the same LUN<br>/usr/lib/udev/scsi_id -g -u -d /dev/sdk</pre><pre># Example output:<br>8500144f0b015cf22000069c39a0d0037</pre><h4>3c. Configure Multipath (Both Nodes)</h4><p>Multipath combines multiple physical paths to the same disk into a single reliable virtual device. This gives you both <strong>path redundancy</strong> (if one cable or port fails, the other takes over) and a <strong>consistent device name</strong> (/dev/mapper/DATAC1_LUN06) regardless of which physical path the OS uses.</p><p>First, back up your existing multipath configuration — always a best practice before editing:</p><pre>cp /etc/multipath.conf /etc/multipath.conf.bak_$(date +%F)</pre><p>Then edit /etc/multipath.conf and add the new disk:</p><pre>vi /etc/multipath.conf</pre><p>Add the WWID to the blacklist_exceptions section and define the alias in multipaths:</p><pre>blacklist_exceptions {<br>    wwid &quot;8500144f0b015cf22000069c39a0d0037&quot;<br>}</pre><pre>multipaths {<br>    multipath {<br>        wwid  &quot;8500144f0b015cf22000069c39a0d0037&quot;<br>        alias &quot;DATAC1_LUN06&quot;<br>    }<br>}</pre><p>Restart multipathd to pick up the changes:</p><pre>systemctl restart multipathd</pre><p>Verify the multipath device was created:</p><pre>multipath -v2 /dev/sdk<br>multipath -ll | grep -i &quot;DATAC1_LUN06&quot;<br>multipath -ll</pre><p>What multipath -v2 /dev/sdk does under the hood:</p><ol><li><strong>SCAN</strong> — reads /dev/sdk and retrieves its WWID</li><li><strong>MATCH</strong> — looks up that WWID in multipath.conf</li><li><strong>CREATE</strong> — creates /dev/mapper/DATAC1_LUN06 if it does not already exist</li></ol><p>Confirm the device exists and check its size:</p><pre>ls -l /dev/mapper/DATAC1_LUN06<br># Expected: lrwxrwxrwx ... DATAC1_LUN06 -&gt; ../dm-8</pre><pre>lsblk /dev/mapper/DATAC1_LUN06<br># Expected: DATAC1_LUN06  252:8  0  3.5T  0  mpath</pre><h3>Step 4 — Set Disk Permissions and Add udev Rules</h3><h4>Understanding the Two Approaches</h4><p>There are two established methods for managing ASM disk naming and permissions in Linux environments:</p><p><strong>Method 1 — ASMLib (oracleasm commands)</strong></p><pre># ASMLib approach — NOT used in this environment<br>oracleasm createdisk DATAC1_06 /dev/mapper/DATAC1_LUN06<br>oracleasm scandisks<br>oracleasm listdisks</pre><p><strong>Method 2 — udev rules (used in this environment)</strong></p><pre># udev approach — what we use here<br># Edit /etc/udev/rules.d/99-oracle-asmdevices.rules</pre><p>These two methods are <strong>mutually exclusive</strong>. You use one or the other — never both. The key indicator of which method your environment uses is the disk paths shown in kfod disks=all. If you see /dev/mapper/ paths, you are using the udev method. If you see /dev/oracleasm/disks/ paths, you are using ASMLib.</p><p>Since this environment already has DATAC1_LUN01 through LUN05 all using /dev/mapper/ paths, we follow the same udev method.</p><h4><strong>Method 2 — udev rules</strong></h4><h4>4a. Temporary Permission Fix (Immediate, Both Nodes)</h4><p>The kfod output showed DATAC1_LUN06 was owned by root:disk instead of grid:asmadmin. ASM runs as the grid user and cannot use the disk without the correct permissions. Fix this immediately on both nodes:</p><pre># Fix the raw device<br>chown grid:asmadmin /dev/sdk<br>chmod 660 /dev/sdk<br><br># Fix the multipath device (this is what ASM actually uses)<br>chown grid:asmadmin /dev/mapper/DATAC1_LUN06<br>chmod 660 /dev/mapper/DATAC1_LUN06</pre><blockquote><strong><em>Important:</em></strong><em> These manual </em><em>chown/chmod changes are </em><strong><em>temporary</em></strong><em>. They will be lost on the next reboot. The udev rule in the next step makes them permanent.</em></blockquote><h4>4b. Permanent Permission Fix via udev Rule (Both Nodes)</h4><p>First, check your existing rules file to match the exact format already in use:</p><pre>cat /etc/udev/rules.d/99-oracle-asmdevices.rules<br># or<br>cat /etc/udev/rules.d/99-oracle-asm.rules</pre><p>Add a new entry for DATAC1_LUN06 following the same pattern as your existing rules:</p><pre>ENV{DM_NAME}==&quot;DATAC1_LUN06&quot;, OWNER=&quot;grid&quot;, GROUP=&quot;asmadmin&quot;, MODE=&quot;0660&quot;</pre><p>Reload udev to apply the new rule:</p><pre>udevadm control --reload-rules<br>udevadm trigger --type=devices --action=change</pre><p>From this point forward, every time the system boots or the device is detected, udev will automatically apply the correct ownership and permissions — no manual intervention needed.</p><h4>4c. Verify Disk is Ready for ASM</h4><pre># From grid home or after setting oraenv<br><br>kfod disks=all | grep LUN06</pre><pre># Expected output:<br># 6:  3670016 Mb /dev/mapper/DATAC1_LUN06    grid    asmadmin</pre><h3>Step 5 — Add the Disk to DATAC1 ASM Diskgroup</h3><p>All ASM commands are run <strong>from node 1 only</strong> — ASM propagates the change to all nodes automatically.</p><h4>Check Current DATAC1 Disks Before Adding</h4><pre>sqlplus / as sysasm</pre><pre>SELECT disk_number, name, path, total_mb, free_mb, state, mode_status<br>FROM v$asm_disk<br>WHERE group_number = (<br>  SELECT group_number FROM v$asm_diskgroup WHERE name = &#39;DATAC1&#39;<br>)<br>ORDER BY disk_number;</pre><h4>Verify the New Disk Header Status</h4><p>Before adding the new disk, confirm it shows as CANDIDATE in ASM. This is a critical check that tells you the disk is clean, unformatted, and ready to be claimed by ASM.</p><pre>sqlplus / as sysasm</pre><pre>-- Must show CANDIDATE — not PROVISIONED or any other status<br>SELECT path, header_status, total_mb<br>FROM v$asm_disk<br>WHERE path LIKE &#39;%LUN06%&#39;;</pre><pre>Expected output:<br><br>PATH                              HEADER_STATUS    TOTAL_MB<br>--------------------------------  ---------------  ---------<br>/dev/mapper/DATAC1_LUN06          CANDIDATE        3670016</pre><h4>Add the New Disk</h4><pre>ALTER DISKGROUP DATAC1 ADD DISK<br>  &#39;/dev/mapper/DATAC1_LUN06&#39; NAME DATAC1_LUN06<br>REBALANCE POWER 4;</pre><p><strong>About the NAME clause:</strong> Without it, ASM auto-generates an ugly name like DATAC1_0005 that does not match your naming convention and is hard to trace back to the physical LUN. Always provide a meaningful name.</p><p><strong>About REBALANCE POWER:</strong> This controls how aggressively ASM redistributes data across all disks after the new one is added. The default (if omitted) is power 1 — which for a 3.5 TB disk could take 8–12 hours or more. A value of 4 is a good balance for a production system during a maintenance window.</p><h4>Monitor Rebalance Progress</h4><pre>-- Run this repeatedly to track progress<br>SELECT group_number,<br>       operation,<br>       state,<br>       power,<br>       sofar,<br>       est_work,<br>       est_minutes<br>FROM v$asm_operation;</pre><pre>-- When this returns no rows, rebalance is complete</pre><p>You can also adjust the rebalance power while it is running if conditions change:</p><pre>-- Speed up if system is quiet<br>ALTER DISKGROUP DATAC1 REBALANCE POWER 8;</pre><pre>-- Slow down if system gets busy<br>ALTER DISKGROUP DATAC1 REBALANCE POWER 2;</pre><h3>Pro Tip — Adding Multiple Disks: Always Do It in One Command</h3><p>This is one of the most important practical tips in this entire guide.</p><p>If you need to add multiple disks — say LUN07 and LUN08 as well — <strong>do not add them one by one</strong>. Adding them separately triggers a full rebalance after each addition. For 3.5 TB disks, that could mean two separate rebalance operations running back-to-back, each taking hours.</p><p>Instead, add all disks in a <strong>single ALTER DISKGROUP statement</strong>:</p><pre>ALTER DISKGROUP DATAC1 ADD DISK<br>  &#39;/dev/mapper/DATAC1_LUN07&#39; NAME DATAC1_LUN07,<br>  &#39;/dev/mapper/DATAC1_LUN08&#39; NAME DATAC1_LUN08<br>REBALANCE POWER 4;</pre><p>Notice:</p><ul><li>Each disk is separated by a <strong>comma</strong></li><li>REBALANCE POWER is written <strong>only once at the end</strong></li><li>ASM triggers <strong>one single rebalance</strong> for all disks combined</li></ul><pre>Adding disks one by one:<br>  LUN07 → rebalance #1 <br>  LUN08 → rebalance #2 <br>  Total: 2 full rebalance cycles </pre><pre>Adding all at once:<br>  LUN07 + LUN08 → single rebalance (hours, but only once)<br>  Total: 1 rebalance cycle ✓</pre><p>This single habit can save you hours of maintenance window time.</p><h3>Step 6 — Verify Free Space Has Increased</h3><p>Once the rebalance completes (no rows in v$asm_operation), confirm everything looks correct.</p><h4>Diskgroup Level Check</h4><pre>sqlplus / as sysasm<br><br>----------------------------------<br><br>SELECT name,<br>       type,<br>       total_mb,<br>       free_mb,<br>       usable_file_mb,<br>       ROUND(total_mb/1024, 2)       AS total_gb,<br>       ROUND(free_mb/1024, 2)        AS free_gb,<br>       ROUND(usable_file_mb/1024, 2) AS usable_gb<br>FROM v$asm_diskgroup<br>WHERE name = &#39;DATAC1&#39;;</pre><p>Expected results after adding LUN06:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/833/1*cUsFrQDMMIazdnA7DkwKHw.png" /></figure><h4>Individual Disk Level Check</h4><pre>sqlplus / as sysasm<br><br>----------------------------------<br><br>SELECT disk_number, name, path, state, total_mb, free_mb<br>FROM v$asm_disk<br>WHERE group_number = (<br>  SELECT group_number FROM v$asm_diskgroup WHERE name = &#39;DATAC1&#39;<br>)<br>ORDER BY disk_number;</pre><p>You should now see DATAC1_LUN06 listed as a NORMAL state disk alongside LUN01–LUN05.</p><h4>Confirm via ASMCMD</h4><pre>asmcmd<br>ASMCMD&gt; lsdg DATAC1</pre><p>The Rebal column should show N (not rebalancing) and Usable_file_MB should reflect the increased free space.</p><h3>Summary — The Full Flow</h3><pre>1. Check current ASM space (kfod, asmcmd, v$asm_diskgroup)<br>         ↓<br>2. Create Block Volume on PCA console (3.5 TB, High Performance)<br>         ↓<br>3. Attach to BOTH nodes as Read/Write Shareable<br>         ↓<br>4. Verify disk visible on OS — fdisk -l (both nodes)<br>         ↓<br>5. Get WWID — scsi_id command (both nodes)<br>         ↓<br>6. Edit multipath.conf — add blacklist_exception + alias (both nodes)<br>         ↓<br>7. Restart multipathd — verify /dev/mapper/DATAC1_LUN06 created (both nodes)<br>         ↓<br>8. Fix permissions temporarily — chown + chmod (both nodes)<br>         ↓<br>9. Add udev rule — permanent permissions (both nodes)<br>         ↓<br>10. Verify kfod shows grid:asmadmin for new disk<br>         ↓<br>11. Add disk to ASM — ALTER DISKGROUP DATAC1 ADD DISK (node 1 only)<br>         ↓<br>12. Monitor rebalance — v$asm_operation<br>         ↓<br>13. Verify free space increased — v$asm_diskgroup, asmcmd lsdg</pre><h3>Conclusion</h3><p>Expanding ASM storage on Oracle RAC running on PCA follows a clear and repeatable pattern — provision the block volume, configure multipath and udev on both nodes, verify permissions, and add the disk to the diskgroup. The preparation steps at the OS level are where attention to detail matters most. Get those right and the ASM side takes care of itself.</p><p>Remember the two most important habits from this guide: always check header_status = CANDIDATE before adding a disk, and always add multiple disks in a single ALTER DISKGROUP statement to avoid unnecessary rebalance cycles.</p><p>As always, refer to the official Oracle documentation for your specific environment, and test in non-production first.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=168692df2bfd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>