Adding an addiotnal controlfile to an OMF/ASM configuration

I ran into a database that is using ASM Diskgroups with OMF. Originally, they only had one location for OMF Redo Logs and control files: DB_CREATE_ONLINE_LOGFILE_DEST_1 (this was the only one set) and it was set to the dskgroup '+FRA'
no problem.
I added a second parameters, DB_CREATE_ONLINE_LOGFILE_DEST_2 ='+SYSTEM' so that they would have multiplxed redo logs in both locations. This worked out create when i added the new log files.
However, there is only 1 controlfile on the system, located in the DB_CREATE_ONLINE_LOGFILE_DEST_1. Is there a simple way to tell the database to create a copy of the current controlfile into DB_CREATE_ONLINE_LOGFILE_DEST_2?
With regular , non OMF systems, we would just copy the current fle to the new location and edit the init.ora params (and/or spfile). OMF does not permit this type of copy operation.
Any thoughts?

Yes, It should work logically, I dont have any way to test it.
Recently, we moved whole database from local file system to SAN. At that time, First steps were as follow.
Take a backup of control file to trace before you follow as below.
a.     Following commands are needed so that RMAN knows by default where to write its backups and where to create new online log and data file.
alter system set db_create_file_dest='+ASM','+SYSTEM' scope=spfile;
NOTE: If not using spfile than change this parameter into pfile manually.
----- NOW TAKE A BACKUP OF YOUR EXISTING CONTROL FILE USING RMAN COMMAND ----
**** Follwoing steps only required if you want to move control file *****
Following command reset the CONTROL_FILE location to null. Once CONTROL_FILES is reset the DB_CREATE_FILE_DEST parameter becomes the location where new control files are created.
alter system reset control_files scope=spfile sid='*';
NOTE: If not using spfile than change this parameter into pfile manually.
b.     Shutdown database cleanly.
Shutdown Immediate;
startup nomount;
NOTE: if not using spfile than, STARTUP NOMOUNT PFILE='pfile location'
2.     Connect to RMAN, backup and switch database
rman target /
a.     restore controlfile from old location.Following command causes RMAN to copy the specified source controlfile into both of your disk group disk group. This will copy a control file into DB_CREATE_FILE_DEST location specified in spfile/pfile.
     restore controlfile from 'old_location';
b.     Mount database
     ALTER DATABASE MOUNT;
c. Open database
     sql 'alter database open';
I hope this would help you
Thanks
~Keyur
Message was edited by:
Keyur Patel

