Connecting to ASM

Dear All
How does one conect to an ASM instance when thereis also a standard database instance running. I am trying to use SQLPLUS on the database server itself (10.1.0.3) using:
connect / as sysdba
However this just connects me to the database instance (named edm).
I've tried using @+ASM1 but get TNS Listener errors.
The purpose of logging on is to remove a diskgroup. Am I doing something totally wrong or is there a problem?
Any thoughts/views?
Thanks
Paul

Light1 = Use the same version for ASM, CRS, and Database.
Light2 = Run the cluster verify tool and post the report.
Light3 = 10.2.0.1 is unpatched and within a few months of entering extended support mode.

Similar Messages

  • ORA-12154: Error when connecting to asm instance

    hi all, I am now facing new problem with asm of clusterware, I failed to connect to asm instance, there is how I did it:
    sqlplus /nologSQL*Plus: Release 11.2.0.1.0 Production on Wed Jul 7 04:58:52 2010
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    SQL> connect sys@+ASM as sysasm
    Enter password:
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    I consider listener is correct configed.
    lsnrctl statusLSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JUL-2010 08:51:49
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date 05-JUL-2010 22:12:29
    Uptime 1 days 6 hr. 39 min. 23 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File E:\app\11.2.0\grid\network\admin\listener.ora
    Listener Log File e:\app\11.2.0\grid\log\diag\tnslsnr\rac1\listener\aler
    t\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\LISTENERipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.110)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.112)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+asm2", status READY, has 1 handler(s) for this service...
    Service "itpub" has 1 instance(s).
    Instance "itpub2", status READY, has 1 handler(s) for this service...
    Service "itpubXDB" has 1 instance(s).
    Instance "itpub2", status READY, has 1 handler(s) for this service...
    The command completed successfully
    How to resolve the promblem? Best regards..

    thank you for you kind.. I forgot it... but after I modify tnsname.ora, Error number changed..
    tnsname.ora:
    # tnsnames.ora Network Configuration File: E:\oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ITPUB =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac-cluster-scan)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = itpub)
    +ASM =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac-cluster-scan)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = +ASM)
    *>sqlplus /nolog*
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Jul 7 12:50:07 2010
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    SQL> connect sys@+asm as sysasm
    Enter password:
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    SQL>
    tnsping +asmTNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JUL-2
    010 12:51:09
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    E:\oracle\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = rac-clus
    ter-scan)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = +as
    m)))
    OK (20 msec)

  • ASMCMD-08103: failed to connect to ASM; ASMCMD running in non-connected mod

    Hi,
    I am facing below problem.
    ASMCMD-08103: failed to connect to ASM; ASMCMD running in non-connected mode
    ASMCMD-08102: no connection to ASM; command requires ASM to run
    Probable reasons are:
    1. ORACLE_SID is not set properly
    2. ASM instance is not running.
    But my ORACLE_SID is set properly and ASM instance is also running...
    What else i can check?
    Thanks,

    ======================================================
    [oracle@aveo:~]>lsnrctl services
    LSNRCTL for HPUX: Version 11.1.0.6.0 - Production on 18-AUG-2010 12:08:05
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "+ASM_XPT" has 1 instance(s).
    Instance "+ASM", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "MIG11A2" has 1 instance(s).
    Instance "MIG11A2", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "MIG11A2_XPT" has 1 instance(s).
    Instance "MIG11A2", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "Q111REG" has 1 instance(s).
    Instance "Q111REG", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "Q111REG_XPT" has 1 instance(s).
    Instance "Q111REG", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "QA111REG" has 1 instance(s).
    Instance "QA111REG", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "QA111REG_XPT" has 1 instance(s).
    Instance "QA111REG", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    ======================================================

  • Issues connecting to ASM instance.

    Hi,
    I set the ORACLE_SID=+ASM1
    export ASM_BASE=/u101/app/asm
    export ASM_HOME=$ASM_BASE/product/11.1.0
    But when i am trying to connect asmcmd utility.
    [oracle@dldb1 ~]$ asmcmd
    ASMCMD-08103: failed to connect to ASM; ASMCMD running in non-connected mode
    Do i am setting wrong parameters? Please advice me.
    Thanks

    thank you for you kind.. I forgot it... but after I modify tnsname.ora, Error number changed..
    tnsname.ora:
    # tnsnames.ora Network Configuration File: E:\oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ITPUB =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac-cluster-scan)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = itpub)
    +ASM =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac-cluster-scan)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = +ASM)
    *>sqlplus /nolog*
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Jul 7 12:50:07 2010
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    SQL> connect sys@+asm as sysasm
    Enter password:
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    SQL>
    tnsping +asmTNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JUL-2
    010 12:51:09
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    E:\oracle\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = rac-clus
    ter-scan)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = +as
    m)))
    OK (20 msec)

  • ORA-15000 when Connect to ASM with ASMSNMP

    With ASM of 11g2 on Redhat 5, I tried to connect the instance with ASMSNMP but failed[grid@cchordrdb admin]$ sqlplus / as sysasm
    SQL> conn asmsnmp/asmsnmp@ASM
    ERROR:
    ORA-15000: command disallowed by current instance typeIs this a problme or normai?

    Normal/expected,
    You have 2 options. Or via OS autentication (I guess in your case login as grid user and sqlplus / as sysasm) or via password file (connect usu/pwd@inst as sysasm).
    Regards,
    Cerreia

  • Question about how a RAC database connects to ASM

    I have recently installed Grid Clusterware 11.2.0.1 on an IBM PSeries server running AIX. Today, I installed the Oracle database software, version 11.2.0.1, but when I try to start the database, I get an error message: ORA-01031: insufficient privileges.
    I can log in to the ASM instance using "sys as sysdba" but when I try to log in to ASM as "sys as sysasm" then I get the same error message.
    Obviously I have configured something incorrectly. I would appreciate any help locating the proper documentation so I can correct my errors. All advice is greatly appreciated. Thank you.

    Hi,
    Regarding the AIX group "asmdba", we do not have separate administrators to handle the administration of ASM in 11g. I read in the documentation (Grid Infrastructure Installation Guide) that if separate administrators are not wanted for ASM and the database(s), then "asmdba" group is optional. Would you recommend creating this group anyway?I agree to create OS group asmdba it's mandatory only if you are using different user to GUI Install.
    But it's a question of organization of the environment. Each group will designate different kinds of permissions and different roles.
    So, Although the ASM come built into Oracle Database (actually 11.2 and higher Oracle has created a new layer called Grid Infrastructure), Clusterware, ASM and Database products are completely different for different purposes. With the evolution of these products believe that the tendency is they have their own installation and administration. Yet all will work together.
    Create a group asmdba will not impact the current environment, only will help keep the environment more organized to the future. Look on the bright side, if one day you need of group asmdba, you does not need to re-configure the environment.
    Correcting my previous post the group that has permission to access as SYSASM privilege is asmadmin instead of asmdba.
    Cheers,
    Levi Pereira

  • ASM Connection Pool Process

    Dears,
    Since the last restart (16 days ago) I verify some (11) Active ASM Connection Pool Process running on the instance 1 of the database and no similar process running on instance 2.
    Those processes are ACTIVE since the start of DB (23.000 minutes).
    They have 2 kinds of Wait Events:
         SQL*Net message from client
         class slave wait
    I verify the documentation and find those processes are created on demand to maintains a connection with ASM for Metadata operation. So, my question is why those processes are still ACTIVE? Is it normal?
    Environment:
    Oracle version 11.2.0.2.0 - running on RAC (2 instances) with ASM
    OS – Linux RHEL 5.6
    Regards,

    Please define active. From what I understand, "class slave wait" is an idle event and does not consume CPU time. It is necessary for communication between database and ASM instance.

  • 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 a new user for oracle 10G ASM instance with sysdba system privilege

    Hi,
    In our Golden Gate Project, we require the SYS user credential to connect to the Oracle 10g  ASM instance to read the database transaction logs.But our client is not providing the SYS user credential to  connnect to ASM instance.
    I'm getting the error message "ORA-01109:  database not open",When I tried to create a new user using the  below the steps in oracle 10g ASM instance
    1. Login using "sqlplus / as sysdba"
    2. Create user <username> identified by <password>;
    But in oracle 11g ASM instance, I'm able to create new  user  by connecting the ASM instance with SYSASM role without issues.
    Is there is any workaround to create a new user with sysdba system privilege in oracle 10g ASM instance?.
    Thanks in advance .

    Hi,
    Recreate the password file for the ASM instance as follows:
    Unix:
    orapwd file=<ORACLE_HOME>/dbs/PWD<SID> password=<sys_password>
    Windows:
    orapwd file=<ORACLE_HOME>/database/PWD<SID>.ora password=<sys_password>
    Now sys password is reset, we are ready to use sys for ASM management. I decided to create another user ASMDBA as I tried above.
    SQL> create user ASMDBA identified by test01;
    User created.
    SQL> grant SYSASM, SYSOPER to ASMDBA;
    Grant succeeded.
    SQL> select * from v$pwfile_users;
    USERNAME SYSDBA SYSOPE SYSASM
    SYS TRUE TRUE TRUE
    ASMDBA FALSE TRUE TRUE
    Please see this link : http://orachat.com/how-to-change-asm-sys-password-creating-sysasm-user-11g/
    Thank you

  • Error while starting the database in asm

    Hi,
    I am getting an error while at the time of starting the instance in asm enviornment.
    ORA-00202: control file: '+DG_GROUP1/poldev01/controlfile/current.260.743010027'
    ORA-17503: ksfdopn:2 Failed to open file +DG_GROUP1/poldev01/controlfile/current.260.743010027
    ORA-15001: diskgroup "DG_GROUP1" does not exist or is not mounted
    ORA-15055: unable to connect to ASM instance
    ORA-01031: insufficient privileges
    Kindly help.

    Hi,
    Can you check with the Permissions
    ORA-15055: unable to connect to ASM instanceORA-01031: insufficient privileges>
    Anand

  • 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

  • Which credentials to be used for ftp login to asm content via xml

    Hello,
    we've got some databases running in an Oracle 11.2 RAC environment with ASM.
    XML DB for FTP is activated and a connection can be established.
    The documentation recommends to connect with user SYSTEM, which I don't understand,
    since the target is the ASM instance and not a user's database.
    As far as I know there is only user SYS (and one SNMP user) defined in ASM -
    and in fact I get remotely connected to ASM with user SYS and its corresponding password.
    The user SYSTEM ist defined in each of our four user databases that are clients to only one ASM instance;
    each has got a different password and so I ask, which user SYSTEM should be used for FTP to ASM data ?
    Is there any documentation about that ?  I couldn't find any so far.
    Thanks and kind regards,
    Bernd

    You made this case clearer to me now, but your last question ist exactly the point in question.
    Meanwhile I found the password for the correct database, i.e. "sogabo"  (there are only 2, not 4 DBs configured).
    Here is the output from the listener status command, that maybe can help:
    LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 27-JUN-2013 15:48:25
    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 Linux: Version 11.2.0.3.0 - Production
    Start Date                27-JUN-2013 13:50:14
    Uptime                    0 days 1 hr. 58 min. 11 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/11.2.0/grid/network/log/listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.115.201.141)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.115.201.143)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=borac41-loga.gkdruhr.de)(PORT=7787))(Presentation=FTP)(Session=RAW))
    Services Summary...
    Service "+ASM" has 1 instance(s).
      Instance "+ASM1", status READY, has 1 handler(s) for this service...
    Service "SYS$SYS.KUPC$C_1_20130627140309.TOGABO" has 1 instance(s).
      Instance "togabo1", status READY, has 1 handler(s) for this service...
    Service "SYS$SYS.KUPC$S_1_20130627140309.TOGABO" has 1 instance(s).
      Instance "togabo1", status READY, has 1 handler(s) for this service...
    Service "sogabo" has 1 instance(s).
      Instance "sogabo1", status READY, has 1 handler(s) for this service...
    Service "sogaboXDB" has 1 instance(s).
      Instance "sogabo1", status READY, has 1 handler(s) for this service...
    Service "togabo" has 1 instance(s).
      Instance "togabo1", status READY, has 1 handler(s) for this service...
    Service "togaboXDB" has 1 instance(s).
      Instance "togabo1", status READY, has 1 handler(s) for this service...
    The command completed successfully

  • Difference between ASM Disk Group, ADVM Volume and ACFS File system

    Q1. What is the difference between an ASM Disk Group and an ADVM Volume ?
    To my mind, an ASM Disk Group is effectively a logical volume for Database files ( including FRA files ).
    11gR2 seems to have introduced the concepts of ADVM volumes and ACFS File Systems.
    An 11gR2 ASM Disk Group can contain :
    ASM Disks
    ADVM volumes
    ACFS file systems
    Q2. ADVM volumes appear to be dynamic volumes.
    However is this therefore not effectively layering a logical volume ( the ADVM volume ) beneath an ASM Disk Group ( conceptually a logical volume as well ) ?
    Worse still if you have left ASM Disk Group Redundancy to the hardware RAID / SAN level ( as Oracle recommend ), you could effectively have 3 layers of logical disk ? ( ASM on top of ADVM on top of RAID/SAN ) ?
    Q3. if it is 2 layers of logical disk ( i.e. ASM on top of ADVM ), what makes this better than 2 layers using a 3rd party volume manager ( eg ASM on top of 3rd party LVM ) - something Oracle encourages against ?
    Q4. ACFS File systems, seem to be clustered file systems for non database files including ORACLE_HOMEs, application exe's etc ( but NOT GRID_HOME, OS root, OCR's or Voting disks )
    Can you create / modify ACFS file systems using ASM.
    The oracle toplogy diagram for ASM in the 11gR2 ASM Admin guide, shows ACFS as part of ASM. I am not sure from this if ACFS is part of ASM or ASM sits on top of ACFS ?
    Q5. Connected to Q4. there seems to be a number of different ways, ACFS file systems can be created ? Which of the below are valid methods ?
    through ASM ?
    through native OS file system creation ?
    through OEM ?
    through acfsutil ?
    my head is exploding
    Any help and clarification greatly appreciated
    Jim

    Q1 - ADVM volume is a type of special file created in the ASM DG.  Once created, it creates a block device on the OS itself that can be used just like any other block device.  http://docs.oracle.com/cd/E16655_01/server.121/e17612/asmfilesystem.htm#OSTMG30000
    Q2 - the asm disk group is a disk group, not really a logical volume.  It combines attributes of both when used for database purposes, as the database and certain other applications know how to talk "ASM" protocol.  However, you won't find any general purpose applications that can do so.  In addition, some customers prefer to deal directly with file systems and volume devices, which ADVM is made to do.  In your way of thinking, you could have 3 layers of logical disk, but each of them provides different attributes and characteristics.  This is not a bad thing though, as each has a slightly different focus - os file system\device, database specific, and storage centric.
    Q3 - ADVM is specifically developed to extend the characteristics of ASM for use by general OS applications.  It understands the database performance characteristics and is tuned to work well in that situation.  Because it is developed in house, it takes advantage of the ASM design model.  Additionally, rather than having to contact multiple vendors for support, your support is limited to calling Oracle, a one-stop shop.
    Q4 - You can create and modify ACFS file systems using command line tools and ASMCA.  Creating and modifying logical volumes happens through SQL(ASM), asmcmd, and ASMCA.  EM can also be used for both items.  ACFS sits on top of ADVM, which is a file in an ASM disk group.  ACFS is aware of the characteristics of ASM\ADVM volumes, and tunes it's IO to make best use of those characteristics. 
    Q5 - several ways:
    1) Connect to ASM with SQL, use 'alter diskgroup add volume' as Mihael points out.  This creates an ADVM volume.  Then, format the volume using 'mkfs' (*nix) or acfsformat (windows).
    2) Use ASMCA - A gui to create a volume and format a file system.  Probably the easiest if your head is exploding.
    3) Use 'asmcmd' to create a volume, and 'mkfs' to format the ACFS file system.
    Here is information on ASMCA, with examples:
    http://docs.oracle.com/cd/E16655_01/server.121/e17612/asmca_acfs.htm#OSTMG94348
    Information on command line tools, with examples:
    Basic Steps to Manage Oracle ACFS Systems

  • Asm diskgroup does not exist or not mounted

    Hi,
    iam have configured a 2 node cluster and now when i rebooted and again started my rac database so all the applications are offline so i stop them with crs_stop and then restarted but my databases asm and instance service is not up so in that case i tried to connect to database or to instance but i was not able to so then i thought of connecting to asm instance and then the status is as follows
    SQL> select name ,state ,mount_status from v$asm_disk ;
    NAME STATE MOUNT_S
    NORMAL CLOSED
    NORMAL CLOSED
    FG_0000 NORMAL CACHED
    SQL> alter database open ;
    alter database open
    ERROR at line 1:
    ORA-15000: command disallowed by current instance type
    SQL> alter diskgroup all mount ;
    alter diskgroup all mount
    ERROR at line 1:
    ORA-15032: not all alterations performed
    ORA-15130: diskgroup "DG1" is being dismounted
    ORA-15066: offlining disk "DG1_0001" may result in a data loss
    SQL>
    SQL>
    so in that cse the contents are as follows
    on Jul 11 21:58:46 2011
    Dirty detach reconfiguration started (old inc 2, new inc 2)
    List of nodes:
    0 1
    Global Resource Directory partially frozen for dirty detach
    * dirty detach - domain 1 invalid = TRUE
    0 GCS resources traversed, 0 cancelled
    Dirty Detach Reconfiguration complete
    Mon Jul 11 21:58:46 2011
    freeing rdom 1
    Mon Jul 11 21:58:47 2011
    WARNING: dirty detached from domain 1
    Mon Jul 11 21:58:47 2011
    ERROR: diskgroup DG1 was not mounted
    Mon Jul 11 21:58:47 2011
    WARNING: PST-initiated MANDATORY DISMOUNT of group DG1 not performed - group not mounted
    Mon Jul 11 21:58:47 2011
    Errors in file /u01/app/oracle/admin/+ASM/bdump/+asm1_b000_18030.trc:
    ORA-15001: diskgroup "DG1" does not exist or is not mounted
    ORA-15001: diskgroup "DG1" does not exist or is not mounted
    so iam not able to figure out please help me in solving this
    Thanks in Advance
    Regards
    Kavita

    Hi,
    Sir i wait for many times but the major issue is iam facing that all aplications when i start my machine are offline or unknown........ then when i exec crsctl stop crs and crsctl start crs i wait a lot and then i exec crrs_stat t that time all applications are either unknown or offline............ then i stop forcily all applications which are unknown finally bring all to offline status and then restart but in this case i exec srvctl start nodeapps - n rac1 and nrac2 these things work but tried with database or service or instnace that ownt work it give me the following error
    and then i sart instance or database through sqlplus and if i do any transcations then i get the follwoing error .........
    PRKP-1001 : Error starting instance devdb1 on node rac1
    CRS-0215: Could not start resource 'ora.devdb.devdb1.inst'
    and now if iam trying to start my asm instance iam have already posted through what iam getting and this i have tried for 2 diffemt 2 node cluster but facing the same issue
    2011-07-12 22:02:02.500: [  CRSRES][3772144560]0startRunnable: setting CLI values
    2011-07-12 22:02:03.235: [  CRSRES][3772144560]0Attempting to start `ora.prod1.LISTENER_PROD1.lsnr` on member `prod1`
    2011-07-12 22:02:06.197: [  CRSRES][3772144560]0Start of `ora.prod1.LISTENER_PROD1.lsnr` on member `prod1` succeeded.
    Sir this from
    (0x8364680) pid() proto(10:2:1:1)
    [    CSSD]2011-07-12 22:46:09.669 [91069360] >TRACE: clssgmClientConnectMsg: Connect from con(0x8350880) proc(0x8364680) pid() proto(10:2:1:1)
    [    CSSD]2011-07-12 22:47:03.826 [91069360] >TRACE: clssgmClientConnectMsg: Connect from con(0x8352a08) proc(0x8364680) pid() proto(10:2:1:1)
    [    CSSD]2011-07-12 22:47:04.385 [91069360] >TRACE: clssgmClientConnectMsg: Connect from con(0x835bf18) proc(0x835ed88) pid() proto(10:2:1:1)
    [    CSSD]2011-07-12 22:47:17.938 [91069360] >TRACE: clssgmClientConnectMsg: Connect from con(0x835bf18) proc(0x8364680) pid() proto(10:2:1:1)
    [    CSSD]2011-07-12 22:48:27.641 [91069360] >TRACE: clssgmClientConnectMsg: Connect from con(0x8350880) proc(0x8364680) pid() proto(10:2:1:1)
    Thanks in Advance
    Regards
    Kavita

  • Oracle11g R2 Active Data guard using ASM Problem?

    I have configured oracle11g r2 RAC on 2 notes using ASM Grid ( OS unix).
    RAC is up and running.
    Now I am configuring Active data Guard.
    Under grid user instance +ASM and listener is running.
    Under oracle user static listener is running.
    All disk is mounted.
    Oracle RAC and Data Guard directory and structure I have keeped same.
    Now my problem is below:
    $ ./rman target sys/HPinvent123nbl@dcpdb AUXILIARY sys/HPinvent123nbl@drpdb
    Recovery Manager: Release 11.2.0.1.0 - Production on Wed Jan 16 16:28:32 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: DCPDB (DBID=316773134)
    connected to auxiliary database: DRPDB (not mounted)
    RMAN> duplicate target database for standby from active database;
    Starting Duplicate Db at 16-JAN-13
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=5644 device type=DISK
    contents of Memory Script:
    backup as copy reuse
    targetfile '/u02/app/oracle/product/11.2.0/dbhome_1/dbs/orapwdcpdb1' auxiliary format
    '/u02/app/oracle/product/11.2.0/dbhome_1/dbs/orapwdrpdb' ;
    executing Memory Script
    Starting backup at 16-JAN-13
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=1897 instance=dcpdb1 device type=DISK
    Finished backup at 16-JAN-13
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 01/16/2013 16:28:48
    RMAN-06136: ORACLE error from auxiliary database: ORA-00200: control file could not be created
    ORA-00202: control file: '+data'
    ORA-17502: ksfdcre:4 Failed to create file +data
    ORA-15001: diskgroup "DATA" does not exist or is not mounted
    ORA-15055: unable to connect to ASM instance
    ORA-01031: insufficient privileges
    RMAN>
    Please help.\
    Thanks
    Solaiman

    root@drpdb1 []# id oracle
    uid=108(oracle) gid=700(oinstall) groups=701(dba)
    root@drpdb1 []# id grid
    uid=109(grid) gid=700(oinstall) groups=701(dba),702(asmdba)
    Edited by: 876149 on Jan 16, 2013 3:19 AM

Maybe you are looking for

  • Imessage and lots of other things don't work

    Has anybody solved this issue with imessage and facetime not activating? I'm having various other problems which I believe are all connected. When my date and time are set to auto, it wants to set my time zone to another time zone. Notifications are

  • Domain and User Level Security

    Dear Friends Tuxedo Version : 8.0 Weblogic Server: 7.0 Operating System : Win 2000 I have successfully run the simpapp example with WTC as the connector between the remote domain (tuxedo) and local domain (WLS). Now, i want to perform authentication,

  • Date formatting issues

    Hi How can I format a Date object like this: mm/dd/yyyy? When I use DateFormat with "SHORT" it gives me this mm/dd/yy Thanks for any help.

  • Error : Syntax check form not found in function group program

    Hi All, I have a function group ZMRMK. In its source code the function-pool SAPLZMRMK contains error "Form XYZ does not exits" There is an  include in SAPLZMRMK named  lzmrmkf01 : in this include there is an include lmrmkf02 . Here XYZ is called-> pe

  • What is transaction code for GLA account balance

    Hi All, Please tell me what is the transaction code for GLA account balance. I have a requirement to develope a report based on this GLA account balance. Moderator: wrong forum, thread moved