Switchover role transition in a standby configuration

Hi All,
Oracle 10.2.0.1
Linux RHEL 5
Vmware server 2.1
Host Os Windows Xp
I have created a database and configured the standby for it.This is a virtual machine setup.
The current primary database has 3 redologfiles and no standby redologfiles added.And the standby database has the redologfiles same as the primary and 3 standby redologfiles configured just for enabling the real time apply.
Now i am trying to switchover the roles of both the databases.
So i gave the below command in the primary database
sql>alter database commit to switchover to physical standby with session shutdown;
i am getting the below error..
ORA-16416: Switchover target is not synchronized with the primary
When i check the V$archive_gap in standby nothing returns..
I tried to switch logfile in the primary and manually transfered the recent archivelog to the standby location and applied manually, still getting the same error..
Please Advice...
TIA,
Edited by: ORCLDB on Aug 25, 2009 4:41 PM

>
The current primary database has 3 redologfiles and no standby redologfiles added.And the standby database has the redologfiles same as the primary and 3 standby redologfiles configured just for enabling the real time apply.
Now i am trying to switchover the roles of both the databases.
So i gave the below command in the primary database
sql>alter database commit to switchover to physical standby with session shutdown;
i am getting the below error..
ORA-16416: Switchover target is not synchronized with the primary
>
You should create the standby logfiles on the primary as well. Also, you must point with the LOG_ARCHIVE_DEST_2 (probably) parameter from the standby to the primary with LGWR SYNC AFFIRM, in order to keep your protection level after the switchover. I would also recommend that you go with the Data Guard Broker in order to do switchover & failover, it's much easier to say
DGMGRL> switchover to sb;And DMON will take care for all the appropriate SQL commands and LOG_ARCHIVE_DEST_n settings!
Kind regards
Uwe
http://uhesse.wordpress.com

