{"id":2309,"date":"2017-03-28T09:47:12","date_gmt":"2017-03-28T06:47:12","guid":{"rendered":"http:\/\/www.fatihacar.com\/blog\/?p=2309"},"modified":"2017-03-28T09:53:04","modified_gmt":"2017-03-28T06:53:04","slug":"oracle-11g-r2-data-guard-manual-switchover-steps","status":"publish","type":"post","link":"https:\/\/www.fatihacar.com\/blog\/oracle-11g-r2-data-guard-manual-switchover-steps\/","title":{"rendered":"Oracle 11g R2 Data Guard Manual Switchover Steps"},"content":{"rendered":"<p>You can use the same steps to switchover for single data guard or multiple data guard configuration. <\/p>\n<p>Switchover operation will convert primary side to data guard and data guard to primary side.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.fatihacar.com\/blog\/resimler\/oracle_data_guard_switchover.jpg\" alt=\"\" width=\"587\" height=\"301\" class=\"aligncenter size-full wp-image-2310\" srcset=\"https:\/\/www.fatihacar.com\/blog\/resimler\/oracle_data_guard_switchover.jpg 587w, https:\/\/www.fatihacar.com\/blog\/resimler\/oracle_data_guard_switchover-300x154.jpg 300w\" sizes=\"auto, (max-width: 587px) 100vw, 587px\" \/><\/p>\n<p>You have to control listeners whether it is running before switchover steps.<\/p>\n<h3><strong>Switchover Steps <\/strong><\/h3>\n<p><strong>Primary Side<\/strong><\/p>\n<blockquote>\n<pre><code>\r\nSQL> alter system archive log current;\r\n\r\nSQL> alter database commit to switchover to standby with session shutdown;\r\n\r\nSQL> shutdown immediate;\r\n\r\nSQL> startup mount;\r\n<\/code><\/pre>\n<\/blockquote>\n<p><strong>Data Guard Side<\/strong><br \/>\n<!--more--><\/p>\n<blockquote>\n<pre><code>\r\nSQL> alter database recover managed standby database cancel;\r\n\r\nSQL> alter database commit to switchover to primary with session shutdown;\r\n\r\nSQL> shutdown immediate;\r\n\r\nSQL> startup;\r\n<\/code><\/pre>\n<\/blockquote>\n<p><strong>Primary Side<\/strong><br \/>\n<!--more--><\/p>\n<blockquote>\n<pre><code>\r\nSQL> alter database recover managed standby database disconnect;\r\n\r\nIf you create standby log files you can use real time apply with below command.\r\n\r\nSQL> alter database open read only;\r\n\r\nSQL> alter database recover managed standby database using current logfile disconnect;\r\n\r\n<\/code><\/pre>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>You can use the same steps to switchover for single data guard or multiple data guard configuration. Switchover operation will convert primary side to data guard and data guard to primary side. You have to control listeners whether it is running before switchover steps. Switchover Steps Primary Side SQL> alter system archive log current; SQL>&#8230;<\/p>\n","protected":false},"author":37,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[9,20],"tags":[14,32,36,117],"class_list":["post-2309","post","type-post","status-publish","format-standard","hentry","category-administration","category-oracle-backup-and-recovery","tag-database-administration","tag-oracle-administration","tag-oracle-data-guard","tag-oracle-data-guard-switchover"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p39NFI-Bf","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/posts\/2309","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/users\/37"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/comments?post=2309"}],"version-history":[{"count":3,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/posts\/2309\/revisions"}],"predecessor-version":[{"id":2314,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/posts\/2309\/revisions\/2314"}],"wp:attachment":[{"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/media?parent=2309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/categories?post=2309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/tags?post=2309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}