Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Ok two databases..two machines..one database name

RE: Ok two databases..two machines..one database name

From: Robertson Lee - lerobe <lerobe_at_acxiom.co.uk>
Date: Fri, 25 May 2001 04:29:52 -0700
Message-ID: <F001.0030EC5D.20010525040025@fatcity.com>

When we do this (alongwith giving different passwords), we differentiate in tnsnames by using the server_sid type idea

eg,

SERVER1_TEST =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = SERVER1)(PORT = 1521))     (CONNECT_DATA =
      (SID = TEST)
    )
  )

SERVER2_TEST =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = SERVER2)(PORT = 1521))     (CONNECT_DATA =
      (SID = TEST)
    )
  )

Therefore when we need to connect it would use the differing connect strings.

Regards

Lee

-----Original Message-----
Sent: 25 May 2001 12:11
To: Multiple recipients of list ORACLE-L

Paul, why are you sorry? You CAN have two databases with the same database name on different machines. Differing passwords is a good idea, I should have thought of it.

I would NOT however, name the tnsnames.ora entries the same name on the two machines, that's another way to help prevent problems.

>From: Paul Drake <paled_at_home.com>
>Reply-To: ORACLE-L_at_fatcity.com
>To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
>Subject: Re: Ok two databases..two machines..one database name
>Date: Thu, 24 May 2001 21:20:21 -0800
>
>Rachel Carmichael wrote:
> >
> > short answer: yes you can
> >
> > >From: "Steve McClure" <steve_at_pactr.com>
> > >
> > > My question is can I have databases with the same name
> > >running simultaneously on two different machines if I make sure the
> > >tnsnames
> > >for each database points to it's own server? The database is 7.3.4.
>As
> > >soon as I send this off I am going to create a small DB just to test
>this
> > >out, but your input, as usual, is appreciated.
> > >
> > >Thanks,
> > >Steve McClure
> > >
>
>Well, on 7.3.4 I guess that there wasn't a service_name, so this isn't
>that helpful:
>
>Use the service_name : schema in your sql prompt
>
> - and - more importantly -
>
>use unique passwords on each database.
>
>Very helpful when you're brain dead to prevent you from having to test
>your recovery skills in an unscheduled setting.
>
>Sorry Rachel. :)
>
>Paul
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author: Paul Drake
> INET: paled_at_home.com
>
>Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
>San Diego, California -- Public Internet access / Mailing Lists
>--------------------------------------------------------------------
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from). You may
>also send the HELP command for other information (like subscribing).



Get your FREE download of MSN Explorer at http://explorer.msn.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Rachel Carmichael
  INET: carmichr_at_hotmail.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged. If the reader 
of this message is not the intended recipient, you are
hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited.  
If you have received this communication in error, please 
re-send this communication to the sender and delete the 
original message or any copy of it from your computer
system.
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Robertson Lee - lerobe
  INET: lerobe_at_acxiom.co.uk

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Fri May 25 2001 - 06:29:52 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US