Return-Path: <oracle-l-bounce@freelists.org>
X-Original-To: oracle-l@orafaq.com
Delivered-To: oracle-l@orafaq.com
Received: from smtp-ab.freelists.org (smtp-ab.freelists.org [34.228.148.125])
 by malta2546.startdedicated.com (Postfix) with ESMTPS id 11C0C10035D0D5
 for <oracle-l@orafaq.com>; Fri,  9 Sep 2022 22:20:10 +0200 (CEST)
Received: from turing.freelists.org (turing [10.0.0.164])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
 (No client certificate requested)
 by smtp-ab.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 3FF0240433;
 Fri,  9 Sep 2022 20:20:09 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Postfix) with ESMTP id 27AB63FCBD;
 Fri,  9 Sep 2022 20:20:09 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org;
 s=turing; t=1662754809;
 bh=R+9qe+Wv9CMPwV4DTAqiGcvbhL8oKe6h1kCXMJOG/xQ=;
 h=From:Sender:Sender:From;
 b=xcvJWVNclnnuMu27AfYtNDA8r9+zS7RP5POt+88fpJOw4bNcSc25hYB4yvsDBWAO6
	 SAXR7zS+00v57o+DtJ/Im9zD1QjgmVT4tWP/V0S2TLoSQgbRykx0VqDXNdBTtak5BB
	 +4pgqwl+siSwS5FuBYzacASwcylnpf/dy3/PZJfo=
X-Virus-Scanned: by FreeLists at turing.freelists.org
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id Aaw3gcfJiMXn; Fri,  9 Sep 2022 20:20:09 +0000 (UTC)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Postfix) with ESMTP id 30C303FCBE;
 Fri,  9 Sep 2022 20:20:04 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org;
 s=turing; t=1662754806;
 bh=R+9qe+Wv9CMPwV4DTAqiGcvbhL8oKe6h1kCXMJOG/xQ=;
 h=From:Sender:Sender:From;
 b=NtnbLPXYPPGTxvd7C3itKxtGrqdrpuVImISkScaE+FC6ZRZk5dJapWg4dkl60rDMH
	 0VghA7TjD1AoWcRPMyf5km/IQ/XJ/+6s6+aYePKb7MLpfe30H1eeHSMleu2G62glLN
	 E3ey2GdFwDvwkORWpRFVYvmXptb779GrGLcFpuJA=
Received: with ECARTIS (v1.0.0; list oracle-l); Fri, 09 Sep 2022 20:20:02 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Postfix) with ESMTP id A3A533FCBD
 for <oracle-l@freelists.org>; Fri,  9 Sep 2022 20:20:02 +0000 (UTC)