Similar Messages

  • Manual of adding the new node on RAC with ASM

    Hello everbody
    Someone have the manual of the adding a new node on RAC with ASM for Solaris ?
    regards
    Spaulonci

    Go to http://www.oracle.com/technology/documentation/index.html, select your unknown database version and search for a manual named 'Oracle Clusterware and Oracle Real Application Clusters Administration and Deployment Guide'.
    Werner

  • Move controlfile in RAC with ASM

    Hi,
    I am trying to move a controlfile between diskgroups in ASM. I am using the cp command. But it keeps creating an alias. Is there a way to copy the file without creating an alias?

    Answer is Oracle version dependent but you decided we did not need to know yours, so you can continue to enjoy your mystery.
    ALWAYS
    Post Operating System (OS) name & version for DB server system.
    Post results of
    SELECT * from v$version

  • ASM Configuration

    Hi Everybody,
    My question is:
    Is it possible to configure ASM using shared file system on RAC other than configuring raw devices . If it so how to do it?
    Environment:
    OS: Sun SPARC Solaris 10
    SUN Servers:V490
    Number of Nodes: 2
    Storage Server:3150
    Switches:SAN
    RDBMS: Oracle 10.2.0 RAC
    Clusterware: Configuring Raw Devices for OCR and Voting Disk.
    How to configure ASM on Shared Storage for database files as we are not using Third party clusters?
    What are the possible storage options for ASM as per my requirement?
    I seen in document it is very dfficult to manage and administure ASM configured using RAW Devices?
    in both the cases kindly provide me steps how to do it by using DBCA.
    Is it necessary to use recovery area on ASM?
    Waiting for your favourable reply from RAC experts.

    Hi,
    Steve Karam has some great notes on this:
    One thing to remember is that ASM is not RAID. Oracle portrays ASM as a Volume Manager, filesystem, miracle, whatever you would like to call it, but in reality it is no more than extent management and load balancing; it scatters extents across your LUNs (1MB stripe size for datafiles/archivelogs, 128k stripe size for redo/controlfiles). It also provides extent-based mirroring for extra redundancy.
    This benefits us in a couple ways. First, remember that your OS, HBA, or other parts of the host driver stack may have limits per LUN on I/O. Distributing your extents across multiple LUNs with ASM will provide better I/O concurrency by load balancing across them, eliminating this bottleneck.
    Second, carving into multiple LUNs allows multiple ASM volumes. Multiple volumes help us if our hardware has any LUN-based migration utilities for snapshots or cloning.
    Third, you may end up with multiple LUNs if you need to add capacity. ASM allows us to resize a diskgroup on-the-fly AND rebalance our extents evenly at the same time when we add a new LUN. Even if you only start with a single LUN, you may end up with more in the long run.
    Fourth, because an ASM diskgroup is not true RAID, you are able to use it to stripe across volumes. This means that in a SAN with 3 trays, you can carve a LUN from each tray and use it to form a single ASM diskgroup. This further distributes your storage and reduces throughput bottlenecks.
    I have not seen any tried and true formula for the number of LUNs per ASM diskgroup, but you can calculate it based on your throughput per capacity. Make sure the LUNs provide maximum and equivalent I/O operations per second per gigabyte.
    http://www.dba-oracle.com/t_disk_lun_san_nas_performance_bottleneck.htm

  • How to reuse the same disk (partition) for next ASM configuration?

    Hello All,
    I had successfully installed and configured ASM instance once, but I need to do a reinstallation and I would like to use the same disk (partition) as with previous ASM configuration.
    The disk path used was: /dev/rdsk/c1t3d0s7
    I have to regretfully admit that I may not have used the right ASM un-installation procedure. I ran installer and opted to de-install products. Consequently, I had removed ASM home. Now, when I running new ASM installation, everything goes fine until the screen where I should select disks for ASM configuration. Unfortunately, I see the /dev/rdsk/c1t3d0s7 with status > MEMBER < and I can't select it for the new ASM installation.
    I will really appreciate if anyone can let me know how to change status from MEMBER to CANDIDATE.
    Thank you for your time.
    DanielD

    Overwrite the first several MB of the partition with /dev/zero.
    So, use this command:
    # dd if=/dev/zero of=/dev/rdsk/c1t3d0s7 bs=1024k count=10
    That clears out the ASM header on the disk so that it looks like a clean disk again.
    -- John

  • Database is not created on ASM configured Disks

    hi,
    I have installed Oracle 11gR2 Grid Infrastructure and Automatic Storage Management for a Standalone Server through "Grid" user. After then I install Oracle Database 11gR1 Software through "Oracle" User. There is no problem occure during the installation of these software. The OS is OEL-5.4. AND
    ASM configured Disks are "DISK1, DISK2 AND DISK3" and the Group Name is "+DATA".
    The Problem is when i want to create Database and chose ASM configured disk for Database storage, at the database creation process on 27% an error occur that is "ORA-03114 Not connected to Oracle". Sir but when i chose File System for Database Storage, Database created successfully.
    Sir i am new in Oracle Grid Infrastructure and ASM please help me.

    Hi buddy,
    Are there errors in the alert.log of RDBMS istance, and what about traces ? Have it been generated ?
    Regards,
    Cerreia

  • Oracle database 10g RAc an ASM configuration

    Hi all,
    I want to ask to everybody something about Oracle 10g RAC and ASm configuration. We plan to migrate to Oracle 10g from 9i, and we will begin configuring oracle but we have to decide which configuration are the best.
    Our materials are bellow:
    Hardware: RP 3440 (HP)
    OS : HPUX 11i Ver 1
    Storage: EVA 4000 (eva disk group)
    The problem is:
    Our supplier recommand us to use HP serviguard + HP serviceguard extension for RAC+ RAc and Raw device as configuration.
    But we want to use Oracekl Clusterware + RAC + ASM
    My question is if anybody know what is the best configuration, we want to use ASm.
    Can we use HP serviguard and ASM.
    Some documentations or link explain oracle RAC and ASM configuration will be appreciate.
    Thanks for your help.
    Regards.
    raitsarevo

    Hello,
    there's no extra RAC software package, but the option is only offered, if one of the supported cluster layers for the respective OS has been installed before.
    10.1.0.3 looks like a complete redesign, but anyway it is a patch, you have to install 10.1.0.2 first.

  • Cloning the asm configured database

    Hi all DBA Guys, Have a Nice Day For all
    How to cloning the asm configured database?
    Regards
    S.Azar

    Hi,
    How to cloning the asm configured database?
    The same way which you going to use for without ASM instance.
    Nice day to you too. :)

  • Oracle database 10g RAC and ASM configuration

    Hi all,
    I want to ask to everybody something about Oracle 10g RAC and ASm configuration. We plan to migrate to Oracle 10g from 9i, and we will begin configuring oracle but we have to decide which configuration are the best.
    Our materials are bellow:
    Hardware: RP 3440 (HP)
    OS : HPUX 11i Ver 1
    Storage: EVA 4000 (eva disk group)
    The problem is:
    Our supplier recommand us to use HP serviguard + HP serviceguard extension for RAC+ RAc and Raw device as configuration.
    But we want to use Oracekl Clusterware + RAC + ASM
    My question is if anybody know what is the best configuration, we want to use ASm.
    Can we use HP serviguard and ASM.
    Some documentations or link explain oracle RAC and ASM configuration will be appreciate.
    Thanks for your help.
    Regards.
    raitsarevo

    Hello,
    there's no extra RAC software package, but the option is only offered, if one of the supported cluster layers for the respective OS has been installed before.
    10.1.0.3 looks like a complete redesign, but anyway it is a patch, you have to install 10.1.0.2 first.

  • ASM Configurations

    Hi,
    I am new to configuring ASM,
    Can you tell me how to start from scratch like what kind of disks required. which raid level should be configured, which one is the task of sysadmin and which tasks will be performed by dba?
    My operating system is solaris 9 x86 and database would be 10gR2.
    We are going to deploy data warehouse environment.
    alomost 100gb RAM is available (expectedly from 80gb to100gb ram).
    please help me understanding the ASM configuration and disks knowledge along with RAID levels.
    Note: we have 600GB hard disk (6 disks 100gb each).
    Thanks all........
    Message was edited by:
    Fkhalid

    Have a lok at ASM Best Practice Documents
    www.oracle.com/technology/products/database/asm
    www.oracle.com/technology/products/database/asm/pdf/asm_10gr2_bptwp_sept05.pdf
    www.oracle.com/technology/products/database/asm/pdf/asm_bestpractices_9_7.pdf

  • Silent install- ASM Configuration Assistant fails

    I am trying to do a silent install with response file. At the end of the install it says I need to run configToolAllCommands which I do but the ASM Configuration assistant fails. I assume I need to pass in asmsnmp password but how do I do that? I see I can specify ResponseFile=<fn> when I run configToolAllCommands but how do I set the asm passwords in a response file? I tried just creating a response file that included asmsnmpPassword=mypassword and sysAsmPassword=mypassword but it didn't like that. Anyone know how to pass in the password? I think it will set up the asmsnmp user in this configuration assistant? because that is one of my problems after the install completes I don't have that user set up. I need all of this to be automated.
    thanks for any ideas.

    well I did not find any documentation on how to create a resposne file for the ConfigToolAllCommands- all I found using the -help option was that I could include a ResponseFile=<fn> parameter. so all I did was put 2 llines in the file sysAsmPassword=mypassword and asmsnmpPassword=pAssword. And that doesn't work...

  • Want to move datafiles, controlfiles, redolog on new ASM Disks (11gR2 RAC)

    Hi Guys,
    Setup: Two Node 11gR2 (11.2.0.1) RAC on RHEL 5.4
    Existing disks are from Old SAN & New Disks are from New SAN.
    Can I move all datafiles (+DATA), controlfiles (+CTRL), redolog (+REDO) on new ASM Disks by adding disks in is same Diskgroup & dropping older disks from existing Diskgroup taking advantage of ASM Re-balancing Feature.
    1) add required disks in the DATA Diskgroups,
    ALTER DISKGROUP DATA ADD DISK
    '/dev/oracleasm/disks/NEWDATA3' NAME NEWDATA_0003,
    '/dev/oracleasm/disks/NEWDATA4' NAME NEWDATA_0004,
    '/dev/oracleasm/disks/NEWDATA5' NAME NEWDATA_0005
    REBALANCE POWER 11;
    Check rebalance status from v$ASM_OPERATION.
    2) When rebalance completes, drop the old disks.
    ALTER DISKGROUP DATA DROP DISK
    NEWDATA_0000,
    NEWDATA_0001
    REBALANCE POWER 11;
    Check rebalance status from v$ASM_OPERATION.
    3) Do it same for Redo log groups & Controlfile Diskgroups.
    I hope, I could do this Activity, even if database is Up. is there possibility of Database block Corruption ??? (or is it necessary to perform above steps when database is down)
    Would be appreciated, your quick responses on the same.
    It's an urgent requirement. Thanks.
    Regards,
    Manish

    Manish Nashikkar wrote:
    Hi Guys,
    Setup: Two Node 11gR2 (11.2.0.1) RAC on RHEL 5.4
    Existing disks are from Old SAN & New Disks are from New SAN.
    Can I move all datafiles (+DATA), controlfiles (+CTRL), redolog (+REDO) on new ASM Disks by adding disks in is same Diskgroup & dropping older disks from existing Diskgroup taking advantage of ASM Re-balancing Feature.
    1) add required disks in the DATA Diskgroups,
    ALTER DISKGROUP DATA ADD DISK
    '/dev/oracleasm/disks/NEWDATA3' NAME NEWDATA_0003,
    '/dev/oracleasm/disks/NEWDATA4' NAME NEWDATA_0004,
    '/dev/oracleasm/disks/NEWDATA5' NAME NEWDATA_0005
    REBALANCE POWER 11;
    Check rebalance status from v$ASM_OPERATION.
    2) When rebalance completes, drop the old disks.
    ALTER DISKGROUP DATA DROP DISK
    NEWDATA_0000,
    NEWDATA_0001
    REBALANCE POWER 11;
    Check rebalance status from v$ASM_OPERATION.
    3) Do it same for Redo log groups & Controlfile Diskgroups.
    I hope, I could do this Activity, even if database is Up. is there possibility of Database block Corruption ??? (or is it necessary to perform above steps when database is down)
    Would be appreciated, your quick responses on the same.
    It's an urgent requirement. Thanks.
    Regards,
    Manish
    Hi Manish,
    Yes you can do that by adding new disk to existing diskgroup and delete old diskgroup. The good thing is this can be done online however you need to make sure the rebalance power is meet your business time, higher rebalance power is faster to rebalance to complete however it also will consume more resources
    Cheers

  • Adding disk to existing disk group in ASM  on the windows 2003 server.

    Guys,
    Can someone please share some opinions of adding an extra disk to an existing disk group ( DG_FRA ) in ASM on a windows 2003 server ( like any issues when bringing db backup ). This is a production database and I want to be careful , so that I don't have any issues with the database. Existing DG_FRA is 550GB ( size of the image copy is 325GB ),recently we have been running heavy loads and this is filling up the archive logs and forcing us to take incremental backups couple of times before deleting the archive logs. As a result of this we decided to add an extra 200GB so that we don't have to do this backups frequently during the day. Storage is on EMC SAN and the database is in 11G.
    Thanks for all your help.

    There will not be any issues..
    stamp the disk and then add the disk.
    You can also follow this approach -
    stamp the disk.
    create a new group and then add a datafile in this new group for the existing tablespace.

  • ASM configuration on AIX

    Hi all,
    I'm trying to find a best practice, or set of recommendations on installation/using 11g ASM on AIX 5.3L and thought I'd seek some feedback as I've been unable to get such information via searching. The SysAdmin team has the following concerns to which I'd greatly appreciate your experience and guideances:
    1. LVM - They would like to use LVM per normal, though the recommendation is against this due to performance and unnecessary overlap (another layer). Any experiences, or guidance on this implementation?
    2. PVID - They understand that ASM will overwrite the disks and as such an initial tagging with PVID will get overwritten. Is there anyway they can use a PVID or some other method to tag the disks regardless? They are seeking to maintain current SANCopy (EMC Clariion/Symmetrix) practices and tags make it a lot easier for them it seems.
    3. Block vs. raw devices - Our recommendation was to use raw devices (faster), so I'm really looking for an explanation/confirmation of what they've presented below:
    brw-rw---- 1 oracle dba 41, 1 Mar 27 14:26 /dev/asm_sandyxi_0
    brw-rw---- 1 oracle dba 42, 1 Mar 27 14:25 /dev/asm_sandyxi_1
    brw-rw---- 1 oracle dba 43, 1 Mar 27 14:29 /dev/asm_sandyxi_2
    brw-rw---- 1 oracle dba 44, 1 Mar 27 14:30 /dev/asm_sandyxi_3
    crw-rw---- 1 oracle dba 41, 1 Mar 30 12:06 /dev/rasm_sandyxi_0
    crw-rw---- 1 oracle dba 42, 1 Mar 30 12:05 /dev/rasm_sandyxi_1
    crw-rw---- 1 oracle dba 43, 1 Mar 30 12:06 /dev/rasm_sandyxi_2
    crw-rw---- 1 oracle dba 44, 1 Mar 30 11:41 /dev/rasm_sandyxi_3
    The /dev/rasm* are what ASM is detecting being available for use, so my assumption is that this is normal/expected behavior as the SysAdmins have created raw devices on top of the block devices. Is this accurate?
    4. Documents - I've tried searching but can't locate ASM (11g) on AIX (5.3L) best practice documents. Is ASM used/recommended on AIX really? My searching thus far has not shown a lot of deployments which would seem to indicate it is not a favored platform.
    Any help is really appreciated.

    1) as far as I know, there is no restriction to use LV with ASM ; moreover this is the only way if you use HACMP.
    2) PVID :
    If a PVID assigned disk is added into an ASM diskgroup, ASM will overwrite the PVID with its ASM disk header => on next reboot, the OS, in coordination with the ODM database, will restore the PVID onto the disk, thus destroying the ASM disk and potentially resulting in data loss.
    3) Yes. This is the way it must be.

  • Oracle ASM Configuration on Solaris Cluster - Oracle 11.2.0.3

    Hi,
    I want some clarifications!
    I need to set Active and Passive Cluster settup on Solaris 10 SPARC Operating System, the HA software is Solaris Cluster and Oracle 11.2.0.3.
    1) I understand "Single instance Oracle ASM is not supported with Oracle 11g release 2" so we need to go for Clustered ASM - is it required to use RAC framework in this case?
    2) When i use the RAC framework, do i need to have license for RAC?
    Am new to Oracle, any help is appreciated.
    Regards,
    Shashank

    Hi,
    I want some clarifications!
    I need to set Active and Passive Cluster settup on Solaris 10 SPARC Operating System, the HA software is Solaris Cluster and Oracle 11.2.0.3.
    1) I understand "Single instance Oracle ASM is not supported with Oracle 11g release 2" so we need to go for Clustered ASM - is it required to use RAC framework in this case?
    2) When i use the RAC framework, do i need to have license for RAC?
    Am new to Oracle, any help is appreciated.
    Regards,
    Shashank

