Standby database on same machine as primary database

hi,
I am testing the standby database and read all document on metalink also I am able to start the standby database in nomount mode nut when trying to mount the database I am getting following error
SQL> startup nomount
ORACLE instance started.
Total System Global Area 47679696 bytes
Fixed Size 731344 bytes
Variable Size 29360128 bytes
Database Buffers 16777216 bytes
Redo Buffers 811008 bytes
SQL> alter database mount standby database;
alter database mount standby database
ERROR at line 1:
ORA-01103: database name 'PRIMDB' in controlfile is not 'PRIMDBS'
I think the database name must be different on same machine. My os is Sun Solaris
Regards
Bhushan

When you need to have the standby database on the same server as the master, use lock_name_space in the init.ora.
This parameter permits this to occur without having to worry about changing the db_name.
http://www.oug-ottawa.org/pls/htmldb/f?p=103:21:729607614317189728::::P21_TIP_NUM:821

Similar Messages

  • Can we create standby database on same server as primary database

    I have Oracle 10g Rel2, OS Windows server 2003. Can I create standby database on same server on which we have our primary database?

    Bharat Kaushik wrote:
    I have VMware server s/w, do i need to create 2 virtual machines inside the one installation of VMware server? Or do i need to have 2 different installation of VMware server?You could think of VMWare Server in similar terms are Oracle Database Server.
    The HOME: The VMWare Server s/w is put into a "VMWare Home" (I use VMWare Workstation, it goes into C:\Program Files\VMware\VMware Workstation)
    The INSTANCE: WHen I create a VM Image, I specify the name (like a SID), configuration (like PFILE), and location (like ORACLE_BASE/oradata/ ...)
    And just like Oracle with which I can have 2 or more instances running on the host (if there is sufficient memory and other resource), I can have 2 or more VM Images running on my host.
    And just like Oracle, if I have insufficient resources, things get slow like molasses in the middle of winter.
    Hope your desktop has at least 4GB of OS-addressible RAM and at least dual-core CPU. ALternately ... I hope you have lots of coin for the coffee machine.

  • Two database in same machine

    Hai
    I want to create two database in same machine. I searched in google but no use.
    Is it possible in oracle 9i r2?
    If so,Anybody please help on that.

    jey84 wrote:
    I want to create two database in same machine. You can have a 100 Oracle databases on the same machine. The issue though is why?
    Why do you want to duplicate database overheads? Why two sets of system and process monitoring processes? Log writers? Database writers? Etc.
    Why two SGAs? Why two system tablespaces? Two temp tablespaces, undo tablespaces? Two sets of redo logs? Etc.
    You now have two database footprints. Instead of a single large SGA with properly sized buffer cache, shared pool, large pool and so on - you know have two smaller SGAs and smaller caches and pools that are now less capable and less scalable.
    Why would you want to do this?
    There are no sound technical reasons for running multiple database instances on a server - unless it is something like a 32 CPU/multicore server with 256 GBs of memory. But then why not use this as a cloud-type server on which you can run multiple server VMs? One VM for each database, as that provides more flexibility than multiple databases on a single server(physical or VM)?
    In today's world of cluster and cloud computing, running 2 databases instances on the same server does not make much sense. And needs to be backed up by reason and logic that justify such an approach.

  • CAN I INSTALL BOTH (ORACLE 9IAS AND ORACLE DATABASE )INTO SAME MACHINE.

    oracle 9ias and oracle 9i database in same machine Feb 25, 2003 11:22 PM
    Reply
    Dear Friends,
    I installed oracle 9ias. and then i hosted my form,report into that server . All was working properly.
    at this time my database was into another machine.
    then i installed oracle 9i database into the same machine
    (as the oracle 9ias was installed)
    at the instalation of oracle 9i database one error comes
    and shows that Agent configuration Assistant Installation
    fail.
    but After installation of database it work properly.
    there is no problem.
    but when I try to run from through web(by using oracle 9ias)
    it gives Internal error(500).
    i check and find that my appache server for 9ias is working properly and in services of windows 2000 no error comes.
    HOW CAN I INSTALL BOTH (ORACLE 9IAS AND ORACLE DATABASE )INTO SAME MACHINE.
    With regards
    Siddharth Singh
    [email protected]

    Hi James,
    Have u ever tried ORACLE 9iAS R2 on Redhat Linux ?
    If yes what is the version of RH Linux you were using ?
    Any docs for that ?
    [email protected]
    Regards
    Amudharasu

  • Creating physical standby database on same machine with dataguard

    hi every one
    i m new in oracle databases,
    i read documentation to create physical standby databases,
    now i install virtual machine (vmware) on my system,
    i install windows xp on this vm and oracle 9i
    now i want to create standby database on the same machine in some other drive configured with datagurd
    virtual machine
    OS windows xp
    database oracle 9i
    plz reply me how i do this
    explain clearly step by step.
    plz reply me in detail

    When you need to have the standby database on the same server as the master, use lock_name_space in the init.ora.
    This parameter permits this to occur without having to worry about changing the db_name.
    http://www.oug-ottawa.org/pls/htmldb/f?p=103:21:729607614317189728::::P21_TIP_NUM:821

  • Standby database,Possible network disconnect with primary database

    Hello
    I have a database on linux with standby configured on different server with same os and database version.When i was about clone primary database through OEM,it stuck in the middle and popup for recovery. I restored and recover whole database. Then, the alert log on the standby database shows this error.
    Possible network disconnect with primary database.
    I checked standby databsase,listener is up & running. But archive files are getting into standby database.
    What should i do now? Please anybody can put some light on this.
    Thanks
    Ariz

    Is there anything in the primary alert log? Can you tnsping the standby instance from the primary server, and the primary instance from the standby server?

  • Physical Standby Database Lags Far Behind the Primary Database scenario

    Hi,
    Have anyone successfully implemented described in the Oracle Documentation following
    scenario?
    For me it does not work at all.
    After implementing all steps current_scn of standby database remains the same and when trying to push recovery using redo it asks for non-existing archived log which I can't restore on primary database as all backups containing that archived log already gone.
    The only option is to recreate standby database from backup again.
    Best Regards,
    Alex

    I already found the reason.
    Just for your information:
    Recovering a Standby database from a missing archivelog
    Unfortunately documentation missed that important step of standby controlfile recreation.
    To my luck I was copying the whole backup to the standby server when found this link.

  • 9ids and 9i database on same machine

    i want to know
    can 9iDS and 9i Database be installed in same machine.
    if yes then
    i am gettin a problem.
    all application i,e forms run very fine
    but on running report from forms it hangs
    states opening page.
    on looking on report server trace file,
    report got finished successfully
    and on cache dir report file is already made.
    what would be problem in downloading that file.
    please state me solution.

    I HAVE SEEN IN JINIT CONSOLE
    trace level 5
    on server where (9iDS and database both installed)
    Opening http://server1:8888/forms90/l90servlet;jsessionid=c995d4251dd849878b75cf8649b1d477
    Connecting http://server1:8888/forms90/l90servlet;jsessionid=c995d4251dd849878b75cf8649b1d477 with no proxy
    Opening http://server1:8888/forms90/l90servlet;jsessionid=c995d4251dd849878b75cf8649b1d477
    Connecting http://server1:8888/forms90/l90servlet;jsessionid=c995d4251dd849878b75cf8649b1d477 with no proxy
    Opening http://server1:8888/forms90/l90servlet;jsessionid=c995d4251dd84987
    and so on..
    on another machine
    from where reports comes
    this is trace file
    Connecting http://pdc:8888/forms90/l90servlet;jsessionid=db17d7a493484cb8ac2ac70498be1448 with no proxy
    Connecting http://pdc:8888/forms90/l90servlet;jsessionid=db17d7a493484cb8ac2ac70498be1448 with cookie "getfileauthid=c0roXNhhSA=="
    Opening http://pdc:8888/forms90/l90servlet;jsessionid=db17d7a493484cb8ac2ac70498be1448
    now i see in first stage it is not connecting with
    cookie

  • 9i report server die after installed database on same machine

    Hi,
    I had a oracle 9i developer suite installed first on my win2000 server, and it runs fine until I installed the oracle 9i database.
    Now I can still run the "Start OC4J Instance.bat" and there is no error mesg shows up, but when I tried to access the report http://mypc:8888/reports/, it never able to go this site and no any error mesg.
    Do these two products can coexists on same machine?
    They are installed on separate directory of course.
    Any idea and suggestion?
    Thanks.
    David

    * When you give "Start oc4j" you should be able to see a dos window open and up and a message like "Oracle Containers for 9023 running" (if I remember correctly). I assume you are able to see that
    * Give
    http://mypc:8888/reports/rwservlet
    What do you get ?
    Infact what error message are you getting now exactly ?
    * In $OH\bin
    If you give
    rwserver server=any_name
    in a dos cmd window
    are you able to see the server with that name startup and up and running ?
    * I am not sure about DB and Reports in same machine coexisting. But in general oracle products can coexist in same machine. Only problem is because of PATH conflicts.
    If in SYSTEM path (in ctrl panel - system - environment)
    if there are some path clashes, there may be problems.
    Thanks
    Ratheesh

  • Install Oracle Application Server on the same machine with Oracle Database

    Hello!
    I have already have installed on my laptop the oracle Database 10g, and i want to install on the same machine Oracle Application Server; can I do that? After i look on some threads on this forum I understand that all I have to do is to change the default port 1521 of the database to antoher ..let's say 1523...how can I change the port? what files do i have to modify? Oracle Application server can work in good conditions with Oracle XE or I will have the same problem?
    My SO is Windows XP Professional SP II, all updates, 512RAM, 2Ghz-CPU
    Thanks!

    Well, you'll have some problems to run simultaneously Database and AS with 512 Mb...
    Apart from that, you don't need to start two listeners, you can use just one (the highest version) for both DBs.
    If, for any reason, you want to use two, you can change the port within LISTENER.ORA file, normally in ORACLE_HOME\network\admin.

  • How many ogg required if i have both database on same machine.

    Hi!
    I have sqlserver 2005 and oracle 11g express on windows 2003
    please tel me how many instances of ogg112101_ggs_Windows_x86_ora11g_32bit is required for migraton and replication.
    yours sincerely.

    944768 wrote:
    i forgot to mention one thing.
    1)i have installed both the above mentioned database on one machine ,
    so do i need two ogg ?Yes.
    2) if yes then do i need one ogg for oracle and one ogg for sqlserver or two ogg for oracel will suffice.For any database "X", you need to use GoldenGate for Database "X". So for Oracle DB, you need to install GG for Oracle DB, and for SQL Server you need GG for SQL Server.
    Once the data is "captured" to a GG trail, the data from any version of GG for database "X" on operating system "A" can be sent to any other version of GG for database "Y" on operating system "B" (Hence the term: heterogeneous replication.)

  • Logical Standby Database Not Getting Sync With Primary Database

    Hi All,
    I am using a Primary DB and Logical Standby DB configuration in Oracle 10g:-
    Version Name:-
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    CORE 10.2.0.5.0 Production
    TNS for Solaris: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - Production
    We have build the logical standby last week and till date the Logical DB is not sync. I have checked the init parameters and I wont see any problems with it. Also archive log destinations are also fine enough.
    We have a important table named "HPD_HELPDESK" where record count is growing gradually whereas in logical standby it's not growing. There are some 19K record difference in the both the tables.
    I have checked the alert log but it is also not giving any error message. Please find the last few lines of the alert log in logical Database:-
    RFS LogMiner: Registered logfile [oradata_san1/oradata/remedy/arch/ars1_1703_790996778.arc] to LogMiner session id [1]
    Tue Aug 28 14:56:52 GMT 2012
    RFS[2853]: Successfully opened standby log 5: '/oracle_data/oradata/remedy/stbyredo01.log'
    Tue Aug 28 14:56:58 GMT 2012
    RFS LogMiner: Client enabled and ready for notification
    Tue Aug 28 14:57:00 GMT 2012
    RFS LogMiner: Registered logfile [oradata_san1/oradata/remedy/arch/ars1_1704_790996778.arc] to LogMiner session id [1]
    Tue Aug 28 15:06:40 GMT 2012
    RFS[2854]: Successfully opened standby log 5: '/oracle_data/oradata/remedy/stbyredo01.log'
    Tue Aug 28 15:06:47 GMT 2012
    RFS LogMiner: Client enabled and ready for notification
    Tue Aug 28 15:06:49 GMT 2012
    RFS LogMiner: Registered logfile [oradata_san1/oradata/remedy/arch/ars1_1705_790996778.arc] to LogMiner session id [1]
    I am not able to trace the issue that why the records are not growing in logical DB. Please provide your inputs.
    Regards,
    Arijit

    How do you know that there's such a gap between the tables?
    If your standby db is a physical standby, then it is not open and you can't query your table without cancelling the recovery of the managed standby database.
    What does it say if you execute this sql?
    SELECT PROCESS, STATUS, THREAD#, SEQUENCE#, BLOCK#, BLOCKS FROM V$MANAGED_STANDBY;The ARCH processes should be connected and MRP waiting for a file.
    If you query for the archive_gaps, do you get any hits?
    select * from gv$archive_gapIf you're not working in a RAC environment you need to query v$archive_gap, instead!
    Did you check whether the archives generated from the primary instance are transferred and present in the file system of your standby database?
    I believe your standby is not in recovery_mode anymore or has an archive_gap, which is the reason why it doesn't catch up anymore.
    Hope it helps a little,
    Regards,
    Sebastian
    PS: I'm working on 11g, so unfortunately I'm not quite sure if the views are exist in 10gR2. It's worth a try though!
    Edited by: skahlert on 31.08.2012 13:46

  • Install two databases on same machine

    Hi all,
    I have a machine with win 2000 srv with an oracle 8.0.6 installed; Now I want to install a new db, new istance, with oracle 8.1.7.4, but i want to maintaining the db 8.0.6. How i must proceed?
    thanks
    pedro

    Hi again,
    You can use two listeners.... but then you need to use 2 TCP ports. Not really usefull.
    You only need one listener for both ORACLE_HOMEs. It's advisable to use the one from the latest release (i.e. 8i).
    Using only one listener is afaik the good way to set things up.
    Regards,
    Yoann.

  • Unable to connect Form 6i to my Oracle 9i database on Same Machine

    I first installed the 9i DB, and then installed Form 6i in different Homes, but I am not able to connect the form to the DB.
    Someone, Please Help.

    Hi alan,
    Thanks for your reply. Please guide me through the set up of my TNS Names.

  • Logs are not archived at Standby site on same server

    Hello all,
    I am using 11gR2 on Redhat Linux 5
    i have a testing to do in which i have created my standby database through rman duplicate command
    i have my standby db on the same machine.
    my primary database is : prod
    standby database is : std
    on primary site:
    SQL> select database_role,open_mode,name from v$database;
    DATABASE_ROLE OPEN_MODE NAME
    PRIMARY READ WRITE PROD
    SQL> archive log list;
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence 53
    Next log sequence to archive 55
    Current log sequence 55
    but the archiving is not being done on standby site it shows the following:
    /*SQL> select database_role,open_mode,name,db_unique_name from v$database;
    DATABASE_ROLE OPEN_MODE NAME DB_UNIQUE_NAME
    PHYSICAL STANDBY MOUNTED PROD std
    SQL> archive log list;
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence 0
    Next log sequence to archive 0
    Current log sequence 0
    and in alert logfile os standby database its shoing follwoing error
    Fatal NI connect error 12543, connecting to:
    (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.25.217.137)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=prod)(CID=(PROGRAM=oracle)(HOST=sm-alpha)(USER=oracle))))
    VERSION INFORMATION:
    TNS for Linux: Version 11.2.0.3.0 - Production
    TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.3.0 - Production
    Time: 10-DEC-2012 10:51:10
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12543
    TNS-12543: TNS:destination host unreachable
    ns secondary err code: 12560
    nt main err code: 513
    TNS-00513: Destination host unreachable
    nt secondary err code: 113
    nt OS err code: 0
    Fatal NI connect error 12543, connecting to:
    (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.25.217.137)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=prod)(CID=(PROGRAM=oracle)(HOST=sm-alpha)(USER=oracle))))
    VERSION INFORMATION:
    TNS for Linux: Version 11.2.0.3.0 - Production
    TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.3.0 - Production
    Time: 10-DEC-2012 10:51:14
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12543
    TNS-12543: TNS:destination host unreachable
    ns secondary err code: 12560
    nt main err code: 513
    TNS-00513: Destination host unreachable
    nt secondary err code: 113
    nt OS err code: 0
    Error 12543 received logging on to the standby
    FAL[client, MRP0]: Error 12543 connecting to toprod for fetching gap sequence
    here is my /etc/hosts
    [root@sm-alpha ~]# cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    10.25.217.137 sm-alpha
    and when i ping to sm-alpha
    it gives
    PING sm-alpha (10.25.217.137) 56(84) bytes of data.
    From 10.25.205.117 icmp_seq=1 Destination Host Unreachable
    From 10.25.205.117 icmp_seq=2 Destination Host Unreachable
    From 10.25.205.117 icmp_seq=3 Destination Host Unreachable
    From 10.25.205.117 icmp_seq=4 Destination Host Unreachable
    From 10.25.205.117 icmp_seq=5 Destination Host Unreachable
    would any one have a kind look at my problem.
    thanks

    Hi;
    You are at wrong forum site. I suggest close your issue here as answered than move your issue Forum Home » High Availability » DATAGUARD which is DG dedicated forum site.
    Regard
    Helios

Maybe you are looking for

  • Accounting Entries hit in Third party Sales Process

    Hi, Can anybody tell which accounting entries are hit when we create the following entries in third party sales process 1.When Sales Order is created. 2.When PR is Created 3.When ME21N is done 4.MIGO 5.MIRO please provide your valuable suggestion.. T

  • Multiple account assignment PO with Asset

    Hi all I am making an Asset PO with quantity 5 and with multiple account assignment selection  & distribution on qty basis with different Asset No. for each In this PO the octroi charges are maintained. during the MIRO simulation the delivery cost is

  • Max capacity for sd card slot Mac Mini mid 2010

    Has anyone with a MAC Mini mid 2010 tried using the SD card slot for an extended drive?  I'm wondering what the max size is for the slot, and if I put a 64-128 gig SD Card in, would OS X 10.8.2 be able to combine that with an internal HD to create a

  • Browsers Infected and Every Page Loads With Ad Banner

    Evidently something I installed on my computer has impacted my browsers with some malware or virus.  Every page that I now load in any of my browsers (Safari, Firefox, and Chrome) comes with a small white strip across thr top of the page with this ad

  • Keymap during installation : how to change ?

    Hello I browsed through the forum a little bit and I saw that few people didnt know that it is possible to switch the keymap at the beginning of the Arch installation process. :shock: Here is how to do that : when you are prompted to, type at the ver