Asm storage doubts

hi all,
In our test env we have two database in a node with only one disk group which stores around 1.5 TB of data files.
* Is that a good practice to store two DB data files in the same disk group.
* If it is in same disk group what happens when we restore a db for cloning.
a. Is that asm scans all the disks to find a free space to store the data during restore.( I do see it takes 15 hours for restoring a 800GB of a single DB data files with 6 channels specified in restore command)
*During mount stage it takes long time to open the database. Is that asm scans the entire diskgroup to match the physical structure of the files with control file.
*During restore or opening up the database there is absolutely no load on the server.
SQL> select GROUP_NUMBER,DISK_NUMBER,TOTAL_MB,FREE_MB,READS,WRITES,READ_TIME,WRITE_TIME from V$ASM_DISK;
GROUP_NUMBER DISK_NUMBER   TOTAL_MB    FREE_MB      READS     WRITES  READ_TIME WRITE_TIME
           2           5     153593       6238   61237253    3255630 1606217.37 317411.015
           2           6     153593       6248   62021450    3113196  1615818.5 300858.424
           2           7     153593       6234   60130864    3145717 1602473.04 309295.707
           2           8     153593       6253   63976632    3504263 1612983.03 325407.467
           2           0     153597       6254   61040136    3484440 1618972.86 287943.441
           2           1     153597       6268   64525211    3182327 1644359.02 295506.291
           2           2     153597       6238   64116126    4290514 1604709.78 372315.757
           2           3     153597       6277   65550559    3145245 1633260.86 289411.098
           2           4     153593       6246   62872224    3744320 1639207.33 313410.323
           2           9     153593       6248   62781328    3077681  1636946.1 295827.542Please advice on the above.
thanks,
baskar.l

*Is that a good practice to store two DB data files in the same disk group.Yes it is. In fact this is recommended by oracle. Oracles recommendation goes towards TWO disk groups: one for ALL database and one used as flash (or fast) recovery area.
* If it is in same disk group what happens when we restore a db for cloning.Your database will be restored there. Space is managed as a bitmap. Of course ASM has to look for free space to store the data.
. Is that asm scans all the disks to find a free space to store the data during restore.( I do see it takes 15 hours for restoring a 800GB of a single DB data files with 6 channels specified in restore command)As mentioned above: Space is managed in a bitmap structure, thus highly compact and fast.
Your restore time will be entirely dominated by getting the data from tape and save it to the disks. "Finding" free space will be less than 1% of that time.
*During mount stage it takes long time to open the database. Is that asm scans the entire diskgroup to match the physical structure of the files with control file.Either you are starting a database which was not shut down in a clean way (e.g. "shutdown abort" used to shutdown the database) or you have a lot of files. Or the storage system is slow or overloaded and so on. But asm does not scan the entire diskgroup in any way.
*During restore or opening up the database there is absolutely no load on the server.What about your storage subsystem? Did you check load there? Are the disks shared between LUNs?
Ronny Egner
My Blog: http://blog.ronnyegner-consulting.de
Edited by: Ronny Egner on Mar 31, 2010 12:12 PM