Authentication-Results: turing.freelists.org;
 dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=e8qlhl5N;
 dkim-atps=neutral
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id ql45zwdE56BF for <oracle-l@freelists.org>;
 Fri,  9 Sep 2022 20:20:02 +0000 (UTC)
Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172])
 (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by turing.freelists.org (Postfix) with ESMTPS id 84BD83FCBB
 for <oracle-l@freelists.org>; Fri,  9 Sep 2022 20:20:02 +0000 (UTC)
Received: by mail-pl1-f172.google.com with SMTP id b21so2800147plz.7
        for <oracle-l@freelists.org>; Fri, 09 Sep 2022 13:20:02 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112;
        h=cc:to:subject:message-id:date:from:in-reply-to:references
         :mime-version:x-gm-message-state:from:to:cc:subject:date;
        bh=mr+mT8oo15cK2IGH31fX/g8HooZ3UIo6aWm4xRbF4G8=;
        b=X273K2N0eOh9V1VyvGZbOLDu4bR+R1bk8YR+IvqglWtc7DDwEtlYMT/Kwv2kwimM9K
         E46VZ/fb+jEbOgC5oEcMiYv9pHav6nHHg50IIo6M4iAc9tHEAioevqeowxIH3lJq9+u/
         aN7avcFj6DCm3xV1efYlFHdLra54UUTznGVqEJcYNgbK9jmICd4X3JKMIXDLP9n49hPK
         8bQ4mJnq2ffEu2LPxaNLnVfKpqkU250lTzCly6saGQSolLEcPL050v55H/6JL4xTvFFj
         IBf2+55g0m4ckc1YQ1gC8Gz9JWEsjoLTZKFy7c3uQkgS0SQO0zsSo0enitfXI6TzOwWt
         LFsg==
X-Gm-Message-State: ACgBeo2MzJQupy775TBcw7ml++/kUwZmHPc+hs/IQh8ej0yR4W3Yv22w
 Iqi/1QnGsmSzPMIQeJLNIlnomz0D+A7fIlowpa5zBdFJaw==
X-Google-Smtp-Source: AA6agR4ytY2ySA953g3AlQSX5zxtK2/u+9OLSW51JGyX5has7CzeaYSVjcGu78eIKrvIvFbuRa1z7kJnjBivApQkJ3Y=
X-Received: by 2002:a17:90b:1894:b0:200:b12e:9db0 with SMTP id
 mn20-20020a17090b189400b00200b12e9db0mr11137459pjb.219.1662754801587; Fri, 09
 Sep 2022 13:20:01 -0700 (PDT)
MIME-Version: 1.0
References: <CACj1VR54XKHuC=T8LtJAcpGCuF5SfnTHYsSZ7xOTw_U4o3Qcsg@mail.gmail.com>
 <MW4PR17MB5925C8DA850F5D0057ECF7CAC2439@MW4PR17MB5925.namprd17.prod.outlook.com>
 <MW4PR17MB59259E38312DFE44FC397A38C2439@MW4PR17MB5925.namprd17.prod.outlook.com>
In-Reply-To: <MW4PR17MB59259E38312DFE44FC397A38C2439@MW4PR17MB5925.namprd17.prod.outlook.com>
From: Andy Sayer <andysayer@gmail.com>
Date: Fri, 9 Sep 2022 13:19:50 -0700
Message-ID: <CACj1VR6di64BZc6gr5BA4yTJbiCUQTkkLdwVfJ2CY3QQYok38g@mail.gmail.com>
Subject: Re: Quick standby setup
To: Mike Killough <mwkillough@hotmail.com>
Cc: list oracle <oracle-l@freelists.org>
Content-Type: multipart/alternative; boundary="0000000000004c19a905e84445b3"
X-archive-position: 82808
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: andysayer@gmail.com
Precedence: normal
Reply-To: andysayer@gmail.com
List-Help: <mailto:ecartis@freelists.org?Subject=help>
List-Unsubscribe: <mailto:oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-Subscribe: <mailto:oracle-l-request@freelists.org?Subject=subscribe>
List-Owner: <mailto:>
List-post: <mailto:oracle-l@freelists.org>
List-Archive: <https://www.freelists.org/archive/oracle-l>
X-list: oracle-l
--0000000000004c19a905e84445b3
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I would:
Connect via dgmgrl
Show configuration when primary is 'DB_B';
Confirm that redo goes from DB_B to DB_C (and DB_A but we=E2=80=99ll be rem=
oving
that later).
If there=E2=80=99s no route then
Edit database 'DB_B' set property redoroutes =3D '(LOCAL:DB_C)';
And confirm again

If happy, do
Validate database verbose 'DB_B';
And if happy
Switchover to 'DB_B=E2=80=99;

Once switchover complete and you=E2=80=99ve confirmed DB_C is being updated=
. Remove
DB_A from all redoroutes on B and C (C should look similar to B).
Disable database 'DB_A';
Remove database 'DB_A';

Then you should be okay to shut down DB_A.

Thanks,
Andy

On Fri, Sep 9, 2022 at 1:04 PM, Mike Killough <mwkillough@hotmail.com>
wrote:

> Sorry for the repeat first send said failed but it didn=E2=80=99t.
>
> Sent from my iPhone
>
> On Sep 9, 2022, at 3:01 PM, Mike Killough <mwkillough@hotmail.com> wrote:
>
> =EF=BB=BF Ok so I could do a switchover to B and C and A become standbys,=
 then
> remove A from the configuration before shutting it down and closing the
> data center? No hard failover. Thanks
>
>
>
> Sent from my iPhone
>
> On Sep 9, 2022, at 2:32 PM, Andy Sayer <andysayer@gmail.com> wrote:
>
> =EF=BB=BF
> Instead of doing a failover, you would need to do a switchover. You shoul=
d
> set up your redoroutes in advance in dgmgrl. You should also use this to
> test the configuration using the
> Show configuration when primary is DB_B.
> Syntax
>
> Remove the old server from the redo routes before getting rid of it.
>
> Hope that helps,
> Andy
>
> On Fri, Sep 9, 2022 at 11:51 AM, Mike Killough <mwkillough@hotmail.com>
> wrote:
>
>> Currently we have a primary database (DB_A) and 2 standbys (DB_B & DB_C)=
.
>> We are planning on hard failing over to one of the standby databases to
>> retire the current primary. To protect the future standby when it become=
s
>> primary, we would like to be able to have a standby right away if possib=
le.
>> When we fail over to DB_B, is there a way to make DB_C immediately be th=
e
>> standby for DB_B?
>>
>> Mike Killough
>>
>> Sent from my iPhone
>>
>

--0000000000004c19a905e84445b3
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">I would:</div><div dir=3D"auto">Connect via dgmgrl</div><=
div dir=3D"auto">Show configuration when primary is &#39;DB_B&#39;;</div><d=
iv dir=3D"auto">Confirm that redo goes from DB_B to DB_C (and DB_A but we=
=E2=80=99ll be removing that later).</div><div dir=3D"auto">If there=E2=80=
=99s no route then</div><div dir=3D"auto">Edit database &#39;DB_B&#39; set =
property redoroutes =3D &#39;(LOCAL:DB_C)&#39;;</div><div dir=3D"auto">And =
confirm again</div><div dir=3D"auto"><br></div><div dir=3D"auto">If happy, =
do</div><div dir=3D"auto">Validate database verbose &#39;DB_B&#39;;</div><d=
iv dir=3D"auto">And if happy</div><div dir=3D"auto">Switchover to &#39;DB_B=
=E2=80=99;</div><div dir=3D"auto"><br></div><div dir=3D"auto">Once switchov=
er complete and you=E2=80=99ve confirmed DB_C is being updated. Remove DB_A=
 from all redoroutes on B and C (C should look similar to B).=C2=A0</div><d=
iv dir=3D"auto">Disable database &#39;DB_A&#39;;</div><div dir=3D"auto">Rem=
ove database &#39;DB_A&#39;;</div><div dir=3D"auto"><br></div><div dir=3D"a=
uto">Then you should be okay to shut down DB_A.</div><div dir=3D"auto"><br>=
</div><div dir=3D"auto">Thanks,</div><div dir=3D"auto">Andy</div><div><br><=
div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Sep=
 9, 2022 at 1:04 PM, Mike Killough &lt;<a href=3D"mailto:mwkillough@hotmail=
.com">mwkillough@hotmail.com</a>&gt; wrote:<br></div><blockquote class=3D"g=
mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex">



<div dir=3D"auto">
Sorry for the repeat first send said failed but it didn=E2=80=99t.<br>
<br>
<div dir=3D"ltr">Sent from my iPhone</div>
<div dir=3D"ltr"><br>
<blockquote type=3D"cite">On Sep 9, 2022, at 3:01 PM, Mike Killough &lt;<a =
href=3D"mailto:mwkillough@hotmail.com" target=3D"_blank">mwkillough@hotmail=
.com</a>&gt; wrote:<br>
<br>
</blockquote>
</div>
<blockquote type=3D"cite">
<div dir=3D"ltr">=EF=BB=BF Ok so I could do a switchover to B and C and A b=
ecome standbys, then remove A from the configuration before shutting it dow=
n and closing the data center? No hard failover. Thanks</div></blockquote><=
/div><div dir=3D"auto"><blockquote type=3D"cite"><div dir=3D"ltr"><br>
<br>
<div dir=3D"ltr">Sent from my iPhone</div>
<div dir=3D"ltr"><br>
<blockquote type=3D"cite">On Sep 9, 2022, at 2:32 PM, Andy Sayer &lt;<a hre=
f=3D"mailto:andysayer@gmail.com" target=3D"_blank">andysayer@gmail.com</a>&=
gt; wrote:<br>
<br>
</blockquote>
</div>
<blockquote type=3D"cite">
<div dir=3D"ltr">=EF=BB=BF
<div dir=3D"auto">Instead of doing a failover, you would need to do a switc=
hover. You should set up your redoroutes in advance in dgmgrl. You should a=
lso use this to test the configuration using the=C2=A0</div>
<div dir=3D"auto">Show configuration when primary is DB_B.=C2=A0</div>
<div dir=3D"auto">Syntax=C2=A0</div>
<div dir=3D"auto"><br>
</div>
<div dir=3D"auto">Remove the old server from the redo routes before getting=
 rid of it.</div>
<div dir=3D"auto"><br>
</div>
<div dir=3D"auto">Hope that helps,</div>
<div dir=3D"auto">Andy</div>
<div><br>
<div class=3D"gmail_quote">
<div dir=3D"ltr" class=3D"gmail_attr">On Fri, Sep 9, 2022 at 11:51 AM, Mike=
 Killough &lt;<a href=3D"mailto:mwkillough@hotmail.com" target=3D"_blank">m=
wkillough@hotmail.com</a>&gt; wrote:<br>
</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:r=
gb(204,204,204)">
<div dir=3D"auto"><span style=3D"background-color:rgb(255,255,255)">Current=
ly we have a primary database (DB_A) and 2 standbys (DB_B &amp; DB_C). We a=
re planning on hard failing over to one of the standby databases to retire =
the current primary. To protect the future
 standby when it becomes primary, we would like to be able to have a standb=
y right away if possible. When we fail over to DB_B, is there a way to make=
 DB_C immediately be the standby for DB_B?</span><br>
<div>
<div dir=3D"ltr" data-smartmail=3D"gmail_signature">
<div dir=3D"ltr">
<div style=3D"font-family:arial;font-size:small"><br>
</div>
<div style=3D"font-family:arial;font-size:small">Mike Killough</div>
</div>
</div>
</div>
<br>
<div dir=3D"ltr">Sent from my iPhone</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>

</blockquote></div></div>

--0000000000004c19a905e84445b3--
--
http://www.freelists.org/webpage/oracle-l


