Createing ACFS in ASM

Hi,
I am going to create ACFS filesystem in ASM having 2 node RAC 11.2.0.2.
I could get the option of ASMCA which will create ACFS file system on disk group. Which looks very straight forward.
But when I gone through some docs on ACFS [command line] it says to create the volume first [which is ADVM feature] and then create ACFS using ASMCMD>mkfs. I could not understand the why do we have to create volume in order to create ACFS? Also gone through the ADVM docs but did not understand what exactly it is and how it works?
Is the volume created using ADVM is the logical structure? Becuase when I created volume using ADVM I could not do CD to particular volume.
Can anyone explain the same to clear my fundas.
Thanks...

Hi,
think of ASM as a logical volume manager.
Like with every volume manager, you have to first create a volume, before you can put a filesystem onto it.
It is the same here: You first have to create a volume inside your ASM diskgroup, that this volume gets "exported" to the OS. After you created a volume, you will find a volume under /dev/asm/<name>.
This volume than can be used, to put any filesystem onto it, whatever you want.
E.g. ext3. Or better the ACFS filesystem.
Filesystems are formatted using mkfs (make file system command) from linux.
In the special case of ACFS it is mkfs.ext3 (which by the way is not an asmcmd command, but a generall linux command).
Now if you create ACFS via asmca, then the volume is created under the cover automatically. But if you look you will find the volume listed under the volume tab of ASMCA.
Regards
Sebastian