Similar Messages

  • Restore Database to non-ASM Storage - Issue with Bigfile Tablespace

    I have been testing a restore of my prod database that uses ASM (and oracle managed files) for storage to a different server and non-ASM storage. Oracle version is 10g EE. My database has one bigfile tablespace and it's datafile is about 250GB. The restore fails and it has something to do with the bigfile tablespace.
    Here is the rman restore script:
    run
    set newname for datafile 1 to '/ora01/db/ehr/system01.dbf';
    set newname for datafile 2 to '/ora01/db/ehr/undotbs01.dbf';
    set newname for datafile 3 to '/ora01/db/ehr/sysaux01.dbf';
    set newname for datafile 4 to '/ora01/db/ehr/undotbs02.dbf';
    set newname for datafile 5 to '/ora01/db/ehr/users01.dbf';
    set newname for datafile 6 to '/ora01/db/ehr/apolloaud01.dbf';
    set newname for datafile 7 to '/ora01/db/ehr/apollohist01.dbf';
    set newname for datafile 8 to '/ora01/db/ehr/apolloidx01.dbf';
    set newname for datafile 9 to '/ora01/db/ehr/apollotab01.dbf';
    set newname for datafile 10 to '/ora01/db/ehr/apollotab02.dbf';
    set newname for datafile 11 to '/ora02/db/ehr/apollolob01.dbf';
    set newname for datafile 12 to '/ora01/db/ehr/apollofdb01.dbf';
    set newname for datafile 13 to '/ora01/db/ehr/apolloidx02.dbf';
    set newname for datafile 14 to '/ora01/db/ehr/apolloidx03.dbf';
    set newname for datafile 15 to '/ora01/db/ehr/apolloaud02.dbf';
    set newname for datafile 16 to '/ora01/db/ehr/apollotab03.dbf';
    set until sequence 60298 thread 2;
    restore database;
    switch datafile all;
    recover database;
    Datafile 11 is the datafile in the bigfile tablespace. Here are the weird things about the restore:
    1. The restore output shows this:
    creating datafile fno=11 name=/ora02/db/ehr/apollolob01.dbf
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to /ora01/db/ehr/system01.dbf
    restoring datafile 00002 to /ora01/db/ehr/undotbs01.dbf
    restoring datafile 00003 to /ora01/db/ehr/sysaux01.dbf
    restoring datafile 00004 to /ora01/db/ehr/undotbs02.dbf
    restoring datafile 00005 to /ora01/db/ehr/users01.dbf
    restoring datafile 00006 to /ora01/db/ehr/apolloaud01.dbf
    restoring datafile 00007 to /ora01/db/ehr/apollohist01.dbf
    restoring datafile 00008 to /ora01/db/ehr/apolloidx01.dbf
    restoring datafile 00009 to /ora01/db/ehr/apollotab01.dbf
    restoring datafile 00010 to /ora01/db/ehr/apollotab02.dbf
    restoring datafile 00012 to /ora01/db/ehr/apollofdb01.dbf
    restoring datafile 00013 to /ora01/db/ehr/apolloidx02.dbf
    restoring datafile 00014 to /ora01/db/ehr/apolloidx03.dbf
    restoring datafile 00015 to /ora01/db/ehr/apolloaud02.dbf
    restoring datafile 00016 to /ora01/db/ehr/apollotab03.dbf
    Why at the beginning is it "creating" datafile 11? Then it doesnt even say it is "restoring" that datafile. Only restoring datafiles 1,2,3,4,5,6,7,8,9,10,12,13,14,15, and 16.
    When it creates datafile 11 it is only 26GB, that is much smaller than it should be according to v$datafile view on source prod database. Also even though it says it is creating datafile 11 as /ora02/db/ehr/apollolob01.dbf it actually creates it as an oracle managed file at /ora02/db/ehr/EHR/datafile/o1_mf_apollolo_6crxyqs2_.dbf
    After the datafiles are restored the "switch datafile all" command fails:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of switch command at 10/18/2010 13:58:37
    ORA-19625: error identifying file /ora02/db/ehr/apollolob01.dbf
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    So my question is how do I get this database restored to non-ASM (and non omf)?

    So I tried using a different scn with my "set until scn #####" then the restore created 2 datafiles. The datafile for apollolob and apollotab02.dbf. So I think I have narrowed the problem to be that I am not using the correct scn number so RMAN can successfully restore those datafiles and recreates them instead. How do I find the correct scn to use to do a successful restore of the entire database? I have seen different methods on the web, but cant figure it out. Ive used "select archivelog_change#-1 from v$database;" and I also did "list backup of archivelog all" and used the latest sequence number. How can I find the correct scn to use so the entire database will restore?
    Here is the output of "list backup":
    List of Backup Sets
    ===================
    BS Key Size Device Type Elapsed Time Completion Time
    19724 41.12M DISK 00:00:10 14-OCT-10
    BP Key: 65840 Status: AVAILABLE Compressed: YES Tag: TAG20101014T210022
    Piece Name: /mnt/migrate/rman/EHR_dbid3632734257_set113195_piece1_copy1_20101014
    List of Archived Logs in backup set 19724
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 50439 3230234843 14-OCT-10 3230268282 14-OCT-10
    1 50440 3230268282 14-OCT-10 3230286806 14-OCT-10
    2 60280 3230234852 14-OCT-10 3230251419 14-OCT-10
    2 60281 3230251419 14-OCT-10 3230268263 14-OCT-10
    2 60282 3230268263 14-OCT-10 3230286809 14-OCT-10
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    19725 Full 126.40G DISK 09:11:51 15-OCT-10
    List of Datafiles in backup set 19725
    File LV Type Ckp SCN Ckp Time Name
    1 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/system.625.609259453
    2 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/undotbs1.620.609259461
    3 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/sysaux.768.609259463
    4 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/undotbs2.632.609259467
    5 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/users.257.609259471
    6 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apolloaud.316.619537285
    7 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apollohist.629.619538155
    8 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apolloidx.312.619538169
    9 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apollotab.276.619538487
    10 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apollotab.576.619539331
    11 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apollolob.570.619539593
    12 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apollofdb.750.645974339
    13 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apolloidx.429.651171265
    14 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apolloidx.705.688680793
    15 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apolloaud.747.699632315
    16 Full 3230287009 14-OCT-10 +DATA/ehr/datafile/apollotab.330.715622123
    Backup Set Copy #1 of backup set 19725
    Device Type Elapsed Time Completion Time Compressed Tag
    DISK 09:11:51 20-OCT-10 YES TAG20101014T210039
    List of Backup Pieces for backup set 19725 Copy #1
    BP Key Pc# Status Piece Name
    65851 1 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece1_copy1_20101014
    65862 2 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece2_copy1_20101014
    65873 3 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece3_copy1_20101014
    65884 4 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece4_copy1_20101014
    65895 5 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece5_copy1_20101014
    65901 6 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece6_copy1_20101014
    65902 7 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece7_copy1_20101014
    65903 8 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece8_copy1_20101014
    65904 9 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece9_copy1_20101014
    65841 10 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece10_copy1_20101014
    65842 11 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece11_copy1_20101014
    65843 12 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece12_copy1_20101014
    65844 13 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece13_copy1_20101014
    65845 14 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece14_copy1_20101014
    65846 15 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece15_copy1_20101014
    65847 16 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece16_copy1_20101014
    65848 17 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece17_copy1_20101014
    65849 18 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece18_copy1_20101014
    65850 19 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece19_copy1_20101014
    65852 20 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece20_copy1_20101014
    65853 21 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece21_copy1_20101014
    65854 22 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece22_copy1_20101015
    65855 23 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece23_copy1_20101015
    65856 24 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece24_copy1_20101015
    65857 25 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece25_copy1_20101015
    65858 26 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece26_copy1_20101015
    65859 27 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece27_copy1_20101015
    65860 28 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece28_copy1_20101015
    65861 29 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece29_copy1_20101015
    65863 30 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece30_copy1_20101015
    65864 31 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece31_copy1_20101015
    65865 32 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece32_copy1_20101015
    65866 33 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece33_copy1_20101015
    65867 34 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece34_copy1_20101015
    65868 35 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece35_copy1_20101015
    65869 36 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece36_copy1_20101015
    65870 37 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece37_copy1_20101015
    65871 38 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece38_copy1_20101015
    65872 39 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece39_copy1_20101015
    65874 40 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece40_copy1_20101015
    65875 41 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece41_copy1_20101015
    65876 42 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece42_copy1_20101015
    65877 43 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece43_copy1_20101015
    65878 44 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece44_copy1_20101015
    65879 45 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece45_copy1_20101015
    65880 46 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece46_copy1_20101015
    65881 47 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece47_copy1_20101015
    65882 48 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece48_copy1_20101015
    65883 49 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece49_copy1_20101015
    65885 50 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece50_copy1_20101015
    65886 51 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece51_copy1_20101015
    65887 52 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece52_copy1_20101015
    65888 53 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece53_copy1_20101015
    65889 54 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece54_copy1_20101015
    65890 55 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece55_copy1_20101015
    65891 56 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece56_copy1_20101015
    65892 57 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece57_copy1_20101015
    65893 58 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece58_copy1_20101015
    65894 59 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece59_copy1_20101015
    65896 60 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece60_copy1_20101015
    65897 61 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece61_copy1_20101015
    65898 62 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece62_copy1_20101015
    65899 63 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece63_copy1_20101015
    65900 64 AVAILABLE /mnt/migrate/rman/EHR_dbid3632734257_set113196_piece64_copy1_20101015
    BS Key Size Device Type Elapsed Time Completion Time
    19726 228.10M DISK 00:00:49 15-OCT-10
    BP Key: 65905 Status: AVAILABLE Compressed: YES Tag: TAG20101015T061242
    Piece Name: /mnt/migrate/rman/EHR_dbid3632734257_set113197_piece1_copy1_20101015
    List of Archived Logs in backup set 19726
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 50441 3230286806 14-OCT-10 3230331993 14-OCT-10
    1 50442 3230331993 14-OCT-10 3230401945 14-OCT-10
    1 50443 3230401945 14-OCT-10 3230469794 15-OCT-10
    1 50444 3230469794 15-OCT-10 3230555010 15-OCT-10
    1 50445 3230555010 15-OCT-10 3230618396 15-OCT-10
    1 50446 3230618396 15-OCT-10 3230695020 15-OCT-10
    2 60283 3230286809 14-OCT-10 3230304858 14-OCT-10
    2 60284 3230304858 14-OCT-10 3230330891 14-OCT-10
    2 60285 3230330891 14-OCT-10 3230354275 14-OCT-10
    2 60286 3230354275 14-OCT-10 3230366292 14-OCT-10
    2 60287 3230366292 14-OCT-10 3230399805 14-OCT-10
    2 60288 3230399805 14-OCT-10 3230423577 14-OCT-10
    2 60289 3230423577 14-OCT-10 3230446176 15-OCT-10
    2 60290 3230446176 15-OCT-10 3230469756 15-OCT-10
    2 60291 3230469756 15-OCT-10 3230496786 15-OCT-10
    2 60292 3230496786 15-OCT-10 3230524710 15-OCT-10
    2 60293 3230524710 15-OCT-10 3230554981 15-OCT-10
    2 60294 3230554981 15-OCT-10 3230583802 15-OCT-10
    2 60295 3230583802 15-OCT-10 3230610465 15-OCT-10
    2 60296 3230610465 15-OCT-10 3230617887 15-OCT-10
    2 60297 3230617887 15-OCT-10 3230673207 15-OCT-10
    2 60298 3230673207 15-OCT-10 3230695022 15-OCT-10

  • Migrated the database to ASM storage .

    Hi friends,
    I have migrated the database from 10g(non-asm) to 11g ASM storage on solaris machine. I am facing database slowness after the database upgrade.I don't find any problem in the ADDM/AWR report.
    Could you please suggest me whether anything needs to check?
    Regards
    Rocky

    Can you run ADDM from the dbconsole?
    Also you can run sql tuning advisor.
    However, its worth checking your diskgroups.
    Can you post Mountpoints defined in /etc/vfstab ?

  • DB Using ASM Storage (Spfile)

    Hello,
    I have setup a db to use asm storage. i need to view the contents of the spfile for that db.
    when i go to the $ORACLE_HOME/dbs i get to see the init file which in turn points to an spfile like what is seen below
    SPFILE='+DATA/asmdb/spfileasmdb.ora'
    How can i view the contents of this from a diskgroup. i checked the asmcmd prompt but i dont think they have an option to "cat" or "vi" the file.
    Can anyone show me how can i view this. Thx.

    Hello,
    I used the first approach but it doesnt wk, i get an error
    SQL> create pfile='/u01/asmdb.ora' from spfile;
    create pfile='/u01/asmdb.ora' from spfile
    ERROR at line 1:
    ORA-02236: invalid file name
    i dont use EM, so is there another way out of this. Thx.

  • ORA-39070 Error  when using datapump and writing to ASM storage

    I am able to export data using datapump when i write to a file system. However, when i try to write to an ASM storage, i get the following errors.
    ORA-39002: invalid operation
    ORA-39070: Unable to open the log file.
    ORA-29283: invalid file operation
    ORA-06512: at "SYS.UTL_FILE", line 536
    ORA-29283: invalid file operation
    below are the steps i tooks.
    create or replace directory jp_dir2 as '+DATA/DEV01/exp_dir';
    grant read,write on directory jp_dir2 to jpark;
    expdp username/password schemas=testdirectory=jp_dir2 dumpfile=test.dmp log=test.log
    Edited by: user564785 on Aug 25, 2011 6:49 AM

    google: expdp ASM
    first hit:
    http://asanga-pradeep.blogspot.com/2010/08/expdp-and-impdp-with-asm.html
    "Log files created during expdp cannot be stored inside ASM, for log files a directory object that uses OS file system location must be given. If not following error will be thrown
    ORA-39002: invalid operation
    ORA-39070: Unable to open the log file.
    ORA-29283: invalid file operation
    ORA-06512: at "SYS.UTL_FILE", line 536
    ORA-29283: invalid file operation
    "

  • Oracle 10g RAC using ASM - Storage Issue

    I’ve an issue related to Oracle 10g RAC.
    I’ve 2 node cluster each being Dell 2850 Server with RHEL 4.0
    I’ve EMC CX300 SAN storage with following partitions
    /orasoft     10 Gb          OCFS2 File system
    /oracrs          2 Gb          OCFS2 File system
    /orabackup      100 Gb          OCFS2 File system
    The datafiles are on ASM which is not directly visible in OS.
    I’ve common Oracle Home installed in /orasoft/db_1 which is shared by both nodes in cluster.
    I’ve faced an issue recently related to EMC storage.
    The /orasoft partition displays 1.4 Gb space available using df command.
    With both nodes sharing the common Oracle Home (/orasoft/db_1), when ever I try to touch a file I get an error as No Space left on device. I’m unable to start any service with the same reason.
    Is this setup correct ??
    Can anyone help me with this storage issue ??

    Need a clarification here...what do you mean by "Storage System"...do you mean a server/node or the SAN storage system. If you are referring to a server/node's local storage, then it would NOT be possible for use by RAC, since the disk space has to be shared among the nodes.
    Here is what you can do:
    - Create two partitions/devices (for example Disk_1 and Disk_2) in the SAN storage
    - Create a ASM disk group which would mirror Disk_1 to Disk_2.
    Again, please note that the partitions have to be visible and be accessible read/write from both the nodes/servers.
    HTH
    Thanks
    Chandra Pabba

  • Oracle 10g RAC+ASM - Storage Issue

    I’ve an issue related to Oracle 10g RAC.
    I’ve 2 node cluster each being Dell 2850 Server with RHEL 4.0
    I’ve EMC CX300 SAN storage with following partitions
    /orasoft     10 Gb          OCFS2 File system
    /oracrs          2 Gb          OCFS2 File system
    /orabackup      100 Gb          OCFS2 File system
    The datafiles are on ASM which is not directly visible in OS.
    I’ve common Oracle Home installed in /orasoft/db_1 which is shared by both nodes in cluster.
    I’ve faced an issue recently related to EMC storage.
    The /orasoft partition displays 1.4 Gb space available using df command.
    With both nodes sharing the common Oracle Home (/orasoft/db_1), when ever I try to touch a file I get an error as No Space left on device. I’m unable to start any service with the same reason.
    Is this setup correct ??
    Can anyone help me with this storage issue ??

    Hi,
    If you create a new diskgroup you may be to add the same diskgroup to parameter file or spfile and which will be needing down time.
    sugestion: Instead of creating new diskgroup you should to add disk to existing group.if you add asm disk to existing group your all problem will be solved and Oracle itself will be managing all.And than i am sure no need to add entry in the parameter or spfile like +db_create_file_dest=.....
    regards,
    Sher khan

  • Asm rac doubt

    Hi,
    i was asked to convert the non asm instance to asm instance.
    iam doing the below steps and i have few doubts in that.please clear all my doubts
    i have a server where there is already one rdbms database instance running with name orcl
    so i did the following
    1) first create a asm instance and assign it oracle_sid as +ASM
    here in place of ASM shall i have any other name like CNH or something like that?
    2)secondly i have to migrate the non asm instance orcl to asm enabled ''
    instance
    my doubt here is after migrating the non asm rdbms instance database files to all diskgroups and converting it to asm enabled instance how can i start the asm enabled converted instance
    i)export ORACLE_SID=+ASM and start the instance
    2)secondly export ORACLE_SID=orcl and start the db
    3)lastly start the listener
    is my unserstanding correct?

    aram wrote:
    Hi,
    i was asked to convert the non asm instance to asm instance.
    iam doing the below steps and i have few doubts in that.please clear all my doubts
    i have a server where there is already one rdbms database instance running with name orcl
    so i did the following
    1) first create a asm instance and assign it oracle_sid as +ASM
    here in place of ASM shall i have any other name like CNH or something like that?
    ASM instance name must be +ASM, you will have issue later if you use non-standard name
    >
    2)secondly i have to migrate the non asm instance orcl to asm enabled ''
    instance
    my doubt here is after migrating the non asm rdbms instance database files to all diskgroups and converting it to asm enabled instance how can i start the asm enabled converted instance
    i)export ORACLE_SID=+ASM and start the instance
    2)secondly export ORACLE_SID=orcl and start the db
    3)lastly start the listener
    is my unserstanding correct?
    Once you've migrated the database to asm you have to start the asm first before start the database otherwise the database can't see the datafile because the ASM is not contactable
    Cheers

  • RMAN on ASM RAC doubts

    Hi!
    I have some general questions for RAC 10gR2 (10.2.0.4 PS4) on Linux Ithanium with ASM (with OMF and default template) on raw blocks (not raw devices!).
    1) Is it important that backup/restore of DB is done from master node of the RAC or any node can be involved in this operation?
    2) When you perform "alter system archive log current" in RMAN script, does it switch log file for all instances (in sqlplus it is not like that)? Until now, on one instance (no RAC) I was using "alter system switch logfile" in RMAN with great success... Now I'd like to verify this doubt...
    3) I have read Oracle docs about Flash Recovery Area placed on ASM for backups, archived logs etc. . I?m fully aware of it's setup but I'd like to read something like "best practice" on that subject with some thresholds and examples... Regardless official Oracle is saying that it is more then recommended to use that technology in all incoming releases for this purpose, I'd like to make some experiment before start to use that in PROD environment.
    4) If we use ASM on raw blocks (this is new feature for Red Hat 5.x Linux) how to backup ASM instance itself. Is RMAN capable for that?
    5) How to ensure that in OMF with ASM log files and archived log files as well have SCN number in name?
    6) If anyone has some links, notes (out of official Oracle docs) about this subject...thx in front.
    Regards,
    Damir

    Hi Hermant!
    2) "Since the command specifies the INSTANCE "
    I do not think so.
    In RMAN you connect to database not any particular instance.... So this command should(!?) archive all CURRENT archive logs in all instance. This was my doubt .. still waiting for proof.
    And example of one adhoc full backup script to disk (AFR):
    run{
    # switch archive logs for all threads
    sql "alter system archive log current";
    backup database;
    # switch archive logs for all threads
    sql "alter system archive log current";
    BACKUP ARCHIVELOG FROM TIME "(trunc(sysdate)+(18.3/24))" filesperset 50;
    allocate channel t1 type disk;
    restore database preview;
    RESTORE DATABASE PREVIEW SUMMARY;
    release channel t1;
    }To be more specific: In RMAN if you do not specify exactly instance name, does all commands are meant as global (to all instances)?
    Hope now is clear.

  • IPhone 6 Plus 16gb storage doubts?

    Why is it sold as 16gb of storage if the actual, real storage is then displayed (on both iTunes and the iPhone itself) as only 11.7gb?
    Where is the rest of the supposed storage? Is there a way to understand why it's this way?
    I'm not talking about how much I use, I'm talking about the total hardware storage.
    I bought a 16gb 'cause I've always only used about 12-13gb on my old 4S (64gb), so 64 was a waste of money in the end but now 32 isn't available anymore.
    I thought 16 will be more than enough, even if the real storage is then only about 15 or so.
    Leaving a couple gb out for iOS updates and stuff, should be no problem.
    BUT 11.7! Now I'll have to delete some things and I don't think it's fair to pay for 16 and get 11...
    Anyone have an idea? Is it only my phone in particular?

    The storage is occupied with iOS and system files. To free up some space you may try to reset and restore your device.
    Press and hold the Sleep/Wake button
    Press and hold on the Home button
    Keep holding both buttons until the display turns off and back on with Apple logo on it.
    Alternatively, you may go to Settings - General - Reset - Reset All Settings
    If this does not help, try these steps. Note that this may erase the data from your computer.
    You need to restore your device to factory settings.
    Take a look this Apple Support article: Use iTunes to restore your iPhone, iPad, or iPod to factory settings - Apple Support.
    If this does not help, try the recovery mode. Turn your device off, then plug it to your computer with the home button pressed. You will need to have iTunes installed on this computer. Keep the Home button pressed until you see the iTunes logo on the screen of your iPhone. After that on your computer you should see the iTunes window saying your iPhone needs to be restored to factory settings. Click on the restore button.
    More info about storage on iOS devices:
    See how much storage you've used on your iPhone, iPad, and iPod touch - Apple Support
    How OS X and iOS report storage capacity - Apple Support

  • Database creation fail in ASM Storage

    Hi,
    In Suse Linux, we installed the Grid Infra Standalone Server & Database. After ASM Instance started, in ASM instance v$asm_diskgroup shows the DATA diskgroup was mounted. But from Database Instance when we query the v$asm_diskgroup show "no row selected".
    When i try to create database using DBCA or manualy creation i'm getting following error.
    ORA-01501: Create Database Failed
    ORA-00200: Control file could not be created
    ORA-00202: Control file : '+DATA'
    ora--17502: ksfdcre:4 Failed to create file '+DATA'
    ora--15055: unable to connect to ASM instance
    ora-27140: attach to post/wait facility failed
    ora-27300: OS system dependent operation: invalid_egid failed with status: 1
    ora-27301: OS failure message: Operation not permitted
    with Regards,
    Baalaji V

    Did you install Grid infra as Oracle user or different user?
    In case of different user, does oracle user and grid infra should share same admin group.
    This is what I did on OLE 5.0
    # groupadd -g 1000 oinstall
    # groupadd -g 1100 asmadmin
    # groupadd -g 1200 dba
    # groupadd -g 1201 oper
    # groupadd -g 1300 asmdba
    # groupadd -g 1301 asmoper
    # mkdir –p /u01/apps/grid
    # mkdir -p /u01/apps/oracle
    # useradd -u 1100 -g oinstall -G dba,asmdba,asmoper -d /home/grid grid
    # useradd -u 1001 -g oinstall -G dba,asmadmin,asmdba,asmoper -d /home/oracle oracle
    # chown -R grid:oinstall /u01/apps/grid
    # chmod -R 775 /u01
    # chown oracle:oinstall /u01/apps/oracle
    as GRID user I had installed Grid Infra and created ASM instance and as ORACLE user I had created a database. One more thing listener is running under Grid Infra not under Oracle RDBMS.
    Even after this I did get some permission issue not able to access orainventory etc., but then what was fixed then and there.
    Hope this helps.
    rdgs,
    Kamalesh JK
    jkkstar inc

  • Disable asm instance doubt

    we can enable or disable an ASM instance on a node using using the following syntax..
    can you tell me whether what would be the exact scenario in which we disable the instance.. if we want to remove a node in RAC environment we delete it.. what is the use of disable option. please help guys..
    Use the following syntax to enable an Oracle ASM instance:
    srvctl enable asm [-n node_name]
    Use the following syntax to disable an Oracle ASM instance:
    srvctl disable asm [-n node_name]

    From 10.2 doc http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/srvctladmin.htm#RACAD5026:
    >
    srvctl disable
    Disables a specified object (cluster database, database instance, ASM instance, or service). SRVCTL disable is intended to be used when an object is to be repaired or is down for maintenance to prevent inappropriate automatic restarts. When you issue the disable command, the object is disabled and unavailable to run under Oracle Clusterware for automatic startup, failover, or restart. If you specify -i instance_name, then SRVCTL only disables the service from running on the specified instance.

  • IFS storage doubt......

    Hi,
    I am just going through the iFS documents. admin and config document discuss things like loading the files, starting and stopping the agents and ifssys oracle schema and ifs_ views on the database side. my doubt is , for eg, when u move a word document from the local drive to the iFS folder what exactly is happening?. is the file going to be stored in the designated directory in the unix box/nt shared drive. or the file is parsed and stored in some basic tables with blob/clob objects?. or the database tables with bfile col point to the file sytstem file?.
    Thanks,
    Palani.

    The IFS folder is really a "view" of the Database. When the file is uploaded to the IFS Folder, it will be stored inside the Database.
    Thank You
    Brian

  • Error with dbca -silent ASM storage type

    dbca -silent -createDatabase -templateName General_Purpose.dbc \
    -gdbName $LOWER_SID -sid $LOWER_SID \
    -sysPassword P1casso -systemPassword P1casso \
    -sysmanPassword P1casso -dbsnmpPassword P1casso -asmsnmpPassword P1casso \
    -emConfiguration LOCAL \
    -storageType ASM -diskGroupName DATA_DM01 \
    -totalMemory 1024 -automaticMemoryManagement true \
    -nodeinfo dm01db01,dm01db02 -characterset AL32UTF8 -nationalCharacterSet AL16UTF16 \
    -obfuscatedPasswords false -sampleSchema true \
    -oratabLocation /etc/oratab
    I get the following error
    Creating and starting Oracle instance
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01565: error in identifying file '+DATA_DM01/test2/system01.dbf'
    ORA-17503: ksfdopn:2 Failed to open file +DATA_DM01/test2/system01.dbf
    ORA-15001: diskgroup "DATA_DM01" does not exist or is not mounted
    ORA-15204: database version 11.2.0.0.0 is incompatible with diskgroup DATA_DM01
    Please can I know what the problem or what parameter setting are missed

    user5846399 wrote:
    dbca -silent -createDatabase -templateName General_Purpose.dbc \
    -gdbName $LOWER_SID -sid $LOWER_SID \
    -sysPassword P1casso -systemPassword P1casso \
    -sysmanPassword P1casso -dbsnmpPassword P1casso -asmsnmpPassword P1casso \
    -emConfiguration LOCAL \
    -storageType ASM -diskGroupName DATA_DM01 \
    -totalMemory 1024 -automaticMemoryManagement true \
    -nodeinfo dm01db01,dm01db02 -characterset AL32UTF8 -nationalCharacterSet AL16UTF16 \
    -obfuscatedPasswords false -sampleSchema true \
    -oratabLocation /etc/oratab
    I get the following error
    Creating and starting Oracle instance
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01565: error in identifying file '+DATA_DM01/test2/system01.dbf'
    ORA-17503: ksfdopn:2 Failed to open file +DATA_DM01/test2/system01.dbf
    ORA-15001: diskgroup "DATA_DM01" does not exist or is not mounted
    ORA-15204: database version 11.2.0.0.0 is incompatible with diskgroup DATA_DM01
    Please can I know what the problem or what parameter setting are missedwhat about ur asm instance. Is it started??
    $ export ORACLE_SID=+ASM1
    $ sqlplus / as sysdba
    SQL> select group_number, name, value from v$asm_attribute;
    SQL> select name, COMPATIBILITY, DATABASE_COMPATIBILITY from v$asm_diskgroup;
    if your compatible on diskgroups be "10.1" or "10.2", you can change to 11.2
    SQL> alter diskgroup DATA set attribute 'compatible.asm'='11.2';
    Hope this may help you
    --neeraj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • RMAN configuration (ASM Storage)  10g

    hi
    i am looking for a RMAN script which can
    1. online backup the database to tape for ASM DISKGROUP
    2. How can an incremental backup be taken for nologging objects (DWH)
    3. can we configure 10g BCT for online tape backup (incremental)
    4. how can we refresh the Production ASM database to staging (ASM) like cloning methods
    thanks in advance

    Hi Shakil,
    hi
    i am looking for a RMAN script which can
    1. online backup the database to tape for ASM DISKGROUP
    run {
    allocate channel t1 type 'SBT_TAPE' parms="ENV=(BLKSIZE=1048576)";
    send 'NB_ORA_POLICY=YOUR_POLICY, NB_ORA_SCHED=YOUR_SCHEDULE, NB_ORA_SERV=YOUR_SERVER';
    backup
    incremental level 0
    skip inaccessible
    tag online_backup_level0
    filesperset 20
    format 'full_online_%d_s%s_p%p_t%t' (database)
    plus archivelog tag archived_logs
    format 'arch_dia_%d_s%s_p%p_t%t'
    include current controlfile tag control_file
    format 'ct_file_%d_s%s_p%p_t%t';
    release channel t1;
    resync catalog;
    EOF
    2. How can an incremental backup be taken for nologging objects (DWH)
    Incremental Backup Algorithm
    Each data block in a datafile contains a system change number (SCN), which is the SCN at which the most recent change was made to the block. During an incremental backup, RMAN reads the SCN of each data block in the input file and compares it to the checkpoint SCN of the parent incremental backup. (If block change tracking is enabled, RMAN does not read the portions of the file known to have not changed since the parent incremental backup.) If the SCN in the input data block is greater than or equal to the checkpoint SCN of the parent, then RMAN copies the block.
    One consequence of this mechanism is that RMAN applies all blocks containing changed data during recovery—even if the change is to an object created with the NOLOGGING option. Hence, making incremental backups is a safeguard against the loss of changes made by NOLOGGING operations.
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmconc1.htm#i1011469
    3. can we configure 10g BCT for online tape backup (incremental)
    Yes you can.
    4. how can we refresh the Production ASM database to staging (ASM) like cloning methods
    Yes you can.
    thanks in advance
    Regards,
    Rodrigo Mufalani

Maybe you are looking for

  • Can't fax using HP7510 due to error message "not connected to network".

    I am having trouble with efax.  It has worked in the past with no issues.  Now I get a message that the printer is not connected to the nework even though it is.  I can print wirelessly. The issue is with faxing.   I have tried all suggestions I have

  • Printing on an established network with a linksys print server and an HP

    I am really tired of this. After 4 months of searching through discussions, I still cannot get my new Mac Pro to print to my HP printer on a linksys print server. Nothing I've tried through the discussions works. Every other PC in the network can do

  • Generating SOAP Envelope when DO NOT USE ENVELOPE option is marked

    My scenario: SPROXY => XI => 3rdParty WebService. Communication is synchronous. I've a problem with soap envelope. It is required by webservice, but when I use standard soap envelope generated by SAP I've a problem with receiving response from webser

  • Input/Output And Method Not Found Problem

    Ok so firstly I think I should apologise on two fronts. Firstly, 'cause this is probably posted in the wrong board but I'm not sure this was suitable for the Swing board just 'cause I've been using Swing? And secondly 'cause the code I'm gonna post i

  • Mac Mail - Compose, Reply, Forward not working

    Hi there Running MacOS 10.7.2 - since this morning my Mac Mail will not allow me to Compose new mail (I click on the button but nothing happens), ditto for Reply or Forward. I checked console and this is what I get every time I try to do any of the a