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 2448C1960FD7
 for <oracle-l@orafaq.com>; Thu,  6 Jun 2013 18:59:59 +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 18:59:59 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 23D3B22E99;
 Thu,  6 Jun 2013 12:46:47 -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 AsAtnfZFuIaG; Thu,  6 Jun 2013 12:46:47 -0400 (EDT)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id C10CA22DA4;
 Thu,  6 Jun 2013 12:46:05 -0400 (EDT)
Received: with ECARTIS (v1.0.0; list oracle-l); Thu, 06 Jun 2013 12:45:24 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 7EF2322D9D
 for <oracle-l@freelists.org>; Thu,  6 Jun 2013 12:45:24 -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 eH2ImPeOj6up for <oracle-l@freelists.org>;
 Thu,  6 Jun 2013 12:45:24 -0400 (EDT)
Received: from mail1.bemta8.messagelabs.com (mail1.bemta8.messagelabs.com [216.82.243.202])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 449CD22D9B
 for <oracle-l@freelists.org>; Thu,  6 Jun 2013 12:45:21 -0400 (EDT)
Received: from [216.82.241.132:15505] by server-10.bemta-8.messagelabs.com id FC/D4-02860-6BFB0B15; Thu, 06 Jun 2013 16:58:30 +0000
X-Env-Sender: jpatterson@entint.com
X-Msg-Ref: server-6.tower-45.messagelabs.com!1370537910!12988081!1
X-Originating-IP: [65.212.113.167]
X-StarScan-Received:
X-StarScan-Version: 6.9.6; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 8859 invoked from network); 6 Jun 2013 16:58:30 -0000
Received: from mail.entint.com (HELO mail.entint.com) (65.212.113.167)
  by server-6.tower-45.messagelabs.com with SMTP; 6 Jun 2013 16:58:30 -0000
Received: from [10.222.11.143] (helo=EIHQEXVM1.ei.local)
 by astaro.entint.com with esmtps (TLSv1:AES128-SHA:128)
 (Exim 4.43)
 id 1UkdW9-0004HM-Ai; Thu, 06 Jun 2013 12:58:29 -0400
Received: from EIHQEXVM2.ei.local ([::1]) by EIHQEXVM1.ei.local ([fe80::687d:4490:692:cb16%13]) with mapi; Thu, 6 Jun 2013 12:58:28 -0400
From: "Patterson, Joel" <jpatterson@entint.com>
To: "Tom.Terrian.ctr@dla.mil" <Tom.Terrian.ctr@dla.mil>,
 "oracle-l@freelists.org" <oracle-l@freelists.org>
Content-Class: urn:content-classes:message
Date: Thu, 6 Jun 2013 12:58:27 -0400
Subject: RE: auto start a data guard physical standby Oracle 11.2
Thread-Topic: auto start a data guard physical standby Oracle 11.2
Message-ID: <C1117B1AA0340645894671E09A7891F7150EAE62B4@EIHQEXVM2.ei.local>
References: <96FC82DA2FD4354D9A8B8434B6E7003D209E59C9@COL0SGEM20.AD.DLA.MIL>
In-Reply-To: <96FC82DA2FD4354D9A8B8434B6E7003D209E59C9@COL0SGEM20.AD.DLA.MIL>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-type: text/plain; charset=Windows-1252
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
X-archive-position: 49215
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: jpatterson@entint.com
Precedence: normal
Reply-To: jpatterson@entint.com
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

Do you  have rc3 directories?

Could you put something like this in there?

Set environment
connect / as sysdba
--  shutdown immediate
startup nomount
alter database mount standby database;
set logsource "<dir path>"
recover standby database
auto
alter database open read only;

Joel Patterson
Database Administrator
904 928-2790



--
Joel Patterson
Sr. Database Administrator | Enterprise Integration
Phone: 904-928-2790 | Fax: 904-733-4916
http://www.entint.com/

http://www.entint.com/

http://www.facebook.com/pages/Enterprise-Integration/212351215444231 http://twitter.com/#!/entint http://www.linkedin.com/company/18276?trk=tyah http://www.youtube.com/user/ValueofIT

This message (and any associated files) is intended only for the use
of the addressee and may contain information that is confidential,
subject to copyright or constitutes a trade secret. If you are not the
intended recipient, you are hereby notified that any dissemination,
copying or distribution of this message, or files associated with this
message, is strictly prohibited. If you have received this message in
error, please notify us immediately by replying to the message and
deleting it from your computer. Messages sent to and from us may be
monitored. Any views or opinions presented are solely those of the
author and do not necessarily represent those of the company. [v.1.1]

From: oracle-l-bounce@freelists.org [mailto:oracle-l-bounce@freelists.org] On Behalf Of Terrian, Thomas J DLA CTR TRANSACTION SERVICES
Sent: Thursday, June 06, 2013 8:07 AM
To: oracle-l@freelists.org
Subject: auto start a data guard physical standby Oracle 11.2

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


