Configuring more than 2 standby database

Hi,
iam trying to configure 2 standby databases my primary database name is anupp1 and standby database name is anups1 and anups2 respectively (physical standby databases)when i configured means archiving is received at both databases but when i switchover at that time archiving is received at only one database
my primary database is anupp1 and standby databases are anups1 ,anups2
now when i perform switchover at that time ie primary is anups1 and standby are anupp1 and anups2
so archive log are nnoy shipped on anups2 they are on anupp1 iam posting the contents of all the pfiles
pfile of anupp1
db_unique_name='anupp1'
log_archive_dest_1='LOCATION=/u01/app/oracle/oradata/anupp1/arch/
VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
db_unique_name=anupp1'
log_archive_dest_2='SERVICE=anups1 LGWR ASYNC
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
db_unique_name=anups1'
log_archive_dest_3='SERVICE=anups2 LGWR ASYNC
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
db_unique_name=anups2'
log_archive_dest_state_1=enable
log_archive_dest_state_2=enable
log_archive_dest_state_3=enable
fal_server=anups1
fal_client=anupp1
pfile of anups1
db_unique_name='anups1'
log_archive_dest_1='LOCATION=/u01/app/oracle/oradata/anups1/arch/
VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
db_unique_name=anups1'
log_archive_dest_2='SERVICE=anupp1 LGWR ASYNC
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
db_unique_name=anupp1'
log_archive_dest_state_1=enable
log_archive_dest_state_2=enable
fal_server=anupp1
fal_client=anups1
log_file_name_convert='/u01/app/oracle/oradata/anupp1/','/u01/app/oracle/oradata/anups1/'
db_file_name_convert='/u01/app/oracle/oradata/anupp1/','/u01/app/oracle/oradata/anups1/'
pfile of anups2
db_unique_name='anups2'
log_archive_dest_1='LOCATION=/u01/app/oracle/oradata/anups2/arch/
VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
db_unique_name=anups2'
log_archive_dest_2='SERVICE=anupp1 LGWR ASYNC
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
db_unique_name=anupp1'
log_archive_dest_state_1=enable
log_archive_dest_state_2=enable
log_file_name_convert='/u01/app/oracle/oradata/anupp1/','/u01/app/oracle/oradata/anups2/'
db_file_name_convert='/u01/app/oracle/oradata/anupp1/','/u01/app/oracle/oradata/anups2/'
so above are the contents ...... pls let me know which parameter is not set correctly or what modifications i need to do
Thanks in Advance
Regards
Kavita

Hi
Sir i apologize for the late reply yes i have added the parameters in all the pfiles as what u mentioned and apart from ther e i have also did network configuration on anups1 for anups2 and vice versa so they can ship the logs ....... Sir only posted parameters related to dataguard i never pasted the whole alert log file
Sir in pfile of anup1
i have addded
log_archive_dest_3='SERVICE=anups2 LGWR ASYNC
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
db_unique_name=anups2
in pfile of anups1
log_archive_dest_3='SERVICE=anups2 LGWR ASYNC
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
db_unique_name=anups2
in pfile of anups2
log_archive_dest_1='LOCATION=/u01/app/oracle/oradata/anups2/arch/
VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
db_unique_name=anups2'
log_archive_dest_2='SERVICE=anupp1 LGWR ASYNC
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
db_unique_name=anupp1'
and did the network configuration on both standby databases so that can ping each other and when i perfom switchover at that time standby1 becomes primary and able to ship to both the databases Sir my net was down and at that time i tried to added these parameter and it worked i have checked now my account on otn .Sir will also try as mentioned by you
Thanks in Advance
Regards
Kavita

