RE: can I find from standby db which db is the primary

From: Goulet, Richard <Richard.Goulet_at_parexel.com>
Date: Mon, 17 Nov 2008 15:09:01 -0500
Message-ID: <23C4836D8E9C5F4280A66C0C247BC16F1FEF78E5@US-BOS-MX011.na.pxl.int>


show parameter fal_server  

Dick Goulet
Senior Oracle DBA
PAREXEL International
978.313.3426
 information transmitted in this communication is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please destroy any copies, contact the sender and delete the material from any computer.  


From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Amihay Gonen
Sent: Monday, November 17, 2008 10:18 AM To: John Hallas; jason arneil
Cc: oracle-l_at_freelists.org
Subject: RE: can I find from standby db which db is the primary

I mean , if I connected to standby as sys. Can I query the standby db only to "know" who is it primary .  

From: John Hallas [mailto:John.Hallas_at_morrisonsplc.co.uk] Sent: Monday, November 17, 2008 5:01 PM
To: Amihay Gonen; oracle-l_at_freelists.org Subject: RE: can I find from standby db which db is the primary  

select open_mode, database_role, switchover_status, dataguard_broker, guard_status from v$database;    

Primary  

OPEN_MODE DATABASE_ROLE SWITCHOVER_STATUS DATAGUAR GUARD_S

  • ---------------- -------------------- -------- -------

READ WRITE PRIMARY SESSIONS ACTIVE DISABLED NONE     Standby    

OPEN_MODE DATABASE_ROLE SWITCHOVER_STATUS DATAGUAR GUARD_S

  • ---------------- -------------------- -------- -------

MOUNTED PHYSICAL STANDBY SESSIONS ACTIVE DISABLED NONE   Blog www.jhdba.wordpress.com  


From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Amihay Gonen
Sent: 17 November 2008 14:49
To: oracle-l_at_freelists.org
Subject: Q: can I find from standby db which db is the primary  

Hi ,  

Is anyone know if there any query which can give me who is the primary db ( or tnsnames) . our version is 10.2 .  

Thanks  

Amihay Gonen,

DBA  



Wm Morrison Supermarkets Plc is registered in England with number 358949. The registered office of the company is situated at Gain Lane, Bradford, West Yorkshire BD3 7DL. This email and any attachments are intended for the addressee(s) only and may be confidential.

If you are not the intended recipient, please inform the sender by replying to the email that you have received in error and then destroy the email.
If you are not the intended recipient, you must not use, disclose, copy or rely on the email or its attachments in any way.

Wm Morrison Supermarkets PLC accepts no liability or responsibility for anything said in the email or its attachments and gives no warranty as to accuracy. It is the policy of Wm Morrison Supermarkets PLC not to enter into any contractual or other obligations by email.

Although we have taken steps to ensure the email and its attachments are virus-free, we cannot guarantee this or accept any responsibility, and it is the responsibility of recipients to carry out their own virus checks.


--
http://www.freelists.org/webpage/oracle-l
Received on Mon Nov 17 2008 - 14:09:01 CST

Original text of this message