Changing VoteDisk Location in Same Disk Group

Hello All,
Greetings !
Oracle Grid Infrastructure 11.2.0.3
RHEL 6.4
I have installed the grid with single disk group having 3 disk DATA, ARCHIVE and OCR. the current location of votedisk is as:
/dev/oracleasm/disks/ARCHIVE [DATA]
it is possible to change the location to
/dev/oracleasm/disks/OCR [DATA]
Please guide.
Thnks & Bst Rgds,
Kapil Relan

Best practice is to make the OCR location normal redundancy with at least 3 members, that way you get 3 copies of the voting disk. There is a bug in the base release of 11.2.0.3 that can cause node to be ejected form the cluster if you only have one voting disk.
More generally you can control which disk group a file is created on but it will be striped across all the disks.
for example in out environment the CRS disk roup contains 3 disks of 2GB each with normal redundancy then two diskgroups with external redundancy DATA and FRA, genrally these will consist of multiple disks with the size being determined by the current requirements and the expected growth.

Similar Messages

  • Rman duplication of database to the same server and same disk group

    Hi,
    We have multiple databases - rmsprd1 and oidprd1 on asm disk groups - ASMDG_DAT01 and ASMDG_FRA01 on a server.
    Both these databases are single instance asm based databases.
    I am trying to do a rman duplication from rmsprd1 to rmsprd2 in the same server. I intend to use the same asm disk groups - ASMDG_DAT01 and ASMDG_FRA01.
    Is this possible ?
    Currently I have the following structure
    +ASMDG_DAT01/RMSPRD1/DATAFILE
    +ASMDG_DAT01/RMSPRD1/CHANGETRACKING/
    +ASMDG_DAT01/RMSPRD1/CONTROLFILE/
    +ASMDG_DAT01/RMSPRD1/DATAFILE/
    +ASMDG_DAT01/RMSPRD1/ONLINELOG/
    +ASMDG_DAT01/RMSPRD1/PARAMETERFILE/
    +ASMDG_DAT01/RMSPRD1/TEMPFILE/
    +ASMDG_FRA01/RMSPRD1/AUTOBACKUP/
    +ASMDG_FRA01/RMSPRD1/BACKUPSET/
    +ASMDG_FRA01/RMSPRD1/CONTROLFILE/
    +ASMDG_FRA01/RMSPRD1/DATAFILE/
    +ASMDG_FRA01/RMSPRD1/ONLINELOG/
    Will I be able to create something like
    +ASMDG_DAT01/RMSPRD2/DATAFILE
    +ASMDG_DAT01/RMSPRD2/CHANGETRACKING/
    +ASMDG_DAT01/RMSPRD2/CONTROLFILE/
    +ASMDG_DAT01/RMSPRD2/DATAFILE/
    +ASMDG_DAT01/RMSPRD2/ONLINELOG/
    +ASMDG_DAT01/RMSPRD2/PARAMETERFILE/
    +ASMDG_DAT01/RMSPRD2/TEMPFILE/
    +ASMDG_FRA01/RMSPRD2/AUTOBACKUP/
    +ASMDG_FRA01/RMSPRD2/BACKUPSET/
    +ASMDG_FRA01/RMSPRD2/CONTROLFILE/
    +ASMDG_FRA01/RMSPRD2/DATAFILE/
    +ASMDG_FRA01/RMSPRD2/ONLINELOG/
    I know that I can create a different asm disk group for the rman duplication but this is proving to be a hassle.
    Thanks
    Sandeep

    Hi,
    I have found the answer working with Oracle via a service request. Admittedly there was no direct oracle documentation for doing this and hence documenting the steps here.
    No legalities, formalities involved please.
    Here are the steps - rmsprd1 is the source, rmsprd2 is the target, +ASM is the asm instance supporting both rmsprd1 and rmsprd2. The intention is to put both the source and destination in the same server. The backupset backup in location /dbaadm/sandeep_rman_refresh will be used for the duplication.
    1) Take rman backupset backup of the source database - rmsprd1
    rman_take_backup.ksh ( Take backup of source - rmsprd1 using rman ). The contents of the rman_take_backup.sh script are given below :
    rm /dbaadm/sandeep_rman_refresh/*
    export NLS_DATE_FORMAT='YYYY-MM-DD:HH24:MI:SS'
    rman target / <<EOF
    run
    allocate channel d1 device type disk format '/dbaadm/sandeep_rman_refresh/%U';
    allocate channel d2 device type disk format '/dbaadm/sandeep_rman_refresh/%U';
    allocate channel d3 device type disk format '/dbaadm/sandeep_rman_refresh/%U';
    allocate channel d4 device type disk format '/dbaadm/sandeep_rman_refresh/%U';
    allocate channel d5 device type disk format '/dbaadm/sandeep_rman_refresh/%U';
    allocate channel d6 device type disk format '/dbaadm/sandeep_rman_refresh/%U';
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/dbaadm/sandeep_rman_refresh/%F';
    backup as backupset database plus archivelog tag 'clonebackupset';
    EOF
    2) Make the directories for destination database ( rmsprd2 )
    /opt/oracle/admin> mkdir -p rmsprd2/adump rmsprd2/dpdump rmsprd2/pfile rmsprd2/scripts
    3) Create pfile from rmsprd1 spfile. copy/rename the pfile to make a pfile for rmsprd2.
    4) Edit listener.ora in ASM ORACLE_HOME and edit tnsnames.ora in DB ORACLE_HOME
    listener.ora
    LISTENER_RMSPRD2 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
    (ADDRESS = (PROTOCOL = TCP)(HOST = kirkjerpdb01.kirklands.com)(PORT = 1522))
    SID_LIST_LISTENER_RMSPRD2 =
    (SID_LIST =
    (SID_DESC =
    ( ORACLE_HOME = /opt/oracle/product/11.2.0/db_1 )
    ( SID_NAME = rmsprd2 )
    ADR_BASE_LISTENER_RMSPRD2 = /opt/oracle
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_RMSPRD2=ON # Section added by Sandeep
    SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER_RMSPRD2=OFF
    ADMIN_RESTRICTIONS_LISTENER_RMSPRD2=ON
    tnsnames.ora ( http://francispaulraj.wordpress.com/ora-12528-tnslistener-all-appropriate-instances-are-blocking-new-connections/ )
    RMSPRD2 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = kirkjerpdb01.kirklands.com)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = rmsprd2)
    (UR = A)
    5) Build a passwordfile ( I just copied and renamed it )
    6) Edit /etc/oratab to add database entry for rmsprd2
    7) Set the environment for rmsprd2
    . oraenv
    rmsprd2
    8) Startup nomount of rmsprd2
    sqlplus / as sysdba
    startup nomount pfile=/opt/oracle/admin/rmsprd2/pfile/initrmsprd2.ora
    9) Create spfile from pfile='/opt/oracle/admin/rmsprd2/pfile/initrmsprd2.ora';
    10) shutdown and startup rmsprd2 with spfile
    SQL> shutdown abort;
    ORACLE instance shut down.
    SQL> startup nomount;
    ORACLE instance started.
    Total System Global Area 1068937216 bytes
    Fixed Size 2213632 bytes
    Variable Size 788531456 bytes
    Database Buffers 268435456 bytes
    Redo Buffers 9756672 bytes
    11) We are now ready for duplication from rmsprd1 ( source ) to rmsprd2 ( destination ) both using +ASM standalone asm instance. set the environment to rmsprd1and fire away.
    Please note that the duplicate script is only connecting to auxilary database ( rmsprd2 ) and using the backup location for the duplication.
    I used a unix shell script -rman_duplicate_from_backup.ksh. The contents are given below :
    $ORACLE_HOME/bin/rman auxiliary sys/prd123@rmsprd2 log=rman_duplicate_from_backup.log << EOF
    run
    allocate auxiliary channel d1 device type disk;
    allocate auxiliary channel d2 device type disk;
    allocate auxiliary channel d3 device type disk;
    allocate auxiliary channel d4 device type disk;
    allocate auxiliary channel d5 device type disk;
    allocate auxiliary channel d6 device type disk;
    DUPLICATE DATABASE TO rmsprd2
    BACKUP LOCATION '/dbaadm/sandeep_rman_refresh';
    EOF
    12) Voila - the rmsprd1 to rmsprd2 is done.....
    Hope this helps somebody else wanting to do the same excercize. Have Fun.....
    regards
    Sandeep

  • Perfromance impact if mulitple database share the same disk group.

    Hi All,
    I need help in understanding what would be the performance impact if multiple databases share the same ASM disk group.
    Is there any documentation that explains the impact on performance if there is any in doing so.
    Your help is very much appreciated.
    Thanks,
    Ravi.

    I need help in understanding what would be the performance impact if multiple databases share the same ASM disk group.application performance could be impacted; or not depending upon total disk I/O activity

  • I can't stay connected to internet. I've changed my location. Same thing. All my other devices are working fine. How can I get my iMac back online?

    I am unable to connect to the internet.  WiFi, ethernet all working fine. Multiple devices can connect to the internet. Diagnostic on iMac says I'm connected and should be able to access the internet.  This is all beyond me.  I've changed the location, it appeared to set every thing up. Still doen't work. It must be corrupted so how do I clean it up?

    Power Cycle
    Power off the router. Unplug it from the wall. Wait for few  minutes.
    Connect the router back to to the wall.
    Power the router back on. Wait  until all lights are lit properly. It will take a while.
    Restart the computer.
    Start up in Safe Mode.
    http://support.apple.com/kb/HT1455

  • NTFS source moving servers.  Can I change the location in the DB directly?

    It would be nice to manually change the location of a large group of files in the DB directly rather than having to re-crawl the new location from scratch and discard the old location.
    Is this feasible?

    Hi, I'm seeing the same issue. I have searched my address in the google search using the post code. This finds the address as Postcode, Town, England. I then rename the location to my street name or 'Home'. This works fine, but the pushpin is slightly incorrect and needs to be moved, and the radius is huge and spans two other streets so needs to be reduced.
    As soon as I re-size the radius circle or move the pin the location details drop to the name I give the location 'Home' and England. I'd really like to preserve the town data in the details.
    Regards,

  • Can 1 ASM Disk group serve multiple RAC DBs?

    DB version: 11gR2
    Platform : Sun OS 5.10
    Number of Nodes : 2
    We currently have a 2 node RAC DB called PMDB1 running with a Disk group called DG1_DATA of 1 Tera Byte.
    We would like to add another Database in this cluster.
    Can this DB use the same Disk Group (DG1_DATA) which PMDB1 use?

    Hi Haiti
    Can this DB use the same Disk Group (DG1_DATA) which PMDB1 use?Yes. No problem.
    One ASM instance in RAC can be associated with several DBs' instances. Right?Right
    Regards,
    Levi Pereira

  • RE: Creation of two oracle database in Single ASM Disk group

    IS it possible to create two oracle database in Single ASM Disk group. if it is possible how?.
    Giri

    All you have to do is to create a tablespace at the most minimumlevel and your db would become a client of the disk group. Other than that, you can migrate your db tothe disk group and it would be then start using the same disk group shared by another database for its use also.
    HTH
    Aman....

  • I have changed cache location but FF4 continues to use appdata/local/temp for storing actual files

    I use FF 4.0.1
    I changed the location of the disk cache by going to
    about:cache
    and changing browser.disk.cache.parent_directory
    to a new location
    yet FF4 still stores files at the old location

    Thanks! Actually firefox DOES create a folder called Cache and fill it with lots of other folders. The problem is that when it comes to actual files, they land at the original appdata/local folder :(

  • When the archive disk group and RMAN backup location is full

    11.2.0.2 on Solaris 10
    2-Node RAC
    Sometimes I am faced with a situation where the disk group meant for storing archivelogs is full and the Disk based
    RMAN backup location is full as well. What would you do in such a situation ?
    This usually happens with our QA/UAT DBs during apps testing of certain type which causes huge amount of redo is generated.
    We don't directly backup to tape. The disk based backups are moved to tape every two weeks by our SysAdmin.

    Thank you Hemant, Tsharma, Asahideo
    If I have free space left in my local filesystem in any of the nodes in my 2-node RAC, I can run something like
    -- Untested
    BACKUP AS COMPRESSED BACKUPSET ARCHIVELOG ALL DELETE INPUT format '/localNode_pATH/ora_Arch%t_s%s_s%p';and later when the space is freed up in the original RMAN backup location , I can move it there and use CATALOG command to catalog this backup . Right ?

  • I am trying to install FF on a thin client, and need to change the location the installler extracts the temp files to as the disk is not big enough.

    Is there a pre extracted version of the installer or a way of specifiying where the installer extracts itself to?

    If Firefox on Windows is using the current temp folder then you need to change the location of the temp folder via the %TMP% and %TEMP% environment variables.
    *Control Panel > System > Advanced > Environment variables
    *Right-click My Computer > Properties > Advanced > Environment variables

  • Can The ASM Disk Header and Disk Group Be Renamed?

    I have a requirement to mount multiple SAN clones (EMC Symclone) of a production ASM instance on the same development server. RMAN is too slow to be an option, unless I find a white paper explaining any way to make RMAN perform a clone faster than the SAN.
    The default response is normally, "Do your clone to dedicated hardware." However, that answer is not an option for obvious financial reasons, especially since I am working with a RAC environment with ~10 development and test environments.
    The only way to do this (that I can think of) is to rename the disk header and probably the disk group prior to making it available to the ASM instance.
    I have heard that Oracle has come up with an undocumented solution for one or more businesses. I believe it has something to do with the kfed library located in $ORACLE_HOME/rdbms/lib.
    Has anyone out there managed to do this? If so, can you share your solution or point me in the right direction?
    I know I am not the only one out there looking for a solution to this issue...
    Thanks in advance.

    This is absolutely possible. Can be done via kfed. I never found the answer searching the net and had to figure it out. Here it is in hopes that it helps someone else. DISCLAIMER.... If you screw up your disks don't blame me. If you have any questions about this you can email me: [email protected]
    The procedure is basically this:
    - compile kfed
    - dump the disk header with kfed
    - Modify the dump file
    - write the dump back to the disk header.
    ** Changing ANYTHING other than the diskgroup name will render your disks useless.
    Here is a script to do the work for you:
    for file in `ls /dev/vx/rdsk/as1_pccdw/asmdata*`
    do
    echo "Processing DATA disk $file ..."
    search=ASCDW_DATA
    replace=AS1CDW_DATA
    newlength=`echo $replace | wc -m`
    let newlength=$newlength-1
    shortname=`echo $file | cut -f 6 -d /`
    kfed op=read dev=$file | sed -e '24,24s/ '$search' / '$replace' /' -e '24,24s/length=.*/length='$newlength'/' > /tmp/$shortname.kfed
    kfed op=write dev=$file text=/tmp/$shortname.kfed CHKSUM=YES
    done
    for file in `ls /dev/vx/rdsk/as1_pccdw/asmredo*`
    do
    echo "Processing REDO disk $file ..."
    search=ASCDW_REDO
    replace=AS1CDW_REDO
    newlength=`echo $replace | wc -m`
    let newlength=$newlength-1
    shortname=`echo $file | cut -f 6 -d /`
    kfed op=read dev=$file | sed -e '24,24s/ '$search' / '$replace' /' -e '24,24s/length=.*/length='$newlength'/' > /tmp/$shortname.kfed
    kfed op=write dev=$file text=/tmp/$shortname.kfed CHKSUM=YES
    done
    Edited by: user4630111 on Nov 10, 2008 6:03 PM

  • Changing the location of the Flash Recovery Area

    My flash recovery area is currently on the same disk as the database. The recovery area also has all out backups for the past month. What's steps should I take to change location of the flash recovery area? Do I have to do anything besides changing db_recovery_file_dest? Would I have to update the control files, spfile and so on?
    Thanks in advance,

    you can make the change at pfile or spfile level and stop and restart the database. this should work.

  • Changing the location of archive log from flash recovery area PLZ HELP!!!

    Hi All,
    My archive log is being stored in flash memory area which got full and the production server went down.
    alert log file details.....
    ORA-19809: limit exceeded for recovery files
    ORA-19804: cannot reclaim 43432960 bytes disk space from 2147483648 limit
    *** 2010-04-25 14:22:49.777 62692 kcrr.c
    ARCH: Error 19809 Creating archive log file to
    '/oracle/product/10.2.0/flash_rec
    overy_area/EDWREP/archivelog/2010_04_25/o1_mf_1_232_%u_.arc'
    *** 2010-04-25 14:22:49.777 60970 kcrr.c
    kcrrfail: dest:10 err:19809 force:0 blast:1I removed the files and started the database,
    Can someone kindly tell me as to how to avoid this problem in future by keeping archive log destination in flash recovery area.
    I want to change the location of archive log files, can someone please guide me as to hiow to do that
    I changed the size of flash recovery area for the time being, but i am afraid it will be full again!!
    SQL> select * from v$flash_recovery_area_usage;
    FILE_TYPE    PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE NUMBER_OF_FILES
    CONTROLFILE                   0                         0               0
    ONLINELOG                     0                         0               0
    ARCHIVELOG                99.44                         0              57
    BACKUPPIECE                   0                         0               0
    IMAGECOPY                     0                         0               0
    FLASHBACKLOG                  0                         0               0
    6 rows selected.
    SQL> alter system set DB_RECOVERY_FILE_DEST_SIZE = 4G ;
    System altered.
    SQL> select * from v$flash_recovery_area_usage;
    FILE_TYPE    PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE NUMBER_OF_FILES
    CONTROLFILE                   0                         0               0
    ONLINELOG                     0                         0               0
    ARCHIVELOG                49.72                         0              57
    BACKUPPIECE                   0                         0               0
    IMAGECOPY                     0                         0               0
    FLASHBACKLOG                  0                         0               0
    6 rows selected.regards,
    Edited by: user10243788 on Apr 25, 2010 6:12 AM

    user10243788 wrote:
    Hi All,
    My archive log is being stored in flash memory area which got full and the production server went down.
    alert log file details.....
    ORA-19809: limit exceeded for recovery files
    ORA-19804: cannot reclaim 43432960 bytes disk space from 2147483648 limit
    *** 2010-04-25 14:22:49.777 62692 kcrr.c
    ARCH: Error 19809 Creating archive log file to
    '/oracle/product/10.2.0/flash_rec
    overy_area/EDWREP/archivelog/2010_04_25/o1_mf_1_232_%u_.arc'
    *** 2010-04-25 14:22:49.777 60970 kcrr.c
    kcrrfail: dest:10 err:19809 force:0 blast:1I removed the files and started the database,
    Can someone kindly tell me as to how to avoid this problem in future by keeping archive log destination in flash recovery area.
    I want to change the location of archive log files, can someone please guide me as to hiow to do that
    I changed the size of flash recovery area for the time being, but i am afraid it will be full again!!
    SQL> select * from v$flash_recovery_area_usage;
    FILE_TYPE    PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE NUMBER_OF_FILES
    CONTROLFILE                   0                         0               0
    ONLINELOG                     0                         0               0
    ARCHIVELOG                99.44                         0              57
    BACKUPPIECE                   0                         0               0
    IMAGECOPY                     0                         0               0
    FLASHBACKLOG                  0                         0               0
    6 rows selected.
    SQL> alter system set DB_RECOVERY_FILE_DEST_SIZE = 4G ;
    System altered.
    SQL> select * from v$flash_recovery_area_usage;
    FILE_TYPE    PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE NUMBER_OF_FILES
    CONTROLFILE                   0                         0               0
    ONLINELOG                     0                         0               0
    ARCHIVELOG                49.72                         0              57
    BACKUPPIECE                   0                         0               0
    IMAGECOPY                     0                         0               0
    FLASHBACKLOG                  0                         0               0
    6 rows selected.regards,
    Edited by: user10243788 on Apr 25, 2010 6:12 AMPointing the archive log dest (and/or the FRA) to a new location, or enlarging them, will do no good if you are not performing regular housekeeping on the archivelogs. You will just keep knocking down the same problem over and over.
    If you simply delete the archivelogs at the OS level, the database will never know about it and it will continue to think the destination is full, based on records kept in the control file.
    For regular housekeeping, you need to be doing something similar to this in rman:
    run {
      backup archivelog all not backed up 1 times tag='bkup_vlnxora1_arch';
      delete noprompt archivelog all backed up 1 times to device type disk;
    run {
    delete noprompt obsolete;
    crosscheck archivelog all;
    delete noprompt expired archivelog all;

  • Disk Group from normal to external in a RAC environment

    Hello,
    my environment is based on 11.2.0.3.7 RAC SE with two nodes.
    Currently I have 4 DG, all in NORMAL redundancy, to contain respectively:
    ARCH
    REDO
    DATA
    VOTING
    At the moment I focus only with non-VOTING DG.
    Each of them has 2 failure groups that physically maps to disks in 2 different server rooms.
    The storage arrays are EMC VNX (one in each server room).
    They will be substituted by a VPLEX system that will be configured as a single storage entity with DGs in external redundancy.
    I see from document id
    How To Move The Database To Different Diskgroup (Change Diskgroup Redundancy) (Doc ID 438580.1)
    that it is not possbile to do this online apparently.
    Can you confirm?
    I also read the thread in this forum:
    https://community.oracle.com/message/10173887#10173887
    that seems to confirm this too.
    I have some pressure to free the old storage arrays, but in short time I will not be able to stop the RAC RDBMSs I have in place.
    So the question is: can I proceed into two steps so that
    1) add a third failure group composed by the VPLEX disks
    2) wait for data sync of the third failure group
    3) drop one of the two old failure groups (ASM should be let me make this, correct?)
    3) brutally remove all disks of the remaining old storage failure group
    and proceed in reduced redundancy for some time until I can afford the maintenance window
    Inside the ASM administrator guide I see this:
    Normal redundancy disk group - It is best to have enough free space in your disk
    group to tolerate the loss of all disks in one failure group. The amount of free
    space should be equivalent to the size of the largest failure group.
    and also
    Normal redundancy
    Oracle ASM provides two-way mirroring by default, which means that all files are
    mirrored so that there are two copies of every extent. A loss of one Oracle ASM
    disk is tolerated. You can optionally choose three-way or unprotected mirroring.
    spare

    When you are creating external table you must specify location that external table will use to manipulate with external data.
    This is done with LOCATION and/or DEFAULT_DIRECTORY parameter.
    If you want that every instance in your cluster is able to use one specific external table, then you would need to have the location specified in the create external table command visible/accessible to all servers in your cluster, propably by some specific shared os disks/storage configuration; e.g. mounting remote disks, and this could very easy cause slower ext. table performance than it would be when the specified location is on the db server.
    This will be the one and only way because it is impossible to specify remote location, either when creating directory or in any specification parameters when creating external table.

  • Share an ASM disk group among multiple nodes

    According to Oracle documentation:
    *“To share an ASM disk group among multiple nodes, you must install Oracle Cluster ware on all of the nodes, regardless of whether you install Oracle RAC on the nodes”.*
    And if I understand it right to share the same ASM storage group from multiple nodes from separate RACs or multiple non-RAC nodes ASM instances in those nodes need to communicate to synchronize ASM related metadata using same technique like cache fusions.
    My question is how this ASM communication take place among different ASM instances located in different RACs and standalone servers. Do we have to have some kind of Interconnect settings among the nodes?

    Hi,
    ASM and database instances require shared access to the disks in a disk group. ASM instances manage the metadata of the disk group and provide file layout information to the database instances.
    ASM instances can be clustered using Oracle Clusterware; there is one ASM instance for each cluster node. If there are several database instances for different databases on the same node, then the database instances share the same single ASM instance on that node.
    If the ASM instance on a node fails, then all of the database instances on that node also fail. Unlike a file system failure, an ASM instance failure does not require restarting the operating system. In an Oracle RAC environment, the ASM and database instances on the surviving nodes automatically recover from an ASM instance failure on a node.
    see this link
    http://download.oracle.com/docs/cd/B28359_01/server.111/b31107/asmcon.htm :)

Maybe you are looking for