Similar Messages

  • How to configure EM Grid Control for more than one databases?

    Hi,
    I'm configuring EM on Oracle 10gRel1 on Linux. I have more than one databases in the server, and I want use IE at my PC to monitor the databases on Linux server. I can configure and access the Grid Control Console by emca for first database, but cannot configure for the second one, unless I remove the first one configurration. How can I configure EM for more than one databases?
    Thanks.

    Thank you everybody.
    Yes, I'm talking about DBConsole rather than Grid Control (sorry for misuse the term). I managed to set up DB Console for every DB in the same Linux box (10Rel1). What I did is:
    1) stop db console and agent with emctl
    2) remove repository with RepManager
    3) config with emca
    Then I can monitor individual databases from my PC (but have to login with different port).
    I'm thinking mybe I should use Grid Control instead.

  • How to configure html db on more than one database

    Hi
    how can we configure one html db on more than one database.
    I have tried to configure the DAD.conf file. Also i have tried to do it by virtual hosting.
    can anyone mail a DAD.conf file.
    Ahanks
    Ameya

    This is easy and the internet is full of examples. Here is what I used (replace the strings in ## with your values):
    CREATE LINK STATEMENT:
    create database link #YOUR_LINK_NAME#
    connect to #USER_WITH_REQUIRED_ROLES_ON_REMOTE_DB# identified by #USER_PASSWORD#
    using ' #TNS_NAMES_ENTRY_FOR_THAT_CONNECTION#';
    ALTERNATIVELY:
    create database link #YOUR_LINK_NAME#
    connect to #USER_WITH_REQUIRED_ROLES_ON_REMOTE_DB# identified by #USER_PASSWORD#
    using '(DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp)(HOST = #YOUR_HOST#)(PORT = 1531))
    (CONNECT_DATA =
    (SID = #YOUR_TNS_SID#)
    After creating a link you reference the tables using the following syntax:
    table_name@link_name
    Denes Kubicek

  • How to install Runtime Platform for more than one database on one machine

    Hi,
    What the docs loosely call Runtime Platform Service is in my opinion a combination of
    A) a bunch of software (installed under an ORACLE_HOME)
    B) the actual service process
    My question: if I have more than one databases on one machine, each containing an OWB Runtime, am I correct in assuming that I have to install the Runtime Platform software only once, but there will be a separate service process running for each database, each adressing the same Runtime Platform software? So under ORACLE_HOME nothing is kept that refers to a particular database?
    Jaap.

    Yes, we use such a configuration on our site. We have one OWB ORACLE_HOME and uses up to 4 instances. Each instance has its own Runtime Service Process running.
    Regards, Silvio

  • Can I use more than one database connections in a jdeveloper project?

    I use jdeveloper version 9.0.4.0 (build 1407),Can I use more than one database connections in one jdeveloper project?

    9.0.4 is a fairly old version, so you may only find a few people who know how it worked.
    Assuming you're using ADF BC, once known as BC4J, once know as JBO, in the project, and that the architecture hasn't changed much, then the answer is only 1 connection per project.
    Programmatically you're free to use as many connections via JEE as you see fit, but ADF BC is limited to one connection.
    CM.

  • How to backup more than one database using powershell

    I am Trying to backup more than one database using the following script but no luck. I want user to type on command line the database they want to backup, e.g all databases that have "test" at the front like test.inventory, test.sales so i want
    user to type test.* and it backs up all databases related to test. Here is the script
        #$date = Get-Date -Format yyyyMMddHHmmss
        #$dbname = 'test.inventory'
        $dbToBackup = "test.inventory"
        cls
        [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO") | Out-Null
        [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SmoExtended") | 
        Out-Null
        [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.ConnectionInfo") 
        | Out-Null
        [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SmoEnum") | Out-
        Null
        Add-Type -AssemblyName "Microsoft.SqlServer.Smo, Version=10.0.0.0, Culture=neutral,   
        PublicKeyToken=89845dcd8080cc91"
        $server = New-Object Microsoft.SqlServer.Management.Smo.Server($env:ComputerName) 
        $server.Properties["BackupDirectory"].Value = "C:\_DBbackups"
        $server.Alter()
        $backupDirectory = $server.Settings.BackupDirectory
        #display default backup directory
        "Default Backup Directory: " + $backupDirectory
        $db = $server.Databases[$dbToBackup]
        $dbName = $db.Name
        $timestamp = Get-Date -format yyyyMMddHHmmss
        $smoBackup = New-Object ("Microsoft.SqlServer.Management.Smo.Backup")
        #BackupActionType specifies the type of backup.
        #Options are Database, Files, Log
        #This belongs in Microsoft.SqlServer.SmoExtended assembly
        $smoBackup.Action = "Database"
        $smoBackup.BackupSetDescription = "Full Backup of " + $dbName
        $smoBackup.BackupSetName = $dbName + " Backup"
        $smoBackup.Database = $dbName
        $smoBackup.MediaDescription = "Disk"
        $smoBackup.Devices.AddDevice($backupDirectory + "\" + $dbName + "_" + $timestamp +   
        ".bak", "File")
        $smoBackup.SqlBackup($server)
        #let's confirm, let's list list all backup files
        $directory = Get-ChildItem $backupDirectory
        $backupFilesList = $directory | where {$_.extension -eq ".bak"}
        $backupFilesList | Format-Table Name, LastWriteTime

    Or i am using this script which backs up everything except tempdb but dont know how to modify this so that it backs up up all test related databases
    Is there a way that i use test.*
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO") | out-null
    $s = new-object ("Microsoft.SqlServer.Management.Smo.Server") $instance
    $bkdir = "C:\_DBbackups" #We define the folder path as a variable 
    $dbs = $s.Databases
    foreach ($db in $dbs) 
         if($db.Name -ne "tempdb") #We don't want to backup the tempdb database 
         $dbname = $db.Name
         $dt = get-date -format yyyyMMddHHmm #We use this to create a file name based on the timestamp
         $dbBackup = new-object ("Microsoft.SqlServer.Management.Smo.Backup")
         $dbBackup.Action = "Database"
         $dbBackup.Database = $dbname
         $dbBackup.Devices.AddDevice($bkdir + "\" + $dbname + "_db_" + $dt + ".bak", "File")
         $dbBackup.SqlBackup($s)

  • VS 2005 CR integrated report connection with more than one database

    Hello,
    I am using VS 2005 to make a reporting application. I am using the Crystal Reports Viewer and I need to know how to integrate the report login information for more than one database. Here is the VB code I have for one connection:
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Partial Class _Default
        Inherits System.Web.UI.Page
        Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
            ConfigureCrystalReports()
        End Sub
        Private Sub ConfigureCrystalReports()
            Dim myConnectionInfo As ConnectionInfo = New ConnectionInfo()
            myConnectionInfo.DatabaseName = ""
            myConnectionInfo.UserID = ""
            myConnectionInfo.Password = ""
            myConnectionInfo.ServerName = ""
            Dim reportPath As String = Server.MapPath("CleaningReport.rpt")
            CrystalReportViewer1.ReportSource = reportPath
            SetDBLogonForReport(myConnectionInfo)
        End Sub
        Private Sub SetDBLogonForReport(ByVal myConnectionInfo As ConnectionInfo)
            Dim myTableLogOnInfos As TableLogOnInfos = CrystalReportViewer1.LogOnInfo
            For Each myTableLogOnInfo As TableLogOnInfo In myTableLogOnInfos
                myTableLogOnInfo.ConnectionInfo = myConnectionInfo
            Next
        End Sub
    End Class
    I am new to visual basic and really appreciate any help.
    Thanks

    Hi Steve,
    Test by creating  one more function ConfigureCrystalReport1() and pass the details for database 2.
    I am not sure there is any sample for this however you can have a look to samples [here|https://www.sdn.sap.com/irj/boc/samples]
    Regards,
    Shweta

  • More than one database driver has been used

    Hi everyone, I just want to link 2 tables, one in Oracle and the second is in Access, is this possible? Please help, tahnks a lot.
    I got this message:
    "More than one database driver has been used in this report. If you want to change the database drivers use Database/Set Location.
    Please make sure that no SQL Expression is added and no server-side group-by is performed"
    This is the query generated:
    SELECT "A"."Field_in_A"
    FROM   "OracleDB"."A" "A"
    SELECT `B`.`Field_in_B`
    FROM   `AccessDB` `B`

    The above suggestions are good. You might also consider using a link table from MS Access to have the linking done right inside MS Access. 
    If you can store your access mdb file on the server where your Oracle database resides this will greatly reduce your network traffic.  If the MS Access database must reside on a different machine it can still work but the gains won't be as great.  Still, this is an efficient way to do this if you can.
    To create a link table in MS Access choose, New, then 'Link Table'. In the Link dialog that appears you can choose ODBC.  I recommend using the SQORA driver from Oracle that is installed with SQL Plus.
    If you have to link in Crystal Reports instead you still can. However, all data from the Oracle table and Access table will be pulled to the client that hosts Crystal Reports and sorting will be done on the Crystal client.
    You definitely have some good options though.

  • Creating more than one database user in oracle cloud

    I hv created an adf application, in which there are 4 models. each model is connected to different database user, where SID is same for all user. These users have some number of tables, which are used as entity and view in model project in adf application. My query is:
    I hv activated oracle cloud service for database and java. i want to deploy my adf application on cloud. so, how can i create more than one database user in cloud as i do in oracle db 11gr2? So that my all models will be connected to different database user in cloud.
    Also, which service name should i use in model.jpx? I hv used mydb as service name on my local machine.
    pls, help me to go ahead!!!!!!!!

    Hi Ajaykumar,
    To ensure you receive an accurate response to your query, I believe it would be best raised on the Oracle Java Cloud Service forum, here:
    Oracle Java Cloud Service
    Regards,
    Hilary

  • Startup issue when having more than one database on machine

    Startup issue when having more than one database on machine:
    I’ve installed two databases.
    When I shutdown one of the database and try to start it up using
    Startup pfile=’…location..’;
    I get ora-12514: TNS: listener does not currently know of service rquirest in connect descriptor
    when I try it again after 3 seconds, I get a new error, ora-01041: internal error. Hostdef extension doesn’t exist
    Shutdown and Startup gave no problems when I had one database. Why am I getting problems when I have two databases?
    I’m using: show parameter pfile|spfile; to make sure I have the right parameter locations, so the error shouldn’t be from location.
    I’ve never installed two databases on one machine, so maybe I’m making a first-timer’s error.
    Anyone know how to get this working, i.e. starting and stopping DB without issues?
    Using oracle 11gR2 on Windows 7 64bit, all is working normal.
    Thanks,
    Ayman
    Edited by: aymanzone on Jun 15, 2011 9:27 AM

    aymanzone wrote:
    my oracle_sid is set to the name of one of my databases
    echo %oracle_sid%
    shows me the name of my first database.
    Still not working though.
    When I start the services of both databases using Services, I can connect and run queries from both of the database.
    Edited by: aymanzone on Jun 15, 2011 11:47 AMFirstly ... the Oracle Service for the instance should be started for the DB you are trying to connect or start.
    Next ... from the command prompt:
    set oracle_sid=<Instance_Name>
    sqlplus sys as sysdba
    startup pfile='location of the respective db pfile'
    Now, if you want to start or connect to another DB which is on the same server (again assuming the Service is STARTED) ...
    From the same command prompt session or other ....
    set oracle_sid=<Other_Instance_Name>
    sqlplus sys as sysdba
    startup pfile='location of the respective db pfile'
    Edited by: Srikanth on Jun 16, 2011 12:27 AM

  • How can i connect more  than one database

    i would like to connect more than one database one my laptop
    now i have database one and sid=ddms
    and i would another such as sid=ddmf
    how can i connect two database on the same my laptop

    I am not sure what you mean by after built? Are you trying to export data from one database and import it into another? If so, export it using data pump making sure you have the correct ORACLE_SID. Also be sure both database have to same character set. Then change the ORACLE_SID to other database, and run data pump to import the data into the other database. Hope that makes any sense...

  • Connect to more than one database?

    Hi,
    Is there a way to connect to more than one database from Oracle form (one form)? If yes, what's the best practice to do it?
    Saad,

    hi
    u can modify Tnsnames.ora for that
    example:
    test1 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = IP Address)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = test1)
    test2=
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = IP Address)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = test2)
      )

  • While connecting to more than one database

    what shold i do while connecting to more than database...
    shold i implement it using serializable class
    or shold i pass the connection object a session variable
    give me some exaple for connecting to more than one database..
    sreekanth

    Sometimes you can use Connection.setCatalog(...) to switch.

  • Connect to more than one Database from portal

    I need to reach more than one database from my portal. How is this done?

    You have several options depending on what you want to do with the data.
    1) Omniportlet: you can specify on a per portlet instance basis to what DB you want to connect (JDBC).
    2) Programmatic Java portlet: you can create as many JDBC connections as you like.
    3) DB links: you can build data-driven portlets on database objects, accessed via DB links.
    4) Programmatic PL/SQL portlet: you can build programmatic PL/SQL portlets on database objects, accessed via DB links.
    Peter

  • Configure more than one pop email

    Hello everybody, I need configure more than one POP email in Mail, somebody help me? Some manual to do this?
    Thanks

    Thanks for response, and other question, how make a second inbox for this other account? or all new message goes only to the inbox, don't care to which account is it?
    Thanks again

