Convert standby to read only

Hi,
Oracle 11gR2 / Unix
I want to convert standby database (2 node rac) currently (which is in mount mode) to open read only mode. Can someone please help me steps to be done?
Thanks

>from which node shall I run command to cancel manage recovery and .make it read only
In DataGuard (or manual Standby) even if the Standby database is RAC, only one node and instance is used to manage recovery.  So, you would be having the database instance up and applying managed recovery on only one node.  You would stop managed recovery on that node and shutdown and startup (read only) again on that node.
>So Is it safe to keep it in read only mode for longer time?
You'll be building up a backlog of archivelogs.  You need to ensure that you have enough disk space (on the primary and standby) for those archivelogs.
Also note that your DR protection will be unavailable while the standby is OPEN READ ONLY.  If your primary goes down after 12hours or 24hours, your Standby has data only as of 12hours or 24hours ago.  Some sites choose to build 2 standby's, one continuously running recovery and another open READ ONLY as and when required.  OR to use Active Dataguard Licence.
Hemant K Chitale

Similar Messages

  • Unable to open the physical standby in read only  (10g)

    Hi,
    I m trying to create physical standby using RMAN to another server . But at the last step when trying to test Real Time Apply i m unable to open the standby in read only mode.Can Anyone please let me know whats the issue and how to resolve it
    SQL> select status from v$instance;
    STATUS
    MOUNTED
    SQL> alter database recover managed standby database using current logfile disconnect from session;
    Database altered.
    SQL>  alter database recover managed standby database cancel;
    Database altered.
    SQL> alter database open read only;
    alter database open read only
    ERROR at line 1:
    ORA-16004: backup database requires recovery
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1:
    '/u01/app/oracle/product/10.2.0/oradata/test1/system.dbf'

    Hi,
    This is a newly created standby. I created just now. Below the o/p requested
    In Primary
    SQL> set line 200                                                                                                             
    SQL> set pagesize 200
    SQL> col message format a90
    SQL> select severity, error_code, to_char(timestamp,'DD-MON-YYYY HH24:MI:SS'), message from v$dataguard_status where dest_id=2;
    SEVERITY      ERROR_CODE TO_CHAR(TIMESTAMP,'D MESSAGE
    Error              12541 04-MAR-2012 11:55:05 PING[ARC1]: Heartbeat failed to connect to standby 'test1'. Error is 12541.
    Error              12541 04-MAR-2012 12:00:12 PING[ARC1]: Heartbeat failed to connect to standby 'test1'. Error is 12541.
    Error               1034 04-MAR-2012 12:06:25 PING[ARC1]: Heartbeat failed to connect to standby 'test1'. Error is 1034.
    Warning             3113 04-MAR-2012 13:21:24 ARC1: Attempting destination LOG_ARCHIVE_DEST_2 network reconnect (3113)
    Warning             3113 04-MAR-2012 13:21:24 ARC1: Destination LOG_ARCHIVE_DEST_2 network reconnect abandoned
    Error               3113 04-MAR-2012 13:21:24 PING[ARC1]: Error 3113 when pinging standby test1.
    Warning             3113 04-MAR-2012 13:33:29 ARC1: Attempting destination LOG_ARCHIVE_DEST_2 network reconnect (3113)
    Warning             3113 04-MAR-2012 13:33:29 ARC1: Destination LOG_ARCHIVE_DEST_2 network reconnect abandoned
    Error               3113 04-MAR-2012 13:33:29 PING[ARC1]: Error 3113 when pinging standby test1.
    Error               1034 04-MAR-2012 13:39:50 PING[ARC1]: Heartbeat failed to connect to standby 'test1'. Error is 1034.
    Error               1034 04-MAR-2012 13:45:29 PING[ARC1]: Heartbeat failed to connect to standby 'test1'. Error is 1034.
    Warning             3113 04-MAR-2012 13:57:56 ARC1: Attempting destination LOG_ARCHIVE_DEST_2 network reconnect (3113)
    Warning             3113 04-MAR-2012 13:57:56 ARC1: Destination LOG_ARCHIVE_DEST_2 network reconnect abandoned
    Error               3113 04-MAR-2012 13:57:56 PING[ARC1]: Error 3113 when pinging standby test1.
    14 rows selected.
    SQL> select     ds.dest_id id
    ,       ad.status
    ,       ds.database_mode db_mode
    ,       ad.archiver type
    ,       ds.recovery_mode
    ,       ds.protection_mode
    ,       ds.standby_logfile_count "SRLs"
    ,       ds.standby_logfile_active active
    ,       ds.archived_seq#
    from    v$archive_dest_status   ds
    ,       v$archive_dest          ad
    where   ds.dest_id = ad.dest_id
    and     ad.status != 'INACTIVE'
    order by
            ds.dest_id
    /   2    3    4    5    6    7    8    9   10   11   12   13   14   15   16 
            ID STATUS    DB_MODE         TYPE       RECOVERY_MODE           PROTECTION_MODE            SRLs     ACTIVE ARCHIVED_SEQ#
             1 VALID     OPEN            ARCH       IDLE                    MAXIMUM PERFORMANCE           0          0            64
             2 VALID     UNKNOWN         ARCH       UNKNOWN                 MAXIMUM PERFORMANCE           3          0            64In standby
    SQL> select thread#,max(sequence#) from v$archived_log where applied='YES' group by thread#;
       THREAD# MAX(SEQUENCE#)
             1             64
    SQL> select thread#,max(sequence#) from v$archived_log group by thread#;                    
       THREAD# MAX(SEQUENCE#)
             1             64
    SQL> select message from v$dataguard_status;
    MESSAGE
    ARC0: Archival started
    ARC1: Archival started
    ARC1: Becoming the 'no FAL' ARCH
    ARC1: Becoming the 'no SRL' ARCH
    ARC0: Becoming the heartbeat ARCH
    Attempt to start background Managed Standby Recovery process
    MRP0: Background Managed Standby Recovery process started
    Managed Standby Recovery starting Real Time Apply
    Media Recovery Waiting for thread 1 sequence 63
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    MESSAGE
    RFS[1]: Assigned to RFS process 9880
    RFS[1]: Identified database type as 'physical standby'
    Media Recovery Log /u01/app/oracle/product/10.2.0/archive/test1/1_63_776981781.arc
    Media Recovery Log /u01/app/oracle/product/10.2.0/archive/test1/1_64_776981781.arc
    Media Recovery Waiting for thread 1 sequence 65
    16 rows selected.

  • Logical standby as read only

    we are using 3 node RAC in 10g R2 and we have been requested to create one physical(for DR) and one logical standby(for reporting) for the primary database.we created both successfully.
    everything worked fine until i opened the logical standby database as read only.the sql apply stops once i opened the logical standby as readonly.
    once i shut it down and opened in read write mode the sql apply works fine.
    is there any way to open the logical standby only in read only,because we want to use the database only for reporting and doesnt want anyone creating anything in the database.
    anyhelp is appreciated
    thanks

    Users (other than SYSDBA) cannot create anything in a Logical standby unless someone with SYSDBA privs executed ALTER DATABASE GUARD STANDBY; or ALTER DATABASE GUARD NONE;
    STANDBY says they can create objects that they have the normal privs to do but they cannot affect/change anything that SQL Apply is maintaining (i.e. the stuff coming in from the Primary)
    NONE says they still cannot create/change anything they do not have the privs to do but they CAN mess with the tables that SQL Apply is maintaining which would toast your standby so you would never do that.
    It is lightly documented at http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_1004.htm#i2110829 :^(
    The default for the GUARD is ALTER DATABASE GUARD ALL; which gets set for you when you created the Logical Standby following the procedures at http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ls.htm#g105412
    Larry

  • Error raised when opening physical standby in read only

    Hi,
    I've a physical standby 11.2.0.2 created using RMAN duplicate from active database which is configured with data guard. When I open the database in READ ONLY mode
    SQL> alter database open read only;
    Database altered.
    SQL> select open_mode from v$database;
    OPEN_MODE
    READ ONLY
    I get this error in the alert log
    Physical standby database opened for read only access.
    Fri Aug 12 15:14:01 2011
    db_recovery_file_dest_size of 256000 MB is 4.72% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    Errors in file /oradata/admin/ORAINT/diag/diag/rdbms/oraintsb/oraintsb/trace/ora intsb_ora_8692.trc:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00931: missing identifier
    ORA-06512: at "SYS.DBMS_UTILITY", line 156
    ORA-06512: at "SYS.DBMS_SHARED_POOL", line 72
    ORA-06512: at "SYS.DBMS_SHARED_POOL", line 84
    ORA-06512: at "SYS.PROC_PKGS_KEEP", line 26
    ORA-06512: at line 2
    Completed: alter database open read only
    the tracefile is showing this,
    Trace file /oradata/admin/ORAINT/diag/diag/rdbms/oraintsb/oraintsb/trace/oraintsb_ora_8692.trc
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORACLE_HOME = /opt/oracle/product/11.2.0/ORAINT
    System name: Linux
    Node name: c4p-db01
    Release: 2.6.18-194.0.0.0.3.el5xen
    Version: #1 SMP Mon Mar 29 18:27:00 EDT 2010
    Machine: x86_64
    VM name: Xen Version: 3.4 (PVM)
    Instance name: oraintsb
    Redo thread mounted by this instance: 1
    Oracle process number: 17
    Unix process pid: 8692, image: oracle@c4p-db01 (TNS V1-V3)
    *** 2011-08-12 15:14:03.367
    *** SESSION ID:(24.1) 2011-08-12 15:14:03.367
    *** CLIENT ID:() 2011-08-12 15:14:03.367
    *** SERVICE NAME:(SYS$USERS) 2011-08-12 15:14:03.367
    *** MODULE NAME:(sqlplus@c4p-db01 (TNS V1-V3)) 2011-08-12 15:14:03.367
    *** ACTION NAME:() 2011-08-12 15:14:03.367
    Error in executing triggers on database startup
    *** 2011-08-12 15:14:03.367
    dbkedDefDump(): Starting a non-incident diagnostic dump (flags=0x0, level=0, mask=0x0)
    ----- Error Stack Dump -----
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00931: missing identifier
    ORA-06512: at "SYS.DBMS_UTILITY", line 156
    ORA-06512: at "SYS.DBMS_SHARED_POOL", line 72
    ORA-06512: at "SYS.DBMS_SHARED_POOL", line 84
    ORA-06512: at "SYS.PROC_PKGS_KEEP", line 26
    ORA-06512: at line 2
    if I disable the system triggers using
    ALTER SYSTEM SET "_system_trig_enabled"=FALSE scope=both;
    The error doesn't appear but when trying to switch to active dataguard the open_mode goes from READ ONLY to MOUNTED rather than READ ONLY WITH APPLY
    Any help much appreciated
    Edited by: phil74 on 12-Aug-2011 07:22

    Have you checked what your guard status is set to?
    SQL> SELECT guard_status from v$database;I've had a similar issue before but with a standby, whereby the status was set to ALL. This means all users apart from SYS are unable to make changes on the database.
    My resolution was to set the status to standby:
    SQL> ALTER DATABASE GUARD STANDBY;You may wish to set the guard status to NONE however.
    I took some notes:
    http://juniororacledba.wordpress.com/2011/07/17/oracle-logical-standby-dataguard-error However, I do not have a link to any Oracle documentation on the subject to hand. But might give you a head start.

  • Converting a non-read only menu to read only.

    Hi I am looking for a way that I can take a menu in EBs and then convert that menu to read only, this process should also include all of the functions and the submenus.
    Thanks
    Dave

    Pl post details of OS, database and EBS versions.
    Menus cannot be made READ_ONLY - this attribute applies only to functions. You will have to build a custom menu with custom functions that are READ_ONLY, then assign the custom menu to a custom responsibility.
    R12: How To create read only responsibility (Doc ID 1290228.1)
    HTH
    Srini

  • Unable to save Word documents when accessing them directly from the site because the document never converts from a read-only even though the User chooses to enable editing

    Issue has only popped up recently and cannot reproduce in a Test environment.  Unaware of any SharePoint changes, so hoping someone can point me in the correct direction.
    Previously Word document did not have to be physically checked out, but rather the editing of the doc also checked out the doc in a document library. This is the way we want it to remain –
    no manual check-out process. Now if a doc is edited without being checked-out, there is an issue with the process as the application thinks the doc is read-only (message received when trying to save the doc) even if enable editing is selected. The
    following message appears when you try to save the document:
      This message can appear if you have been editing a file that was opened as read-only. A file opened as read-only will have (Read-Only) appended to the file name as it appears in the title bar of Word. You can still save the document, but you must
    save it by using a different file name. If you use Windows Explorer to change the read-only properties of the file, while the file is open in Word, it will not enable Word to save the file. Word must open a non-read-only version of the file in order to save
    it by using its original file name. If you have not made any changes to the file, you can close it, and then use the following steps to make the file writeable. 1. Click the File tab, and then click Open. 2. Browse to the file and right-click it. 3. Click
    Properties, and then clear the Read-Only check box. 4. Reopen the file. If you have made changes to a read-only file, you can save it, and then use the following steps to give the modified file the original file name. 1. Click the File tab, and then click
    Save As. 2. Enter a different file name, and then click Save. 3. NOTE: Adding "Rev1", or "Mod1" to the original file name may help you to remember it later. 4. Click the File tab, and then click Close. 5. Open Windows Explorer. 6. Browse
    to the original read-only file. 7. Rename the read-only file. 8. Browse to the new file. 9. Rename the new file to the name of the original file. Do not delete the read-only file until after you have determined you no longer need it.
    Previously, when check-out was optional, a file was checked out automatically when someone opened it for editing, unless it was already checked out. The editing commands notified the User that the file is being/was checked out.  The real issue is the
    word doc can no longer be saved as the application still believes the doc is read-only.

    Hi, 
    According to your description, you give the domain admin full control over files on the old file server, but you cannot move the files to the new file server. After pull the files from the old to the new file server, the domain admin can only read the files
    on the new file server.
    How did you move the files from the old file server to the new file server? Did you setup replication between the two file server or use robocopy? 
    Please check the files permissions on the new file server to see if the permissions are changed, then share the folder on the new file server to everyone to see the result.
    Regards, 
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Automator convert to audio read only title

    I try Automator to convert text file to audio.
    I put the file in automator, put convert under, execute.
    I have a audio file, BUT it only the name and the place where the file is that is read....
    I can heard: f.i.l.e,d.e.s.k.t.o.p .......
    Help me :

    Hi,
    You need the "Combine Text Files" action to get the contents of the text file.
    Insert the "Combine Text Files" action before the "Text to Audio File" action.

  • Is it possible to have a 10g (R1) LOGICAL standby db in read-ONLY mode?

    From what I've gathered reading the 10g (R 1) docs, the logical standby turns read-only when applying sql, and then in read-write mode otherwise. I have to meet a requirement that the remote database be strictly in read-only mode the entire time (so as to not risk writing to it), as well as being as up-to-date as possible off the primary. (Hence I decided on the logical vs. the physical) Does anyone pls. know if I can keep the logical read-only all the time?
    Much appreciated,
    Sophie

    Oh, Ok. I guess i interpreted it differently. The direct quote from the docs: "Although the logical standby database is opened in read/write mode, its target tables for the regenerated SQL are available only for read-only operations." So I guess what it means, as you suggest, is the entire set of tables from the primary, and not just those few that happened to be updated at that particular time frame, are kept in read-only the entire time...

  • Ipad form ....help needed please.  Clear form after email as read only and sequential numbering

    Hi
    i am a complete novice at this however this is what I want to achieve.
    i Have a paper duplicate report sheet that I want to get electronically, I want to be able to add sequential numbers to each report and be able to email the report to the client from a email field in the form
    so far I have so I have created the pdf form, I have a button that runs a JavaScript that will hide the submit button and then send to the clients email and to bcc myself so I have a copy of the report also. This has been tested and works
    i Am struggling with sequential numbering and once the form has been emailed it's un-ditable as the JavaScript has converted it to read only for emailing which is good as it can't be edited. But Is there a way on my submit button to email the report as read only and then clear all form fields in the report ready for filling with the next sequential number?
    I Have had a good look sound for a resolution to this but am struggling
    many thanks in advance for any feedback
    paul

    Hi Paul,
    I presume that you are using the desktop version of Acrobat Pro to author the form.
    I will move this discussion to the PDF Forms forum so that the experts in the forum can answer your question.
    Please note that the Reader/Acrobat DC mobile apps (for iOS, Android, Windows Phone, etc.) have limited JavaScript support.
    JavaScript for Reader Mobile API Reference (iOS)
    You may be able to make the form work as you want in the desktop version of Adobe Reader/Acrobat Reader DC.  However, some functionality (e.g adding a sequence number to each PDF) will not work in the mobile apps due to the limited JavaScript support.  Sorry for the inconvenience.

  • Active database link in read-only DB

    I am unable to active a db_link on a Standby database. The TNS names and Link settting are replication of production DB. My Standby is READ-ONLY.
    Are there any special setting for a READ-ONLY DB link.... I just want to activate it
    Then I can create a read-only view on the remote DB. Or are all operations over a LINK (even select) seen as DML/DDL and there is no point in activating link?
    Thanks.

    10 G oracle database

  • Database open read only

    Does the alert<sid>.log always show a warning message as such when a standby database is put into read only mode?
    ***Warning - Executing transaction without active Undo Tablespace

    Hi,
    It's a bug happen to 9i
    Bug 3270493:EXCESSIVE QMNX TRACE FILES WHEN PLACING STANDBY IN READ ONLY MODE
    This does not reproduce in 10g. It looks like there were some modifications made to kwqitnfy to check whether the database is in read-write mode before starting the QMNC process.
    The workaround is to set aq_tm_processes=0 when using the database in read-only mode for the long-term. This can be done with a simple alter system command:
    ALTER SYSTEM SET aq_tm_processes=0;
    By running the above command, the errors would stop and therefore so would the trace files.
    Note: Use spfile is applied in order to ensure aq_tm_processes will be zero after restart.
    Mike

  • How Real Time Apply works while physical standby is open in Read Only mode

    Hi,
    With Active data guard option, we can open physical standby DB in read only mode, while redo log are being applied. (Real Time Query)
    Standby Redo log (SRL) enables Real Time Apply (with "USING CURRENT LOGFILE" clause in recover database command on standby DB)
    I am interested to know, how Real Time Query works ?
    What is the mechanism with allows us to open physical standby DB in read only mode while redo logs are being applied continuously ?
    Regards,
    Sujit

    Dear user7419391,
    That is a new feature in Oracle Database 11g. MRP can use the real time apply in 10g but the concept here is different.
    Taken from the following document;
    http://www.ascent.co.za/documents/oracle/Oracle%20databse%2011g%20Active-Data-Guard%20datasheet.pdf
    *Unique Advantages of Oracle Active Data Guard*
    +Active Data Guard is an evolution of Data Guard technology, providing unique+
    +performance advantages while leveraging all other enhancements included in Oracle+
    +Data Guard 11g. For example, any Data Guard 11g physical standby database can+
    +be easily converted to a Snapshot Standby. A Snapshot Standby is open read-write+
    +and is ideally suited as a test system, able to process transactions independent of the+
    +primary database. A Snapshot Standby maintains protection by continuing to receive+
    +data from the production database, archiving it for later use. When tests are+
    +complete, a single command discards changes made while open read-write and+
    +quickly resynchronizes the standby database with the primary.+
    The other link in the previous post is excellent and you really have to read it to understand the active data guard aspects.
    Regards.
    Ogan

  • Remove Standby/Read only mode for a database in sql server 2005

    Hi,
          I have a problem in sql sever . my database is showing standby/read-only mode. i want to remove that mode.please help me for the issue.

    HI
    Did you assign any DB read only user?
    check the administrator guide in your SAP Business one->Documntation->system setup->Administrator guide...
    but removing DB read only user is impossible.....

  • Standby Database - from READ-ONLY to Managed Recovery

    We have a standby database set up for our production environment.
    We are able to switch logfile on production and perform the managed recovery and then switch over to READ-ONLY mode. However, when the database is in READ-ONLY mode...I cannot close it if there are active connections.
    There are 2 ways I can attempt to close the database...either by "shutdown immediate" or by issuing an "alter system kill session (##,##);"
    If I issue the "shutdown immediate", then the RFS process does not transmit any more files...saying the connection to host is not there. Therefore this is not a valid solution.
    I can use an alter system kill...to kill all active connections...but it would require to know what other connections are there.
    Does anybody know how to best do this...to close the database by forcing all connections to end (except your current one) so you can "alter database close" and switch over to managed recovery?
    Please HELP!
    Thanks.
    -Nicolas

    u just shutdown the server and restart in standby mode. it will apply all pending archive autometically.

  • When I converted a file from PDF to WORD.DOC it opened as Read Only and I'm unable to alter any of the text.  How can I solve this problem?

    When I tried to convert a file from PDF to WORD.DOC it opened as Read Only and I'm unable to alter any of the text.  How do I solve this problem?  I don't know how to change it from Read Only.

    Dear Sara
    Thank you very much for sending the converted file.  Yes, I am able to edit it - that will be very useful to me and I appreciate your help.
    Referring to your previous message when you said you'd converted via Acrobat and not Acrobat.com, I'm converting via Acrobat.com because that's the only option that is shown (how do I convert via Acrobat? - perhaps that would be more successful).  I'm using the Export PDF website, and the OCR is enabled to "Recognize text in English UK".  However, I've just tried converting a different LPA pdf form, this time for Health & Welfare https://www.gov.uk/government/uploads/system/uploads/attachment_data/file/245571/LPA114_He alth_welfare_LPA.pdf and again I have the same problem as before.  I've altered it from "Read only" and thought I'd then be able to enter text, but "Drawing Tools" is shown in the pane and I'm unable to enter anything onto the form - everything appears to be in images.  Also, the lettering on the heading of' page 1 has become jumbled, with the word "Public" overlaying the word "Guardian."  Any suggestions as to what it is I'm doing wrong would be welcome - I don't like to be beaten!
    Regards,
    Judith.

Maybe you are looking for

  • Titanium PB G4 no longer connects to WIFI

    Hi, I inherited a lovely TiBook 1Ghz PPC (the previous owner having upgraded to a new Intel MBP).  It has visited here in the past and had no problems connecting to our home wifi, which is a Linksys AP running Tomato 1.2.8 firmware. Shortly after arr

  • Cannot Move Files/Folders on Desktop

    One of the Mac Pros in my computer lab suddenly developed a strange behavior: I can't move any of the file or folder icons on the desktop, nor can I drag files/folders between windows or columns. They don't snap back to their original position; they

  • Apple tv/streaming

    I have an ipad, iphone, imac and considering buying Apple tv but I want to make sure it's what I need. Can I stream from any of these devices with anything to the apple tv?  If I am watching hulu on my ipad, can I stream to my tv via apple tv.  In ot

  • Anyone else not able to log in?

    Can't seem to login to my iTunes account, which keeps me from finishing the download of the movie I was renting. Grrrrrr! Anyone else having trouble authenticating? I'm getting a "network connection timed out" error, which makes no sense since I'm ob

  • Signatures? act differently in Tiger

    I created two signatures but when I add one to an email all that appears at the bottom is my name and email address! Is that correct. would the recipient actually see my signature. I want Panthers version back... stamps feet, then hangs head in shame