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.                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • 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

  • 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.

  • 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编辑过

  • Problem to create database with RAC 10g with Oracle Standard Edition

    I install CRS (Cluster Ready Services), and then install Oracle 10g database. Also, I install patches 10.1.0.4. When I create database with ASM storage give me a error to create files database.
    Any idea?
    Thanks
    Edu Alcañiz

    You were right.
    http://download-uk.oracle.com/docs/html/B14203_05/intro.htm#sthref44
    under the section
    "1.3 Configuration Tasks for Oracle Clusterware and Oracle Real Application Clusters"
    "... If you use RAC on Oracle Database 10g Standard Edition, then you must use ASM."
    Thanks, problem solved.
    - Vegard

  • ORA-12523 while creating a database on ASM using DBCA

    HI PPL,
    I have set up am ASM instance and also configured the listener services to it.
    But when I try to create database on the configured ASM instance using DBCA , I am getting the following error
    TNS:listener could not find instance appropriate
    for the client connection
    The Connection descriptor used by the client was:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP(Host=10.10.199.141)
    (Port=6881))(CONNECT_DATA=(SERVICE_NAME++ASM1)
    (INSTANCE_NAME=+ASM1)(UR=A)))
    I have checked the listener status and ASM instance and booth seem to be fine:
    $ lsnrctl status ASM
    LSNRCTL for HPUX: Version 10.2.0.3.0 - Production on 30-JUL-2010 12:40:17
    Copyright (c) 1991, 2006, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.10.199.141)(PORT=6881)))
    STATUS of the LISTENER
    Alias ASM
    Version TNSLSNR for HPUX: Version 10.2.0.3.0 - Production
    Start Date 30-JUL-2010 11:36:11
    Uptime 0 days 1 hr. 4 min. 5 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /uat06/asm_home/network/admin/listener.ora
    Listener Log File /uat06/asm_home/network/log/asm.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.10.199.141)(PORT=6881)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "ASM", status BLOCKED, has 1 handler(s) for this service...
    Service "+ASM_XPT" has 1 instance(s).
    Instance "ASM", status BLOCKED, has 1 handler(s) for this service...
    Service "ASM" has 1 instance(s).
    Instance "ASM", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    SQL> sho parameter local
    NAME TYPE VALUE
    local_listener string ASM
    log_archive_local_first boolean TRUE
    Please help as I am new to ASM.
    OS-HP-UX
    Database;10gR2
    regards

    HI Chinar,
    I have already checke the same and made the changes as per the metalink note.
    But stil I am getting teh following error:
    $ lsnrctl status ASM
    LSNRCTL for HPUX: Version 10.2.0.3.0 - Production on 30-JUL-2010 12:40:17
    Copyright (c) 1991, 2006, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.10.199.141)(PORT=6881)))
    STATUS of the LISTENER
    Alias ASM
    Version TNSLSNR for HPUX: Version 10.2.0.3.0 - Production
    Start Date 30-JUL-2010 11:36:11
    Uptime 0 days 1 hr. 4 min. 5 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /uat06/asm_home/network/admin/listener.ora
    Listener Log File /uat06/asm_home/network/log/asm.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.10.199.141)(PORT=6881)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "ASM", status BLOCKED, has 1 handler(s) for this service...
    Service "+ASM_XPT" has 1 instance(s).
    Instance "ASM", status BLOCKED, has 1 handler(s) for this service...
    Service "ASM" has 1 instance(s).
    Instance "ASM", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    Why is it showing status "BLOCKED" if i check the listener status.

  • Creating standby database from ASM production database in standard edition

    Hi,
    I am using oracle 10g release 2 standard edition. I recently created a database instance and wanted to create a standby database instance. After sorting out how to achieve this without managed standby and data guard I finally got it working and the shipped archive logs are applied and working well on the standby database.
    Now I am thinking of re-creating my production database and using ASM for storage managment. By doing this can a standby database still be created from a primary database using ASM? I want to be sure I can before I commit to using ASM for the production instance and manually creating a standby database from that instance.
    Note: I am using standard edition not enterprise edition.

    Hi
    For Oracle SE standby, you can visit www.anbultechnologies.co.uk , they have a brilliant product name DRMC which is Automatic disaster recovery solution with automatic failover in case primary goes down due to any reason.
    We are using this product for more than 2 years and it works like a dream using Oracle Standard Edition. We have depolyed more databases and Standby solution within the prices of 2 EE edition licenses.
    You can give ma try as well.
    website address is www.anbultechnologies.co.uk

  • How to create second database at ASM in 4 node RAC system

    Hi Experts,
    we use 4 nodes RAC (11.0.1) with 10.2.0. 4 database in red hat5.0
    we want to add second database at ASM in RAC system based on manager decision.
    how do I add second database in ASM with exist database?
    Do I need to created new ASM insatnce?
    how to create two new diskgroup? is it under existing ASM instance or new ASM instance?
    how to reset ASM properity to support ( or new) ASM instance and two database?
    Do I need to configure AMS again after added more space into ASM?
    I could not find ducument that add seconf database into ASM in RAC system.
    I want add second database by dbca. any experience for add second database in ASM RAC ?
    Thanks for help!
    JIm

    Hi... I'm in the same situation.
    I need to add a new second database on a RAC installation based on already available ASM instance.
    I'm using 11gR2.
    I read your suggested documentation. Then I typed asmca and analyzed my asm configuration:
    As you can see I have a DISK GROUP NAME with several FREE space.
    !http://img522.yfrog.com/img522/8405/dbca20100203173248.jpg!
    If I select Volumes tab the following is my current configuration:
    !http://img682.yfrog.com/img682/562/dbca20100203173343.jpg!
    Selecting Create button, I can insert some values as you can see:
    !http://img403.yfrog.com/img403/9889/dbca20100203173403.jpg!
    First question:
    Is this the right way to create space for a new database ? Consider that running dbca.. no DISK GROUP NAME is available.
    Second question:
    When I created my first database on this DISK GROUP NAME no volumes were created. Why now I have to do it ? Is this necessary to really separate datafiles coming from different databases ?

  • What are the differences of creating a physical standby database with ASM?

    I want to create a physical standby database for my 10g(10.2.0.1) database. But it is using ASM. Is it possible to create a standby database for a database using ASM?
    What are the differences of creating a physical standby database with ASM?

    tell us what your research shows and we'll try to
    validate it. I am simulating Oracle ASM on a PC and I want to try
    DataGuard on it now. So I am trying to create DataGuard
    on an ASM system. The purpose is only learning and test.That's telling us how you are researching, not what you have observed.
    Your research could have included looking at the documetation, and you might have found http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/scenarios.htm#sthref1642
    which discusses exactly what you are looking for.
    Message was edited by:
    Hans Forbrich

  • Create 10g Database with ASM on Windows Server 2003 x64

    I am running Windows 2003 Server Enterprise x64 on a Dell server and wish to install Oracle 10g 10.2 with ASM.
    First, I performed a software only install. Then, I created several raw partitions on each of two SATA2 disks, and created a disk group - DGROUP1 - using two partitions from each disk. So far so good.
    Next, I tried to use DBCA to create a general purpose database using ASM, and that is where the problem arose. I can use sqlplus to stop and start the ASM instance, but when I use DBCA to select ASM for storage I am asked for the SYS password for ASM. I enter it and get a message "Passwords cannot be verified because: Io exception: The network adapter could not establish the connection". If I ignore this I can go on to select my DGROUP1, but the installation ultimately fails due to "insufficient privileges".
    Can anyone please help?

    Hi Martin
    Thanks for the reply. I used ASMTOOLG to stamp the disks and then used DBCA and followed the description hereo create the disk group DGROUP1:
    http://www.databasejournal.com/features/oracle/article.php/3571371
    At one point, DBCA prompted me to run "localconfig add", which I did.
    If it is a missing password file that is the problem, is it possible to create one to put things right?
    Charles

  • ORA-01501: CREATE DATABASE failed in asm

    i am trying to create manual database using asm
    and i am using oracle SID
    and when i create manual database i am getting the below error
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00200: control file could not be created
    ORA-00202: control file: '+ASMDG/manual/control1.ctl'
    ORA-17502: ksfdcre:4 Failed to create file +ASMDG/manual/control1.ctl
    ORA-15001: diskgroup "ASMDG" does not exist or is not mounted
    and when i use asm SID +asm and if i create a manual database i am getting the below error
    ERROR at line 1:
    ORA-15000: command disallowed by current instance type
    please help me to resolve this

    Hi Friend,
    Please check the following permissions for all the below :
    Grid Infrastructure Home Owner : grid
    Primary Group : oinstall
    Secondary Groups : asmadmin, asmdba, asmoper
    RDBMS Home Owner : oracle
    Primary Group : oinstall
    Secondary Groups : dba, oper, asmdba
    In case of stand alone set up, if the 11.2 Database be managed by Oracle Restart ( srvctl stop/start ), then 'grid' user should also be a part of 'dba' group.
    The ASM Disks would be owned by grid:asmadmin
    Please check once again...Before starts
    Hope it helps...
    Thanks
    LaserSoft

  • Is db_name is the only parameter for creating database ? [Exper. on 32-bit]

    Because of the discussion present in the following thread, I did few experiments and would you like to share with you. Hope it is a useful information for you guys.
    Re: db_name & memory allocation
    OS: Win XP SP2 or Windows 2000 <b>(32-bit)</b>
    Oracle Version: Oracle 10gR2
    System RAM: 1G
    <b>Attempting to create the database CCC by specifying db_name parameter only</b>
    C:\oracle\product\10.2.0\db_1\database>copy con initCCC.ora
    db_name=CCC
    ^Z
            1 file(s) copied.
    <b> Starting the service </b>
    C:\oracle\product\10.2.0\db_1\database>oradim -new -sid CCC -startmode m
    Instance created.
    C:\oracle\product\10.2.0\db_1\database>set oracle_sid=CCC
    C:\oracle\product\10.2.0\db_1\database>sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Apr 6 07:50:06 2007
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL>
    SQL>
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area  <b>113246208</b> bytes -- Default SGA size
    Fixed Size                  1247588 bytes
    Variable Size              58721948 bytes
    Database Buffers           50331648 bytes
    Redo Buffers                2945024 bytes
    <b> On seeing dynamic components size, shared pool got
    33m, large pool got 0m, java pool got 25m and buffer cache
    got 50m. Please check the references for these default
    values. </b>
    SQL> select component,current_size from v$sga_dynamic_components;
    COMPONENT                                                        CURRENT_SIZE
    shared pool                                                          33554432
    large pool                                                                  0
    java pool                                                            25165824
    streams pool                                                                0
    DEFAULT buffer cache                                                 50331648
    KEEP buffer cache                                                           0
    RECYCLE buffer cache                                                        0
    DEFAULT 2K buffer cache                                                     0
    DEFAULT 4K buffer cache                                                     0
    DEFAULT 8K buffer cache                                                     0
    DEFAULT 16K buffer cache                                                    0
    COMPONENT                                                        CURRENT_SIZE
    DEFAULT 32K buffer cache                                                    0
    ASM Buffer Cache                                                            0
    13 rows selected.
    <b>Total=109051904 </b>
    SQL>
    create database
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    <b>Errors in alert log file</b>
    ORA-00604: error occurred at recursive SQL level 1
    <b>ORA-04031: unable to allocate 40 bytes of shared memory ("shared pool","create unique index
    i_proxy_...","sql area","kksol : kksnsg")
    </b>
    Error 1519 happened during db open, shutting down database
    USER: terminating instance due to error 1519
    <b>It was thought that shared_pool memory area is not
    sufficient. Then thought to know how oracle will behave on
    setting sga_target parameter.</b>
    <b>initCCC.ora</b>
    db_name=CCC
    sga_target=113m
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area  <b>121634816 bytes -- Got around 121m  </b>
    Fixed Size                  1247636 bytes
    Variable Size              54527596 bytes
    Database Buffers           62914560 bytes
    Redo Buffers                2945024 bytes
    <b>Now create database statement got success here.
    Instance got few extra Mbs of memory and oracle can create
    the database.</b>
    <b>Then it was thought that, why to give 121Mb even. Let exactly 113246208 bytes be devoted to the instance.</b>
    initCCC.ora
    db_name=CCC
    sga_target=113246208 -- providing exact number of bytes as obtained in default case
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area  113246208 bytes
    Fixed Size                  1247588 bytes
    Variable Size              54527644 bytes
    Database Buffers           54525952 bytes
    Redo Buffers                2945024 bytes
    SQL>
    <b> Now create database statement got success here as
    well. Because of sga_target, automatic shared memory
    management enabled and instance was taking care of buffer
    cache, shared pool, large pool, java pool and
    streams_pool. In this case shared pool got 46m (greater
    than default case value). Java pool and Large pool got 4
    mb each and buffer cache got 54m. </b>
    SQL> select component,current_size
      2  from v$sga_dynamic_components;
    COMPONENT                                                        CURRENT_SIZE
    shared pool                                                          46137344
    large pool                                                            4194304
    java pool                                                             4194304
    streams pool                                                                0
    DEFAULT buffer cache                                                 54525952
    KEEP buffer cache                                                           0
    RECYCLE buffer cache                                                        0
    DEFAULT 2K buffer cache                                                     0
    DEFAULT 4K buffer cache                                                     0
    DEFAULT 8K buffer cache                                                     0
    DEFAULT 16K buffer cache                                                    0
    COMPONENT                                                        CURRENT_SIZE
    DEFAULT 32K buffer cache                                                    0
    ASM Buffer Cache                                                            0
    13 rows selected.
    <b>Total=109051904 </b>
    SQL>
    By providing 113246208 bytes (as in default case) of
    memory to SGA by setting sga_target value, Oracle gave
    extra memory to shared_pool and buffer cache than in case
    of default, thus helping create database statement to get
    pass. Oracle always recommends to use automatic shared
    memory management by setting sga_target parameter value.
    Hope this experiment provides few clues about automatic
    shared memory management feature of Oracle 10g. This case
    was conducted on 32-bit Oracle. It is quite possible that
    create database statement might get success in 64-bit
    Platform as by default Oracle will provide 84 Mb to Shared
    pool. But to confirm, it has to be experimented.
    References:
    Shared pool
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams196.htm#sthref804
    Large Pool
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams090.htm#sthref377
    Java Pool
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams087.htm#sthref364
    Buffer Cache
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams043.htm#sthref185

    Hi,
    Good Work Mohammed !!!
    Regards
    Taj

  • 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

  • Problem in create database use dbca in RAC

    i setup a two-nodes RAC, and use dbca to create db
    here is the output of dbca
    [oracle@rac1 ~]$ dbca -silent -responseFile /home/oracle/dbca.rsp
    Copying database files
    1% complete
    3% complete
    9% complete
    15% complete
    21% complete
    27% complete
    30% complete
    Creating and starting Oracle instance
    32% complete
    36% complete
    40% complete
    44% complete
    45% complete
    48% complete
    50% complete
    Creating cluster database views
    52% complete
    70% complete
    Completing Database Creation
    73% complete
    76% complete
    79% complete
    80% complete
    81% complete
    90% complete
    99% complete
    100% complete
    Look at the log file "/opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/mydb/mydb.log" for further details.
    and here is the log output:
    Failed to retrieve network listener resources required for the Real Application Clusters high
    availability extensions configurations on the following nodes: [rac1, rac2].
    Do you want listeners on port 1521 with prefix LISTENER to be created on nodes [rac1, rac2]
    automatically? If you would like to configure the listener with different properties, run NetCA
    before continuing.
    PRKS-1009 : Failed to start ASM instance "+ASM1" on node "rac1", [CRS-0215: Could not start
    resource 'ora.rac1.ASM1.asm'.]
    PRKS-1009 : Failed to start ASM instance "+ASM2" on node "rac2", [CRS-0215: Could not start
    resource 'ora.rac2.ASM2.asm'.]
    Could not mount the diskgroup on node: rac2. The ASM instance on node rac2 is not started.
    Could not mount the diskgroup on node: rac2. The ASM instance on node rac2 is not started.
    Copying database files
    DBCA_PROGRESS : 1%
    DBCA_PROGRESS : 3%
    DBCA_PROGRESS : 9%
    DBCA_PROGRESS : 15%
    DBCA_PROGRESS : 21%
    DBCA_PROGRESS : 27%
    DBCA_PROGRESS : 30%
    Creating and starting Oracle instance
    DBCA_PROGRESS : 32%
    DBCA_PROGRESS : 36%
    DBCA_PROGRESS : 40%
    DBCA_PROGRESS : 44%
    DBCA_PROGRESS : 45%
    DBCA_PROGRESS : 48%
    DBCA_PROGRESS : 50%
    Creating cluster database views
    DBCA_PROGRESS : 52%
    DBCA_PROGRESS : 70%
    Completing Database Creation
    Failed to start listeners on nodes "[rac1, rac2]" of cluster database "mydb", "CRS-1028: Dependency
    analysis failed because of:
    CRS-0223: Resource 'ora.rac2.LISTENER_RAC2.lsnr' has placement error.".
    DBCA_PROGRESS : 73%
    DBCA_PROGRESS : 76%
    DBCA_PROGRESS : 79%
    ORA-01078: failure in processing system parameters
    ORA-01078: failure in processing system parameters
    ORA-01565: error in identifying file '+ORADG/mydb/spfilemydb.ora'
    ORA-17503: ksfdopn:2 Failed to open file +ORADG/mydb/spfilemydb.ora
    ORA-15056: additional error message
    ORA-17503: ksfdopn:DGOpenFile05 Failed to open file +ORADG/mydb/spfilemydb.ora
    ORA-17503: ksfdopn:2 Failed to open file +ORADG/mydb/spfilemydb.ora
    ORA-15173: entry 'spfilemydb.ora' does not exist in directory 'mydb'
    ORA-06512: at line 4
    ORA-01034: ORACLE not available
    DBCA_PROGRESS : 80%
    ORA-01034: ORACLE not available
    ORA-01034: ORACLE not available
    ORA-01034: ORACLE not available
    DBCA_PROGRESS : 81%
    ORA-01034: ORACLE not available
    DBCA_PROGRESS : 90%
    Enterprise manager configuration failed due to the following error -
    Invalid username/password.
    Refer to the log file at /opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/mydb/emConfig.log for more
    details.
    You can retry configuring this database with Enterprise Manager later by manually running
    /opt/ora/product/10.2.0/db_1/bin/emca script.
    DBCA_PROGRESS : 99%
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    PRKP-1001 : Error starting instance mydb1 on node rac1
    CRS-1028: Dependency analysis failed because of:
    CRS-0223: Resource 'ora.mydb.mydb1.inst' has placement error.
    PRKP-1001 : Error starting instance mydb2 on node rac2
    CRS-1028: Dependency analysis failed because of:
    CRS-0223: Resource 'ora.mydb.mydb2.inst' has placement error.
    DBCA_PROGRESS : 100%
    Database creation complete. Check the logfiles at
    /opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/mydb for details.
    Database Information:
    Global Database Name:mydb
    System Identifier(SID) Prefix:mydb
    it should be run netca before running dbca?

    this time i run netca first,and then run dbca to configure the ASM,after that i run dbca to create database
    listener and asm instance is online,but when i create DB ,still have error
    Copying database files
    DBCA_PROGRESS : 1%
    DBCA_PROGRESS : 3%
    DBCA_PROGRESS : 9%
    DBCA_PROGRESS : 15%
    DBCA_PROGRESS : 21%
    DBCA_PROGRESS : 27%
    DBCA_PROGRESS : 30%
    Creating and starting Oracle instance
    DBCA_PROGRESS : 32%
    DBCA_PROGRESS : 36%
    DBCA_PROGRESS : 40%
    DBCA_PROGRESS : 44%
    DBCA_PROGRESS : 45%
    DBCA_PROGRESS : 48%
    DBCA_PROGRESS : 50%
    Creating cluster database views
    DBCA_PROGRESS : 52%
    DBCA_PROGRESS : 70%
    Completing Database Creation
    DBCA_PROGRESS : 73%
    DBCA_PROGRESS : 76%
    DBCA_PROGRESS : 79%
    ORA-01078: failure in processing system parameters
    ORA-01078: failure in processing system parameters
    ORA-01565: error in identifying file '+ORADG/mydb/spfilemydb.ora'
    ORA-17503: ksfdopn:2 Failed to open file +ORADG/mydb/spfilemydb.ora
    ORA-15056: additional error message
    ORA-17503: ksfdopn:DGOpenFile05 Failed to open file +ORADG/mydb/spfilemydb.ora
    ORA-17503: ksfdopn:2 Failed to open file +ORADG/mydb/spfilemydb.ora
    ORA-15173: entry 'spfilemydb.ora' does not exist in directory 'mydb'
    ORA-06512: at line 4
    ORA-01034: ORACLE not available
    DBCA_PROGRESS : 80%
    ORA-01034: ORACLE not available
    ORA-01034: ORACLE not available
    DBCA_PROGRESS : 89%
    DBCA_PROGRESS : 98%
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    PRKP-1001 : Error starting instance mydb1 on node rac1
    CRS-0215: Could not start resource 'ora.mydb.mydb1.inst'.
    PRKP-1001 : Error starting instance mydb2 on node rac2
    CRS-0215: Could not start resource 'ora.mydb.mydb2.inst'.
    DBCA_PROGRESS : 100%
    following info from my template file
    <MiscParams>
    <databaseType>MULTIPURPOSE</databaseType>
    <maxUserConn>20</maxUserConn>
    <percentageMemTOSGA>40</percentageMemTOSGA>
    <customSGA>false</customSGA>
    <archiveLogMode>false</archiveLogMode>
    <initParamFileName>+ORADG/admin/{DB_UNIQUE_NAME}/pfile/init.ora</initParamFileName>
    </MiscParams>
    <SPfile useSPFile="true">{ORACLE_HOME}/dbs/spfile{SID}.ora</SPfile>
    </InitParamAttributes>
    and dbca create +ORADG in /home/oracle dir (why??)
    [oracle@rac1 ~]$ ls +ORADG/admin/mydb/pfile/init.ora.6132011173958
    +ORADG/admin/mydb/pfile/init.ora.6132011173958
    Edited by: 859340 on 2011-7-12 下午7:25

  • Standby database with ASM disks?

    Has anyone successfully created a standby database when the primary database and the standby database are using ASM disks? If the answer is yes, how did you copy the files(database backup, control files, etc.) from the asm on primary to asm on standby?
    Note: I am using 10gR2 on HP-UX but the copy part should be platform independent so however you did it should help me.

    Hi d_carmichael2001,
    I had done database migration from Non-asm to ASM for single instance by RMAN.
    and i think mostly steps are same for create standby database on ASM.
    Have a Look.......
    1.create a ASM instance manually on new server.
    2.Take a backup of Prod database and controlfile.
    **backup of controlfile for Standby should be taken as
    BACKUP CURRENT CONTROLFILE FOR STANDBY;
    Backup database cmd will be same as Backup database plus archivelog;
    3. create standby database by using following cmd and set necessary parameter before execute it
    Diskgroup for standby should be define in standby spfile's.
    **Standby database should be in nomount stange
    **connect as % rman TARGET / AUXILIARY SYS/sys_pwd@sbdb1
    Use
    DUPLICATE TARGET DATABASE FOR STANDBY ;
    This command will copy the datafiles, archived redo log files and standby control file in the backup set to the standby database's storage area.
    Thanks
    Kuljeet Pal Singh

Maybe you are looking for

  • How to get the output path in Java?

    Hi all, is there a way (method) to get the output path (where compiled classes are put) in Java? thx a lot! Michele

  • Generate an Upload the current table to a comma seperated file

    Hi Freaks, i want to generate a comma seperated file from the current table (which was modified in the current Apex Window) and also upload the file to a file server. What is the best practice? Thanks a lot Wolle

  • What programs do you recommend for email marketing?

    We use Act for our databases and Outlook but have heard that Outlook creates problems with HTML distortion.  We're wondering, before we start a project, if we should use Dreamweaver for HTML, or copy and paste from InDesign or Illustrator to Outlook?

  • Invoicing app

    Hi all, Just wondering if anyone knows of a good app that lets you create invoices and then email them as pdfs. I'm not looking for a huge project management app. that tracks your time and all that jazz (can't believe I just put "all that jazz" in a

  • Disappointment With my SB

    Hi All, I recently bought SB (<FONT color=#ff3300>Model:0680) with a very high expectatiuons, though it is at a relati'vely high price when compared to the other soundcards available in the market, because I believe in Creative's quality.(As I'm usin