To ASM or not to ASM

Hello,
Our company is planning to migrate from Oracle 9.2 to 10.2 and we will be moving from Solaris OS to RH Linux. We also want to go from single-instance to RAC. Of the 3 storage solutions ASM, OCFS, or NFS, which is most recommended????
Thanks for any feedback.

We recently migrated our server from OCFS2 to ASM, though ASM adds an overhead but in long term is a better storage management tool. ASM provides better I/O is by evenly distributing the data across disk groups, with ASM in addition handling disk mirroring and the creation of mirror groups and failure groups is easier. But you can also use NFS/OCFS2 in conjuction to ASM. OCFS2/NFS for oracle software and RAC software, ASM for datafiles and archivelogs. Though you will lose visibility from UNIX prespective and no more cd to directory and accidently running rm, ( you can do that in asm but not obvious have to login using asmcmd).
Here is useful link for several whitepaper on ASM by oracle (you might already know this but anyway)
http://www.oracle.com/technology/products/database/asm/index.html

Similar Messages

  • ASM or not?

    Hi all!
    I know that ASM is a mature product, features rich and much appreciated by DBAs.
    I understand that for best throughput, one would be better to use ASM...
    (I also understant that raw device mapping is the best configuration for performance - BUT I definitely would not recommend using RDM for the management complexity it adds..).
    It does NOT seems simple to implement ASM here because of responsabilities (sysadmins vs dba).
    So my question are (not RAC related):
    1- Does anybody actually measured the difference in performance (between using ASM and NOT using ASM, i.e. using O/S filesystem)?
    2- I know it is adviced as a best practices (for best throughput) to separate online redo logs and data files - but is realy that bad NOT to do it?
    Otherwise said, how detrimental is it to merge logs with datafiles.
    Any thoughts/references are welcome...
    Jocelyn

    Hi ,
    ASM has few more additional feature which make it better than rest and available in 12C,
    + Priority rebalance --->> Now ASM will do rebalance depending on file type ,rather file number
    + Failgroup_repair_time -->> Similar to disk_repair_time ,it is failgroup
    + In true sense,disk online replace without impacting normal operation -->> Disk get replace on same slot of that diskgroup ,not on n+1th slot
    + Even read     -->> Read will happen from any allocation
    + backing up additional blocks at ASM level. -->> backing up more asm metadata blocks of each disk which is in use in ASM within that disk.
    + scrubbing --->> Automatically detects logical corruption and try to fix it depending of few things at ASM level.
    Even with same characteristics disks ,under different disk controller ,with stripping will have better performance comparing filesystem.
    though ,it is not an apple to apple comparison.
    With  Priority rebalance ,your online redo logfile will be rebalance earlier that datafiles and availability will be faster .
    --- These make ASM a better choice ..
    Regards,
    Aritra

  • DBCA can not use ASM for database storage due to following reason: Could no

    Hi
    I've a recently installed RAC11gR2(11.2.0.3) on HP-UX
    I installed Grid Infrastructure with grid user:
    Node1: # id grid
    uid=1100(grid) gid=1000(oinstall) groups=1031(dba),1021(asmdba)
    Node2: # id grid
    uid=1100(grid) gid=1000(oinstall) groups=1031(dba),1021(asmdba)
    I installed the Oracle Server with oracle user:
    Node1: # id oracle
    uid=1101(oracle) gid=1000(oinstall) groups=1031(dba),1021(asmdba),1033(oper)
    Node2: # id oracle
    uid=1101(oracle) gid=1000(oinstall) groups=1031(dba),1021(asmdba),1033(oper)
    All related Grid Infrastructure is functioning well in both nodes:
    $ crs_stat -t
    Name Type Target State Host
    ora.DATA.dg ora....up.type ONLINE ONLINE node03
    ora.FRA.dg ora....up.type ONLINE ONLINE node03
    ora....ER.lsnr ora....er.type ONLINE ONLINE node03
    ora....N1.lsnr ora....er.type ONLINE ONLINE node04
    ora.asm ora.asm.type ONLINE ONLINE node03
    ora.cvu ora.cvu.type ONLINE ONLINE node04
    ora.gsd ora.gsd.type OFFLINE OFFLINE
    ora....network ora....rk.type ONLINE ONLINE node03
    ora.oc4j ora.oc4j.type OFFLINE OFFLINE
    ora.ons ora.ons.type ONLINE ONLINE node03
    ora.scan1.vip ora....ip.type ONLINE ONLINE node04
    ora....SM1.asm application ONLINE ONLINE node03
    ora....03.lsnr application ONLINE ONLINE node03
    ora....d03.gsd application OFFLINE OFFLINE
    ora....d03.ons application ONLINE ONLINE node03
    ora....d03.vip ora....t1.type ONLINE ONLINE node03
    ora....SM2.asm application ONLINE ONLINE node04
    ora....04.lsnr application ONLINE ONLINE node04
    ora....d04.gsd application OFFLINE OFFLINE
    ora....d04.ons application ONLINE ONLINE node04
    ora....d04.vip ora....t1.type ONLINE ONLINE node04
    $
    The ASM instance are running well in both nodes
    Connected with oracle user, the listener has registered perfectly the ASM instance in each node:
    $
    $ lsnrctl status
    LSNRCTL for HPUX: Version 11.2.0.3.0 - Production on 16-MAY-2012 15:41:06
    Copyright (c) 1991, 2011, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for HPUX: Version 11.2.0.3.0 - Production
    Start Date 16-MAY-2012 15:24:19
    Uptime 0 days 0 hr. 16 min. 47 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
    Listener Log File /u01/app/grid/diag/tnslsnr/node03/listener/alert/log .xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=16.0.0.133)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=16.0.0.136)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM1", status READY, has 1 handler(s) for this service...
    The command completed successfully
    $
    $
    DATA & FRA disk group are created:
    $
    $ echo $ORACLE_SID
    +ASM1
    $
    $ asmcmd
    ASMCMD>
    ASMCMD> ls -lt
    State Type Rebal Name
    MOUNTED EXTERN N DATA/
    MOUNTED EXTERN N FRA/
    ASMCMD>
    ASMCMD>
    The big issue is... that the DBCA can not see the diskgroups. When I choose ASM Storage it can not see them. It shows the chart in blank and if i try to write the disk group, so the following message appears: can not use ASM for database storage due to following reason: Could not connect to ASM due to following error: ORA-01034 ORACLE not available
    What can be passing in this case... ?
    Thanks in advance

    Thanks both
    Really the problem initially was because of this:
    [INS-06006] Passwordless SSH connectivity not set up between the following node(s): [node1, node2]. CVU may reports "PRVF-4007 : User equivalence check failed for user "user"" for same error
    and I had to install node1 first and after node2 manually and perhaps for this the product was not well linked.
    I resolved the problem establishing the keys with the wizard and after copying the following files from node1 to node2
    /home/grid/.ssh -------> /home/grid/.ssh
    authorized_keys
    known_hosts
    This is the procedure if you run the wizard at the node1.
    The problem is that the wizard creates the keys incompletely...
    Thanks

  • Getting error 'could not locate ASM instance' when make copy of ASM VM

    Hi everyone,
    I make virtual machine of OEL 5.7 with oracle 10.2.0.1 and successfully configured ASM instance. I am using vmware workstation.
    Now when I make copy of this virtual machine and startup database, then I get the below error:
    [oracle@oelinux ~]$ export ORACLE_SID=asmdb
    [oracle@oelinux ~]$ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Sep 29 01:10:26 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> startup
    ORA-01078: failure in processing system parameters
    ORA-01565: error in identifying file '+ASMGROUP/asmdb/spfileasmdb.ora'
    *ORA-17503: ksfdopn:2 Failed to open file +ASMGROUP/asmdb/spfileasmdb.ora*
    ORA-15077: could not locate ASM instance serving a required diskgroup
    So how can i solve this problem??
    Note: I copy this VM using both copy/paste and clone option, but get this error both times.
    Regards,
    Khurram Bhatti

    EdStevens wrote:
    Khurram Shehzad wrote:
    I add 3 SCSI vmware disks. and then use them as a raw device. no ASMLib is used.
    I refer below tutorial
    [http://www.oracle-base.com/articles/10g/asm-using-asmlib-and-raw-devices.php]
    That tutorial picks up after you created the disks.
    How did you create the virtual disks attatched to your vm? What are its properties - from VMWorksation's perspective.
    How did you create the "copy" of the vm?
    It depends on how you actually created the disks, at the vm level, not the partitioning and formatting at the vm's OS level. I've used Tim's tutorials myself on some other ASM related projects, and he typically has you create the ASM disks as 'sharable', which would mean they would not copy necessarily copy with the vm. I've not played around the with variants much, but I'm pretty sure what you are seeing is a result of either the way the disk was created in the original vm, or the way you made the copy of the vm, or both.
    Take a look at the machine properties of the two vms in the VMWorkstation control panel, looking at the HDD definitions. Compare and contrast.Hi EdStevens,
    My problem resolved with below steps. Thanks fro your replies.
    export ORACLE_SID=+ASM
    sqlplus sys as sysdba
    Connected to an idle instance.
    SQL> startup mount
    SQL> alter system register;
    SQL> exit
    [oracle@oelinux ~]$ export ORACLE_SID=asmdb
    [oracle@oelinux ~]$ sqlplus sys as sysdba
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Regards,
    Khurram

  • ORA-15077: could not locate ASM instance serving a required diskgroup

    My cluster is gone...
    due to restart of the network, the cluster fenced node2 from my configuration. Since the evicting, the cluster is not starting any more.
    ocrcheck
    PROT-602: Failed to retrieve data from the cluster registry
    PROC-26: Error while accessing the physical storage
    ORA-15077: could not locate ASM instance serving a required diskgroup
    The OCR Disks are within ASM.
    Oracleasm does see the disks
    crsctl query css votedisk is also giving the correct information about the votingsdisks which are also in the same OCR diskgroup
    crsctl query css votedisk
    ## STATE File Universal Id File Name Disk group
    1. ONLINE 0eb6aaa85e5c4fd6bf9d0481cfd7d517 (ORCL:VOTE1) [OCR]
    2. ONLINE 5a66449fbada4f34bf0c3be4574f03bc (ORCL:VOTE2) [OCR]
    3. ONLINE 76ad295ebc054f07bfea124fb08da432 (ORCL:VOTE3) [OCR]
    Located 3 voting disk(s).
    Any ideas why the cluster is not starting anymore ? I am afraid of restarting node 1...
    chris

    Really would help to know what operating system you are using...
    When you set up the disks for use with ASM, did you stamp them with ASMLIB? If not, did you configure device persistance with udev? Without using one of these methods, the disk identification can change when a node is restarted, and ASM is then unable to locate the disks.

  • ASM instance not shown in tnsnames.ora

    Hi,
    Currently I have an Oracle 11g database on linux with ASM installed, or at least that's what I can tell from querying v$logfile and v$datafile views. But in my tnsnames.ora and listner.ora I only see the db instance with no ASM instance. If I goto $ORACLE_BASE/admin, I see ASM and orcl. But under $ORACLE_BASE/admin/+ASM/pfile, I see no files.
    This is a vm image by the way. The database is running fine as far as i can tell. My question is why there is no ASM entries in the above files?
    Thanks for the help.

    ASM instance is not used by applications users. It is used by Oracle which can see it, so you do not need any entry in tnsnames.ora for ASM instance. Also ASM instance usage init.ora file from $ORACLE_HOME/dbs directory, so you do not see any file in admin/pfile directory.
    Regards

  • URGENT HELP: ASM instance not able to start....

    ASM version: 11.1.0.6
    RAC: 2 node cluster.
    Scenario:
    CRS comes up fine with no issues but it does NOT start ASM auto. So thats fine.
    So I go to ASM sqlplus and issue:
    SQL> startup mount;
    ORA-29702: error occurred in Cluster Group Service operation
    SQL>
    ASM LOG file says:
    5:20:17 2011
    MMAN started with pid=11, OS id=11019
    Fri Jul 15 15:20:17 2011
    DBW0 started with pid=12, OS id=11021
    Fri Jul 15 15:20:17 2011
    LGWR started with pid=13, OS id=11023
    Fri Jul 15 15:20:17 2011
    CKPT started with pid=14, OS id=11030
    Fri Jul 15 15:20:17 2011
    SMON started with pid=15, OS id=11032
    Fri Jul 15 15:20:17 2011
    RBAL started with pid=16, OS id=11034
    Fri Jul 15 15:20:17 2011
    GMON started with pid=17, OS id=11036
    Fri Jul 15 15:30:17 2011
    USER (ospid: 10956): terminating the instance due to error 29702
    Instance terminated by USER, pid = 10956
    CRS log files do not indicate much:
    0.254: [  CRSRES][1509878080][ALERT] Remote start for `ora.sister-ora-pro-2.ORAPRO_SISTER-ORA-PRO-2.lsnr` failed on member `sister-ora-pro-2`
    2011-07-15 14:32:20.308: [  CRSRES][1507776832] startRunnable: setting CLI values
    2011-07-15 14:32:20.308: [  CRSRES][1094175040] startRunnable: setting CLI values
    2011-07-15 14:32:20.369: [  CRSRES][1507776832] Attempting to start `ora.sister-ora-pro-1.gsd` on member `sister-ora-pro-1`
    2011-07-15 14:32:20.369: [  CRSRES][1094175040] Attempting to start `ora.sister-ora-pro-1.ons` on member `sister-ora-pro-1`
    2011-07-15 14:32:21.662: [  CRSRES][1507776832] Start of `ora.sister-ora-pro-1.gsd` on member `sister-ora-pro-1` succeeded.
    2011-07-15 14:32:22.920: [  CRSRES][1094175040] Start of `ora.sister-ora-pro-1.ons` on member `sister-ora-pro-1` succeeded.
    This is the content of the ASM init file:
    # Pools
    large_pool_size=12M
    asm_diskgroups='DAT1','DAT2','DAT3','DAT4','IDX1','IDX2','IDX3','IDX4','SYS1','SYS2','SYS3','SYS4','FLSH'
    +ASM2.instance_number=2
    +ASM1.instance_number=1
    any suggestions ?

    some snippets from LMON trace file:
    *** 2011-07-15 17:07:51.656
    Name Service frozen
    kjxgmcs: Setting state to 0 1.
    kjxgmmeminfo: can not get mem(1)'s info - (8)
    kjxgmjoin: potential nested reconfig
    *** 2011-07-15 17:07:51.656
    kjxgmrcfg: Reconfiguration started, type 1
    kjxgmcs: Setting state to 0 0.
    *** 2011-07-15 17:07:51.656
    Name Service frozen
    kjxgmcs: Setting state to 0 1.
    kjxgmmeminfo: can not get mem(1)'s info - (8)
    kjxgmjoin: potential nested reconfig
    *** 2011-07-15 17:07:51.656
    kjxgmrcfg: Reconfiguration started, type 1
    kjxgmcs: Setting state to 0 0.
    *** 2011-07-15 17:07:51.657
    Name Service frozen
    kjxgmcs: Setting state to 0 1.
    kjxgmmeminfo: can not get mem(1)'s info - (8)
    kjxgmjoin: potential nested reconfig
    *** 2011-07-15 17:07:51.657
    kjxgmrcfg: Reconfiguration started, type 1
    kjxgmcs: Setting state to 0 0.
    *** 2011-07-15 17:07:51.657
    Name Service frozen
    kjxgmcs: Setting state to 0 1.
    kjxgmmeminfo: can not get mem(1)'s info - (8)
    kjxgmjoin: potential nested reconfig
    *** 2011-07-15 17:07:51.657
    kjxgmrcfg: Reconfiguration started, type 1
    kjxgmcs: Setting state to 0 0.
    *** 2011-07-15 17:07:51.657
    Name Service frozen
    kjxgmcs: Setting state to 0 1.
    kjxgmmeminfo: can not get mem(1)'s info - (8)
    kjxgmjoin: potential nested reconfig
    *** 2011-07-15 17:07:51.657
    kjxgmrcfg: Reconfiguration started, type 1
    kjxgmcs: Setting state to 0 0.
    *** 2011-07-15 17:07:51.657
    Name Service frozen
    kjxgmcs: Setting state to 0 1.
    kjxgmmeminfo: can not get mem(1)'s info - (8)
    kjxgmjoin: potential nested reconfig
    *** 2011-07-15 17:07:51.657
    kjxgmrcfg: Reconfiguration started, type 1
    kjxgmcs: Setting state to 0 0.
    *** 2011-07-15 17:07:51.657
    Name Service frozen
    kjxgmcs: Setting state to 0 1.
    kjxgmmeminfo: can not get mem(1)'s info - (8)
    kjxgmjoin: potential nested reconfig
    *** 2011-07-15 17:07:51.657
    kjxgmrcfg: Reconfiguration started, type 1
    kjxgmcs: Setting state to 0 0.
    *** 2011-07-15 17:07:51.657
    Name Service frozen
    kjxgmcs: Setting state to 0 1.
    kjxgmmeminfo: can not get mem(1)'s info - (8)
    kjxgmjoin: potential nested reconfig
    *** 2011-07-15 17:07:51.658
    kjxgmrcfg: Reconfiguration started, type 1
    kjxgmcs: Setting state to 0 0.
    *** 2011-07-15 17:07:51.658
    Name Service frozen
    kjxgmcs: Setting state to 0 1.
    kjxgmmeminfo: can not get mem(1)'s info - (8)
    kjxgmjoin: potential nested reconfig
    *** 2011-07-15 17:07:51.658
    kjxgmrcfg: Reconfiguration started, type 1
    kjxgmcs: Setting state to 0 0.
    *** 2011-07-15 17:07:51.658
    Name Service frozen
    kjxgmcs: Setting state to 0 1.
    kjxgmmeminfo: can not get mem(1)'s info - (8)
    kjxgmjoin: potential nested reconfig
    *** 2011-07-15 17:07:51.658
    kjxgmrcfg: Reconfiguration started, type 1
    kjxgmcs: Setting state to 0 0.
    *** 2011-07-15 17:07:51.658
    Name Service frozen
    kjxgmcs: Setting state to 0 1.
    kjxgmmeminfo: can not get mem(1)'s info - (8)
    kjxgmjoin: potential nested reconfig
    *** 2011-07-15 17:07:51.658
    kjxgmrcfg: Reconfiguration started, type 1
    kjxgmcs: Setting state to 0 0.
    *** 2011-07-15 17:07:51.658
    Name Service frozen
    kjxgmcs: Setting state to 0 1.
    kjxgmmeminfo: can not get mem(1)'s info - (8)
    kjxgmjoin: potential nested reconfig
    *** 2011-07-15 17:07:51.658
    kjxgmrcfg: Reconfiguration started, type 1
    kjxgmcs: Setting state to 0 0.
    *** 2011-07-15 17:07:51.658
    Name Service frozen
    kjxgmcs: Setting state to 0 1.
    kjxgmmeminfo: can not get mem(1)'s info - (8)
    kjxgmjoin: potential nested reconfig
    *** 2011-07-15 17:07:51.659
    kjxgmrcfg: Reconfiguration started, type 1
    kjxgmcs: Setting state to 0 0.
    *** 2011-07-15 17:07:51.659
    Name Service frozen
    kjxgmcs: Setting state to 0 1.
    kjxgmmeminfo: can not get mem(1)'s info - (8)
    kjxgmjoin: potential nested reconfig
    *** 2011-07-15 17:07:51.659
    kjxgmrcfg: Reconfiguration started, type 1
    kjxgmcs: Setting state to 0 0.
    *** 2011-07-15 17:07:51.659
    Name Service frozen
    kjxgmcs: Setting state to 0 1.
    kjxgmmeminfo: can not get mem(1)'s info - (8)
    kjxgmjoin: potential nested reconfig
    *** 2011-07-15 17:07:51.659
    kjxgmrcfg: Reconfiguration started, type 1
    kjxgmcs: Setting state to 0 0.
    *** 2011-07-15 17:07:51.659
    Name Service frozen
    kjxgmcs: Setting state to 0 1.
    kjxgmmeminfo: can not get mem(1)'s info - (8)
    kjxgmjoin: potential nested reconfig
    *** 2011-07-15 17:07:51.659
    kjxgmrcfg: Reconfiguration started, type 1
    kjxgmcs: Setting state to 0 0.
    *** 2011-07-15 17:07:51.659
    Name Service frozen
    kjxgmcs: Setting state to 0 1.
    kjxgmmeminfo: can not get mem(1)'s info - (8)
    kjxgmjoin: potential nested reconfig
    *** 2011-07-15 17:07:51.659
    kjxgmrcfg: Reconfiguration started, type 1
    kjxgmcs: Setting state to 0 0.
    *** 2011-07-15 17:07:51.659
    Name Service frozen
    kjxgmcs: Setting state to 0 1.
    kjxgmmeminfo: can not get mem(1)'s info - (8)
    kjxgmjoin: potential nested reconfig
    *** 2011-07-15 17:07:51.659
    kjxgmrcfg: Reconfiguration started, type 1
    kjxgmcs: Setting state to 0 0.
    *** 2011-07-15 17:07:51.659
    Name Service frozen
    kjxgmcs: Setting state to 0 1.
    kjxgmmeminfo: can not get mem(1)'s info - (8)
    kjxgmjoin: potential nested reconfig
    *** 2011-07-15 17:07:51.660
    kjxgmrcfg: Reconfiguration started, type 1
    kjxgmcs: Setting state to 0 0.
    *** 2011-07-15 17:07:51.660
    Name Service frozen
    kjxgmcs: Setting state to 0 1.
    kjxgmmeminfo: can not get mem(1)'s info - (8)
    kjxgmjoin: potential nested reconfig
    *** 2011-07-15 17:07:51.660
    kjxgmrcfg: Reconfiguration started, type 1
    kjxgmcs: Setting state to 0 0.
    *** 2011-07-15 17:07:51.660
    Name Service frozen
    kjxgmcs: Setting state to 0 1.
    kjxgmmeminfo: can not get mem(1)'s info - (8)
    kjxgmjoin: potential nested reconfig
    *** 2011-07-15 17:07:51.660
    kjxgmrcfg: Reconfiguration started, type 1
    kjxgmcs: Setting state to 0 0.
    *** 2011-07-15 17:07:51.660
    Name Service frozen
    kjxgmcs: Setting state to 0 1.
    kjxgmmeminfo: can not get mem(1)'s info - (8)
    kjxgmjoin: potential nested reconfig
    *** 2011-07-15 17:07:51.660
    kjxgmrcfg: Reconfiguration started, type 1
    kjxgmcs: Setting state to 0 0.
    *** 2011-07-15 17:07:51.660
    Name Service frozen
    kjxgmcs: Setting

  • Installing Grid Control and not using ASM

    Is it possible to install Grid Control and not be using ASM? We are on the brink of beginning our install (Peoplesoft) and may not use ASM. It seems to me from documentation that I'm reviewing that installing GC assumes you will be using ASM.
    Any info would be appreciated.

    Hi,
    the Grid Control Repository database does not require ASM. It works perfectly fine with datafiles on a normal filesystem.
    Best regards,
    Robert

  • New Oracleasm Libraries not detecting ASM drives consistently

    Has anyone run into problems with the new Oracle ASMLib not detecting ASM drives on load and on scandisks commands? My /etc/sysconfig/oracleasm is the standard defaults that I used with the previous version of ASMLib, i.e. I do not specify the exclude or scanorder.
    I have noticed that if I run scandisk while specifying the LUN in question, then ASMLib will detect the drive properly. I have also noticed that if I run the "scandisks" multiple times (100's), then it will at times find the proper ASM disks. I have played with various settings in the /etc/sysconfig/oracleasm file as well with no luck on getting consistent ASMLib detection.
    The workaround I have for now is to put a "oracleasm scandisks /dev/sd*1" into my /etc/rc.d/rc.local file.
    System is HP BL460c running Red Hat 5.2 with QLogic Driver version 8.01.07.25-fo
    ----------- some screen output -----------------------
    [root@ipht01 ~]# rpm -qa | grep oracleasm
    oracleasm-support-2.1.0-1.el5
    oracleasmlib-2.0.3-1.el5
    oracleasm-2.6.18-92.el5-2.0.5-1.el5
    [root@ipht01 ~]# oracleasm listdisks
    [root@ipht01 ~]# oracleasm querydisk /dev/sdb1
    Device "/dev/sdb1" is marked an ASM disk with the label "WIND_ASMDISK001"
    [root@ipht01 ~]# oracleasm scandisks
    Reloading disk partitions: done
    Cleaning any stale ASM disks...
    Scanning system for ASM disks...
    [root@ipht01 ~]# oracleasm listdisks
    [root@ipht01 ~]# oracleasm querydisk /dev/sdb1
    Device "/dev/sdb1" is marked an ASM disk with the label "WIND_ASMDISK001"
    [root@ipht01 ~]# oracleasm exit
    Unmounting ASMlib driver filesystem: /dev/oracleasm
    Unloading module "oracleasm": oracleasm
    [root@ipht01 ~]# oracleasm init
    Loading module "oracleasm": oracleasm
    Mounting ASMlib driver filesystem: /dev/oracleasm
    [root@ipht01 ~]# oracleasm listdisks
    [root@ipht01 ~]# oracleasm querydisk /dev/sdb1
    Device "/dev/sdb1" is marked an ASM disk with the label "WIND_ASMDISK001"
    [root@ipht01 ~]# oracleasm scandisks /dev/sdb1
    Reloading disk partitions: done
    Cleaning any stale ASM disks...
    Scanning system for ASM disks...
    Instantiating disk "WIND_ASMDISK001"
    [root@ipht01 ~]# oracleasm listdisks
    WIND_ASMDISK001

    Sergio,
    My issue is with the 2.0.5 Version of ASMLib. Previously, I was using oracleasm-2.6.18-92.el5-2.0.4-1.el5.x86_64.rpm. Please see the first section of the screen output for the complete list or Oracleasm installed rpms (latest from OTN). Also, this node was after an immediate OS build with no databases or other activity being done on the node while I attempt to scandisks. I can't imagine that I have drives being repeatedly open/closed.
    I do have the following in my /var/log/oracleasm file, but the running of oracleasm was done by the root user and the permissions on the devices have not really changed between 2.0.5 and the older 2.0.4 that I have been using.
    Loading module "oracleasm": oracleasm
    Mounting ASMlib driver filesystem: /dev/oracleasm
    Reloading disk partitions: done
    Cleaning any stale ASM disks...
    Scanning system for ASM disks...
    oracleasm-read-label: Unable to open device "/dev/sda1": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/sda2": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/sda3": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/sdb1": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/sdc1": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/sdd1": No such file or directory
    [root@ipht02 ~]# ls -l /dev/sd*1
    brw-r----- 1 root disk 8, 1 Nov 17 12:51 /dev/sda1
    brw-r----- 1 root disk 8, 17 Nov 17 14:04 /dev/sdb1
    brw-r----- 1 root disk 8, 33 Nov 17 14:04 /dev/sdc1
    brw-r----- 1 root disk 8, 49 Nov 17 14:04 /dev/sdd1
    Anything I can do to troubleshoot?
    Thanks
    Robert

  • ASM install not RAC aware

    SPARC:
    installed 11g clusterware using crs user, oinstall and dba group,
    then install 11g ASM using oracle user, but it does not show RAC option.
    ASM install not RAC aware if not use same user?
    Thanks.

    I'm not sure if you're talking about creating an ASM instance? The ASM software install is the same as the Database install. Oracle recommends running ASM from a separate Home which would require a separate Oracle database install.

  • How to check where DB uses ASM or not.

    I do not know customer Oracle DB environment well.
    Customer uses oracle 11g on win2008R2 and OEM is not installed.
    How could I know whether that DB uses ASM or not ?

    Hi
    Thanks for reply.
    There is no record in rpd in cache manger.
    But I run the report(my cache is enable)
    still I have no record in my cache.
    so how i know..
    1. my cache having the data.
    2. Query is going to cache/db
    3. cache is purged.

  • How to copy archivelog-files from a ASM instance to another ASM instance

    Hello ,
    our RAC database has to be moved to another Datacenter. The database has a size of several Terrabyte. Will will create a standby database (on a cluster) on the new datacenter (using RMAN backup). Since the RMAN backup takes rather long we would like to copy the archive logs to the new datacenter. Since the archivelog-files are stored on a dirskgroup of an asm instance we have the following question:
    - how can the archivelog files get copied from the current location to the new location?
    Rgds
    Jan

    VivaLaVida wrote:
    Many thanks for your answer...
    As a matter of fact the archivelogs are not backuped on a filesystem. If so we would copy them from the source to the destination host (that's easy).
    The question is "how to get them copied from one ASM diskgroup to another ASM diskgroup". RMAN might be a good solution - but we would need to
    figure that out...
    We talking about 100 GB of archivelogs a day - therefore we don't want to wait until the standby database is configured and online. To have the archivelogs
    already on the new host in the new datacenter would save alot of time.What is ASM version?
    The copy is peer to peer? (i.e Can you copy files from one ASM to another directly?)

  • Unix shell: Environment variable works for file system but not for ASM path

    We would like to switch from file system to ASM for data files of Oracle tablespaces. For the path of the data files, we have so far used environment variables, e.g.,
    CREATE TABLESPACE BMA DATAFILE '${ORACLE_DB_DATA}/bma.dbf' SIZE 2M AUTOEXTEND ON;
    This works just fine (from shell scripts, PL/SQL packages, etc.) if ORACLE_DB_DATA denotes a file system path, such as "/home/oracle", but doesn’t work if the environment variable denotes an ASM path like "\+DATA/rac/datafile". I assume that it has something to do with "+" being a special character in the shell. However, escaping "\+" didn’t work. I tried with both bash and ksh.
    Oracle managed files (e.g., set DB_CREATE_FILE_DEST to +DATA/rac/datafile) would be an option. However, this would require changing quite a few scripts and programs. Therefore, I am looking for a solution with the environment variable. Any suggestions?
    The example below is on a RAC Attack system (http://en.wikibooks.org/wiki/RAC_Attack_-OracleCluster_Database_at_Home). I get the same issues on Solaris/AIX/HP-UX on 11.2.0.3 also.
    Thanks,
    Martin
    ==== WORKS JUST FINE WITH ORACLE_DB_DATA DENOTING FILE SYSTEM PATH ====
    collabn1:/home/oracle[RAC1]$ export ORACLE_DB_DATA=/home/oracle
    collabn1:/home/oracle[RAC1]$ sqlplus "/ as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Aug 24 20:57:09 2012
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    SQL> CREATE TABLESPACE BMA DATAFILE '${ORACLE_DB_DATA}/bma.dbf' SIZE 2M AUTOEXTEND ON;
    Tablespace created.
    SQL> !ls -l ${ORACLE_DB_DATA}/bma.dbf
    -rw-r----- 1 oracle asmadmin 2105344 Aug 24 20:57 /home/oracle/bma.dbf
    SQL> drop tablespace bma including contents and datafiles;
    ==== DOESN’T WORK WITH ORACLE_DB_DATA DENOTING ASM PATH ====
    collabn1:/home/oracle[RAC1]$ export ORACLE_DB_DATA="+DATA/rac/datafile"
    collabn1:/home/oracle[RAC1]$ sqlplus "/ as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Aug 24 21:08:47 2012
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    SQL> CREATE TABLESPACE BMA DATAFILE '${ORACLE_DB_DATA}/bma.dbf' SIZE 2M AUTOEXTEND ON;
    CREATE TABLESPACE BMA DATAFILE '${ORACLE_DB_DATA}/bma.dbf' SIZE 2M AUTOEXTEND ON
    ERROR at line 1:
    ORA-01119: error in creating database file '${ORACLE_DB_DATA}/bma.dbf'
    ORA-27040: file create error, unable to create file
    Linux Error: 2: No such file or directory
    SQL> -- works if I substitute manually
    SQL> CREATE TABLESPACE BMA DATAFILE '+DATA/rac/datafile/bma.dbf' SIZE 2M AUTOEXTEND ON;
    Tablespace created.
    SQL> drop tablespace bma including contents and datafiles;

    My revised understanding is that it is not a shell issue with replacing +, but an Oracle problem. It appears that Oracle first checks whether the path starts with a "+" or not. If it does not (file system), it performs the normal environment variable resolution. If it does start with a "+" (ASM case), Oracle does not perform environment variable resolution. Escaping, such as "\+" instead of "+" doesn't work either.
    To be more specific regarding my use case: I need the substitution to work from SQL*Plus scripts started with @script, PL/SQL packages with execute immediate, and optionally entered interactively in SQL*Plus.
    Thanks,
    Martin

  • Asm does not start on node2

    I am trying to build a oracle rac as a test environment at home
    I have three desktops
    a) node1
    b) node2
    c) openfiler
    I am using Jeffrey hunter's website for instructions on Oracle Rac 10g install using openfiler for iscsi
    node1,node2 is configured for 10.2.0.1
    When I do the create database with dbca I am getting a message
    unable to start asm on node2
    The change that I made in the install is as follows
    node 1 has two network cards eth0-100 mbps - public ip address and eth1-1Gbit private ip address
    node 2 has two network cards eth1-100 mbps - public ip address and eth0- 1gbit private ip address
    when linux install was done it automatically assignmed eth0 to the 1gb nic card on node 2
    Do you think that this is the issue ?
    I post below some part of the asm alert log of node2
    LICENSE_SESSIONS_WARNING = 0
    Interface type 1 eth1 192.168.2.0 configured from OCR for use as a cluster interconnect
    WARNING 192.168.2.0 could not be translated to a network address error 1
    Interface type 1 eth0 192.168.1.0 configured from OCR for use as a public interface
    WARNING: No cluster interconnect has been specified. Depending on
    the communication driver configured Oracle cluster traffic
    may be directed to the public interface of this machine.
    Oracle recommends that RAC clustered databases be configured
    with a private interconnect for enhanced security and
    performance.

    I tried various methods but it did not work.
    so to resolve the issue since this is a test environment at home I decided to reinstall the whole setup again.
    Of course when I installed the Linux o/s (Centos 5.3) the eth0 was detected as the 1Gbps card and the eth1 was detected as 100mbps card of the motherboard.
    So I swapped them by de-activating them and logging in as root and opening these files
    vi /etc/sysconfig/network-scripts/ifcfg-eth0
    vi /etc/sysconfig/network-scripts/ifcfg-eth1
    and swapping the lines
    HWADDR=<mac address>
    from both files.
    I activated the cards again and voila - the eth0 is now the 100mbps card and the eth1 is the 1Gbps card
    I am having a small doubt with the documentation of Jeffrey Hunter
    the doubt is
    At the start of the documentation in the o/s network config section
    on linux2 he specifies
    eth0 -IPv4 Address: 192.168.1.101/ Prefix (Netmask): 255.255.255.0
    eth1:-IPv4 Address: 192.168.2.101/ Prefix (Netmask): 255.255.255.0
    When vipca fails
    His documentation is as follows
    quote
    [root@linux2 ~]# /u01/app/crs/bin/oifcfg setif -global eth0/192.168.1.0:public
    [root@linux2 ~]# /u01/app/crs/bin/oifcfg setif -global eth1/192.168.2.0:cluster_interconnect
    [root@linux2 ~]# /u01/app/crs/bin/oifcfg getif
    eth0 192.168.1.0 global public
    eth1 192.168.2.0 global cluster_interconnect
    Now - my question is why the difference between
    eth0 -IPv4 Address: *192.168.1.101*/ Prefix (Netmask): 255.255.255.0
    eth1:-IPv4 Address: *192.168.2.101*/ Prefix (Netmask): 255.255.255.0
    and
    [root@linux2 ~]# /u01/app/crs/bin/oifcfg setif -global eth0/192.168.1.0:public
    [root@linux2 ~]# /u01/app/crs/bin/oifcfg setif -global eth1/192.168.2.0:cluster_interconnect
    Jeffrey hunter's documentation link is below
    ===========================
    http://www.idevelopment.info/data/Oracle/DBA_tips/Oracle10gRAC/CLUSTER_12.shtml
    Please help me out with this issue - Thanks a lot....
    Edited by: user8523360 on Jan 14, 2010 8:22 AM
    My Host file is as follows
    ===============
    # Public Network - (eth0)
    192.168.1.100 linux1
    192.168.1.101 linux2
    # Private Interconnect - (eth1)
    192.168.2.100 linux1-priv
    192.168.2.101 linux2-priv
    # Public Virtual IP (VIP) addresses - (eth0:1)
    192.168.1.200 linux1-vip
    192.168.1.201 linux2-vip
    # Private Storage Network for Openfiler - (eth1)
    192.168.1.195 openfiler1
    192.168.2.195 openfiler1-priv
    Edited by: user8523360 on Jan 14, 2010 8:26 AM

  • ASM Disk not found

    Hi,
    I am installing the Grid Infrastructure for a cluster (11.2). In the installer screen where an ASM disk group should be chosen, no disk appears.
    But a disk appears if a execute "oracleasm listdisks" in the command line. Any idea?
    The "oracleasm status" informs the disk is not mounted. Is that the problem?

    Hi David:
    uname -a
    Linux cwb02efnora04.keybank.com 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
    cat /etc/redhat-release
    Red Hat Enterprise Linux Server release 5.4 (Tikanga)
    rpm -qa|grep oracleasm
    oracleasm-support-2.1.3-1.el5
    oracleasmlib-2.0.4-1.el5
    oracleasm-2.6.18-164.el5-2.0.5-1.el5
    lsmod|grep oracle
    oracleasm 84136 1
    grep oracleasm /proc/filesystems
    nodev oracleasmfs
    oracle@cwb02efnora04:/u01/app/oracle>df -ha |grep oracleasm >a
    oracleasmfs 0 0 0 - /dev/oracleasm
    ls -l /dev/oracleasm/disks/
    total 0
    brw-rw---- 1 oracle dba 120, 17 Nov 27 12:53 QDATA1
    brw-rw---- 1 oracle dba 120, 33 Nov 27 12:53 QDATA2
    brw-rw---- 1 oracle dba 120, 49 Nov 27 12:53 QDATA3
    brw-rw---- 1 oracle dba 120, 97 Nov 27 13:33 QDATA4
    brw-rw---- 1 oracle dba 120, 113 Nov 27 13:34 QDATA5
    brw-rw---- 1 oracle dba 120, 65 Nov 27 12:53 QFLASH1
    brw-rw---- 1 oracle dba 120, 81 Nov 27 12:53 QFLASH2
    ~
    thank you so much
    Susan

Maybe you are looking for

  • NQS ERROR15018

    Answers error: " nQSError: 15018: Incorrectly defined logical table source (for fact table Fact_Sales) does not contain mapping for [Dim_Times.CALENDAR_YEAR]. (HY000) " Could any one guide how to resolve this issue. All the joins in PHYSICAL and BMM

  • 2800 Inventory on Modules

    Hello - I am having 2821 Router. I am trying to find out the WAN Interface modules (WIC) installed in the Router. I am using commands "show version" and "show inventory" "show version" gives output 1 Serial interface 2 Channelized T1/PRI ports "show

  • How to assign One Dimension Property value to another Dimension ID

    Business senario: There are two dimensions Entity and Plant. Plant also has a property Entity. In my Input Form, I need to derive Entity Property based on PLANT selection and should map it to ENTITY Dimension. I have selected PLANT Dimension and ENTI

  • Having problem contacting Web Services

    Hi, I have created a web application using BlazeDS and everything works fine locally. But when I tried to put it on the web, nothing happened. I don't succeed to access my Web Services, but my blazeDS application is well configured because when I try

  • Cannot edit in CS5 from LR3

    When I'm working in LR3 and try to edit in CS5 I get the following error msg. "Could not complete your request because it is not a valid photoshop document".