Return-Path: <oracle-l-bounce@freelists.org>
X-Original-To: oracle-l@orafaq.com
Delivered-To: oracle-l@orafaq.com
Received: from puck1183.startdedicated.com (localhost [127.0.0.1])
 by puck1183.startdedicated.com (Postfix) with ESMTP id AB47B1960AEE
 for <oracle-l@orafaq.com>; Thu,  6 Jun 2013 16:18:56 +0200 (CEST)
Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180])
 by puck1183.startdedicated.com (Postfix) with ESMTP
 for <oracle-l@orafaq.com>; Thu,  6 Jun 2013 16:18:56 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 73ED7224E3;
 Thu,  6 Jun 2013 10:05:45 -0400 (EDT)
X-Virus-Scanned: Debian amavisd-new 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 oZ4poAgvXMGp; Thu,  6 Jun 2013 10:05:45 -0400 (EDT)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 46FBD22158;
 Thu,  6 Jun 2013 10:05:04 -0400 (EDT)
Received: with ECARTIS (v1.0.0; list oracle-l); Thu, 06 Jun 2013 10:04:23 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 3AC1F22104
 for <oracle-l@freelists.org>; Thu,  6 Jun 2013 10:04:23 -0400 (EDT)
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 wifjARgMbaoF for <oracle-l@freelists.org>;
 Thu,  6 Jun 2013 10:04:23 -0400 (EDT)
Received: from SMTP2.dscc.dla.mil (smtp2.dscc.dla.mil [214.3.139.5])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id E83DB22046
 for <oracle-l@freelists.org>; Thu,  6 Jun 2013 10:04:22 -0400 (EDT)
Received: from dla.mil [131.74.111.229] by SMTP2.dscc.dla.mil - Websense Email Security (7.3.0); Thu, 06 Jun 2013 10:13:15 -0400
Received: from COL0SGEM20.AD.DLA.MIL ([131.74.111.221]) by col0sgem29.AD.DLA.MIL with Microsoft SMTPSVC(6.0.3790.4675);
	 Thu, 6 Jun 2013 10:17:29 -0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
X-MimeOLE: Produced By Microsoft Exchange V6.5
Subject: RE: auto start a data guard physical standby Oracle 11.2
Date: Thu, 6 Jun 2013 10:17:29 -0400
Message-ID: <96FC82DA2FD4354D9A8B8434B6E7003D209E5C79@COL0SGEM20.AD.DLA.MIL>
In-Reply-To: <CAJvnOJY57=7w9poFs4sH3aroqKYkW+D5_mu8Ktmw3V7h8+-S2w@mail.gmail.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: auto start a data guard physical standby Oracle 11.2
References: <96FC82DA2FD4354D9A8B8434B6E7003D209E59C9@COL0SGEM20.AD.DLA.MIL><EB65599E-80CC-4221-B264-684AB89A496C@yahoo.com><96FC82DA2FD4354D9A8B8434B6E7003D209E5B2E@COL0SGEM20.AD.DLA.MIL><CAD0-Dgj9LhdxVVQ8BfriJ7oCSSpL2_v6+=nNw-a0JA6gVvwKxg@mail.gmail.com> <CAJvnOJY57=7w9poFs4sH3aroqKYkW+D5_mu8Ktmw3V7h8+-S2w@mail.gmail.com>
From: "Terrian, Thomas J DLA CTR TRANSACTION SERVICES" <Tom.Terrian.ctr@dla.mil>
To: "Andrew Kerber" <andrew.kerber@gmail.com>,
 "Syed Jaffar Hussain" <sjaffarhussain@gmail.com>
Cc: "Fuad Arshad" <fuadar@yahoo.com>,
 "Oracle-L Freelists" <oracle-l@freelists.org>
X-OriginalArrivalTime: 06 Jun 2013 14:17:29.0942 (UTC) FILETIME=[942B1F60:01CE62C0]
X-SEF-7853D99-ADF1-478E-8894-213D316B8FFA: 1
X-SEF-Processed: 7_3_0_01192__2013_06_06_10_13_15
X-archive-position: 49196
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: Tom.Terrian.ctr@dla.mil
Precedence: normal
Reply-To: Tom.Terrian.ctr@dla.mil
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <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: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:steve.adams@ixora.com.au>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l

Ok, thanks.