Similar Messages

  • Client failure failover/switchover standby configuration...

    I have created standby database, the standby database is synch with primary... After switchover the primary is now standby and standby is now primary, the clients are unable to connect to new primary database.
    TNSNAMES.ora file at client side...
    prim.world=
    (DESCRIPTION_LIST=
    (FAILOVER=true)
    (LOAD_BALANCE=no)
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=TCP)
    (HOST= test9)
    (PORT=1521)
    (CONNECT_DATA=
    (SERVER=dedicated)
    (SERVICE_NAME=primary)
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=TCP)
    (HOST=standby)
    (PORT=1521)
    (CONNECT_DATA=
    (SERVER=dedicated)
    (SERVICE_NAME=standby )
    SQL> conn iq/[email protected]
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress
    SQL> conn sys/[email protected] as sysdba
    Connected.
    SQL> select open_mode from v$database;
    OPEN_MODE
    MOUNTED
    SQL> select database_role from v$database;
    DATABASE_ROLE
    PHYSICAL STANDBY
    SQL>
    It's Oracle 10.2.0.1.0 version....

    oracleRaj
    Handle: oracleRaj
    Status Level: Newbie
    Registered: Mar 26, 2010
    Total Posts: 370
    Total Questions:  64 (36 unresolved)
    Name Raj
    Location Karachi
    Occupation DBA

  • Reg Standby Configuration method

    Hello All,
    I have two database servers DB1(as primary) and DB2(as standby)
    DB1 is currently online and DB2 is in mount state.
    I am using "Oracle Server-Standard Edition 11g R2", " version: 11.2.0.1"
    So it is not possible to perform switchover.
    I am generating the archive log from DB1 for every 1 hour and applying it to DB2 through batch program.
    If my DB1 fails. I am switching to DB2 just by changing(switching) the IP address.
    And I am not performing the actual database switchover.
    How good is this configuration?
    What are the problems that may occur in future?
    Also, customers are performing bank transactions. Will this configuration affect the transaction at any time?
    Do I need to migrate to oracle enterprise edition?
    Thanks,
    Madhu

    Standby databases are available with Oracle EE, SE, SE1 and XE.
    Most people do not realise that Data Guard is a process on top of the normal "standby database" architecture that has been around since Oracle 7.3. The standby database in EE (with DG) is slightly different in that there are standby redo logs which do not exist in SE/SE1/XE but the essence is the same.
    Only with Oracle EE do you get DG and so the whole standby database process has been automated. There are 2 other options with SE, SE1 and XE:
    1) Do it yourself. It sounds easy to do but to do it so that you create a fully robust system that is stress resistant under all circumstances is difficult. Why does Oracle otherwise charge a premium to upgrade to EE to use DG?
    2) Third party solutions such as Dbvisit Standby.
    To answer your questions:
    Is there any chance of losing certain logs from primary after failure?I think what you are referring to is "Is there a chance to loose data when the primary fails and the standby has to be activated?"
    The answer is yes, unless you use DG in maximum protection (in essence a 2-phase commit), there is always a potential to loose data as not all the redo may have been copied to the standby server. This is the case with EE, SE and SE1
    will the statement "SQL> alter database activate standby database;" make the standby database to primary without errors.Yes this is how you activate a standby database in SE, SE1 and XE. If you have created the standby database correctly (using standby controlfiles), all datafiles are online, no tablespaces in backup mode, then it will not error.
    Can I switch the standby database to primary in a short span of time, with the configuration I have?Yes switchover where you switch the roles between primary and standby for a short span of time is available in EE, SE, SE1 and XE. In EE with DG this has been automated, but with Dbvisit Standby switchover has been automated for SE, SE1, and XE.
    Switchover involves swapping the redo logs and controlfiles between primary and standby database. There is no dataloss in a switchover situation.

  • Role transitions

    hi everybody
    As per oracle dataguard documents they suggest two type of role transition
    1. switchover: which is reversible
    for this v r using 'alter database commit to switchover to physical standby;
    and 'alter database commit to switchover to primary;
    2. failover: we cant go revert back ones v do failover
    for this v r using 'alter database commit to switchover to primary'
    3rd option which i got from net and also suggested by our former dba.. that is 'activating standby database' using sql command 'alter database activate standby database'
    my doubts r
    1)wat is the difference between "failover" and "activating standby database" in both case we cant go revert back
    2)why oracle has not mentioned this option in their doc.'concept and admin. Oracle data guard 9.2' chapter no. 7(Role Management)
    i m eagerly waiting for ur replies.....
    Thanks in advance

    If your primary database is down then you cannot do a switchover. As switchover is initiated by primary database. So in this case you need to do a failover only.

  • Logical standby configuration details

    we want to be able to gather additional information about the logical standby configuration.
    How do we know if log_auto_delete is turn on or off?
    How do we know if any of the tables/schema dml/ddl are in skip mode?
    Thanks.

    I am running 9.2.0.4, but I am still getting this error. Any idea why?
    -Kelvin

  • 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.

  • Heterogenous Standby Configuration - Oracle 10g

    Hi All
    I was searching on net to find out if a Heterogenous Standby Configuration could be achieved in Oracle Database Server 10.2.0.4.0?
    We have our production Database running on Windows 2003 Server EE running on Dell PowerEdge. Its a two node RAC Database running Oracle database Server EE 10.2.0.4.0.
    For this set-up, could we look at having the standby on another server running SUSE Linux. If this is possible, we would be able to proceed with out actually procuring another hardware and also make use of this Linux machine which is failry under utilised at the moment.
    From your experiences, could you please advice if this is a sensible way. If such a set-up is existing, it could help from your experiences off what we could expect in terms of pitfalls and so on which you might want us to consider before making a decision this way?
    Many thanks for your recommendations in advance.
    Regards!
    Sarat.

    Agreed.. As I was goind through some other posts on the net, I understand this Heterogeneous Standby Configuration is a new feature in Oracle database 11g ...
    We might also need to look at that possibility.. however, if there is a place which I could refer to and make some quick notes on such mixed OS configurations, it helps alot... I may also want to go through the 11g documentation meanwhile..
    Sarat.

  • Admin TACACS+ access fails ASA in Active/Standby Configuration

    We have two ASA 5510 with version 8.2(1) in Active/Standby configuration, the failover works fine, but when the primary ASA comes back it remains standby , so we manually change it to active with the failover active command, then we try to access the device using a TACACS+ account , it doesnt work , just the local account works; after a period of time (15min) , the TACACS+ access start to work.

    I'm not sure about your configuration but when in timed mode, a server that is declared "failed" will once again
    be made available after 30 seconds. Unlike reactivation mode, it is not
    necessary for all of the servers to fail before any can be reactivated.
    On possible source of confusion to be aware of in timed mode:
    The "show aaa-server" command will continue to show the server as FAILED
    until the server is needed to authenticate a connection.
    depletion
    Reactivates failed servers only after all of the servers in the group are inactive.
    timed
    Reactivates failed servers after 30 seconds of down time.
    Please tweak reactivation mode.
    Regards,
    ~JG
    Do rate helpful posts

  • "one or more ADRMS role services could not be configured: AD RMS setup failed because of invalid configuraion setting"

    HI,
    when I configure AD RMS configuration it gives me error that "one or more  ADRMS role services could not be configured: AD RMS setup failed because of invalid configuraion setting". The user which I try to install is an administrator of DC and
    also the service account is a member of enterprise domain group. When I tried this on test environment it works perfectly but on production environment it didn't. pls help me with this....
    Thanks......
    I am using windows 2012 standard Server.. 

    HI Eddie,
    Thanks for reply.. Pls find the debug log below... It says " Message: The 'http://tempuri.org/RMProvisionSettingsSchema.xsd:Domain' element is invalid - The value 'D' is invalid according to its datatype 'http://tempuri.org/RMProvisionSettingsSchema.xsd:WindowsDomainName'
    - The actual length is less than the MinLength value. "
    00000706 56.78187180
    [11964] CallStack:Microsoft.RightsManagementServices.Configuration.HelperMethods.IsValidConfigSetting
    00000707 56.78187180
    [11964] System.Xml.Schema.XmlSchemaValidationException
    00000708 56.78187180
    [11964]         Message: The 'http://tempuri.org/RMProvisionSettingsSchema.xsd:Domain' element is invalid - The value 'D' is invalid according to its datatype 'http://tempuri.org/RMProvisionSettingsSchema.xsd:WindowsDomainName' -
    The actual length is less than the MinLength value.
    00000709 56.78187180
    [11964]         StackTrace:    at Microsoft.RightsManagementServices.Configuration.HelperMethods.ProvisionSchemaValidationEventHandler(Object sender, ValidationEventArgs e)
    00000710 56.78187180
    [11964]    at System.Xml.Schema.XmlSchemaValidator.CheckElementValue(String stringValue)
    00000711 56.78187180
    [11964]    at System.Xml.Schema.XmlSchemaValidator.ValidateAtomicValue(String stringValue, XmlSchemaSimpleType& memberType)
    00000712 56.78187180
    [11964]    at System.Xml.Schema.XmlSchemaValidator.InternalValidateEndElement(XmlSchemaInfo schemaInfo, Object typedValue)
    00000713 56.78187180
    [11964]    at System.Xml.DocumentSchemaValidator.ValidateElement()
    00000714 56.78187180
    [11964]    at System.Xml.DocumentSchemaValidator.ValidateNode(XmlNode node)
    00000715 56.78187180
    [11964]    at System.Xml.DocumentSchemaValidator.ValidateElement()
    00000716 56.78187180
    [11964]    at System.Xml.DocumentSchemaValidator.ValidateNode(XmlNode node)
    00000717 56.78187180
    [11964]    at System.Xml.DocumentSchemaValidator.ValidateElement()
    00000718 56.78187180
    [11964]    at System.Xml.DocumentSchemaValidator.ValidateNode(XmlNode node)
    00000719 56.78187180
    [11964]    at System.Xml.DocumentSchemaValidator.ValidateElement()
    00000720 56.78187180
    [11964]    at System.Xml.DocumentSchemaValidator.ValidateNode(XmlNode node)
    00000721 56.78187180
    [11964]    at System.Xml.DocumentSchemaValidator.ValidateElement()
    00000722 56.78187180
    [11964]    at System.Xml.DocumentSchemaValidator.ValidateNode(XmlNode node)
    00000723 56.78187180
    [11964]    at System.Xml.DocumentSchemaValidator.ValidateNode(XmlNode node)
    00000724 56.78187180
    [11964]    at System.Xml.DocumentSchemaValidator.Validate(XmlNode nodeToValidate)
    00000725 56.78187180
    [11964]    at System.Xml.XmlDocument.Validate(ValidationEventHandler validationEventHandler, XmlNode nodeToValidate)
    00000726 56.78187180
    [11964]    at Microsoft.RightsManagementServices.Configuration.HelperMethods.IsValidConfigSetting(ConfigOperationType configOperation)
    00000727 56.78187180
    [11964]  
    00000728 56.78199768
    [11964] -Microsoft.RightsManagementServices.Configuration.Commands.InstallADRMS.ProcessRecord
    00000729 56.84855270
    [11964] +Microsoft.RightsManagementServices.Configuration.DeploymentPSProvider.RemoveDrive
    00000730 56.84864807
    [11964] -Microsoft.RightsManagementServices.Configuration.DeploymentPSProvider.RemoveDrive
    00000731 56.86203766
    [23784] +[Tier2Diagnostic]  
    00000732 56.86203766
    [23784] CallStack:System.Windows.Threading.ExceptionWrapper.InternalRealCall
    00000733 56.86203766
    [23784] Microsoft.ADRoles.ServerManager.Common.PowerShellRemoting.RemotingException
    00000734 56.86203766
    [23784]         Message: AD RMS setup failed because of invalid configuration settings.
    00000735 56.86203766
    [23784]         StackTrace:    at Microsoft.ADRoles.ServerManager.Common.PowerShellRemoting.WorkflowExecutor.ExecuteCommand(Command workflowCommand, EventHandler`1 outputEventsHandler, EventHandler`1 progressEventHandler,
    EventHandler`1 finishedEventHandler, EventHandler`1 warningEventHandler, EventHandler`1 errorEventHandler)
    00000736 56.86203766
    [23784]    at Microsoft.RightsManagementServices.Deployment.M3PPowerShellEngine.ExecuteCommand(CmdletProperties propertyBag, EventHandler`1 outputHandler, EventHandler`1 progressStatusHandler, EventHandler`1 progressPercentageHandler, EventHandler`1
    warningHandler, EventHandler`1 errorHandler)
    00000737 56.86203766
    [23784]    at Microsoft.RightsManagementServices.Deployment.AbstractPowerShellProvider.<>c__DisplayClass3`1.<ExecuteAsynchronously>b__0(Object sender, DoWorkEventArgs eventArgs)
    00000738 56.86203766
    [23784]    at Microsoft.RightsManagementServices.Configuration.AbortableBackgroundWorker.OnDoWork(DoWorkEventArgs e)
    00000739 56.86203766
    [23784]    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
    00000740 56.86203766
    [23784]   + System.Management.Automation.RemoteException
    00000741 56.86203766
    [23784]   +         Message: AD RMS setup failed because of invalid configuration settings.
    00000742 56.86203766
    [23784]   +         StackTrace:  
    00000743 56.86203766
    [23784]  
    00000744 56.86225891
    [23784] +[Tier2Diagnostic] One or more AD RMS role services could not be configured:
    00000745 56.86225891
    [23784] CallStack:Microsoft.RightsManagementServices.Configuration.AbortableBackgroundWorker`1+<>c__DisplayClass1.<Run>b__0
    00000746 56.86225891
    [23784] Microsoft.ADRoles.ServerManager.Common.PowerShellRemoting.RemotingException
    00000747 56.86225891
    [23784]         Message: AD RMS setup failed because of invalid configuration settings.
    00000748 56.86225891
    [23784]         StackTrace:    at Microsoft.ADRoles.ServerManager.Common.PowerShellRemoting.WorkflowExecutor.ExecuteCommand(Command workflowCommand, EventHandler`1 outputEventsHandler, EventHandler`1 progressEventHandler,
    EventHandler`1 finishedEventHandler, EventHandler`1 warningEventHandler, EventHandler`1 errorEventHandler)
    00000749 56.86225891
    [23784]    at Microsoft.RightsManagementServices.Deployment.M3PPowerShellEngine.ExecuteCommand(CmdletProperties propertyBag, EventHandler`1 outputHandler, EventHandler`1 progressStatusHandler, EventHandler`1 progressPercentageHandler, EventHandler`1
    warningHandler, EventHandler`1 errorHandler)
    00000750 56.86225891
    [23784]    at Microsoft.RightsManagementServices.Deployment.AbstractPowerShellProvider.<>c__DisplayClass3`1.<ExecuteAsynchronously>b__0(Object sender, DoWorkEventArgs eventArgs)
    00000751 56.86225891
    [23784]    at Microsoft.RightsManagementServices.Configuration.AbortableBackgroundWorker.OnDoWork(DoWorkEventArgs e)
    00000752 56.86225891
    [23784]    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
    00000753 56.86225891
    [23784]   + System.Management.Automation.RemoteException
    00000754 56.86225891
    [23784]   +         Message: AD RMS setup failed because of invalid configuration settings.
    00000755 56.86225891
    [23784]   +         StackTrace:  
    00000756 56.86225891
    [23784]  
    00000757 56.86357880
    [23784] PageLeave: Progress
    00000758 56.86389160
    [23784] ErrorNotification: <null>
    00000759 56.86653519
    [23784] PageEnter: Results
    00000760 56.89128876
    [23784] +[Tier2Diagnostic] One or more AD RMS role services could not be configured:
    00000761 56.89128876
    [23784] CallStack:Microsoft.RightsManagementServices.Deployment.ViewModel.ResultsPageViewModel.SetUpResultDetails
    00000762 56.89128876
    [23784] System.Management.Automation.ApplicationFailedException
    00000763 56.89128876
    [23784]         Message: One or more AD RMS role services could not be configured:
    00000764 56.89128876
    [23784]         StackTrace:  
    00000765 56.89128876
    [23784]   + Microsoft.ADRoles.ServerManager.Common.PowerShellRemoting.RemotingException
    00000766 56.89128876
    [23784]   +         Message: AD RMS setup failed because of invalid configuration settings.
    00000767 56.89128876
    [23784]   +         StackTrace:    at Microsoft.ADRoles.ServerManager.Common.PowerShellRemoting.WorkflowExecutor.ExecuteCommand(Command workflowCommand, EventHandler`1 outputEventsHandler, EventHandler`1 progressEventHandler,
    EventHandler`1 finishedEventHandler, EventHandler`1 warningEventHandler, EventHandler`1 errorEventHandler)
    00000768 56.89128876
    [23784]    at Microsoft.RightsManagementServices.Deployment.M3PPowerShellEngine.ExecuteCommand(CmdletProperties propertyBag, EventHandler`1 outputHandler, EventHandler`1 progressStatusHandler, EventHandler`1 progressPercentageHandler, EventHandler`1
    warningHandler, EventHandler`1 errorHandler)
    00000769 56.89128876
    [23784]    at Microsoft.RightsManagementServices.Deployment.AbstractPowerShellProvider.<>c__DisplayClass3`1.<ExecuteAsynchronously>b__0(Object sender, DoWorkEventArgs eventArgs)
    00000770 56.89128876
    [23784]    at Microsoft.RightsManagementServices.Configuration.AbortableBackgroundWorker.OnDoWork(DoWorkEventArgs e)
    00000771 56.89128876
    [23784]    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
    00000772 56.89128876
    [23784]       + System.Management.Automation.RemoteException
    00000773 56.89128876
    [23784]       +         Message: AD RMS setup failed because of invalid configuration settings.
    00000774 56.89128876
    [23784]       +         StackTrace:  
    00000775 56.89128876
    [23784]  
    00000776 56.89152908
    [23784] +[Tier2Diagnostic] OnOperationError
    00000777 56.89152908
    [23784] CallStack:Microsoft.RightsManagementServices.Configuration.AbortableBackgroundWorker`1+<>c__DisplayClass1.<Run>b__0
    00000778 56.89152908
    [23784] System.Management.Automation.ApplicationFailedException
    00000779 56.89152908
    [23784]         Message: One or more AD RMS role services could not be configured:
    00000780 56.89152908
    [23784]         StackTrace:  
    00000781 56.89152908
    [23784]   + Microsoft.ADRoles.ServerManager.Common.PowerShellRemoting.RemotingException
    00000782 56.89152908
    [23784]   +         Message: AD RMS setup failed because of invalid configuration settings.
    00000783 56.89152908
    [23784]   +         StackTrace:    at Microsoft.ADRoles.ServerManager.Common.PowerShellRemoting.WorkflowExecutor.ExecuteCommand(Command workflowCommand, EventHandler`1 outputEventsHandler, EventHandler`1 progressEventHandler,
    EventHandler`1 finishedEventHandler, EventHandler`1 warningEventHandler, EventHandler`1 errorEventHandler)
    00000784 56.89152908
    [23784]    at Microsoft.RightsManagementServices.Deployment.M3PPowerShellEngine.ExecuteCommand(CmdletProperties propertyBag, EventHandler`1 outputHandler, EventHandler`1 progressStatusHandler, EventHandler`1 progressPercentageHandler, EventHandler`1
    warningHandler, EventHandler`1 errorHandler)
    00000785 56.89152908
    [23784]    at Microsoft.RightsManagementServices.Deployment.AbstractPowerShellProvider.<>c__DisplayClass3`1.<ExecuteAsynchronously>b__0(Object sender, DoWorkEventArgs eventArgs)
    00000786 56.89152908
    [23784]    at Microsoft.RightsManagementServices.Configuration.AbortableBackgroundWorker.OnDoWork(DoWorkEventArgs e)
    00000787 56.89152908
    [23784]    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
    00000788 56.89152908
    [23784]       + System.Management.Automation.RemoteException
    00000789 56.89152908
    [23784]       +         Message: AD RMS setup failed because of invalid configuration settings.
    00000790 56.89152908
    [23784]       +         StackTrace:  
    00000791 56.89152908
    [23784]  

  • Switchover scenario in a cascaded standby setup

    Hi,
    I have a setup of primary and standby databases in three locations A, B, C as below:
    Database version: 11.1.7.0
    In location A I have the primary database that ships redo log to a physical standby at location B alone.
    In location B I have a physical standby that replicates to site C.
    In site C I have the final physical standby that receives its redo logs directly from site B. In essence, this is a cascaded standby database.
    My question is about the switchover:
    Currently, both the instances in sites A and B have the LOG_ARCHIVE_DEST_3 set to point to site C and this is valid for standby role alone.
    Which means in case the two sites - A & B reverse roles, site C will continue receiving redo logs from either A or B, depending on which one is the new standby.
    However, the doubt comes in if site C were to become the new primary instance. I suspect that I would need to add two parameters LOG_ARCHIVE_DEST_2 and LOG_ARCHIVE_DEST_3 and point them to sites A and B respectively, and make them valid only for the primary role. In this case, if site C becomes the new primary, then both sites A and B can continue receiving redo logs from site C.
    Anyone who has ever implemented this?
    Regards,
    dula

    The scenario in the doc. may also help you:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/cascade_appx.htm#i638620
    Example E-1 Sample Use of Initialization Parameters in Cascaded Destinations
    Boston Database (Primary Role)
    DB_UNIQUE_NAME=boston
    REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE
    LOG_ARCHIVE_CONFIG='DG_CONFIG=(chicago,boston,denver)'
    LOG_ARCHIVE_DEST_1='LOCATION=/arch1/boston/ VALID_FOR=(ALL_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=boston'
    LOG_ARCHIVE_DEST_2= 'SERVICE=denver VALID_FOR=(STANDBY_LOGFILES,STANDBY_ROLE) DB_UNIQUE_NAME=denver'
    LOG_ARCHIVE_DEST_3= 'SERVICE=chicago VALID_FOR= (ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=chicago'
    Chicago Database (Standby Role)
    DB_UNIQUE_NAME=chicago
    LOG_ARCHIVE_CONFIG= 'DG_CONFIG=(chicago,boston,denver)'
    REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE
    LOG_ARCHIVE_DEST_1= 'LOCATION=/arch1/chicago/ VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=chicago'
    LOG_ARCHIVE_DEST_2= 'SERVICE=denver VALID_FOR=(STANDBY_LOGFILES,STANDBY_ROLE) DB_UNIQUE_NAME=denver'
    LOG_ARCHIVE_DEST_3= 'SERVICE=boston VALID_FOR= (ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=boston'
    Denver Database (Standby Role)
    DB_UNIQUE_NAME=denver
    LOG_ARCHIVE_CONFIG= 'DG_CONFIG=(chicago,boston,denver)'
    REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE
    LOG_ARCHIVE_DEST_1= 'LOCATION=/arch1/denver/ VALID_FOR=(ONLINE_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=denver'
    LOG_ARCHIVE_DEST_2= 'LOCATION=/arch2/denver/ VALID_FOR=(STANDBY_LOGFILES,STANDBY_ROLE) DB_UNIQUE_NAME=denver'
    Both the Boston primary database and the Chicago physical standby database define the LOG_ARCHIVE_DEST_2 initialization parameter as SERVICE=denver VALID_FOR=(STANDBY_LOGFILES, STANDBY_ROLE). Hence, even if the Boston and Chicago databases switch roles, the redo data will continue to be forwarded to the Denver database. Remember, as part of the original setup of the physical standby database, you should define a local destination, VALID_FOR=(ALL_LOGFILES, PRIMARY_ROLE), that will be used for local archiving when the physical standby database transitions to the primary role.

  • Oracle 10g standby configuration - Restoring primary backup to Standby DB.

    Hi experts,
    This is my first time configuring a Standby (Data Guard) scenario for our Oracle data base. The platform used is Solaris 10 with Oracle 10g.
    After reviewing a lot of documents and tutorials regarding this matter still have some doubts on how to get this scenario finally configured.
    Basically I would like some confirmations regarding the following point. We have the new db already installed in our disaster recovery site and the next step I need to do is to perform an offline backup from our primary data base and then transfer that backup to our standby database. Iu2019m currently stuck in this steps since Iu2019m not completely sure on how proceed with this specific step. According to the following link http://help.sap.com/saphelp_nw04s/helpdata/en/08/5744b84ae611d1894f0000e829fbbd/content.htm , the following steps are necessary:
           1.      Take a backup (online or offline) of the data files of the production database
           2.      Create a control file at the production site to be used at the standby site, by entering the following command:
    alter database create standby controlfile as <filename>
           3.      Archive the current online redo log of the production database, by entering the following command:
    alter system archive log current
           4.      Transfer the backed up data files, the control file and all archived redo log files to the standby site.
    Regarding the above step u201C4u201D... Could someone please detail me what all the data files are? As per SAP System Copy guide in its section u201CRestoring Database Files on the Target Systemu201D the following is indicated...and I think these are the files to transfers to the standby db.
    Files/oracle/<DBSID>/sapdata<x>
    All files/oracle/<DBSID>/origlog<x>
    All files/oracle/<DBSID>/mirrlog<x>
    Is my assumption correct?
    Please let me know which the correct steps are and if any other process is applicable or advisable over the above mentioned....let me know.
    Regards

    Hi,
    As far as cold backup of database is concerned, backup of the folders you have mentioned is enough.
    Hope you have created a parameter file for the standby database and changed the primary parameter file as part of preparation of primary database.
    Here is a sample entry you have to have on standby parameter file apart from other entries..
    db_unique_name='STANDBY'
    fal_client='STANDBY'
    fal_server='PRIMARY'
    log_archive_config='DG_CONFIG=(PRIMARY,STANDBY)'
    Also browse through the following threads...it may help..
    Re: Standby server - WAIT_FOR_GAP error
    Re: Hot DR site preparation
    Regards,
    Anish

  • Data guard role transition problem

    Hi,
    I am trying to do a switchover using the data guard broker cli and get the following error:
    DGMGRL> switchover to "TGDRDB01"
    Performing switchover NOW. Please wait...
    Error: ORA-16775: Target standby in switchover operation has missing redo logs.
    Failed.
    Can not proceed to switchover. Primary is still "TGDB01".
    The drc log file shows a bit more info:
    DG 2005-12-01-17:17:43 2000000 3 574466141 DMON: chief lock convert for switchover
    DG 2005-12-01-17:17:43 0 2 0 Executing SQL [ALTER SYSTEM ARCHIVE LOG CURRENT]
    DG 2005-12-01-17:17:54 0 2 0 SQL [ALTER SYSTEM ARCHIVE LOG CURRENT] Executed successfully
    DG 2005-12-01-17:18:17 0 2 0 ORA-16775 Error: the target standby database has 338 redo log(s) missing. Cannot proceed with the switchover operation.
    DG 2005-12-01-17:18:17 2000000 3 574466141 Operation CTL_SWITCH cancelled during phase 0, error = ORA-16775
    What i don't understand is the bit about 338 redo logs missing becuase the output from "archive log list" on both databases is as follows:
    Primary
    SQL> archive log list
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination /home/oracle/admin/TGPROD/archive
    Oldest online log sequence 3091
    Next log sequence to archive 3093
    Current log sequence 3093
    Standby
    SQL> archive log list
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination /home/oracle/admin/TGPROD/archive
    Oldest online log sequence 3091
    Next log sequence to archive 0
    Current log sequence 3093
    Any help will be gratefully recieved as I'm stumped! Found a note for the original oracle error on here that said try switching logfiles a couple of times then trying again - which suffices to say didn't work. I don't understand where it gets 338 missing redo logs from!?!?
    Oh and oracle version is 10.1.0.3....
    thanks in advance.
    regards,
    Mark

    Yes, it'll be waiting for these archive till he gets them.
    If you see the files at system level, then cancel the MRP and apply them manually. If those files are missiong, then stop MRP and propagate hot backups from your primary db to the standby db, then reactivate the MRP. This will resync the databases.
    Regards,
    Yoann.

  • Active/Standby Configuration in CWLMS

    Hi,
    I have 2 LMS Server's in my LAN. I want 1 server will be Master & the other will be in Standby mode.
    Whether, such type of configuration is possible in CWLMS??
    I am using CWLMS version: 3.1
    Rgds,
    Partha

    I don't think that LMS has a feature for HA installation.
    You will find that in the document
    http://www.cisco.com/en/US/prod/collateral/netmgtsw/ps6504/ps6528/ps2425/ps7196/prod_white_paper0900aecd80695cad.pdf
    on page 20 in chapter "7.1 Redundant-Server Scenario".
    But there is an solution with two identical servers, one as master and the other as slave.
    Details you will find in the document.

  • Database standby configuration using Intel and Risk processors

    Hi
    We are planning to configure a standby database, but we want to use a DELL 2950 server with processors Intel. Our primary database version is Oracle RAC 10gR2 10.2.0.3 64 bits (the standby server has the same oracle version) with two nodes using IBM P550 boxes with processors P6 (RISK) server. Both databases (primary and standby databases) have Linux Red Hat 4 – 64 Bits. But I don’t know if is possible to make this configuration, could you tell me about it.
    Thanks

    Thanks a lot for your help.
    I’ll start with the configuration. Our client decided to use that server (Intel proccesor) as standby server, he knows the possible performance degradation

  • Switchover between primary RAC and standby single instance

    Hello All,
    I am using Oracle 11gR2.
    I am trying to do a switch over between primary database (RAC 2 nodes) and physical standby (single instance)
    If my Primary is single instance i was following the below steps:
    On the standby
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT;
    On the primary database:
    alter database commit to switchover to standby with session shutdown;
    shutdown immediate;
    startup nomount;
    alter database mount standby database;
    On the standby again:
    alter database commit to switchover to primary WITH SESSION SHUTDOWN;
    On the new standby:
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT FROM SESSION;now, and since my primary is RAC when i am trying switch over I am getting the below error:
    SQL> alter database commit to switchover to standby with session shutdown;
    alter database commit to switchover to standby with session shutdown
    ERROR at line 1:
    ORA-01105: mount is incompatible with mounts by other instancesPlus that when I want to apply the remaining steps (below step), should I do it on each instance alone? or is there anyway to do it using the srvctl command:
    alter database mount standby database;Regards,

    Hi,
    Since You are using 2 node RAc as primary, so for switchover operation you need to shutdown
    one database instance( Suppose instance 2).
    Suppose your node1:
    hostname is dcpdb1
    and node 2:
    hostname is dcpdb2
    and standby hostname is drpdb1
    So follow this steps for switchover .
    How to Switchover from Primary to Standby Database?
    Process:
    On the primary server, check the latest archived redo log and force a log switch.
    *########### Login dcpdb1 as Oracle user #########*
    SQL> SELECT sequence#, first_time, next_time
    FROM v$archived_log
    ORDER BY next_time;
    SQL> ALTER SYSTEM SWITCH LOGFILE;
    Check the new archived redo log has arrived at the standby server and been applied.
    *########### Login drpdb1 as Oracle user #########*
    SQL> SELECT sequence#, first_time, next_time, applied
    FROM v$archived_log
    ORDER BY next_time ;
    *########### Login dcpdb2 as Oracle user #########*
    SQL> SELECT sequence#, first_time, next_time
    FROM v$archived_log
    ORDER BY next_time ;
    SQL> ALTER SYSTEM SWITCH LOGFILE;
    Check the new archived redo log has arrived at the standby server and been applied.
    *########### Login drpdb1 as Oracle user #########*
    SQL> SELECT sequence#, first_time, next_time, applied
    FROM v$archived_log
    ORDER BY next_time ;
    *########### Login dcpdb1 as Oracle user #########*
    SQL> SELECT SWITCHOVER_STATUS FROM V$DATABASE;
    SWITCHOVER_STATUS
    TO STANDBY
    *########### Login dcpdb2 as Oracle user #########*
    SQL> SELECT SWITCHOVER_STATUS FROM V$DATABASE;
    SWITCHOVER_STATUS
    TO STANDBY
    *########### Login drpdb1 as Oracle user #########*
    SQL> SELECT SWITCHOVER_STATUS FROM V$DATABASE;
    SWITCHOVER_STATUS
    NOT ALLOWED
    *########### Login dcpdb2 as Oracle user #########*
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL>
    *########### Login dcpdb1 as Oracle user #########*
    SQL> ALTER DATABASE COMMIT TO SWITCHOVER TO PHYSICAL STANDBY WITH SESSION SHUTDOWN;
    Database altered.
    SQL>
    SQL> shutdown immediate
    ORA-01507: database not mounted
    ORACLE instance shut down.
    SQL>
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 1.5400E+10 bytes
    Fixed Size 2184872 bytes
    Variable Size 7751076184 bytes
    Database Buffers 7616856064 bytes
    Redo Buffers 29409280 bytes
    Database mounted.
    SQL> SELECT SWITCHOVER_STATUS FROM V$DATABASE;
    SWITCHOVER_STATUS
    TO PRIMARY
    SQL>
    *########### Login drpdb1 as Oracle user #########*
    SQL> SELECT SWITCHOVER_STATUS FROM V$DATABASE;
    SWITCHOVER_STATUS
    SESSIONS ACTIVE
    SQL> alter database commit to switchover to primary with session shutdown;
    Database altered.
    SQL> shutdown immediate
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    SQL>
    SQL> startup
    ORACLE instance started.
    Total System Global Area 1.5400E+10 bytes
    Fixed Size 2184872 bytes
    Variable Size 7717521752 bytes
    Database Buffers 7650410496 bytes
    Redo Buffers 29409280 bytes
    Database mounted.
    Database opened.
    *########### Login dcpdb1 as Oracle user #########*
    SQL> alter database open read only;
    Database altered.
    SQL> alter database recover managed standby database using current logfile disconnect;
    Database altered.
    *########### Login dcpdb2 as Oracle user #########*
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 1.5400E+10 bytes
    Fixed Size 2184872 bytes
    Variable Size 7751076184 bytes
    Database Buffers 7616856064 bytes
    Redo Buffers 29409280 bytes
    Database mounted.
    SQL> alter database open read only;
    Database altered.
    SQL> alter database recover managed standby database using current logfile disconnect;
    Database altered.
    SQL> SELECT SWITCHOVER_STATUS FROM V$DATABASE;
    SWITCHOVER_STATUS
    NOT ALLOWED
    SQL>
    *########### Login drpdb1 as Oracle user #########*
    SQL> SELECT SWITCHOVER_STATUS FROM V$DATABASE;
    SWITCHOVER_STATUS
    TO STANDBY
    *########### Login dcpdb1 as Oracle user #########*
    SQL> SELECT SWITCHOVER_STATUS FROM V$DATABASE;
    SWITCHOVER_STATUS
    NOT ALLOWED
    SQL>
    *########### Login dcpdb2 as Oracle user #########*
    SQL> SELECT SWITCHOVER_STATUS FROM V$DATABASE;
    SWITCHOVER_STATUS
    NOT ALLOWED
    SQL>
    *####################### Finish SwitchOver ########################*
    Check
    *########### Login drpdb1 as Oracle user #########*
    SQL> alter system switch logfile;
    SQL>
    SELECT sequence#, first_time, next_time
    FROM v$archived_log
    ORDER BY sequence#;
    SQL> archive log list
    *########### Login dcpdb1 as Oracle user #########*
    SQL>
    SELECT sequence#, first_time, next_time, applied
    FROM v$archived_log
    ORDER BY sequence#;
    SQL> archive log list
    *########### Login dcpdb2 as Oracle user #########*
    SQL>
    SELECT sequence#, first_time, next_time, applied
    FROM v$archived_log
    ORDER BY sequence#;
    SQL> archive log list
    Thanks
    Solaiman
    Edited by: 876149 on Apr 12, 2013 11:51 AM

Maybe you are looking for

  • Most of my songs wont upload onto my itunes

    i got a new laptop so i was transferring my music from my old computer to this laptop. all of the files transferred fine....but when i try to upload the songs, only 120 something songs out of 400 come up. and so i tried uploading them one by one and

  • Folder action - open file in quicktime

    I'm trying to do something I think should be simple, but I can't seem to make it happen. I get voicemails as .wav files in email. I'd like to save these to a folder, and have them automatically open up with quicktime player. I've verified that I've g

  • BW - R/3: get systemid of caller in the function module of a gen. datasoure

    Hello, we are creating a generic datasource in R/3 based on a function module. It will be used by several WI systems. Does anyboddy know a simple way how to find out the systemid of the calling BW system inside the function module of the generic data

  • Putting extra field

    Dear friends,    I need to add additional field ( MARA-MFRPN ) in the output report of Transaction MB52. The program name is RM07MLBS for MB52 , I copied the program, but i felt difficult to add this additional field. Pls brief me on this.

  • Sharing all documents (except Applications)

    In the next week or so my wife and I will be upgrading to a new iMac and PowerBook. We will be using an Airport Extreme to network - which can take a high capacity external HD (USB 2). I'd like to set it up so all of our documents, movies, music and