{"id":273,"date":"2024-11-25T21:49:56","date_gmt":"2024-11-25T21:49:56","guid":{"rendered":"https:\/\/test5.samplewebsitelink.com\/cassandra\/?p=273"},"modified":"2024-12-02T20:49:36","modified_gmt":"2024-12-02T20:49:36","slug":"oracle-rman-and-azure-iaas-oracle-backup","status":"publish","type":"post","link":"https:\/\/test5.samplewebsitelink.com\/cassandra\/2024\/11\/25\/oracle-rman-and-azure-iaas-oracle-backup\/","title":{"rendered":"Oracle RMAN and Azure IaaS Oracle Backup"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"273\" class=\"elementor elementor-273\" data-elementor-post-type=\"post\">\n\t\t\t\t<div class=\"elementor-element elementor-element-2628f6e e-flex e-con-boxed e-con e-parent\" data-id=\"2628f6e\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-1273a17 e-con-full e-flex e-con e-child\" data-id=\"1273a17\" data-element_type=\"container\">\n\t\t<div class=\"elementor-element elementor-element-97b3c94 e-flex e-con-boxed e-con e-child\" data-id=\"97b3c94\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-c50aea8 elementor-widget elementor-widget-heading\" data-id=\"c50aea8\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">Oracle RMAN and Azure IaaS Oracle Backup<\/h1>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-c8460a9 e-flex e-con-boxed e-con e-parent\" data-id=\"c8460a9\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-0442f98 elementor-widget elementor-widget-text-editor\" data-id=\"0442f98\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>RMAN is a Oracle bundled enterprise backup utility.to make backups in most Oracle production environments. On premise RMAN is the ubiquitous tool often coupled with other hardware\/software technologies such as Tivoli or Oracle Zero Data Loss Machine IN the cloud the backups are a often managed as part of the PaaS and SaaS services that use Oracle so it is either \u2018\u2019transparent\u2019 to the user or a worrisome black hole to the support teams.<\/p><p>To insure both DR and local recoverability. In Azure\u00a0 object storage can be utilized for low cost backup in conjunction with high end I\/O service \u00a0\u00a0on the +FRA being located in the SDP. Note that RMAN will run seamlessly with RMAN and in fact needs no special SBT tape library function. RMAN will see the Silk SDB based FRA as a Disk device. This greatly simplifies backup and recovery tasks.<\/p><p>\u00a0<\/p><p>Nonetheless unless multi region replication is used, some Blob storage should be presented as either an NFS or SMB based file system to RMAN. These will be in effect your \u2018offsite backups\u2019. Once again RMAN is configured as a disk device through the Azure filesystem\/blob interface and is configured as an internal RMAN disk. As such no special RMAN libraries are required. Azure Blob storage can be mounted to Azure Linux VM\u2019s using NFS v3.0 protocol or BlobFuse (Linux FUSE).<\/p><p>The steps to do so are below:<\/p><p><a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/virtual-machines\/workloads\/oracle\/oracle-database-backup-azure-storage?tabs=azure-portal\">https:\/\/docs.microsoft.com\/en-us\/azure\/virtual-machines\/workloads\/oracle\/oracle-database-backup-azure-storage?tabs=azure-portal<\/a><\/p><p>The Oracle RMAN syntax once the Azure blob file system is configured is this:<\/p><p>Identify the RMAN utilized file system mount point<\/p><p>df -h<\/p><p>Filesystem\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Size\u00a0 Used Avail Use% Mounted on<\/p><p>devtmpfs\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a03.3G\u00a0\u00a0\u00a0\u00a0 0\u00a0 3.3G\u00a0\u00a0 0% \/dev<\/p><p>tmpfs\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 3.3G\u00a0\u00a0\u00a0\u00a0 0\u00a0 3.3G\u00a0\u00a0 0% \/dev\/shm<\/p><p>tmpfs\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 3.3G\u00a0\u00a0 17M\u00a0 3.3G\u00a0\u00a0 1% \/run<\/p><p>tmpfs\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a03.3G\u00a0\u00a0\u00a0\u00a0 0\u00a0 3.3G\u00a0\u00a0 0% \/sys\/fs\/cgro (mnt\/\/orabackup) in this case.up<\/p><p>\/dev\/sda2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 30G\u00a0 9.1G\u00a0\u00a0 19G\u00a0 34% \/<\/p><p>\/dev\/sdc1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 59G\u00a0 2.7G\u00a0\u00a0 53G\u00a0\u00a0 5% \/u02<\/p><p>\/dev\/sda1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0497M\u00a0 199M\u00a0 298M\u00a0 41% \/boot<\/p><p>\/dev\/sda15\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 495M\u00a0 9.7M\u00a0 486M\u00a0\u00a0 2% \/boot\/efi<\/p><p>tmpfs\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 671M\u00a0\u00a0\u00a0\u00a0 0\u00a0 671M\u00a0\u00a0 0% \/run\/user\/54321<\/p><p>\/dev\/sdb1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 14G\u00a0 2.1G\u00a0\u00a0 11G\u00a0 16% \/mnt\/resource<\/p><p>tmpfs\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 671M\u00a0\u00a0\u00a0\u00a0 0\u00a0 671M\u00a0\u00a0 0% \/run\/user\/54322<\/p><p>\/\/orabackup1.file.core.windows.net\/orabackup\u00a0\u00a0 10T\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0 10T\u00a0\u00a0 0% \/mnt\/orabackup<\/p><p>Next RMAN channels are configured that point to this backpoint (or points)<\/p><p>$ rman target \/<\/p><p>RMAN&gt; configure snapshot controlfile name to &#8216;\/mnt\/orabkup\/snapcf_ev.f&#8217;;<\/p><p>RMAN&gt; configure channel 1 device type disk format &#8216;\/mnt\/orabkup\/%d\/Full_%d_%U_%T_%s&#8217;;<\/p><p>Once this configuration is done normal RMAN backup and restore procedures can proceed.<\/p><p>RMAN&gt; configure channel 2 device type disk format &#8216;\/mnt\/orabkup\/%d\/Full_%d_%U_%T_%s&#8217;;<\/p><p>RMAN&gt; configure channel device type disk maxpiecesize 1000G;<\/p><p>RMAN&gt; backup as compressed backupset database plus archivelog;<\/p><p>You have now backed up the database online using Oracle RMAN, with the backup located in Azure Files. This method has the advantage of utilizing the features of RMAN while storing backups in Azure Files where they can be accessed from other VMs.<\/p><p>RMAN can also be used to create a databases online via the duplicate RMAN command . This requires high network bandwidth and low latency to be successful. Typical alternatives over doing duplication \u2018over the wire\u2019 are to create multiple RMAN backup pieces that can be streamed up to the cloud in parallel&#8211; again restricted only by bandwidth and latency. Subsequently after the DB is reincarnated and recovered, a CDC mechanism will be required to synch it to its on-premise source.<\/p><p>Other uses for RMAN include using it to manage transportable tablespaces and doing source side endian conversions prior to migration. Finally, RMAN is key to instantiation of DataGuard. RMAN remains an invaluable tool for the DBA being able to do Point In Time Recoveries (PITR) to come back from logical operator errors\/ malicious intent. RMAN is key to a robust production database environment<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-892d841 e-con-full e-flex e-con e-child\" data-id=\"892d841\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-6f62d94 elementor-widget elementor-widget-text-editor\" data-id=\"6f62d94\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Cassandra consulting LLC\u00a0 offers small to medium sized companies with significant Oracle RDBMS footprints but have few Oracle resources. Cassandra Consulting\u00a0 offers \u00a0high end consulting services centering around HA (high availability), mission critical back up and DR strategies as well as migration and upgrade services to the Oracle RDBMS ecosystem.<\/p><p>The Oracle RDBMS landscape despite being considered legacy by many is indeed a very critical center of data gravity for nearly all organizations that have various mission critical OLTP as well as reporting\/compliance challenges to face.<\/p><p>Cassandra Consulting focuses on the practicality of advancing Oracle technologies without major disruption or \u201cthrowing the baby out with the bath \u201cas organizations try to modernize and migrate their business-critical applications to more modern infrastructure platforms and dev ops methodologies. While the continuous Integration and DEV OPS \u00a0gospel is preached&#8211; \u00a0Oracle legacy applications and their underlying RDBMS support need to be carefully vetted before changes are introduced to mission critical production environments. This is not always adhered to in the world of public cloud CI\/DEV OPS.<\/p><p>A keystone of the Cassandra Consulting\u2019s consultancy is the less than glamourous aspect of ensuring resiliency, fault tolerance and disaster recovery or perhaps even more key, that \u00a0near disaster recovery measures technology and procedures are in place. While fire and brimstone events maybe unusual events \u201cnear disasters\u201d occur with alarming frequency due to human error, over-zealous and untested patching and \u2018upgrades\u2019 in the sacred name of DEV ops efficiency ( break it now fix it in the next release mentality) I cite the Crowd Strike debacle as a primary example. Lots of fingers were pointed in many directions but each organization that was adversely affected might also want to ask why there were not solid image backups to fall back onto and why they were not able to be implemented in a timely fashion.<\/p><p>Cassandra Consulting by its very name assumes the worse and hopes for the best. As many will know \u201cCassandra\u201d of Greek mythology \u00a0was a true \u201cOracle prophetess\/princess\u201d\u00a0 of Troy that was gifted by the enamored Apollo with the ability to see the future but also cursed by the god such that no one would listen to or believe her. \u2013 We all can see how that turned out.<\/p><p>Cassandra Consulting therefore \u2018assumes and plans for the worst\u2019 while hoping for the best. Database fault tolerance, resiliency and backup DR are its primary mission along with smooth migrations and upgrades for legacy systems moving to new and various platforms. Both are high risk low payback propositions but very necessary. Much like paying for insurance it seems very unnecessary until actually needed.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>RMAN is a Oracle bundled enterprise backup utility.to make backups in most Oracle production environments. On premise RMAN is the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":35,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-273","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/test5.samplewebsitelink.com\/cassandra\/wp-json\/wp\/v2\/posts\/273","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test5.samplewebsitelink.com\/cassandra\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/test5.samplewebsitelink.com\/cassandra\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/test5.samplewebsitelink.com\/cassandra\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/test5.samplewebsitelink.com\/cassandra\/wp-json\/wp\/v2\/comments?post=273"}],"version-history":[{"count":14,"href":"https:\/\/test5.samplewebsitelink.com\/cassandra\/wp-json\/wp\/v2\/posts\/273\/revisions"}],"predecessor-version":[{"id":371,"href":"https:\/\/test5.samplewebsitelink.com\/cassandra\/wp-json\/wp\/v2\/posts\/273\/revisions\/371"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/test5.samplewebsitelink.com\/cassandra\/wp-json\/wp\/v2\/media\/35"}],"wp:attachment":[{"href":"https:\/\/test5.samplewebsitelink.com\/cassandra\/wp-json\/wp\/v2\/media?parent=273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/test5.samplewebsitelink.com\/cassandra\/wp-json\/wp\/v2\/categories?post=273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/test5.samplewebsitelink.com\/cassandra\/wp-json\/wp\/v2\/tags?post=273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}