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: DB_FILE_NAME_CONVERT issue

RE: DB_FILE_NAME_CONVERT issue

From: <John.Hallas_at_vodafone.co.uk>
Date: Mon, 08 Jul 2002 02:28:23 -0800
Message-ID: <F001.00490EA8.20020708022823@fatcity.com>


If you have a proper OFA setup then the problem is not to big. The syntax is
db_file_name_convert=('/vobs/oracle/dbs','/fs2/oracle/stdby') log_file_name_convert=('/vobs/oracle/dbs','/fs2/oracle/stdby')

where you are changing files that are in /vobs/oracle/dbs on prod to
/fs2/oracle/stdby/ on for the standby.

 Oracle suggest that should cover most of your files and the other can be renamed using alter database rename file syntax

HTH John
-----Original Message-----
Sent: 08 July 2002 10:48
To: Multiple recipients of list ORACLE-L

Hi,

I am not using RMAN, This is what I try to do.

I try to create standby database manually

  1. Copy all datafiles to new location (so call standby location)
  2. create initstandby.ora ("almost" the same with the production) 2.a. DB_FILE_NAME_CONVERT = (production path, standby path) is one of them 2.b. let oracle know where is your initstandby.ora
  3. alter database create standby controlfile as 'standbycontrol.ctl';
  4. startup nomount pfile = where is your initstandby.ora
  5. alter database mount standby database;
  6. recover standby database; <- this will apply daily archived log, make sure your standby up to date.
  7. shutdown; <- never open this database

The problem is I don't know how to let Oracle know that my production datafile paths are more than one.
I think Oracle 9i can do that with DB_FILE_NAME_CONVERT (para1, para2, para3, para4).

I Don't think is very funny if I have to rename all my production data files before I create standby control file. :(

Thanks

Sinardy

-----Original Message-----
Sent: 08 July 2002 16:03
To: Multiple recipients of list ORACLE-L

Hi,

I don't know the syntax you are looking for but you could explicitly rename every file in your RMAN script (set newname for datafile command)

Jack  

                      "Sinardy Xing"

                      <SinardyXing_at_bkgc        To:       Multiple recipients
of list ORACLE-L <ORACLE-L_at_fatcity.com>                   
                      omsvc.com>               cc:       (bcc: Jack van
Zanen/nlzanen1/External/MEY/NL)                                
                      Sent by:                 Subject:  RE:
DB_FILE_NAME_CONVERT issue                                                
                      root_at_fatcity.com

 

 

                      08-07-2002 09:28

                      Please respond to

                      ORACLE-L

 

 




Hi guys,

Anyone that work in ASIA time please help me : )

Sinardy

-----Original Message-----
Sent: 08 July 2002 12:58
To: Multiple recipients of list ORACLE-L

Hi guys,

I try to create standby database and my datafile are all over my hard disk, what should I do to my DB_FILE_NAME_CONVERT to let my standby database know this issue ?

example

/prod_data1/system01.dbf
/prod_data2/user01.dbf
/prod_data3/rbs01.dbf

my standby datafile

/standby_data1/system01.dbf
/standby_data1/user01.dbf
/standby_data2/rbs01.dbf

I try this idiot way but there are no such parameters in v$parameter :+)

DB_FILE_NAME_CONVERT1 = (/prod_data1, /standby_data1)
DB_FILE_NAME_CONVERT2 = (/prod_data2, /standby_data1)
DB_FILE_NAME_CONVERT3 = (/prod_data3, /standby_data2)


Thanks so much.

Oh by the way I am using 8i

Sinardy

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Sinardy Xing
  INET: SinardyXing_at_bkgcomsvc.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).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Sinardy Xing
  INET: SinardyXing_at_bkgcomsvc.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).



===================================================================
De informatie verzonden in dit e-mailbericht is vertrouwelijk en is
uitsluitend bestemd voor de geadresseerde. Openbaarmaking,
vermenigvuldiging, verspreiding en/of verstrekking van deze informatie aan
derden is, behoudens voorafgaande schriftelijke toestemming van Ernst &
Young, niet toegestaan. Ernst & Young staat niet in voor de juiste en
volledige overbrenging van de inhoud van een verzonden e-mailbericht, noch
voor tijdige ontvangst daarvan. Ernst & Young kan niet garanderen dat een
verzonden e-mailbericht vrij is van virussen, noch dat e-mailberichten
worden overgebracht zonder inbreuk of tussenkomst van onbevoegde derden.

Indien bovenstaand e-mailbericht niet aan u is gericht, verzoeken wij u
vriendelijk doch dringend het e-mailbericht te retourneren aan de verzender
en het origineel en eventuele kopieën te verwijderen en te vernietigen.

Ernst & Young hanteert bij de uitoefening van haar werkzaamheden algemene
voorwaarden, waarin een beperking van aansprakelijkheid is opgenomen. De
algemene voorwaarden worden u op verzoek kosteloos toegezonden.
=====================================================================
The information contained in this communication is confidential and is
intended solely for the use of the individual or entity to whom it is
addressed. You should not copy, disclose or distribute this communication
without the authority of Ernst & Young. Ernst & Young is neither liable for
the proper and complete transmission of the information contained in this
communication nor for any delay in its receipt. Ernst & Young does not
guarantee that the integrity of this communication has been maintained nor
that the communication is free of viruses, interceptions or interference.

If you are not the intended recipient of this communication please return
the communication to the sender and delete and destroy all copies.

In carrying out its engagements, Ernst & Young applies general terms and
conditions, which contain a clause that limits its liability. A copy of
these terms and conditions is available on request free of charge.
===================================================================






-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jack van Zanen
  INET: nlzanen1_at_EY.NL

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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Sinardy Xing
  INET: SinardyXing_at_bkgcomsvc.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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: John.Hallas_at_vodafone.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 Mon Jul 08 2002 - 05:28:23 CDT

Original text of this message

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