Similar Messages

  • How to create a new ASM Diskgroup in Oracle 10g RAC?

    Hi,
    Our env is Oracle 10g R2 RAC on HP-UX. I want to create a new ASM Diskgroup. Please let me know if the following steps are ok to create a new ASM Diskgroup.
    1. Ensure the new Disk is visible in both ASM instances in RAC (v$asm_disk) and the header_status is 'CANDIDATE'
    2. From Node 1 ASM Instance issue the create diskgroup command.
    SQL> create diskgroup DATA2 external redundancy disk '/dev/rdsk/c4t0d5';
    3. Query v$asm_diskgroup and make sure the Diskgroup is created.
    4. Mount the DATA2 Diskgroup from Node 2 ASM Instance.
    5. Query v$asm_diskgroup and make sure the Diskgroup is visible from Node2 ASM instance.
    6. Ensure the header_status is 'MEMBER'.
    Rgds,

    correct.
    instead of using device file '/dev/rdsk/c4t0d5' you can create an alternate device file using mknod, which is called "asm_disk_xg" for example.
    check here: http://download.oracle.com/docs/cd/B19306_01/install.102/b14202/storage.htm#CDEECIHI
    hth

  • How to create database with ASM

    HI
    How to create database with ASM?
    I install vmware workstation on window XP .On virtual machine install Linux 5 enterprise (Oracle) install.
    I install oracle DB software only. Also make 3 disk for ASM .
    1 -- When I want to install oracle DB with ASM . In this process candidate disks not show . Why?
    How I can see disks ..
    so I simple install oracle DB software only.
    2 -- Now I want to create database with ASM by DBCA .
    What process I will follow ?
    Please guide me
    Thanks

    Hi
    Steps to create database with ASM.
    1.Install oracle binary with active CRS(For single node installation CRS is activated when you run root.sh) .
    2.Create disk without file ssytem.
    3.Assign disk to raw .
    4.Change owner and permission to raw devices.
    5.Configure ASM manually or USing DBCA.
    Manually ASM Configuration.
    a.Create initialization parameter file and password file.
    b.Mandatory parameter is "instance_type=asm" as per your need configure rest of parameter like db_cache_size,large_pool_size,processes,remote_login_passwordfile,shared_pool_size etc..
    c.To discover disk configure "asm_diskstring=/dev/raw/raw*"
    Using DBCA to configure ASM.
    1.In storage type section choose ASM.It will ask for password of sysdba in 10g.
    2.ASM configuration window will open -> here it create disk group -> it shows all available ASM candidate disk automatical -> choose normal redundancy,external redundancy or high redundancy.
    ASM disk also can be conbfigured with ASMLIB .
    If ASM disk is configured you can start asm instance in nomount state and query to v$asm_disk to see all candidate disk.V$asm_disk only shows disk which is configured in asm_diskstrings.
    Hope this will help U,
    Tinku

  • Create database in ASM

    Hi,
    in 10.2.0.4 , I create database (non ASM) by the following script :
    CREATE DATABASE DEVLPT10
    USER SYS IDENTIFIED BY oracle
    USER SYSTEM IDENTIFIED BY oracle
    LOGFILE GROUP 1 ('/home/oracle/oracle/instances/oradata/DEVLPT10/redo1/redo01.log') SIZE 15M,
    GROUP 2 ('/home/oracle/oracle/instances/oradata/DEVLPT10/redo2/redo02.log') SIZE 15M,
    GROUP 3 ('/home/oracle/oracle/instances/oradata/DEVLPT10/redo3/redo03.log') SIZE 15M
       maxdatafiles 254
       maxinstances 8
       maxlogfiles 32
       character set WE8ISO8859P15
       National Character Set UTF8
    DATAFILE '/home/oracle/oracle/instances/oradata/DEVLPT10/noyau/system_01.dbf' SIZE 2048
    SYSAUX DATAFILE '/home/oracle/oracle/instances/oradata/DEVLPT10/noyau/sysaux_01.dbf' SIZE 350M
    EXTENT MANAGEMENT LOCAL
    DEFAULT TABLESPACE BIG_TBS
    DATAFILE '/home/oracle/oracle/instances/oradata/DEVLPT10/donnees/big_tbs_01.dbf'
    SIZE 200M EXTENT MANAGEMENT LOCAL
    DEFAULT TEMPORARY TABLESPACE temp
    TEMPFILE '/home/oracle/oracle/instances/oradata/DEVLPT10/temp/temp_01.dbf'
    SIZE 150M
    UNDO TABLESPACE undotbs1
    DATAFILE '/home/oracle/oracle/instances/oradata/DEVLPT10/undo/undotbs_01.dbf'
    SIZE 200M AUTOEXTEND ON MAXSIZE UNLIMITED;
    CREATE TABLESPACE BIG_TBS_IDX DATAFILE
      '/home/oracle/oracle/instances/oradata/DEVLPT10/indexes/BIG_TBS_IDX_01.DBF' SIZE 1024M AUTOEXTEND OFF
    LOGGING
    ONLINE
    PERMANENT
    EXTENT MANAGEMENT LOCAL UNIFORM SIZE 64K
    SEGMENT SPACE MANAGEMENT MANUAL;Now I'm going to create a DB in ASM. What does change in syntaxe for datafile path ?
    Suppose we want to have :
    +DGDATA_DB/mydb/datafile/sysaux....................
    Thank you.

    Try to replace each file name with +DGDATA_DB: Oracle should take care to create each control file, data file, temp file and redo log member in the right ASM directory.                                                                                                                                                                                                                                                                                                                                               

  • ACFS and ASM

    I want to ensure by db_recovery destination_size value whenever i create ACFS filesystem.
    Example:
    I created ACFS file system of 10 GB from the Flash diskgroup (PTMCM_FRA) of size 17GB. I would like to know what would be size of db_recovery_destination_size?
    Thanks for your help

    Hello,
    i am not exactly sure if i undertand your question, but i think you want to know your free space in the diskgroup for the FRA after you create a ACFS Volume. Maybe this query help you.
    SQL> select name,total_mb,free_mb,usable_file_mb from v$asm_diskgroup;
    NAME                    TOTAL_MB FREE_MB USABLE_FILE_MB
    DG_DATA                61436 26435     26435
    DG_FRA                    61436 59385     59385
    regards
    Peter

  • ACFS and ASM Vol

    when should w to use ACFS and ASM Vol on 11G Rel 2 11.2.0.3.0
    http://docs.oracle.com/cd/E16338_01/server.112/e10500/asmfilesystem.htm
    •Oracle ASM is the preferred storage manager for all database files. It has been specifically designed and optimized to provide the best performance for database file types.
    •Oracle ACFS is the preferred file manager for non-database files. It is optimized for general purpose files.
    •Oracle ACFS does not support any file that can be directly stored in Oracle ASM.
    is ACFS optional and does it incur any additional licensing costs

    Oracle has thrown in all sorts of nonsensical verbiage to completely confuse everyone as to how you can us e ACFS. You can use it for "database-related" stuff but you can't use it for data files, archivelog files, backup files. You can store exports because if you do a parallel expdp the export file(s) must be visible to the entire cluster. Which **I think** is to be interpreted that you cannot store "application" files that are required to be accessible by your applications. I surmise that the reason for this is that Oracle decided they could make more $$$ by releasing a "product" called CloudFS. CloudFS **is** ASM/ACFS - and nothing more. So, on your Weblogic clustered middle-tier you can use Cloudfs to store your application data files.
    Example for mid-tier:
    some process transfers 100's of files to be processed
    The middle-tier - running on multiple servers (nodes)
    take the files and process them in parallel (mechanisms in place to ensure only one node processes a given file )
    writes output files to another shared directory.
    In the past, you would provide a "share" by using NFS. Well, as it turns out - really bad things can happen when when one of the nodes processing and not receiving the files dies, you can have files get "lost" if that NFS share dies.
    ACFS works great for this - and Oracle realized that since "ASM/GI" was sort-f "free" they needed to close that loophole. In RAC, the only thing that "cost extra" was the RAC license which only applied to the RDBMS code that made the database cluster-aware. <this from a conversation from an ex-Oracle Salesman>.

  • Sapinst under RAC 11.2 using ACFS and ASM

    Hi all,
    we are actually doing some installationtests (BankingService-Netweaver 7.02) ) on a 2Node-RAC-Cluster with the actual sapinst based on OEL 5.5, Oragrid 11.2.0.2 and OracleBin 11.2.0.2.
    We doing a HA-Installation and we put all "DB-related" files in ASM.
    We put all failovercritical Filesystems on ACFS.
    We are no ASM-mirroring (but SAN-based)
    Of course we know that this combination is not (yet) SAP-certified - but it works fine.
    We are using different Oracle-Users" as grid-ower (oragrid) and "DB-owner" (standard: ora<sid>).
    We faced some privilege-problems regarding the cluster-ressources for ora<sid> -> apart from that the installations run without any issues.
    As sapinst asked for the sapdata-directories, we answered with the ASM-structure.
    So sapinst creates the +ASM-dierectories (if he what to...) and puts the coresponding create_sql-commands towards the DB, which where corectly interpreted against ASM.
    So here some questions:
    does anybody know, when there will be a sapinst with complete ASM-support?
    should we use just one oracle-user?
    is there a naming-standard for the RAC-instances?
    are there brtools availbale with complete ASM-support?
    Thanks and Regards
    Thomas

    Hi Sebastian,
    I knew this presentation and I'm waiting for 7.03...
    This is the newest sapinst, I can find under NW7.0:
    SAPinst build information:
    abi version : 722
    make variant: 720_REL
    build       : 1201786
    compile time: Nov  5 2010 02:07:45
    Do you think, this is already the right one?
    Thanks
    Thomas

  • Creating acfs

    Hi
    If I want to create a general purpose ASM cluster file system(ACFS to be automatically mounted by Oracle Clusterware),
    Do I manually need to add an entry to /etc/fstab defining the volume,mount point and mount points on each node in cluster?

    rico wrote:
    Hi
    If I want to create a general purpose ASM cluster file system(ACFS to be automatically mounted by Oracle Clusterware),
    Do I manually need to add an entry to /etc/fstab defining the volume,mount point and mount points on each node in cluster?Hi,
    No...Don't do that.
    You must use ACFS Mount Registry.
    About the Oracle ACFS Mount Registry
    http://download.oracle.com/docs/cd/E11882_01/server.112/e18951/asmfilesystem.htm#OSTMG94168
    acfsutil registry
    http://download.oracle.com/docs/cd/E11882_01/server.112/e18951/asmfs_util010.htm#CACGHBHI
    It's good etiquette, when your question has been answered to mark it as answered, and mark posts as "correct" or "helpful".
    https://forums.oracle.com/forums/ann.jspa?annID=719
    Regards,
    Levi Pereira

  • Can't create database using ASM (SOLVED)

    Hi all
    I'm trying to use ASM for the first time, on Oracle 10.2.0.1 on Solaris x64.
    I have installed the ASM instance into /opt/oracle/asm/10.2.0 and created disk groups. I have cssd running OK. I am able to start and stop the ASM instance without problems, and I can select from v$asm_diskgroup to confirm that disks are mounted OK.
    I have then installed Oracle EE separately into /opt/oracle/server/10.2.0. I first did a software only install, and now I am trying to create a DB.
    The problems come when I try to use this ASM instance to host a new database. I first tried to use DBCA to create a new database, but on database creation I got the following errors:
    ORA-00200: control file could not be created
    ORA-00202: control file: '+DBLIVE1'
    ORA-17502: ksfdcre:4 Failed to create file +DBLIVE1
    ORA-15001: diskgroup "DBLIVE1" does not exist or is not mounted
    ORA-15055: Message 15055 not found; No message file for product=RDBMS, facility=ORA
    ORA-01031: insufficient privileges
    I then told DBCA just to create the DB creation scripts, and I tried manually running these with SQL*Plus.
    When doing it with SQL*PLus, I initially got the same error as shown above. But then something changed (sorry, not sure what), and now the error I get is:
    CREATE DATABASE "NEONREL1"
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00349: failure obtaining block size for '+DBLIVE1'
    ORA-01031: insufficient privileges
    I've put some debug info below, showing me succesfully connecting to the ASM instance and then attempting to create the DB using the db creation scripts, showing the error at the end. You can see that the oracle OS user is able to connect fine to ASM, then I swithc ORACLE_SID and ORACLE_HOME to the EE install and try to create the DB, at which point it apparently can't connect to ASM any more.
    I've tried the DB creation many times, and in between attempts I completely empty $ORACLE_HOME/admin/<dbname> and delete the files related to the attempted install from $ORACLE_HOME/dbs/ . I've also stopping/starting ASM, rebooting, and I've done the install of ASM and EE a couple of times over in case I made any mistakes in my earlier attempts.
    Any help would be much appreciated!
    Tom
    ##### CHECKING ASM
    oracle@neonrcom-db1:~$ uname -a
    SunOS neonrcom-db1 5.10 Generic_127128-11 i86pc i386 i86pc
    # css is running
    oracle@neonrcom-db1:~$ ps -ef | grep css
    oracle 498 1 0 21:46:40 ? 0:01 /opt/oracle/asm/10.2.0/bin/ocssd.bin
    # listener is running in the ASM instance
    oracle@neonrcom-db1:~$ ps -ef | grep tnsl
    oracle 1332 1 0 21:49:59 ? 0:00 /opt/oracle/asm/10.2.0/bin/tnslsnr LISTENER -inherit
    # ASM is only entry in /var/opt/oracle/oratab
    oracle@neonrcom-db1:~$ grep -v "^#" /var/opt/oracle/oratab
    +ASM:/opt/oracle/asm/10.2.0:N
    # I can connect to ASM fine, and it has diskgroups mounted.
    oracle@neonrcom-db1:~$ export ORACLE_HOME=/opt/oracle/asm/10.2.0
    oracle@neonrcom-db1:~$ export ORACLE_SID='+ASM'
    oracle@neonrcom-db1:~$ sqlplus "sys as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jul 21 20:53:10 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> set line 150
    SQL> select name, block_size, state, type, total_mb, free_mb from v$asm_diskgroup;
    NAME BLOCK_SIZE STATE TYPE TOTAL_MB FREE_MB
    DBARCH1 4096 MOUNTED EXTERN 2096856 2096784
    DBLIVE1 4096 MOUNTED EXTERN 4193904 4193812
    #### Contents of init.ora for new DB
    db_create_file_dest=+DBLIVE1
    db_recovery_file_dest=+DBARCH1
    db_recovery_file_dest_size=2147483648
    ##### DB INSTALLATION ATTEMPT
    oracle@neonrcom-db1:~$ export ORACLE_HOME=/opt/oracle/server/10.2.0
    oracle@neonrcom-db1:~$ export ORACLE_SID='NEONREL1'
    oracle@neonrcom-db1:~$ export PATH=$ORACLE_HOME/bin:$PATH
    oracle@neonrcom-db1:~$ /opt/oracle/server/10.2.0/admin/NEONREL1/scripts/NEONREL1.sh
    You should Add this entry in the /var/opt/oracle/oratab: NEONREL1:/opt/oracle/server/10.2.0:Y
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jul 21 22:10:54 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    specify a password for sys as parameter 1
    Enter value for 1: xxx
    specify a password for system as parameter 2
    Enter value for 2: xxx
    specify a password for sysman as parameter 3
    Enter value for 3: xxx
    specify a password for dbsnmp as parameter 4
    Enter value for 4: xxx
    specify ASM SYS user password as parameter 6
    Enter value for 6: xxx
    Connected to an idle instance.
    SQL> spool /opt/oracle/server/10.2.0/admin/NEONREL1/scripts/CreateDB.log
    SQL> startup nomount pfile="/opt/oracle/server/10.2.0/admin/NEONREL1/scripts/init.ora";
    ORACLE instance started.
    Total System Global Area 1.9294E+10 bytes
    Fixed Size 2054976 bytes
    Variable Size 2264925376 bytes
    Database Buffers 1.7012E+10 bytes
    Redo Buffers 14721024 bytes
    SQL> CREATE DATABASE "NEONREL1"
    2 MAXINSTANCES 8
    3 MAXLOGHISTORY 1
    4 MAXLOGFILES 16
    5 MAXLOGMEMBERS 3
    6 MAXDATAFILES 100
    7 DATAFILE SIZE 300M AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
    8 EXTENT MANAGEMENT LOCAL
    9 SYSAUX DATAFILE SIZE 120M AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
    10 SMALLFILE DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE SIZE 20M AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED
    11 SMALLFILE UNDO TABLESPACE "UNDOTBS1" DATAFILE SIZE 200M AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
    12 CHARACTER SET AL32UTF8
    13 NATIONAL CHARACTER SET UTF8
    14 LOGFILE GROUP 1 SIZE 51200K,
    15 GROUP 2 SIZE 51200K,
    16 GROUP 3 SIZE 51200K
    17 USER SYS IDENTIFIED BY "&&sysPassword" USER SYSTEM IDENTIFIED BY "&&systemPassword";
    CREATE DATABASE "NEONREL1"
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00349: failure obtaining block size for '+DBLIVE1'
    ORA-01031: insufficient privileges
    Message was edited by:
    tjobbins

    Update: I've worked out the difference between the two sets of errors I get.
    The basic error is this:
    ORA-00200: control file could not be created
    ORA-00202: control file: '+DBLIVE1'
    ORA-17502: ksfdcre:4 Failed to create file +DBLIVE1
    ORA-15001: diskgroup "DBLIVE1" does not exist or is not mounted
    ORA-15055: Message 15055 not found; No message file for product=RDBMS, facility=ORA
    ORA-01031: insufficient privileges
    However if my init.ora contains the line:
    control_files=/opt/oracle/server/10.2.0/dbs/cntrlNEONREL1.dbf
    then I instead get the second error:
    CREATE DATABASE "NEONREL1"
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00349: failure obtaining block size for '+DBLIVE1'
    ORA-01031: insufficient privileges
    So basically these must be the same error, just in the second case I'm not trying to put the control file on the ASM so it fails at a different point.
    But both errors must be because of the same cause, I suppose.

  • Create space in ASM Instance

    Dear All,
    Here is the configuration we have:
    Primary Database: Oracle RAC (2 Nodes). 11g R1 RAC, 10g R2 Database using ASM (OS: Windows Server 2003)
    Data Guard: 10g R2 Database using ASM (OS: Windows Server 2003)
    We are getting the following errors in the alert log file of ASM Instance (Data Guard) - Data Gaurd mode is 'Max Performance':
    ORA-00270: error creating archive log +DG_DATAFILES_AND_FB/accelastdby/primary_arch_logs/arc32471_0721252017.002
    ORA-19504: failed to create file "+DG_DATAFILES_AND_FB/accelastdby/primary_arch_logs/arc32471_0721252017.002"
    ORA-17502: ksfdcre:4 Failed to create file +DG_DATAFILES_AND_FB/accelastdby/primary_arch_logs/arc32471_0721252017.002
    ORA-15041: diskgroup space exhausted
    Uopn checking the disk group DG_DATAFILES_AND_FB, free space is 0.
    What are the possible options to create more space on this disk group? Can we delete some files safely without any impact (for example: Archive logs which have been applied to database)?
    Thanks for your advice.
    Regards,
    Muhammad Riaz

    Hi,
    First you can add more disks to the diskgroup so you can get more space, ASM will do rebalance once new disks added.
    Second, It seems that your archivelog in dataguard were not deleted after being applied. You can delete the applied archivelog in dataguard, use RMAN is the best option
    Hope this helps
    Cheers
    FZheng

  • Issues while creating ACFS file system

    I have 11gR2 RAC two node db on ASM. Whn I am trying to create volume in the disk group it gives me below error:
    ASMCMD> volcreate -G EXT_DATA -s 40G extdata
    ORA-15032: not all alterations performed
    ORA-15477: cannot communicate with the volume driver (DBD ERROR: OCIStmtExecute)
    what could be the reason?
    Edited by: user2995637 on Apr 26, 2011 7:14 AM

    It's quite an old post. Not sure if it's still being followed up or not. Still would like to comment
    ASMCMD> volcreate -G DISKGRP1 -s 3G volume1
    ORA-15032: not all alterations performed
    ORA-15477: cannot communicate with the volume driver (DBD ERROR: OCIStmtExecute)
    What I did
    grid@localhost $ which acfsload
    /u01/app/11.2.0/grid/bin/acfsload
    Login as root
    root@localhost $ /u01/app/11.2.0/grid/bin/acfsload start -a
    ASMCMD> volcreate -G DISKGRP1 -s 3G volume1
    Went through successfully
    SQL> SELECT volume_name, volume_device FROM V$ASM_VOLUME ;
    VOLUME_NAME VOLUME_DEVICE
    VOLUME1 /dev/asm/volume1-308
    Hope that helps !!

  • Error in creating log files in create script with ASM

    In our create script we have:
    LOGFILE GROUP 1 ('+REDO1/oradata/cssys/redo01a.log') SIZE 100M;
    I'm getting the error ORA-00301: error adding log file '+REDO1/oradata/cssys/redo01a.log' - file cannot be created.
    ORA-17502: ksfdcre:4 Failed to create file +REDO1/oradata/cssys/redo01a.log 
    ORA-15173: entry 'oradata' does not exist in directory '/'
    The datafile didn't return an error and there we had DATAFILE '+DATA/oradata/cssys/system01.dbf.........
    Not sure why the error occurs on the REDO, the DATA and REDO look fine in ASM. Thanks in advance.

    I have no personal experience with this, but pl see if MOS Doc 604982.1 (Unable To duplicate Database on ASM From one Server To Another Host) is applicable in your case
    HTH
    Srini

  • Create diskgroup in ASM

    hi,
    i invoked asmca command in $prompt and i tried to create disk group....
    i have two raw storage devices located under /dev/raw/raw1 and /dev/raw/raw2 .......
    how can i discover those two raw devices and create disk group in ASM configuration
    please help me......

    with these two devices , i want to create asm with redundancy-normalYou can run DBCA and there you can select ASM option and you will see that it has detected your raw devices and now you can create the diskgroup with normal redundancy. Alternatively you can login to ASM using SQLPLUS and use following command to create disk group
    CREATE DISKGROUP disk_group_1 NORMAL REDUNDANCY
      FAILGROUP failure_group_1 DISK
        '/devices/diska1' NAME diska1,
        '/devices/diska2' NAME diska2
      FAILGROUP failure_group_2 DISK
        '/devices/diskb1' NAME diskb1,
        '/devices/diskb2' NAME diskb2;Reference
    http://www.oracle-base.com/articles/10g/AutomaticStorageManagement10g.php
    and i need to disk-disk mirrorNormal redundancy is two way mirroring and same as your demand.
    if i disconnect one disk and i connect to other server DB should be upYou mean you want to unplug this disk and plug into another server to create a copy of this database residing on this disk? Why going towards this complexity, simply create a clone of your database using other methods. I am not sure (probably you can't) you can plug this disk to other server and other ASM will be able to read this mirrored copy of database because metadata of this disk will tell ASM that this is a mirror of a normal redundancy and hence may not allow you to utilize this disk.
    Salman

  • Windows 2003 server crashes while creating 10g RAC ASM disk group

    Anyone any ideas, why?
    BTW: I am running all this on my VMWare nodes.
    Any advice will be appreciated
    Tarry

    But still it remains a problem and also I noted that while via OUI creating ASM , there is an extra Listener created on the second node.
    1st node = listener_node1
    2nd node = listener_node2 and listener?
    Weird anyways mounting of disks doesn't work. Machine keeps crashing during the setup. The disks are raw (meaning partitioned but not NTFS)
    Anyone else encounter this problem?

  • Install and Create Database Using ASM Restart

    I'm performing a clean install of Oracle grid + database (11gR2) on Oracle Linux R5U6. Both installs seem to go just fine. The ASM processes start and run just fine. But, when I try to create a database, I get the following errors:
    PRCR-1079: Failed to start resource ora.test.db
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    CRS-2674: Start of 'ora.test.db' on 'asm' failed
    ORA-01034: ORACLE not available
    ORA-01034: ORACLE not available
    0
    Any ideas?
    Thanks
    Jim
    -----------Create Groups and Users--------------------------------------------------------------------
    groupadd oinstall
    groupadd dba
    groupadd oper
    groupadd asmdba
    groupadd asmoper
    groupadd asmadmin
    useradd -g oinstall -G asmdba,asmoper,asmadmin grid
    useradd -g oinstall -G dba,oper,asmdba,asmoper,asmadmin oracle
    passwd grid
    passwd oracle
    [root@asm asm]# id oracle
    uid=502(oracle) gid=502(oinstall) groups=502(oinstall),503(dba),504(oper),505(asmdba),506(asmoper),507(asmadmin)
    [root@asm asm]# id grid
    uid=501(grid) gid=502(oinstall) groups=502(oinstall),505(asmdba),506(asmoper),507(asmadmin)
    [root@asm asm]# uname -rm
    2.6.18-238.el5 i686
    [root@asm asm]# uname -a
    Linux asm.protoeffect.cxm 2.6.18-238.el5 #1 SMP Tue Jan 4 15:24:05 EST 2011 i686 i686 i386 GNU/Linux
    ----------------------ASM RPM Installs---------------------------------------------------------
    [root@asm asm]# rpm -Uvh oracleasm-support-2.1.7-1.el5.i386.rpm \
    oracleasm-2.6.18-238.el5-2.0.5-1.el5.i686.rpm \
    oracleasmlib-2.0.4-1.el5.i386.rpm
    warning: oracleasm-support-2.1.7-1.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
    Preparing... ########################################### [100%]
    1:oracleasm-support ########################################### [ 33%]
    2:oracleasm-2.6.18-238.el########################################### [ 67%]
    3:oracleasmlib ########################################### [100%]
    -------------------ASM Configure------------------------------------------------------------
    [root@asm asm]# /etc/init.d/oracleasm configure
    Configuring the Oracle ASM library driver.
    This will configure the on-boot properties of the Oracle ASM library
    driver. The following questions will determine whether the driver is
    loaded on boot and what permissions it will have. The current values
    will be shown in brackets ('[]'). Hitting <ENTER> without typing an
    answer will keep that current value. Ctrl-C will abort.
    Default user to own the driver interface []: grid
    Default group to own the driver interface []: asmadmin
    Start Oracle ASM library driver on boot (y/n) [n]: y
    Scan for Oracle ASM disks on boot (y/n) [y]: y
    Writing Oracle ASM library driver configuration: done
    Initializing the Oracle ASMLib driver: [  OK  ]
    Scanning the system for Oracle ASMLib disks: [  OK  ]
    -------------------Allocating Disks------------------------------------------------------------
    [root@asm asm]# /etc/init.d/oracleasm createdisk DISK1 /dev/sdb1
    Marking disk "DISK1" as an ASM disk: [  OK  ]
    [root@asm asm]# /etc/init.d/oracleasm createdisk DISK2 /dev/sdc1
    Marking disk "DISK2" as an ASM disk: [  OK  ]
    [root@asm asm]# /etc/init.d/oracleasm createdisk DISK3 /dev/sdd1
    Marking disk "DISK3" as an ASM disk: [  OK  ]
    [root@asm asm]# /etc/init.d/oracleasm createdisk DISK4 /dev/sde1
    Marking disk "DISK4" as an ASM disk: [  OK  ]
    [root@asm asm]# /etc/init.d/oracleasm createdisk DISK5 /dev/sdf1
    Marking disk "DISK5" as an ASM disk: [  OK  ]
    [root@asm asm]# /etc/init.d/oracleasm createdisk DISK6 /dev/sdg1
    Marking disk "DISK6" as an ASM disk: [  OK  ]
    [root@asm asm]# /etc/init.d/oracleasm createdisk DISK7 /dev/sdh1
    Marking disk "DISK7" as an ASM disk: [  OK  ]
    [root@asm asm]# /etc/init.d/oracleasm createdisk DISK8 /dev/sdi1
    Marking disk "DISK8" as an ASM disk: [  OK  ]
    [root@asm asm]#
    [root@asm asm]#
    [root@asm asm]# /etc/init.d/oracleasm listdisks
    DISK1
    DISK2
    DISK3
    DISK4
    DISK5
    DISK6
    DISK7
    DISK8
    ---------------------GRID Response File----------------------------------------------------------
    oracle.install.responseFileVersion=/oracle/install/rspfmt_crsinstall_response_schema_v11_2_0
    ORACLE_HOSTNAME=asm.protoeffect.cxm
    INVENTORY_LOCATION=/u01/app/oraInventory
    SELECTED_LANGUAGES=en
    oracle.install.option=HA_CONFIG
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/grid
    oracle.install.asm.OSDBA=asmdba
    oracle.install.asm.OSOPER=asmoper
    oracle.install.asm.OSASM=asmadmin
    oracle.install.crs.config.gpnp.scanName=
    oracle.install.crs.config.gpnp.scanPort=0
    oracle.install.crs.config.clusterName=
    oracle.install.crs.config.gpnp.configureGNS=true
    oracle.install.crs.config.gpnp.gnsSubDomain=
    oracle.install.crs.config.gpnp.gnsVIPAddress=
    oracle.install.crs.config.autoConfigureClusterNodeVIP=false
    oracle.install.crs.config.clusterNodes=
    oracle.install.crs.config.privateInterconnects=
    oracle.install.crs.config.storageOption=
    oracle.install.crs.config.sharedFileSystemStorage.diskDriveMapping=
    oracle.install.crs.config.sharedFileSystemStorage.votingDiskLocations=
    oracle.install.crs.config.sharedFileSystemStorage.votingDiskRedundancy=NORMAL
    oracle.install.crs.config.sharedFileSystemStorage.ocrLocations=
    oracle.install.crs.config.sharedFileSystemStorage.ocrRedundancy=NORMAL
    oracle.install.crs.config.useIPMI=false
    oracle.install.crs.config.ipmi.bmcUsername=
    oracle.install.crs.config.ipmi.bmcPassword=
    oracle.install.asm.SYSASMPassword=
    oracle.install.asm.diskGroup.name=DATA
    oracle.install.asm.diskGroup.redundancy=NORMAL
    oracle.install.asm.diskGroup.disks=ORCL:DISK1,ORCL:DISK2,ORCL:DISK3,ORCL:DISK4
    oracle.install.asm.diskGroup.diskDiscoveryString=
    oracle.install.asm.monitorPassword=
    oracle.install.crs.upgrade.clusterNodes=
    oracle.install.asm.upgradeASM=false
    [grid@asm ~]$ ps -ef | grep pmon
    grid 9950 1 0 09:25 ? 00:00:00 asm_pmon_+ASM
    grid 10053 4345 0 09:26 pts/2 00:00:00 grep pmon
    ------------------------Database Software Install Response File-------------------------------------------------------
    oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0
    oracle.install.option=INSTALL_DB_SWONLY
    ORACLE_HOSTNAME=asm.protoeffect.cxm
    UNIX_GROUP_NAME=oinstall
    INVENTORY_LOCATION=/u01/app/oraInventory
    SELECTED_LANGUAGES=en
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
    ORACLE_BASE=/u01/app/oracle
    oracle.install.db.InstallEdition=EE
    oracle.install.db.isCustomInstall=false
    oracle.install.db.customComponents=
    oracle.install.db.DBA_GROUP=dba
    oracle.install.db.OPER_GROUP=oper
    oracle.install.db.CLUSTER_NODES=
    oracle.install.db.config.starterdb.type=GENERAL_PURPOSE
    oracle.install.db.config.starterdb.globalDBName=
    oracle.install.db.config.starterdb.SID=
    oracle.install.db.config.starterdb.characterSet=
    oracle.install.db.config.starterdb.memoryLimit=
    oracle.install.db.config.starterdb.memoryOption=false
    oracle.install.db.config.starterdb.installExampleSchemas=false
    oracle.install.db.config.starterdb.enableSecuritySettings=true
    oracle.install.db.config.starterdb.password.ALL=
    oracle.install.db.config.starterdb.password.SYS=
    oracle.install.db.config.starterdb.password.SYSTEM=
    oracle.install.db.config.starterdb.password.SYSMAN=
    oracle.install.db.config.starterdb.password.DBSNMP=
    oracle.install.db.config.starterdb.control=DB_CONTROL
    oracle.install.db.config.starterdb.gridcontrol.gridControlServiceURL=
    oracle.install.db.config.starterdb.dbcontrol.enableEmailNotification=false
    oracle.install.db.config.starterdb.dbcontrol.emailAddress=
    oracle.install.db.config.starterdb.dbcontrol.SMTPServer=
    oracle.install.db.config.starterdb.automatedBackup.enable=false
    oracle.install.db.config.starterdb.automatedBackup.osuid=
    oracle.install.db.config.starterdb.automatedBackup.ospwd=
    oracle.install.db.config.starterdb.storageType=
    oracle.install.db.config.starterdb.fileSystemStorage.dataLocation=
    oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation=
    oracle.install.db.config.asm.diskGroup=
    oracle.install.db.config.asm.ASMSNMPPassword=
    MYORACLESUPPORT_USERNAME=J
    MYORACLESUPPORT_PASSWORD=
    SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
    DECLINE_SECURITY_UPDATES=false
    PROXY_HOST=
    PROXY_PORT=
    -------------Database Creation Info------------------------------------------------------------------
    Name Value
    audit_file_dest {ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/adump
    audit_trail db
    compatible 11.2.0.0.0
    db_block_size 8KB
    db_create_file_dest +DATA
    db_domain
    db_name test
    diagnostic_dest {ORACLE_BASE}
    dispatchers (PROTOCOL=TCP) (SERVICE={SID}XDB)
    memory_target 1225MB
    open_cursors 300
    processes 150
    remote_login_passwordfile EXCLUSIVE
    undo_tablespace UNDOTBS1

    This is the problem with you
    Now time to solve this problem, to make “user grid in secondary group dba”
    http://justinnovation.wordpress.com/category/database/ora/
    # usermod -G asmadmin,asmdba,asmoper,dba grid
    Now you will notice the Privileges are changed
    # id grid
    uid=501(grid) gid=1000(oinstall) groups=1000(oinstall),1100(dba),1300(asmadmin),1400(asmdba),1500(asmoper)
    now try to runInstaller again!
    Good Luck!
    帖子经 Haseeb Alam编辑过

Maybe you are looking for

  • How do I stop pages from automatically continuing to number or letter lists

    I am trying to create a document in which i am answering questions. It is supposed to be in this type of format: I. Residents #1 Household a) how many people live in the home b) c) d) and so forth. I got partway through and now pages is automatically

  • Monitoring Aironet 350 Bridge Link Signal Strength

    Hello, Does anyone have ideas/examples on using SNMP to query 350 series bridges to obtain running data on signal strength & quality? I would like to use something like MRTG to monitor signal strength, along with link usage. Looking through the MIB f

  • Radius Authentication - Reauthentication via Accounting logs

    Hi,  we'r working on a scenario like this; Client logs in to an WLAN via dot1x authentication, though we want to be able to disable re-authentication of the client on the radius when the session-timeout is reached. We also need the accounting logs to

  • Greek encoding Internet Sales

    Hello, I'm facing problems when using Internet Sales with Greek Encoding. We have CRM/ISA 3.1 SP11. We have some Greek customers which have some greek characters in their name, but which are logging on in English. Now, to show these greek characters

  • Report action

    OSB v.10g Hi Is it possible to report the actual xml message being received at a proxy service. We currently use the $body variable but this appears to display on the data and not the entire xml message (excluding attachment, header info etc) when ch