Multiplexing controlfiles

Hi All,
I have recently completed migration of Database from OCFS to ASM. I have started the database with one controlfile. Now i want to create another 2 copied of controlfiles. As far as i know in normal filesystem's case the steps to accomplish this will be
1. Bringdown database
2. Create copied of controlfiles using cp command.
3. Change control_files parameter in initfile.
4. bringup the database using initfile.
But incase of ASM i am not sure how i can copy control files, i tries using RMAN but i am getting errors that the second controlfile is not in sync with the first/original one. I do really appreciate any help you can provide regarding this.
Thanks,
Aditya.

1. Shutdown the database and start the instance:
SQL> shutdown normal
SQL> startup nomount
2. Use RMAN to duplicate the controlfile:
$ rman nocatalog
RMAN>connect target
RMAN>restore controlfile to '<DISKGROUP_NAME>' from '<OLD_PATH>';
3. On the ASM instance, identify the name of the controlfile:
Using ASMCMD:
$ asmcmd
ASMCMD> cd <DISKGROUP_NAME>
ASMCMD> find -t controlfile . *
alter system set control_files='newone', old one' scope=spfile;
shutdown immediate
startup.
How to duplicate a controlfile when ASM is involved Note:345180.1

Similar Messages

  • Multiplex Controlfiles in ASM

    I have been trying to figure out how to multiplex a controlfile that is in an ASM instance. Normally I would simply shutdown the DB, copy an existing controlfile to my desired location, update the pfile or spfile to the desired location and startup the DB. Since my existing controlfile is in ASM though, I can't do the copy part.
    I have tried using RMAN to restore a controlfile, but I can't seem to get the syntax right.
    I have seen thread Re: How to multiplexing control files in ASM instance??? however I really don't want to issue a RESETLOGS just to be able to multiplex my existing controlfile. In this thread there is another suggestion without having to issue a RESETLOGS, but this does not seem to get this to work for me. Any suggestions? Thanks.

    I found the answer I was looking for. If anyone else had this question, the answer is in metalink document id 345180.1

  • Multiplexing Controlfiles in ASM

    Hi,
    How we can do multiplexing of control files in ASM.
    and How we can find free space on disk groups.
    Please let me know
    thank a lot.

    Hi;
    Please see below notes which could be helpful for your issue:
    How To Move Controlfile To ASM [ID 468458.1] *<< check step 6 and also referance part*
    Also see:
    ASM Technical Best Practices [ID 265633.1]
    Regard
    Helios

  • How to multiplex controlfile ?

    Guys,
    I currently have a RAC database and it has two copies of controlfiles sitting in ORADATA and ORARECO diskgroups. I need to create another copy in ORAREDO.
    We use RMAN.
    How do i go about the procedure.. I will be doing this on production, so please make sure you give the right steps..
    I looked at the metalink doc but it wasn't very helpful.
    Also, i need to name the third controlfile to a specific name.. Like backup.445.345343
    Thanks
    G

    Note:345180.1 goes into detail on this process. Not sure what else can be suggested beyond following this note's directions.

  • Does the controlfile need to be multiplexed in ASM?

    OS=Linux 5
    Oracle=11gR2 RAC with ASM
    We have two diskgroup (DATA, FRA), each with 6 disks. The controlfile currently resides on the DATA diskgroup. My question is, does the controlfile need to be multiplex to FRA diskgroup in case of a diskgroup failer? Typically if the database is using filesystem for storage, i would multiplex the controlfiles to 3 different filesystems.

    Hi,
    This thread already been answered but I'll leave a little touch.
    Some time ago we used OS filesystem to store database and we placed a part of the database at each mount point (like /u01, /u02, /u03 and so on).So, we also multiplexed control file to due flexibility of recover a controlfile if any error occurs on one theses mount points.
    But with ASM generally the whole database is placed on Diskgroup DATA  and controlfile on DATA and FRA  and if you lose your diskgroup DATA and this will not change anything in relation to high availability, because you will need to restore database to bring database up. So, If you have backup of database of course you also have backup of controlfile.
    About multiplexing de REDO in other Diskgroup can make all difference. If you lose diskgroup +DATA and you have your archivelog and redo online avaliable on other diskgroup you will have a minimun or none lost of data.
    I don't like multiplex controlfile on FRA, because any maintenance that involves diskgroup that have controlfile stored will cause downtime of database. So, when I multiplex controlfile I choose diskgroup that have datafiles only of that database.
    Redo and Archivelog we can change they of diskgroup without downtime of database.
    As FRA is a Diskgroup used to store backup and Archivelog can be exausted and it can cause downtime on database. (We must not forget we can control it)
    Other point:
    In some env I have seen DBAs configuring Normal Redundancy to Diskgroup (e.g DATA) that store database and External Redundancy to Diskgroup FRA (e.g FRA) due purpose of that Diskgroup. By Default DBCA place controlfile on FRA, so If by any reason asmdisk from FRA fail, the whole database will down due controlfile on that diskgroup. This is a big mistake.
    *Unable To Open Database Due To Diskgroup Used To Multiplex The RedoLogs & Controlfiles & Archivelogs Got Corrupted. [ID 1382372.1]*
    Regards,
    Levi Pereira

  • Control file multiplexed RAID question

    2 node RAC. OEL 5. 11.2.0.2
    Is there any cause for concern over design issues when placing multiplexed controlfiles on disks with different RAID types?
    I have FRA, REDO, VOTE and DATA disk groups available to me DATA is RAID 5, the rest are RAID 10. Is there any tales from the field of write speed issues multiplexing the files on a RAID 5 and a RAID 10?
    Edited by: 961469 on Dec 11, 2012 6:10 AM
    edited to include versions and env

    Is there any cause for concern over design issues when placing multiplexed controlfiles on disks with different RAID types?IMHO, I believe not. Of course this depend on characteristic of I/O of each Array.
    As best practice never mix files stored on array with heavy I/O with array which has Low I/O.
    Controlfile is good for RAID 5 and RAID 10 no worry.
    Read note:
    I/O Tuning with Different RAID Configurations [ID 30286.1]
    Swap space can be used on RAID devices without affecting Oracle.  
    ====================================================================================
    RAID  Type of RAID        Control       Database        Redo Log        Archive Log
                                File          File            File            File
    ====================================================================================
    0     Striping             Avoid          OK           Avoid           Avoid    
    1     Shadowing             OK             OK          Recommended       Recommended
    0+1   Striping +            OK         Recommended       OK            Avoid    
          Shadowing                                                                                 
    3     Striping with         OK           Avoid           Avoid            Avoid    
          Static Parity                                                                                        
    5     Striping with         OK           Avoid           Avoid            Avoid    
          Rotating Parity                  
    ------------------------------------------------------------------------------------On this case the main concern is:
    Something which should help can disrupt and cause downtime.
    Unable To Open Database Due To Diskgroup Used To Multiplex The RedoLogs & Controlfiles & Archivelogs Got Corrupted. [ID 1382372.1]
    Regards,
    Levi Pereira

  • Controlfile backup to trace

    How we can use controlfile backup in the tarcefile, suppose i want to use that trace file to multiplex my existing control_files.....

    I multiplexed it this way...works fine...
    I tried alter database backup controlfile to
    '<dest>'; and then update the control_files to the
    '<dest>' for control file.......It did accept it ,
    did show up in control_files ...any idea why.....or i
    thing we can't use backups directly....?What the command "alter database backup controlfile" did is dump out a text file which you can use to create controlfile in the event of disaster or if you want to change DB NAME etc.. It's not byte to byte backup of controlfile. Nor it can be used to multiplex controlfiles.
    check the content of file in your <dest> using any text editor you will know.

  • Problems with Recovery

    Hello,
    Can someone please help me out here:
    My system (winXP) comprises of 2 hard drives in which Oracle10g was on C drive
    and I multiplexed my controlfile and logfile on E which is a logical drive
    on C and have the 3rd copies on the 2nd hard drive (F).
    I took out the 2nd hard drive (F) that has my 3rd multiplex copies of my controlfile
    and logfiles trying to practise some recovery. I've tried what I know but it's not
    working. I deleted the entry for the 3rd multiplex controlfile and logfile in the
    PFILE, it does not help.
    When I tried to start SQL*Plus, I get this error message:
    ORA-01034: ORACLE not available
    ORA-27101: Shared memory realm does not exist.
    Meanwhile, the listener, oracle service and the dbconsole are all started.
    Please how do I get my database up and running.
    Here's the message I got from SQL*PLUS prompt:
    C:\>sqlplus /nolog
    SQL> conn /as sysdba
    Connected to an idle instance.
    SQL> startup nomount
    ORA-01261: Parameter db_create_online_log_dest_3 destination string cannot be translated
    ORA-01263: Name given for file destination directory is invalid
    OSD-04018: Unable to access the specified directory or device.
    O/S-Error: (OS 3) The system cannot find the file specified.
    Regards and thanks,
    Cherish

    Thank you so much it worked.
    Actually, I copied a new controlfile and logfile into a new location and make the changes
    in the pfile still making it 3 multiplex copies but on different logical drive
    then issued this:
    SQL> conn /as sysdba
    Connected to an idle instance.
    SQL> startup mount pfile=C:\oracle\base\admin\mydb\pfile\init.ora.8122007231436;
    ORACLE instance started.
    Total System Global Area 167772160 bytes
    Fixed Size 787968 bytes
    Variable Size 57670144 bytes
    Database Buffers 109051904 bytes
    Redo Buffers 262144 bytes
    Database mounted.
    But when I tried to open the database I get the following error message:
    SQL> startup open;
    ORA-27091: unable to queue I/O
    ORA-27067: size of I/O buffer is invalid
    OSD-04026: Invalid parameter passed.
    Please what do I do next?
    Thanks again.
    Regards,
    Cherish

  • Database Storage location using DBCA

    I'm trying to create a database. I would like to put the database on drive M and the logs on drive N.
    I'm getting that if I want to do it during creation using DBCA I need to define the location on step 11 - Database Storage.
    When I click on Datafile I then click on File Location Variables do I change ORACLE_BASE, ORACLE_HOME or both?
    When I click on Redo Log Groups I then click on File Location Variables do I change ORACLE_BASE, ORACLE_HOME or both?
    Do I do anything with the Control files location?

    In that step you got File Name and File Directory menu.
    Change the paths in File Directory menu.
    Suppose you have create oradata folder in both M and N drives.
    System01.dbf M:\oradata
    redolog01a.log N:\oradata
    suggestion:- Please multiplex controlfiles and redo log files.

  • Question about ASM

    Hi dears,
    I am planning the installation of G.I 11R2 and have a question regarding ASM.
    If I have ASM diskgroup with normal or high redundancy for my DB need I create multiplex redologs and
    multiplex controlfiles ? If I understood correctly the multiplex redologs and controlfile is another HA and DR option.
    From Oracle documentation
    *"To protect against a failure involving the redo log itself, Oracle Database allows a multiplexed redo log, meaning that two or more identical copies of the redo log can be automatically maintained in separate locations."*
    Question rised when I checked my old G.I with RACcheck and got the following....
         The online redo logs of an Oracle database are critical to availability and recoverability and should always be multiplexed even in cases where fault tolerance is provided at the storage level.
    The controlfile of an Oracle database is critical to availability and recoverability and should always be multiplexed even in cases where fault tolerance is provided at the storage level.
    "should always be multiplexed even in cases where fault tolerance is provided at the storage level"
    WHY ????
    Please share your experience.
    ./thanks

    Ilmar Kerm wrote:
    Redo logs and controlfile are very critical for database, and if something happened with one copy of them (like file is deleted or corrupted) you can quickly recover by copying over the damaged file with the contents from the surviving file (copies are identical). So copies should be located on separate LUNs/disks/diskgroups/filesystems.Thanks Ilmar for reply.
    I understand what you said its obvious. My questions is that if I already have 2 copies or 3 copies of redolog files with ASM nigh or normal redundancy why I need to do it also with creating multiplex redo file.....

  • Legacy method of backup

    Do wee need to backup control files,redolog files after we put all the tablepaces in backup mode with following example?
    Alter tablespace begin backup.
    I know we issue "alter database backup control file to trace" after backing up the datafiles,archive log files.
    Thanks.

    Well multiplexing is another way of being safe. We can't say that it leaves the option to take a backup. I faced a scene where the entire disk array crashed including the multiplexed controlfiles. We had the current control file's backup with us so we didn't face much issue and we got the recovery done. So I would say that backup should be done in any case of the controlfiles. Yes , the begin backup/end backup reflect the tablespace's backup so as a good practise , you can take the controlfile's backup after its over. Thoughits not mandatory.
    You were doing just fine withyour last strategy , that's all I can say :-).
    HTH
    Aman....

  • Upgrade from 10.2 to 11.2

    I have juSt created a 11.2 database on the oracle database appliance server. The database is set up to use the file structure ASM. I was going to make another copy of my controlfile.... So I have more than one. I can't find it on the server. Here is the path +DATA/dwdev/control01.ctl. How do I make a copy of my control file using ASM.  I am not familiar with ASM.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    I just read something from your forum that made me think copying control files with ASM is no longer necessary as long as you have backups. Below is what I read. Is that true?
    It is Oracle's opinion that now with the possibility of two or more failpoints in a diskgroup, that we no longer need to multiplex controlfiles and online redo

  • What`s wrong with my controlfile multiplexing setup?

    Originally, my database was using the default controlfile multiplexing setup and it was working perfectly fine.
    But then, start today, it doesn`t work any more.
    when i try to mount the database, it always throw below errors.
    ORA-00205: error in identifying control file, check alert log for more infoand when I look up the alert.log, it shows:
    ORA-00202: control file: 'E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL01.CTL, E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL02.CTL, E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL03.CTL'
    ORA-27041: unable to open file
    OSD-04002: unable to open the file
    O/S-Error: (OS 123) he system cannot find the path specified.But, I guarantee you that those files are there.
    Then, I start to manipulate parameter CONTROL_FILES and I got below:
    ---When all three controlfiles are included in parameter
    SQL> alter system set control_files='E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL01.CTL, E:\ORACLE\PRODUCT\10.2.0\ORADA
    TA\ORCL\CONTROL02.CTL, E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL03.CTL' scope=spfile;
    System altered.
    SQL>
    SQL> startup force;
    ORACLE instance started.
    Total System Global Area  612368384 bytes
    Fixed Size                  1250428 bytes
    Variable Size             218106756 bytes
    Database Buffers          385875968 bytes
    Redo Buffers                7135232 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    ---When only two of them are included in parameter
    SQL> alter system set control_files='E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL01.CTL, E:\ORACLE\PRODUCT\10.2.0\ORADA
    TA\ORCL\CONTROL02.CTL' scope=spfile;
    System altered.
    SQL> startup force;
    ORACLE instance started.
    Total System Global Area  612368384 bytes
    Fixed Size                  1250428 bytes
    Variable Size             218106756 bytes
    Database Buffers          385875968 bytes
    Redo Buffers                7135232 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    --only one is included
    SQL> alter system set control_files='E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL01.CTL' scope=spfile;
    System altered.
    SQL> startup force;
    ORACLE instance started.
    Total System Global Area  612368384 bytes
    Fixed Size                  1250428 bytes
    Variable Size             218106756 bytes
    Database Buffers          385875968 bytes
    Redo Buffers                7135232 bytes
    Database mounted.
    Database opened.
    SQL>Why it is happening? Just in case control02.ctl, control03.ctl are broken, I manually copy the control01.ctl and rename it to control02.ctl and control03.ctl, but still not working.
    when I copy control01 to 02, 03, I did shutdown the database, so there won`t be any inconsistency issue.
    So, what could be the reason? anyone have any idea?
    Thanks

    I already did this and posted you guys the result.
    either way, here, I did it again and remains the same error:
    SQL> connect /as sysdba
    Connected.
    SQL> show parameter control_files
    NAME                                 TYPE        VALUE
    control_files                        string      E:\ORACLE\PRODUCT\10.2.0\ORADA
                                                     TA\ORCL\CONTROL01.CTL
    SQL> alter system set control_files='E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL01.CTL,E:\ORACLE\PRODUCT\10.2.0\ORADAT
    A\ORCL\CONTROL02.CTL,E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL03.CTL' scope=spfile;
    System altered.
    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    ---I copy and rename the control01.ctl to control02.ctl and control03.ctl. and then did the below
    SQL> startup
    ORACLE instance started.
    Total System Global Area  612368384 bytes
    Fixed Size                  1250428 bytes
    Variable Size             230689668 bytes
    Database Buffers          373293056 bytes
    Redo Buffers                7135232 bytes
    ORA-00205: error in identifying control file, check alert log for more info

  • How to multiplex datafiles, controlfiles on different disks?

    Hi, Sir...
    I want my database to have two control files, data files on different disks..
    In XE, after installation, data files, control files as follows (you know)..
    D:\Oracle\XE\oradata\XE\Control.DBF, SYSAUX.DBF, SYSTEM.DBF, TEMP.DBF, UNDO.DBF, USERS.DBF
    How to multiplex datafiles, controlfiles on different disks(such as E:\Oracle\XE\oradata\XE\......)
    Thank you...
    Regards,
    Cusco

    shutdown the database, copy the control files to the new directory, modify the control_files parameter
    startup
    you cannot multiplex datafiles (you would have to do that at the os level with mirroring etc)

  • How can I add a new controlfile in ASM?

    In the ASM,I can't copy any file.How Can I create a new online controlfile? Thanks!

    You can use "alter database backup controlfile to trace" command to get the control file contents.
    Now you can use create controlfile:
    1) If you use resetlogs, use file creation context form for specification of log files.
    2) If you use resetlogs, use file reference context.
    Why do you want to create a new control file. Is it for multiplexing purpose?
    Reference: Chapter-12 of Oracle database administrator guide 10gR2
    search for title "Creating a Control File in ASM" ...
    Hope this will help you.
    Regards,
    Neeraj

Maybe you are looking for