Standby Database Creation in the same Box Oracle 9.2.0.1

Box - Sun Solaris 64 bit
Oracle Version - 9.2.0.1
I have a database called 'sales' in the above box. I want to create a standby database in the same box (in different mount point). This is what I did:
1. took cold backup of all datafiles
2. created standby controlfile
3. updated init file.
-when I tried to start the stabdby db, it is throwing error because the controlfile is confusing with the same db name as the primary ('sales').
My question is: Can I create a standby db in the same box?

Hello,
For keeping the standby database on same HOST....it does seems to be great...i must be on separate box....may be on different network...i believe you would be using it for some failiover purpose...Isn't it.
For Unix it is quite easy..you may implement like this...The Issue which you are referring may be because of wrong Oracle Home or SID....(i'm not very much sure..) You may try following steps:
1. Create a separate Unix A/c and set ORACLE_HOME and ORACLE_SID relevant to your StandBy Database. I believe the Home would be same whereas SID would be your standby databse.
2. Take a Cold Backup of All your database files from Production.
3. Copy these files on separate mount points for standby Db. Put them all to relevant directory and be sure to set the Group of all these files as "SYSDBA" This is Must.
4. And then modify your INIT.ORA file i.e. InitSID.ora file accordingly and put the file in ORACLE_HOME
5. Login to Newly created Unix A/c. Check whether ORACLE_SID is set ot not to your standby database instance.
6. Login to sys as sysdba and start up the database. It will by default would try to check & do for your relevant Oracle SID for this profile...
HTH
Regards,
Kamesh Rastogi

Similar Messages

  • Standby database creation with the Grid Control Wizard.

    Has anyone had issues with this tool ? I keep getting 'Failed' with the following error on the step 'Restore One Datafile'
    and step 'Restore Current Logs' .
    SQL> Connected to an idle instance.
    ORA-01034: ORACLE not available
    All the other steps 'Succeeded' .
    We need to make this wizard work since the customer needs the capability and they are NOT going to do a manual setup.
    Thanks for any pertinent assistance in advance .

    Blues Breaker wrote:
    Has anyone had issues with this tool ? I keep getting 'Failed' with the following error on the step 'Restore One Datafile'
    and step 'Restore Current Logs' .
    SQL> Connected to an idle instance.
    ORA-01034: ORACLE not available
    All the other steps 'Succeeded' .
    We need to make this wizard work since the customer needs the capability and they are NOT going to do a manual setup.
    Thanks for any pertinent assistance in advance .Instance status in not even in no mount status, instance not started and no background processes of oracle are running.
    You want to restore only datafile? then database should be in mount status.

  • StandBy database creation in oracle 10g

    Respected Sir's
    I have to create stand by database in oracle 10g i am working on (Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod) .Plz any body provide steps required for creating stand by database in oracle10g.Both the database db1 and db2 are running on archivelog.I am confuse how to set archivelog parameter that goes to db2(standby database) from db(primary database).Any one provide me steps to properly configuring the stand by database.
    Thanks

    Respected Sir
    These are the detailed steps that i performed on standby and primary database.
    On both the systems i install the oracle in E drive and the database i create in G drive and archive destination also in G drive.
    Like G:\prod1\(all the datafiles,logfiles and control file).
    G:\arch\(all the archive files).
    ON PRIMARY DATABASE(IP:192.168.2.14):
    1.First i create a database with DBCA and the database SID is prod1.
    2.Put the database in archive mode and also enable the force logging.
    3.Shutdown the Primary database and modify the following parameters in pfile.
    log_archive_dest_1='LOCATION=G:\ARCH'
    log_archive_dest_2 = "service=STDBY mandatory reopen=60"
    log_archive_dest_state_1 = enable
    log_archive_dest_state_2 = enable
    log_archive_min_succeed_dest = 2
    4.Mount the primary database and create the standby controle file and create the spfile from the modified pfile.
    5.Shutdown the primary database and take the backup of all the datafile,logfile,standby controlfile ,passwordfile,pfile in a folder.
    6.Startup the primary database.
    Tnsname.ora Configuration.
    Create the connection string using the Net Manager with name STDBY and in host name i provide the IP address of the standby database.
    ON STANDBY DATABASE(IP 192.168.2.9):
    Listener.ora Configuration.
    Create a listener using the Net configuration Assistance.
    1.I copy the datafile,logfile and standby controle file in g:\prod1
    2.Copy the E:\oracle\product\10.2.0\admin\prod1 folder from primary database and past it on the same location on the standby database.
    3.On standby pfile i change only the standby_archive_dest parameter to g:\arch.
    4.Create the service with oradim -SID -NEW prod1 -STARTMODE manuall
    5.Start the standby database in nomount mode.
    6.Create the spfile from pfile and shutdown the database.
    7.Startup the database in nomount mode using spfile.
    8.ALTER DATABASE MOUNT STANDBY DATABASE;
    These are the occurs when i use tnsping stdby on primary database.
    C:\Documents and Settings\Administrator>TNSPING STDBY
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 04-FEB-2009 12:03:55
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    E:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.9
    NECT_DATA = (SERVICE_NAME = prod1)))
    OK (20 msec)
    sqlnet.ora file on stand by database.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, LDAP)
    BEQUEATH_DETACH=yes
    AUTOMATIC_IPC = ON
    NAMES.DEFAULT_DOMAIN = IDEVELOPMENT.INFO
    SQLNET.EXPIRE_TIME=2
    This occurs when i use tnsping prod1 on standby database.
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 04-FEB-2
    009 12:01:40
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    E:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
    TNS-03505: Failed to resolve name
    Please help me bec i have to create the stand database as soon as possible.Thanks Sir

  • Oracle 11.1.0.6 - Can more than one database work of the same installation

    I am in the process of setting up 3 production 11.1.0.6 databases in a RAC Linux RH4 environment (approx 40GB each in size), question is can I get all 3 databases to work of the one Oracle Database installation i.e. can all three separate database work of the same set of binaries and from the same Oracle_Home?
    As far as I know the only items that will be different of those values in the tnsnames and listener files.
    Thanks

    Lets back up and clarify terms.
    A 3 node RAC cluster has one (1) and only one (1) database. Three (3) instances but only one (1) database.
    If you are talking about something else you need to be very clear in your description.
    Assuming one database and three instances the listener and tnsnames files should be identical. And, as Oracle creates all of this during dbca installation, why is it a concern?

  • How to install 9i Database (Rel2) & 9iAS (Rel2) both on the same box

    Can anyone tell me what should be the right way to install both the Oracle9i rel2 Database and Oracle9iAS rel on the same box. I need to do this for demo reasons. I am aware of the performance issues involved.
    TIA
    Rob Zoeteweij

    Can anyone tell me what should be the right way to install both the Oracle9i rel2 Database and Oracle9iAS rel on the same box. I need to do this for demo reasons. I am aware of the performance issues involved.
    TIA
    Rob Zoeteweij Rob,
    The following is the recommended order of installations for Customer Database (backend DB), Oracle9iAS and Oracle9iAS Infrastructure:
    Step 1: Install and configure customer database.
    Step 2: Install and configure Oracle9iAS Infrastructure. (apply patches if necessary)
    Step 3: Install and configure Oracle9iAS middle tier installation.
    Step 4: Perform appropriate post install steps to configure middle tier components with the customer database.
    HTH,
    Ashesh Parekh
    Oracle9iAS Product Management

  • Database link to the same database

    I'm trying to create a database link to the same database.
    It doesn't seem to be working ...
    basically, the target system will have 2 separate database instances.
    I need to emulate this in a single instance database (actually, I don't want to try running 2 oracle instances on my laptop...).
    so I want to do select * from fred@MYOTHERDB
    when I try and create the alias it succeeds, but then selects don't work.
    Lets say my current logon / schema is JOHN (in ORCL) and the other SCHEMA (in ORCL) is JIM
    I tried
    create public database link MYOTHERDB connect to JIM identified by "Password";
    creation worked, couldn't access it.
    Thanks in advance
    Iain

    The machine with the database has tnsnames.ora as
    # tnsnames.ora Network Configuration File: D:\oracle\product\10.1.0\Db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    INVMAN =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xplaptop)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xplaptop.mshome.net)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    and the local (TOAD) machine has
    # TNSNAMES.ORA Network Configuration File: S:\Oracle\product\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    INVMAN =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = idc-server)(PORT = 1521))
    (CONNECT_DATA =
    (SID = INVMAN)
    INVMANLAP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xplaptop)(PORT = 1521))
    (CONNECT_DATA =
    (SID = ORCL)
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = idc-server)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    Now I've tried this both from TOAD and from iSQL on the machine with the database.
    It's INVMANLAP which I'm using from the TOAD machine, of course!
    I appreciate your help. It has been the only bright spark in a DREADFUL day (among other things the IDC-SERVER mentioned above has a trashed system disk which has taken out email and my main oracle server). And I have to install this system tomorrow!
    Iain

  • Physical Standby Database Creation with RMAN

    Hi,
    I'm in 10g on Linux. I want to create a standby database on another Linux server. I did not find a clear procedure to create it in Oracle® Database Backup and Recovery Advanced User's Guide 10g Release 2 (10.2) Part Number B14191-02
    and niether in Oracle® Data Guard Concepts and Administration 10g Release 2 (10.2) B14239-04
    In the last one chapter 3 sends you to F appendix and F appendix says do nothing before having than all in chapter 3 :
    In F.1.1 page F-2 it is said :
    See Chapter 3 for a complete discussion of physical standby database preparation,including initialization parameter settings. You must perform all necessary preparation tasks described in these chapters before RMAN can successfully create the standby database files and mount the standby database.
    Any way I'm looking for a procedure or clear article to create it.
    Many thanks before.

    Physical Standby Database Creation with RMAN
    Use the DUPLICATE command.
    Check out this metalink doc: Note:374069.1 and Note:118409.1
    Message was edited by:
    STW
    Message was edited by:
    STW

  • OiD, DB and iAS on the same box

    Hello world!
    Did anybody installed OiD DB and iAS on the same box and if yes
    does it working & ? :-)

    Hello Dmirty:
    Yes, you can install them on the same box. Here is how I do it:
    1. Install OID with its database.
    2. Resize the OID database user and system tablespaces according
    to the installation instructions in the 9iAS Portal install
    guide.
    3. Install Portal in a seperate Oracle Home on the same box.
    When you install 9iAS version 1.0.2.2, Portal needs a database
    but the database it will use cannot reside in the same Home.
    Since you are installing OID, and OID installs a database it is
    more space efficient to use the same Oracle Home you use for OID
    as you use for Portal. Again, install Portal in a seperate Home
    from OID but point Portal to the database in the OID instance
    durring installation.
    Hope this helps.
    Jay Tomlinson

  • Can E-RECRUITING share the same box of ECC?

    I always install E-RECRUITING on a dedicated server as an ABAP application. Then connect to its backend ECC.
    Just curious, can I  install  E-RECRUITING on the same box where its backend ECC system is installed? ECC and E-RECRUITING will have
    different SIDs but co-exist in one Oracle MCOD DB.
    Further more,  can E-RECRUITING and its backend ECC belong to the same SID but on different clients?
    Thanks for help.

    Yes and yes. The first scenario is comparable to I2-A and the second one to I2-B. See the application help for details.

  • Picture and text in the same box for the calender?

    Is it possible to put a small picture in the box (for say May 4) and also get a short text line in the same box?
    When I'm doing it now, the picture takes up the whole box and the text goes underneath.
    Thanks

    Unfortunately that's how it works. If you have a 3rd party editor you could add the text to the picture before adding it to the calendar. Put in a feature request at http://www.apple.com/feedback/iphoto.html.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Two different 10g installations in the same box

    Hi,
    I installed oracle 10.2.0.2 and 10.2.0.4 in the same box, using different paths as ORACLE_HOME, but the same user... I am gettin this errors when trying to create an instance:
    hu Feb 12 10:31:29 2009
    Errors in file /oracle10/app/oracle/admin/SIDBDPR1/bdump/sidbdpr1_ckpt_29994.trc:
    ORA-07445: exception encountered: core dump [kgskhighthreshold()+72] [SIGSEGV] [Address not mapped to object] [0x0000001F6] [] []
    Thu Feb 12 10:31:44 2009
    Errors in file /oracle10/app/oracle/admin/SIDBDPR1/bdump/sidbdpr1_pmon_29984.trc:
    ORA-00469: CKPT process terminated with error
    Thu Feb 12 10:31:44 2009
    PMON: terminating instance due to error 469
    Instance terminated by PMON, pid = 29984
    Wonder if this error could be a consequence of the /usr/local/ssl/lib/ files update... I first installed 10.2.0.2, then 10.2.0.4, and I am using 10.2.0.4 to create the instance.
    Thanks!!!

    ISSUE CLARIFICATION
    ===================
    -- Problem Statement:
    CKPT crashed with ORA-07445 [kgskhighthreshold()+72] during CPU count dynamically.
    ISSUE VERIFICATION
    ==================
    Verified the issue referencing data collected records as DC#1.
    CAUSE DETERMINATION
    ===================
    The issue matches exactly Bug 7172531 as I mentioned based on the error, symptom and call
    stack.
    CAUSE JUSTIFICATION
    ===================
    - Same erorr : ORA-7445[kgskhighthreshold]
    - Same symptom : CKPT crash during cpu count change
    - Same call stack : gskhighthreshold kskcpucc ksbcpu_mod kspptval kspset0
    PROPOSED SOLUTION(S)
    ====================
    Apply one-off patch for bug 7172531 on top of 10.2.0.4.
    PROPOSED SOLUTION JUSTIFICATION(S)
    ==================================
    Note 7172531.8: Bug 7172531 - Dump when CPU count dynamically changed
    SOLUTION / ACTION PLAN
    ======================
    -- To implement the solution, please execute the following steps::
    Apply one-off patch for bug 7172531.
    KNOWLEDGE CONTENT
    =================
    Note 7172531.8: Bug 7172531 - Dump when CPU count dynamically changed
    Email Update button has been pressed: Sending email to [email protected]

  • Install Essbase 11.1.2 and OBIEE 11g on one and the same Box (Linux 64bit)

    Hello
    Did anyone already try to get Essbase 11.1.2 and OBIEE 11g installed on the same box? In my case I am trying it on OEL 5.5 64bit.
    How did you proceed?
    First Essbase or first OBIEE or have WLS installed standalone first?
    Encountered any hurdles?
    Thanks for any hints or links.
    Thomas

    let me check... yeah u can do that dude i cant tell u how to do it but i can give u some idea
    try to see properties file or db files for web logic ...i think it where the port number are stored and in war file is where multiple instance info is stored
    iam sure that u can create multiple instance as long as u give different ports (yeah u have to other wise u cant config it :))
    Go through this doc
    http://docs.oracle.com/cd/E13222_01/wls/docs81/adminguide/overview.html
    hope this info helps some sort :)
    Edited by: KVC on Nov 26, 2011 8:28 PM
    Edited by: KVC on Nov 26, 2011 8:45 PM

  • OEM 12c and OVM on the same box?

    Hi Guys and Girls!
    Thank you in advance for your support!
    Could you please share you experience, best practices and gotchas with installing OEM 12c and OVM on the same OL 5x box?
    We would like to install OEM 12 R2 on a OL57 server with an existing production (Oracle DB SE 11.2.0.3.0) Oracle VM Manager 3.1.1.625 installation.
    Some questions:
    1- Does Oracle support OEM and OVM on the same server?
    2- If Oracle VM Manager and the SE DB are already installed on an OL 57 server in /u01/app/oracle/product, can OEM 12c R2 be installed into /u01 as well, or should we use a different directoty, i.e. /u02?
    3- Will the OEM 12c installation program be able to use the same DB as Oracle VM Manager, i.e., its just creates the OEM DB schema and goes on its mary way without harming the Oracle VM Manager DB schema?
    Thank you,
    Roddy

    Alessandro,
    Thank you for your reply!
    The irony with my OEM and OVM on the same box question is that the Oracle Sales & Support teams as well as public Marketecture has been recommending collocating OEM & OVM!
    I agree with you 100% about resource consumption, and considering how often we must restore/reset Oracle VM Manager I am curious how supportable an OEM & OVM install is on the same box. 99% of my customers are not interested in supporting MySQL, i.e. the DBAs know Oracle not MySQL. As long as Oracle VM Manager resets (DB deletes) and UUID restores (uninstalls and re-installs)  will not damage OEM its all good.
    Thanks again for your support!
    Roddy

  • Standby database dont  apply the logs

    Hi,
    since we had a power failure, the standby database dont
    apply the logs. Can someone advise me plaese.
    Thanks

    Fetching gap sequence for thread 1, gap sequence 41018-41054
    Trying FAL server: DB1
    Failed to request gap sequence. Thread #: 1, gap sequence: 41018-41054
    All FAL server has been attempted.
    Attempt to start background Managed Standby Recovery process
    MRP0 started with pid=14
    MRP0: Background Managed Standby Recovery process started
    Starting datafile 1 recovery in thread 1 sequence 41018
    Datafile 1: '/oracle/DB1/database/data/DB1_SYSTEM01.dbf'
    Starting datafile 2 recovery in thread 1 sequence 41018
    Datafile 2: '/oracle/DB1/database/data/DB1_UNDO01.dbf'
    Starting datafile 3 recovery in thread 1 sequence 41018
    Datafile 3: '/oracle/DB1/database/data/DB1_D01_DATA01.dbf'
    Starting datafile 4 recovery in thread 1 sequence 41018
    Datafile 4: '/oracle/DB1/database/data/DB1_I01_DATA01.dbf'
    Starting datafile 5 recovery in thread 1 sequence 41018
    Datafile 5: '/oracle/DB1/database/data/DB1_D01_DATA02.dbf'
    Wed Aug 12 17:08:13 2009
    Completed: alter database recover managed standby database di
    Wed Aug 12 17:08:13 2009
    Media Recovery Waiting for thread 1 seq# 41018
    Fetching gap sequence for thread 1, gap sequence 41018-41054
    Trying FAL server: DB1
    Wed Aug 12 17:09:54 2009
    Restarting dead background process QMN0
    QMN0 started with pid=9
    Wed Aug 12 17:10:59 2009
    Failed to request gap sequence. Thread #: 1, gap sequence: 41018-41054
    All FAL server has been attempted.
    Wed Aug 12 17:15:06 2009
    Restarting dead background process QMN0

  • Standby database creation notes by metalink

    Can any body send me good Standby database creation notes by metalink.

    Are you wanting to see notes for physical or logical standby and what Database version and OS?
    Use the knowledge browser in Metalink and click the database link in the Support Categories section on the left of the page and select Dataguard under the High Availability Section on the resulting page.

Maybe you are looking for

  • Switched iPod format from PC to Mac OSX.5 - Album Art Missing in some songs

    Has anyone else seen this problem? I am meticulous about adding art to albums I like, especially, so I know it was there before. I switched from a Windows system to Macbook recently, and everything else seems great, but there is definitely some artwo

  • Creating multiple scroling text on one pane

    yeah i have been working on this banner im making and i absolutly dislike GUI i have most of the core programing but im having trouble with the GUI i have been using test strings so here is the panel class i have been working on trying to create mult

  • Captivate 7 Master Slide Placeholders - need to not be Smart Objects

    Hi, We are trying to use the Print output for our storyboards so that editors can proof and edit all text captions in the course. The output templates do not recognize smart objects and it seems that the only placeholders that work for titles and sub

  • TS3999 Error 403 when synching Mountain Lion Calendar to iCloud

    I need help in solving why suddently my iCal on the Mac desktop will no longer synch with the Cloud.

  • 23" Display really hot

    I have had this monitor for two days and it generates an extreme amount of heat. I went back to the shop where I purchased it and all monitors the had on display 30" down to the smallest one were a lot cooler than mine. Is this a problem and should I