Standby DB Server

Suppose there is a production server DBSrv1 is running. Now I want to have a standby/backup sever DBSrv2, which should carry the exact same database files, data, etc as the DBSrv1. What are the steps/ways for me to do it?
At this time I do not want to consider the RAC/grid computing technique. All I need is a standby or backup DB server. In the case that the DBSrv1 is crashed or failed, I can immediately switch to DBSrv2, so that the user's interrupt is minimum.
2)I want the production server DBSrv1 to be fully/completely backed up in realtime (24 hr/7d). What are the ways to do it? (using tape...?)
Thanks
Scott

The only thing I view the backup is like this: If it is just an instance failure or a datafile crashed, I do not concern that much. What the thing could go destructively is the crash of the hard disk. If this thing happened, no matter how completely and elegantly the data are backed up in the hard disk, it won't help at all. That is why I prefer the physical standby back up.
Another question is: What I know of, the most of the backup system is run based on a LAN. Is there some kind of backup method via Internet (HTTP)?
For example, my DB server is hosted on a different city, while the standby server is located in my office. There is no LAN connection between the two. If there is an Internet based backup system or methodology, that will help. At the least it will save me some trips.
Thanks to share your opinions and comments.
Scott

Similar Messages

  • Goldengate between active and standby database server

    Hi:
    I want to make goldengate connection between active and standby database servers (bidirectional). is it possible?
    if yes what steps is required rather than active-active connection.
    PLease help!!!
    Regards,
    Abhishek

    What do you mean by "standby" server? If you are referring to a Data Guard standby, how would bidirectional work? That's why one is primary, the other is standby.
    If you are doing A-A, your "standby" is just another master in the N-way master architecture, so you already have a bi-di setup, right? Are you looking to replace Streams with GG?

  • Standby Application Server

    Suppose there is a production app server AppSrv1 is running. Now I want to have a standby/backup sever AppSrv2, which should carry the exact same deployed app files, data, etc as the AppSrv1. What are the steps/ways for me to do it?
    At this time I do not want to consider the RAC/grid computing technique. All I need is a standby or backup app server. In the case that the AppSrv1 is crashed or failed, I can immediately switch to AppSrv2, so that the user's interrupt is minimum.
    2)I want the production server AppSrv1 to be fully/completely backed up in realtime (24 hr/7d). What are the ways to do it? (using tape...?)
    Thanks
    Scott

    A lot depends on your deployment considerations. Many of the app server capabilities can be clustered; however, any implementation that includes Portal or BI can not be.
    If your app server only runs an OPMN spawned container for your app, cluster it. Deployments will automatically propogate to each server. If you are using either of the above in your deployment, try setting up the first, unplug it, and set up the 2nd to look exactly like the first, with a different IP address for the same app server FQDN. When one crashes, plug the other in.
    There is a lot of administrative overhead to doing it this way -- i.e. manual configuration of the environment, but it will work.

  • Primary and  standby oracle server versions

    Hi
    Can I have a dataguard config in which the primary database and standby database are having different Oracle versions but the compatible paramerter is set to less than the lowest version
    Eg:
    primary 10.2.0.1
    Standby 10.2.0.4
    compatible 9.2.0.0.0
    Is this possible
    Similarly is it possible to have primnary and standby in 10g and 11g with 10.2.0.1 compatible parameter

    Can I have a dataguard config in which the primary database and standby database are having different Oracle versions but the compatible paramerter is set to less than the lowest version
    primary 10.2.0.1
    Standby 10.2.0.4
    compatible 9.2.0.0.0
    Is this possible
    Similarly is it possible to have primnary and standby in 10g and 11g with 10.2.0.1 compatible parameterNo it is not possible. I read one of blog, We can configure logical standby it might 11g

  • Setup a standby Messaging server

    Dear all,
    I am using System Messaging Server version 6.30.15 .
    I want to setup a Secondary backup mesaging server to use in Primary server failure.
    Is there a in built mechanisum to set up the same withour going for a SUn cluster.
    Please guide me to achive this task.

    Did you install on a single host ?

  • Building standby database server.

    Dear Team,
    we are working on the following scenario
    when my physical standby goes down, i have backup locally (standby) and all the archives are available in the primary..
    do we need to rebuild the data guard or just we need to recover the standby just by registering the missing archives.
    Please put a light on this.
    Thanks,
    Mallikarjun

    As long as you are on the same incarnation, and you don't use two seperate database on the same incarnation mixed, you should be fine by using the archives.
    Regards, Gerwin

  • Logical standby issue after adding a new user at production db server

    Hello Experts,
    I am facing a issue related to logical standby db server where after adding a new user at production db server logical standby has stopped sql apply. Can anybody give some idea to find out the root cause and give some tips to resolve the issue.
    tried below .....
    SELECT EVENT_TIME, STATUS, EVENT FROM DBA_LOGSTDBY_EVENTS
    ORDER BY EVENT_TIMESTAMP, COMMIT_SCN, CURRENT_SCN;
    got error
    ORA-16227: DDL skipped due to missing object
    ORA-01403: no data found
    ORA-00942: table or view does not exist
    OS : RHEL 4 (IBM P5)
    DB : Oracle 10g (10.2.0.1)
    Achyot

    Please let me know if can skip the DDL at which it is failing.
    ALTER DATABASE STOP LOGICAL STANDBY APPLY;
    Use EXECUTE DBMS_LOGSTDBY.SKIP
    ALTER DATABASE START LOGICAL STANDBY APPLY;
    Thanks,
    Renu

  • Standby server time zone - sync-up with primary

    As we are running our database with physical standby database - Oracle 10.2.0.3, O/S RHEL4 ES
    now the primary database server time zone is set to EST Time Zone and Standby database server is set to PST time Zone
    We would need to Sync-up standby time zone with Primary database server (EST)
    and also the standby server is having 2 instances,
    1. standby instance
    2. independent instance
    We are running rman for both the instances in standby server
    as part of this time sync, we need to bring down both the instances then reset the time zone in standby server as primary and bring both the instances up and run the rman backup.
    is this fine.
    Please let us know if this is fine or do we need to perform anything more.
    Thanks,
    AJ

    Please see the attached screenshot, which is of the last page of the Sync Setup process. It says to backup your Sync Key, and it offers a Print ... button and a Save... button. The correct Sync Key is necessary to recover your data, it is the encryption / decryption key. Sorry, without it your data is useless.

  • Change the location of Archive Logs on standby Server

    Can somebody tell me the process how to change the archive logs location for the standby by server. e.g. Its going now to location C:\stby\archives and I want to send it to E:\stby\archives
    Thx

    Hi,
    Change the STANDBY SPFILE/PFILE Value of <b>standby_archive_dest=E:\stby\archives</b>
    see this
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96653/init_params.htm#84366
    HTH
    Regards!

  • Server 2012 R2 DHCP Failover - Hot Standby clients not renewing with standby server

    In my test network I have a pair of Server 2012 R2 DHCP servers setup for Hot Standby and they will successfully service a client request for a new request. 
    What I am seeing is that when I test failover the clients will not renew with the Standby server. I have to release first and then renew. 
    When both DHCP servers are up the state is normal and replication of configuration from the Active to Standby is working. As far as I can tell it is configured correctly. 
    MaxClientLeadTime is 10 minutes. 
    StateSwitchInterval is 10 minutes. 
    AutoStateTransition is set to True. 
    Adding that manual renews fail with a message stating that it was unable to contact the dhcp server. However if I wait for the lease to expire/auto-renew the dhcp server does indeed change to the standby. Once the primary server comes back up and the state
    returns to normal I am able to manually renew. 
    thanks in advance

    
    Hi,
    For test, we let the active DHCP down and the standby DHCP server will take place. But when we renew an IP, client send unicast to the former DHCP
    server. That’s why the first request failed.
    At 7/8 of the scope lease time, the client moves into a REBINDING state and broadcasts a lease renewal request.
    For more information please refer to:
    DHCP Failover Examples
    http://technet.microsoft.com/en-us/library/dn338973.aspx
    Hope this helps.

  • At a bit of a loss with a two server set up

    I've been running a single Xserve (G5) for the last 5 years, but now we have just got one of the last new Xserves to become our main server, I want to keep the old server running light duties, but be ready to take over again as the main server if the new one went down for any reason, but with minimum fuss to switch over. I know because the are different models running different OS X server, I can't have anything like IP failover. But I can't figure out the best way to set this up.
    For instance how do you handle port forwarding, would you manually have to go to the router and change all the services to forward to the other server whenever you change? and all the services on the server, I was hoping it would be as simple as turning them back on, but I'm not sure it is because everything is looking for the old server. Just feel in a bit of a muddle.
    On our single G5 it was running the following:
    AFP ( all files stored on Xserve RAID )
    DHCP
    DNS
    iChat
    Open Directory
    Web
    Kerio Connect
    Retrospect
    Rumpus FTP server
    So now with the Intel Xserve I was going to move all the main services to that and just leave Retrospect and Rumpus running on the G5, but have it ready to take over if the Intel goes down.
    But unless I'm missing something that would involve me, plugging the Fiber channel leads from the RAID to other server, moving the User Network home drive from one server to the other, reconfiguring all the services to look for the other server, changing all the Port forwarding on the router to the other server ect…
    Doesn't sound like something that would go smoothly in an emergency

    You're setting up a failover configuration, and an attempt to increase uptime, and this capability involves the particular implementation of and the configuration of each of the services. Not all services allow this. (Google around for previous discussions of failover. Some cases and some services are ease (eg: DNS), and some cases can get gnarly.)
    AFP ( all files stored on Xserve RAID )
    Not shared, though with Xsan and shared SAN access, you can fail over via DNS changes.
    DHCP
    Not shared. Can start another server easily when the active DHCP server fails.
    The ISC DHCP server can do DHCP fail-over, and that can be retrofit onto a Mac OS X Server box with a little effort.
    Given the usual lease times, you will have some time to get the server back online before problems become systemic, or to activate a standby DHCP server.
    DNS
    Can inherently be shared; primary and secondary.
    iChat
    Not shared.
    Open Directory
    Can be shared; primary and replica.
    Web
    Not replicated, though with Xsan and shared SAN access, you can fail over via DNS changes.
    Kerio Connect
    Likely can be clustered and almost certain to allow mail to be queued, but you'd have to check with Kerio for details.
    Retrospect
    Not likely shared. I do not know the details nor status of Xsan support with this package.
    Rumpus FTP server
    Not replicated. Likely with Xsan and shared SAN access, you can probably fail over via DNS changes.
    There have been previous discussions, so some searching might find some insights. Here is [Failover Cluster Possible?|http://discussions.apple.com/message.jspa?messageID=11812720], for instance.
    Apple had documented [High Availability IP Failover features|http://docs.info.apple.com/article.html?path=ServerAdmin/10.5/en/c3fs2 9.html] in earlier Mac OS X Server releases, but most of the documentation has disappeared. (Whether this failover mechanism is considered deprecated with Snow Leopard 10.6, I don't know.) That written, the key pieces of this capability including [failoverd failover daemon |http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPage s/man8/failoverd.8.html] and [heartbeatd heartbeat daemon|http://developer.apple.com/library/mac/#documentation/Darwin/Reference/M anPages/man8/heartbeatd.8.html%23//apple_ref/doc/man/8/heartbeatd] are still listed, however. And as the documentation for that daemon states +Configuring your nodes to support IP Failover is a non-trivial task and not to be taken lightly! Significant data loss or corruption may result from poorly configured systems.+

  • Error while mounting Standby database

    Hi all,
    I am getting ORA-01102: cannot mount database in EXCLUSIVE mode error when truying to mount the standby database.
    SQL>alter database mount standby database ;
    If anyone faced the same issue please guide me.
    Thanks and Regards
    Salih KM

    This is script for Standby..
    Primary Server Configuration
    1.In the TNSNAMES.ORA of Primary DB add the entry of the Standby DB
    IRCSSTDB(This is the service name in Primary DB to connect to Standby DB) =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = IRDBACK)(PORT = 1512))
    (CONNECT_DATA =
    (SERVICE_NAME = IRCS(This is the actual INSTANCE name of Running DB on Standby DB)
    2. There is no need to Make any Changes in the Listener.ora of PRIMARY DB
    Keep LISTENER.ORA of Primary as it is
    Copy Listener.ora from Primary DB to Standby DB and make following changes
    Delete All the Extra Existing listeners.
    (These Updations are for the STANDBY DB)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = IRDBACK)(PORT = 1521))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /ora01/app/oracle/product/9.2.0)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = IRCS)
    (ORACLE_HOME = /ora01/app/oracle/product/9.2.0))
    3.In the INIT.ORA of Primary DB add Following…
    log_archive_dest_2 = "service=STBY optional/Mandatory scope=BOTH"
    log_archive_dest_2 = Enable
    log_archive_min_succeed_dest = 2
    We can add this Dynamically with the SQL*PLUS..
    Standby DB Server Configuration
    1.In the TNSNAMES.ORA of Standby DB add the entry of the Primary DB
    primary1(ISSL)(This is the service name in Standby DB to connect to Primary DB)=
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp) (PORT=1521) (HOST=PRIMARY MACHINE NAME))
    (CONNECT_DATA=(SERVICE_NAME=IRCS(This is the actual INSTANCE name of Running DB on Primary DB)
    2.Copy Listener.ora from Primary DB to Standby DB and make following changes
    Same as Above
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = IRDBACK)(PORT = 1521))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /ora01/app/oracle/product/9.2.0)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = IRCS)
    (ORACLE_HOME = /ora01/app/oracle/product/9.2.0))
    3. Connect to Idle instance..
    1.C:\ oradim –NEW –SID ircs –INTPWD pwdfilename –STARTMODE auto –pfile E:\oracle\oradata\pfile\init.ora
    2.     C:\ set oracle_sid=IRCS
    3.     C:\ sqlplus /nolog
    4.     SQL:>connect sys/ircl as SYSDBA
    5.     SQL:>startup nomount pfile= E:\oracle\oradata\pfile\init.ora
    6.     SQL:> alter database mount standby database;
    7. SQL :> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE;
    4. we can also add these parameter in INIT.ORA of Standby DB
    1.standby_archive_dest= /u00/app/oracle/admin/sec/arch (Same path as in
    (log_archive_dest_1) in init.ora
    2. Fal_client=standby1 (Service Name)
    3. Fal_server=primary1 (Service Name)
    Troubleshooting….
    1. Check Init.ora of Primary DB
    2. Try to open Standby Database in normal mode try to connect it with normal user from different Machine.
    3.check *.logs file on Standby Database
    4.Check v$archive_dest on Primary DB
    5. lsnrctl services <listener name>….For Checking Listener, for service

  • Error in creating standby db... need HELP !!!

    Hi,
    i want to set up a standby db for current production db and i did the following:
    1) shutdown the production db;
    2) cp $ORACLE_HOME/oradata/testdb/*.dbf(on
    production) to the the standby db server;
    3) startup the production db;
    4) create a standby controlfile on
    production;
    5) issue "alter system archive log current"
    on production server;
    6) copy standby controlfile , init file
    and archived logs to standby server;
    7) config. the init file;
    8) on standby server, i did
    (i) startup nomount pfile=initstandby.ora
    (ii) alter database mount standby database
    (iii) recover managed standby database
    up to 8 (iii) , the following error occured:
    ORA-01152: file 1 was not restored from a
    sufficiently old backup
    what's going on ???
    Can anybody help me ???
    Thanks in advance !!!
    stephen
    null

    I also did as you did, but I did not get any error code.
    However, the system seems halt after the command of "recover managed standby database;". I checked my standby database log:
    Media Recovery Log
    Media Recovery Waiting for thread 1 seq# 15
    .... log halting here for a long long time (no anyresponse)
    Then I try to primary database do the following command:
    alter system archive log current;
    Then my standby database log have the following response:
    Mon Mar 25 16:27:12 2002
    Media Recovery Log /oracle/or9i/dbs/arch1_15.dbf
    Media Recovery Waiting for thread 1 seq# 16
    ...... log halting here again
    No any output after all. Why? Can anyone tell me?
    Shoud the command "recover managed standby database;" have any ending?
    And also I tried to use
    SQL> recover managed standby database finish;
    ORA-16043: sustained recovery session canceled
    ORA-16137: No terminal recovery is required
    .... Why?

  • Standby Database with Standard Edition

    Hi All,
    I'm attempting to setup a Standby database with Oracle 10g Standard Edition. I must manually copy over the archive logs to my Standby database server because i'm using Standard Edition.
    Once my primary database archive logs have been copied over to the standby location shouldn't the database automatically apply those archive logs? I have issued the "alter database recover managed standby database disconnect from session" so my understanding is that it is in recovery mode and shoudl be finding the archive logs to apply. Can anyone confirm that this configuration should work with Standard Edition and perhaps point me in the right direction, which parameters in the init file to check, to get my standby database to apply these archive logs automatically.
    Thanks,

    To quickly determine the level of synchronization for the standby database, issue the following query on the physical standby database:
    SQL> SELECT ARCHIVED_THREAD#, ARCHIVED_SEQ#, APPLIED_THREAD#, APPLIED_SEQ#
    2> FROM V$ARCHIVE_DEST_STATUS;
    ARCHIVED_THREAD# ARCHIVED_SEQ# APPLIED_THREAD# APPLIED_SEQ#
    1 947 1 945

  • Db_file parameter change in oracle 8i with physical standby configured

    i have oracle 8i (8.1.7) with physical standby configured.
    i need to change the db_file parameter value. kindly check the below steps are correct? Thanks.
    1. alter database backup controlfile to trace;
    2. edit the init.ora file as db_file=<new value> (after backing up the existing pfile)
    3. edit the create control file statement in udump -- max datafile (and also remove the first line startup nomount)
    4. shutdown immediate;
    5. startup pfile ='file name';
    6. in sqlplus run the create control file statement;
    7. alter database backup controfl file for standby;
    8. move the standby control file to standby db server
    9. shutdown immediate in standby
    10. copy the pfile and edit the new values
    11. startup mount pfile='new pfile' (in standby)
    12. recover control file <location> from rman
    13. start the recovering of standby.
    Thanks,
    Raman.

    Just change the db_files value to some higher value in the init.ora file and restart the database. With this you can create more datafiles no need to create control file.

Maybe you are looking for

  • How to install Windows 7 on Late 2013 Macbook Pro?

    I purchased a brand new Macbook Pro last week, retina display and all. I've enjoyed it thus far, yet for whatever reason, I can't seem to install windows on a partition in BootCamp like I used to be able to. I'm on Mavericks of course, 10.9.3. I trie

  • Error in JMS message routing

    Hi, I am doing interface which send JMS messages to IDOC. JMS is sending three different messages (three XSD's) and I have created three separate interfaces as a below. A) Negative.xsd ; to IDOC1 B) Positive.xsd ; to IDOC2 C)Multiple.xsd ; to IDOC3 W

  • ANN: Oracle XML Parser for Java v2.0.2

    The new version of the Oracle XML Parser for Java v2 is available for download and has the following features and changes: 1. Conformance to the XSLT/XPATH August WD. Note that there are several changes between April99 XSLT draft and the August99 XSL

  • Still have MobileMe icon (not iCloud) on my System Preferences,how can I install iCloud on Macbook pro?

    Still have MobileMe icon (not iCloud) on my System Preferences, how can I install iCloud on Macbook pro when directions say to click on iCloud icon in System Pref. ?

  • Making Vendor Classification characteristics mandatory

    All, We have a vendor classification class and a characteristic. We have defined this characteristic as mandatory in transaction CT04. However when I create or change a vendor (transaction XK01/XK02) and go into classification I am still able to save