-----Original Message-----
From: Andrew Kerber [mailto:andrew.kerber@gmail.com] 
Sent: Thursday, June 06, 2013 10:15 AM
To: Syed Jaffar Hussain
Cc: Terrian, Thomas J DLA CTR TRANSACTION SERVICES; Fuad Arshad;
Oracle-L Freelists
Subject: Re: auto start a data guard physical standby Oracle 11.2

I bet you could write a shell script to do it.  Check status, see if it
is mounted and in physical standby, and if not put it in phys standby.
Maybe use a calout script for it?  It would be an interesting little
task.  But as others have noted, dataguard broker will do this for you
without issue, and is really the preferred way to do it.



On Thu, Jun 6, 2013 at 8:25 AM, Syed Jaffar Hussain
<sjaffarhussain@gmail.com> wrote:


	Thomas,
	Very recently I have configured physical standby database for
over 40 RAC
	databases. In fact,  I have opened a SR just yesterday about the
subject
	and I am yet to get the reply from the Oracle support. Have you
thought
	writing a trigger (on database startup)?
	Will let you know if I come across of any solution/workaround on
this.
	
	Regards,
	
	
	On Thu, Jun 6, 2013 at 4:12 PM, Terrian, Thomas J DLA CTR
TRANSACTION
	
	SERVICES <Tom.Terrian.ctr@dla.mil> wrote:
	
	> Thanks, we do not plan on using the broker.  Is there any way
(perhaps
	> within crs) to automate putting it into recovery mode when the
machine
	> is bounced?
	>
	> -----Original Message-----
	> From: Fuad Arshad [mailto:fuadar@yahoo.com]
	> Sent: Thursday, June 06, 2013 8:56 AM
	> To: Terrian, Thomas J DLA CTR TRANSACTION SERVICES
	> Cc: <oracle-l@freelists.org>
	> Subject: Re: auto start a data guard physical standby Oracle
11.2
	>
	> if you are using dataguard broker that should be automatic as
well the
	> dataguard broker control the stare if the apply process if it
is enabled
	>
	>
	> Fuad
	>
	>
	> On Jun 6, 2013, at 7:07, "Terrian, Thomas J DLA CTR
TRANSACTION
	> SERVICES" <Tom.Terrian.ctr@dla.mil> wrote:
	>
	> > Does anyone know how to automatically startup an Oracle 11.2
Physical
	> > Standby database when a machine gets rebooted and put it
into recovery
	>
	> > mode?
	> >
	> > I guess I can add it to crs with the following:
	> >
	> > srvctl add database -d xxx -o /u01/app/oracle/product/11.2.0
-s MOUNT
	> > -r PHYSICAL_STANDBY -n xxxx -i xxx
	> >
	> > I assume that crs will mount the database for me when the
machine is
	> > bounced.  Is there any way to automatically put it into
recovery mode?
	> > (i.e.  alter database recover managed standby database
disconnect;)
	> >
	> > Thanks,
	> > Tom Terrian
	> >
	> > --
	> > http://www.freelists.org/webpage/oracle-l
	> >
	> >
	>
	>
	> --
	> http://www.freelists.org/webpage/oracle-l
	>
	>
	>
	
	
	
	--
	Best Regards,
	
	Syed Jaffar Hussain
	Oracle ACE Director
	
<http://apex.oracle.com/pls/otn/f?p=19297:4:4640302666204919::NO:4:P4_ID
:186>
	Oracle Certified Master
	(10g)<http://education.oracle.com/education/otn/shussain.html>
	Co-author Oracle 11gR1/R2 RAC Essentials
<http://link.packtpub.com/yNZicz>
	*Oracle Magazine DBA of year (2011)*
	OCP 8i,9i,10g & 11g DBA
	RAC Certified Expert
	ITIL V3 foundation certified
	Oracle RAC SIG Representative for Saudi Arabian
	region<http://www.oracleracsig.org>
	
	Advisory & Governance Council for
	
VirtaThon<http://www.brainsurface.com/virtathon/advisorygovernancecounci
l/>
	I blog at  : http://jaffardba.blogspot.com/
	LinkedIn : http://www.linkedin.com/in/sjaffarhussain
	Follow me on twitter : http://twitter.com/#!/sjaffarhussain
	--------------------
	"Winners don't do different things. They do things differently."
	
	
	--
	http://www.freelists.org/webpage/oracle-l
	
	
	




-- 
Andrew W. Kerber

'If at first you dont succeed, dont take up skydiving.' 

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