Maybe you are looking for

  • How to create a custom control of a button where the look will be applied to all others but not the Boolean text?

    Hi all I would like to create a customized button as a master so that if I change the look of the master all other buttons will change too. I have done this with a custom control as a "strict type def" otherwise the look will not change BUT If I do t

  • Item wise total quantity prob

    hi experts, i made an alv,which shows o/p like this: truckno(likp-traid)| dono(likpvbeln)|party nm(kna1-name1)|skucode(lips-arktx)| qty(lips-lfimg) wb03-7809         |  80000345       | msaha                      |  frooti_pet            |   40,000 

  • ITunes hangs when attempting to connect to Airport Express

    I searched and couldn't find anything directly relevant. Here is my problem: I am using a Powerbook G4 to stream audio to an Airport Express. This has worked with no major issues for almost two years on a WEP encrypted network. Yesterday I did the fo

  • Suitability of iWeb for architect's web site

    I am an architect, and need to set up a website that is set up to show several categories of building types, and then under each category show several projects, and under each project show multiple images of that project. Can iWeb do this? Also, I al

  • Another Mac Mini won't boot after applying 2009-001 Security Update

    I installed 2009-001 Security Update last night. Now it is stuck at the Apple Logo and Progress Indicator screen. I booted to Single User mode, and ran "/sbin/fsck -fy", it reported no problems. I also booted in verbose mode, which results in: /Syste