Dataguard 10g parameter

hello
i am setting up dataguard on 10g winxp,
i want that the standby database have the same name like the primary , but wouldnt that create a conflict in this parameter
LOG_ARCHIVE_CONFIG='DG_CONFIG=(chicago,boston)'
LOG_ARCHIVE_CONFIG='DG_CONFIG=(chicago,chicago)'
thanks?

hello
i was reading the documentation its says that this parameter specifies the
DB_UNIQUE_NAME of the primary and standby databases
is that the same as their services names ?
thanks again

Similar Messages

  • Oracle forms 10g Parameter passing from forms to reports

    Hello Room,
    Please let me know what is wrong with this code. It is not passing parameter at all to the reports 10g parameter form from forms 10g, no matter what. I tried to delete the parameter from reports parameter form, I also tried to enable/disable restricted values from reports, I tried to hide the parameter from reports, but it is just not doing it.
    DECLARE
    pl_id PARAMLIST;
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status varchar2(20);
    report_job_id VARCHAR2(100);
    fill varchar2(100);
    reportname varchar2(200);
    ab varchar2(200);
    cursor c200 is select CONAME,LOCATIONMASTER.LOCNAME FROM USERCODETL,MULCOMP,LOCATIONMASTER
    WHERE MULCOMP.CO=USERCODETL.CO
    AND USERCODETL.USERID = SUBSTR(AB,1,50) AND USERCODETL.LOCCD = LOCATIONMASTER.LOCCD;
    begin
         AB := GET_APPLICATION_PROPERTY(USERNAME);
    OPEN C200;
    FETCH C200 INTO :block4.coname,:block4.locname;
    CLOSE C200;
    synchronize;
    pl_id:=GET_PARAMETER_LIST('paramlist');
    IF NOT ID_NULL(pl_id) THEN
    DESTROY_PARAMETER_LIST(pl_id);
    END IF;
    pl_id:=CREATE_PARAMETER_LIST('paramlist');
    Add_Parameter(pl_id, 'vcompany', TEXT_PARAMETER, :block4.coname);
         Add_Parameter(pl_id, 'vlocname', TEXT_PARAMETER, :block4.locname);
    repid := find_report_object('testreport');
    fill := GET_REPORT_OBJECT_PROPERTY(repid, report_server);
    reportname := GET_REPORT_OBJECT_PROPERTY(repid, report_filename);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,RUNTIME);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'pdf');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'repsrv');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no'||'vcompany='||:block4.coname||'vlocname='||:block4.locname);
    v_rep := RUN_REPORT_OBJECT(repid,pl_id);
    WEB.SHOW_DOCUMENT('/reports/rwservlet?report='||reportname||'&desformat=pdf&destype=cache&userid=scott/tiger@servernew&paramform=yes');
    END;
    Please help. Thank you in advance.

    Hello Inol,
    Greetings !
    There seems to be a syntax error when I run your code:-
    REP-52251: Cannot get output of job ID 272 you requested on Fri Apr 08 02:37:25 GMT 2011.<P>REP-51026: No output for job 272
    when I run then command:-
    http://local-pc:8889/reports/rwservlet/showjobs
    Terminated with error: <br>REP-159: Syntax error on command line.
    Is there a error on your statement ?
    WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1) ||'?server=repsrv );
    it should be
    WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1) ||'?server=repsrv ' );
    then only it is getting compiled properly. A single quote in the end !
    And finally I changed this line
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no p_1='||:SP_USERCODE 'p_my_second_parameter='||:block.my_second_parameter);
    to this line
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no p_1='||:SP_USERCODE|| *'p*mysecond_parameter='||:block.my_second_parameter);
    as it is giving error where highlighted in bold Is it necessary to change and add a concatenation there ?_
    But... But... even though I compile it properly the code is getting executed and it is giving the above error. Please note the same.
    Also please tell me what should be the status of the following things in report builder 10g.
    1. Shall I remove the parameters vcompany and vlocname from the parameter form and keep it just in parameters of report , There is a third parameter which I want the user to input while running the report other than these 2 parameters ?
    2. Shall I restrict the parameter to predetermined values ?
    3. Shall I hide the first column of the parameter in report builder.
    I have also tried to simulate the execution parameters from batch to runtime and comm mode to synchronous and asynchronous and vice versa. I have also given command rwserver server = repsrv on my pc and also server pc. please let me know about this also whether I need to give this command every time ? I mean for every booting ?
    As this problem is faced by many people. I think it should work across the fly as given by you or rather corrected by you. I would also like to know is there any patch available for the same released by oracle, as I have read somewhere in the forum here which I cannot locate the thread now. I do not mind paying for support if I find the need ?
    Please help me further. Thank you.

  • DataGuard 10g

    Hi:
    I am working on DataGuard on 10g database. I have a question about the db_file_name_convert parameter in init.ora file on Primary database. I set db_file_name_convert='d:\oracle\product\10.2.0\oradata\standby', 'd:\oracle\product\10.2.0\oradata\orcl'. BUT now I found I have 6 files on 'd:\oracle\product\10.2.0\oradata\orcl', and one on D:\ORACLE\PRODUCT\10.2.0\DB_2\PERFSTAT.DBF. Would you please tell me how to set the db_file_name_convert for my case?
    Thank you very much!
    User

    You can try:
    db_file_name_convert=('d:\oracle\product\10.2.0\oradata\orcl', 'd:\oracle\product\10.2.0\oradata\standby', 'D:\ORACLE\PRODUCT\10.2.0\DB_2','d:\oracle\product\10.2.0\oradata\standby')Note that odd parameters (1st, 3rd, etc) specify primary database datafile file name and that even parameters (2nd, 4th, etc.) specify
    standby database datafile file name.
    See Reference Guide http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams112.htm#CHDGDFFD
    Edited by: P. Forstmann on 23 déc. 2009 14:13
    Edited by: P. Forstmann on 23 déc. 2009 14:16
    Edited by: P. Forstmann on 23 déc. 2009 15:00: added missing quote

  • Using Oracle Dataguard 10g With Oracle EBS

    Hello,
    I am working on Linux with Oracle Database 10g and Oracle EBS R12 and trying to configure Oracle Data Guard with Oracle EBS. I have been reading Oracle My Support Document (Business Continuity for Oracle E-Business Release 12 Using Oracle 11g Physical Standby Database [ID 1070033.1] ).
    Please let me know of any another useful documents. It will also be helpful if anyone could share real time experiences.
    Thank you.

    Hi,
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/ha/dataguard/physstby/physstdby.htm
    http://www.oracle.com/technetwork/database/features/availability/dataguardoverview-083155.html
    Regards
    Yoonas

  • Report 10g parameter form Error

    Hi,
    While calling a report I am getting the following error.
    REP-546: Warning: The value of restricted LOV parameter TOPROFIT is not among the selectable values.
    When I call the same report through another PC it displays parameter form.
    I am using Report Builder 10g.
    Kindly help in resolving the issue.
    Edited by: babarbaig82 on Sep 26, 2012 4:34 AM

    Hi,
    I need more details.
    1- Are you running that report from 2 different machines using Reports Builder? or Reports Server?
    2- If running with Reports Builder, is it the same report? or a different version of the report?
    Any other details that you think can clarify issue further.
    Thanks, Roberto

  • Broker (dataguard 10g)

    I try to work with the broker (datagurad 10g) but when I do a switchover, the system do his job but return an error before starting the database, and I have to start it manually.
    I found this error in the sqlnet.log
    Thanks for your help
    Fabrice
    Fatal NI connect error 12514, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mymachine)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=test_DGMGRL)(INSTANCE_NAME=test)(SERVER=dedicated)(CID=(PROGRAM=dgmgrl)(HOST=mymachine)(USER=oracle))))
    VERSION INFORMATION:
    TNS for Solaris: Version 10.2.0.1.0 - Production
    Oracle Bequeath NT Protocol Adapter for Solaris: Version 10.2.0.1.0 - Production
    TCP/IP NT Protocol Adapter for Solaris: Version 10.2.0.1.0 - Production
    Time: 30-MAY-2006 16:01:55
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12564
    TNS-12564: TNS:connection refused
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0

    Check out what you have the parameter service_names set to. If it is currently set to test then set it instead to test,test_DGMGRL.
    If you the examine the output of
    lsnrctl service
    you should see that both test and test_DGMGRL services are running.
    Oops. I think I got a little bit too clever. If you want Data Guard Broker to start your instance, then that probably means that the instance isn't running so the broker will not be able to find the service. :)
    Instead, what you need to do is define the service the old fashioned way in listener.ora.
    After you reconfigure the listener, you will find the new service supported by the listener whether it is running or not.
    Chris

  • RMAN and Dataguard (10g)

    Hi all,
    I know this topic has been discussed several times over on this forum, but I have a peculiar situation.
    I have just inherited a client system with 10g and DataGuard with RMAN. The standby is Physical and both nodes are on HP-UX version and patchsets.
    The standby is persistently idle. The client insists on backing up the physical standby only.
    My question is this, is there any danger in backing up on the physical standby?. I've argued the case that we should backup the Primary and Standby to no joy. I am a little worried that we may experience a failure on the primary and start a recovery with backup taken from the Standby node. Is this feasible at all?
    Please confirm that I am right.
    Regards,
    Timothy.

    Having a recovery catalog, there's a resync with the standby controlfile after the backup, the backup informations are now in the catalog. Now when you need to restore/recover the primary database you connect to this and to the catalog. Primary and standby are clones , so you access the same record in the catalog regardless whether you are connected to the primary or to the standby. Because of this a resync will refresh the primary controlfile with the backup records which were taken while connected to th standby. A simple backup/recovery example looks like this:
    1) connect target sys/pwd@stdby catalog rman/pwd@rmancat
    2) backup database; (resync happens automatically after this)
    4) connect target sys/pwd@prim catalog rman/pwd@rmancat
    5) resync catalog;
    6) restore database;
    7) recoverer database:
    It's not mandatory, but recommended to backup the archivelogs on the primary side. Here you are sure to have all archivelogs (at least under regular circumstances). For many reasons it could happen, you miss some archives on the standby side.
    It's possible to run a standby in read-only mode for reporting purposes. In this case archivelog applying is suspended. If you have such a situation it's not recommended to backup the standby database, possibly it does not change for a long time and in case of recovery you have to apply a large number of archivelogs.
    Werner

  • Multi value select LOV in report builder 10g parameter form.

    Hi All,
    I have a requirement to show a set of records by getting user input through the report parameter form.
    employee Table.
    emp_id emp_name
    1 A
    2 B
    3 C
    4 D
    5 E
    In the report i am getting emp_id input from the user through list of values (LOV query is "select emp_id from employee where emp_id =:emp_id").
    This condition is working for me. now user want to select multiple emp_id from the LOV. so that the sql query will get the related records from the employee table.
    so the LOV query will work like the following "select emp_id from employee where emp_id in (:emp_id)".
    can enybody help me to acheive the above.
    Thanks
    Leo.
    Edited by: user13359272 on Oct 24, 2012 5:25 AM

    By all means feel free to post your question as often as you like!
    In webforms DDE runs on the middle tier; it might do what you want against your local OC4J now, but it surely won't open a thing when you run it against an application server.
    Maybe you should enlighten us with your requirement, maybe there is a better solution for your problem.
    cheers

  • Upgrade 6i to 10g Parameter Problems

    Hi,
    I'm new to reports. We upgraded 6i reports to 10g. The reports have both static and dynamic (sql queries) pick lists. The static lists upgraded fine, displaying with the usual pick list arrow, but the dynamic lists are displaying all possible choices without the arrow that the user would click to display the list. Any advice?
    Thanks.

    You can use Forms migration assistant that helps you in the migration. It has a UI interface where you can select the modules and upgrade.

  • Dataguard 10g question

    This is from the doco:
    A physical standby database can be opened temporarily in read/write mode for development, reporting, or testing purposes, and then flashed back to a point in the past to be reverted back to a physical standby database. When the database is flashed back, Data Guard automatically synchronizes the standby database with the primary database, without the need to re-create the physical standby database from a backup copy of the primary database.
    This doesn't affect the primary database at all, right? I just want to confirm. I recall having some issues trying to open the standby database in read/write. Can anyone confirm if they've been able to open the standby database read/write while leaving the primary up and running.
    Thanks.
    P.S. This is on Oracle 10g R2

    This is a new and wonderful feature from 10g version.

  • DataGuard  DB_NAME parameter

    On 10.2 database,
    Is it possible for DB_NAME parameter to be different in both Primary and Physical Standby databases?
    I know DB_UNIQUE_NAME parameter must be different. But want to know whether DB_NAME can also be different.

    Instances are distinguished by SID. Thus, two instances, particularly if running from the same ORACLE_HOME, have to have different SIDs if on the same server. However, Oracle has an additional check on DB_NAME as well. Two instances cannot have the same DB_NAME unless DB_UNIQUE_NAME is specified.
    DB_NAME is always the same when you create a Physical Standby. You can't change the DB_NAME -- if you change the value in the init/spfile parameter file, a startup will error out because it checks the DB_NAME with that in the DataFile Headers. Since the DataFiles of a Physical Standby are a physical clone of the primary, the DB_NAME has to be the same. (the same applies for DBID -- the DBID of the Primary and the Standby are the same and that is why you have to be careful about using a common RMAN Repository for both databases -- there are MetaLink notes about how to do Standby Backups).
    DB_UNIQUE_NAME doesn't get stored in the DataFile headers.
    Hemant K Chitale

  • Auto switchover dataguard 10g

    I want to automate the switchover between the pimary and the physical standby database. can somebody help me ???? thank you

    You can check the section " Switchover vs Failover" in the following asktom page.... http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:1354203041395
    -CD

  • Oracle Dataguard Help

    I am trying to setup oracle dataguard(10g) in logical standby mode and i'm getting this error.
    Could anyone please help me with this
    SQL> alter database create logical standby controlfile
    2 AS 'D:\oradata\PRIMARYDB\STANDYCTL.ctl';
    alter database create logical standby controlfile
    ERROR at line 1:
    ORA-06550: line 1, column 36:
    PLS-00201: identifier 'DBMS_LOGMNR_D.STORE_IN_REDO_LOGS' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored

    when i am trying at the standby server to get into managed recovery mode i am getting this error. Any ideas why??
    SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE;
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE
    ERROR at line 1:
    ORA-00283: recovery session canceled due to errors
    ORA-01110: data file 1: 'D:\ORADATA\STANDBY\SYSTEM01.DBF'
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: 'D:\ORADATA\STANDBY\SYSTEM01.DBF'
    The trace file doesn't mention much about the error except:
    The process cannot access the file because it is being used by another process.
    Message was edited by:
    user636794

  • DataGuard Broker in 11gR2 - StaticConnectIdentifier

    Ok, I have read that in 11gR2 you no longer have the requirement of putting in a static entry in your listener.ora file with <SID>_DGMGRL if you use the Dataguard Broker parameter: StaticConnectIdentifier. I have used this new parameter and it was set up automatically to be:
    StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DB1)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=prod_sb_DGMGRL)(INSTANCE_NAME=prod_sb)(SERVER=DEDICATED)))'
    My question is that there is no entry anywhere that specifies the SERVICE_NAME as prod_sb_DGMGRL. Will my switchover work without that SERVICE_NAME being defined no where? Am I missing a step? Thanks folks.

    Hello;
    I'm thinking the switchover will fail with an ORA-12514. Without the listener.ora entry DGMGRL will not be able to connect to the databases after they have been stopped.
    So you still need the _DGMGRL or at least a static entry in the listener.ora. In any event the static entry will not cause an issue.
    *Switchover Failed With ORA-12521 using Dataguard Broker [ID 1380949.1]*
    For additional information see - 8.3.40 StaticConnectIdentifier in "Data Guard Broker 11g Release 2 (11.2) E17023-04"
    "A connect identifier that refers to a service that is statically registered"
    Best Regards
    mseberg
    Edited by: mseberg on Sep 20, 2012 4:04 AM

  • Archives in dataguard.

    Hi Group,
    I have a doubt.
    When configure dataguard (10g, 11g), while archive received from the primary are applied the standby database also generates archives?

    No it just applies the archive from the primary. The only time it would generate is when you switch it to primary.
    Remember the standby is in Read-only mode. (I assume from how the question was asked).
    Does this answer your question?

Maybe you are looking for

  • Mac Pro kernel panic, RAM does not seem to be problem

    My Mac Pro (late 2006) now has kernel panics at startup. Problem first happened while computer was in sleep mode, a second kernel panic happened about 10-15 minutes after reboot the first time. Now it happens at startup every time. Zapped PRAM multip

  • Calibrating: Improve the quality and accuracy of your images

    The Sprout Workspace depends on the alignment of the HP Touch Mat and the projected screen on the touch mat. This alignment is calibrated during initial setup and can also be recalibrated at any time you choose. During calibration, Sprout detects the

  • Rdriver errors

    I am running Solaris 10 on a Sun ENTEPRISE 420 server connected to an A1000 StorageEge device with a few disk drives. My system log has been giving me the following messages, which I cannot understand whats wrong. Can someone help me with this and le

  • NEED URGENT HELP ON ENTERPRISE ASSET MANAGMENT

    I nedd to know where can I find requirements (sw & hw) for oracle enterprise asset management. I have a client that wants to install just this module, so i need to know what other products must be previously installed/licensed (db/appserver/httpserve

  • Pdf reader and android annotations

    i cannot seem to find where i can change the colour and thickness of annotations via the stylus on my android pdf reader, please help