Maybe you are looking for

  • Checkbox in repeater, but default all to checked

    Hi, I've been over old messages trying to figure this out, but haven't found out how to do this 'so simple' thing. I have checkboxes in a repeater that are dynamically created from a pulldown menu of options. The checkboxes are created when I click a

  • [solved] Help me removing some daemon leftovers

    Since i removed a daemon (ioniced) from my system, i get the following error on shutdown: /etc/rc.shutdown: line 40: /etc/rc.d/ioniced: no such file or directory I already tried to delete /var/run/daemons/ioniced and it works for the next shutdown, b

  • Insert statement taking time on oracle 10g

    Hi, My procedure taking time in following statement while database upgrading from oracle 9i to oracle 10g. I m using oracle version 10.2.0.4.0. cust_item is matiralize view in procedure and it is refreshing in the procedure Index is dropping before i

  • IPhone 6: Is partial frying possible?

    Today I poured a cup of tea on my brand new iPhone. Luckily my silicon case partly protected my phone from sucking too much liquid. Still entire front surface was all under liquid. I have immediately switched off the phone. I wiped and drained out th

  • CC typekit errors - Photoshop/Illustrator

    I get these notifications the top one is Photoshop, where I don't have only 1 option to choose from... the other Illustrator where it says I should login, but I am login, and Fonts are activated in my cloud manager