{"id":445,"date":"2019-08-21T01:13:45","date_gmt":"2019-08-21T01:13:45","guid":{"rendered":"http:\/\/redmine\/wordpress\/?p=445"},"modified":"2019-08-21T01:13:45","modified_gmt":"2019-08-21T01:13:45","slug":"automatic-storage-management-asm","status":"publish","type":"post","link":"https:\/\/www.berg-consult.dk\/en\/automatic-storage-management-asm","title":{"rendered":"ASM and crypto lockers"},"content":{"rendered":"<p class=\"wp-block-paragraph\">ASM &#8211; Automatic Storage Management &#8211; was introduced by Oracle with the Oracle Database 10g back in 2002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Even at the first release the promises on enabling easy storage management and a IO distribution automization that fitted the the usage for an Oracle database was delivered.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Since then a lot of enterprises round the globe has adopted using ASM and at the same time by strength of numbers ensured that bugs has been ironed out.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is still though possible to encounter DBA&#8217;s which are not aware about the benefits of ASM &#8211; and when being explained about this they can usually hardly wait to deploy ASM.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If these DBA&#8217;s are also introduced to big-file tablespaces there is almost no end to their expectations.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There is however a benefit of ASM, that came as a <strong>very<\/strong> pleasant discovery for me and this is what this post is concerning &#8211; and: &#8220;<em>No, this is not part of the Oracle University lecture on ASM<\/em>&#8220;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The story behind was that a large enterprise suffered a massive ransomware attack, destroying &#8211; among a lot of things &#8211; the Oracle database servers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Even if these were protected by Dataguard deployed on two sites, the network topology did not include sufficient separation between the sites to prevent the ransomware from spreading.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The ransomware corrupted files on the Windows servers &#8211; and even if it was claimed to have a default operation of &#8220;just&#8221; corrupting documents and the like &#8211; it was corrupting <strong>all<\/strong> files &#8211; and somehow &#8220;sqlplus.exe.locked&#8221; did not work as &#8220;sqlplus.exe&#8221; \ud83d\ude09<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Good thing though: it <strong>only<\/strong> currupted files; finding and accessing raw disks without filesystem, without drive label nor drive letter was not possible for the ransomware code.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The happy consequence of this was, that after installing the Oracle software on a fresh server and mounting the old ASM disks from the corrupted server the original ASM diskgroups came up and after some time (possibly doing some clean-up after what must have been seen as a server crash) all datafiles, a set of redologs and a controlfile was &#8220;still there&#8221; and after making the necessary restoration of &#8220;multiplexed&#8221; redologs and controlfiles the database came up with no dataloss. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Conclusion: ASM provided by its very core functionality an extra layer of protection against security breaches like ransomware attacks.<\/p>","protected":false},"excerpt":{"rendered":"<p>ASM &#8211; Automatic Storage Management &#8211; was introduced by Oracle with the Oracle Database 10g back in 2002. Even at the first release the promises on enabling easy storage management and a IO distribution automization that fitted the the usage for an Oracle database was delivered. Since then a lot of enterprises round the globe [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-445","post","type-post","status-publish","format-standard","hentry","category-databaseconf","entry"],"_links":{"self":[{"href":"https:\/\/www.berg-consult.dk\/en\/wp-json\/wp\/v2\/posts\/445","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.berg-consult.dk\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.berg-consult.dk\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.berg-consult.dk\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.berg-consult.dk\/en\/wp-json\/wp\/v2\/comments?post=445"}],"version-history":[{"count":0,"href":"https:\/\/www.berg-consult.dk\/en\/wp-json\/wp\/v2\/posts\/445\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.berg-consult.dk\/en\/wp-json\/wp\/v2\/media?parent=445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.berg-consult.dk\/en\/wp-json\/wp\/v2\/categories?post=445"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.berg-consult.dk\/en\/wp-json\/wp\/v2\/tags?post=445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}