Accessing an ASM Instance via OEM

Gaining access to an ASM-managed database instance via Enterprise manager is done in the same way as accessing a "normal" RDBMS database: http://<host>:<port>/em/
Is it also possible to access the ASM instance itself via the OEM? If so, what's the typical URL/port for access?
I have not seen this documented, and I wonder if it's possible to access the ASM instance via OEM after all, or can you view/manage ASM instance information only via SQL statements.
Thank you.
John

That makes perfect sense... nufortunately, I'm sitll confused. I just found a series of screen shots that explicitly say "Database Control", and the home page shows the "+asm" link I mentioned in my earlier post. What's more: these screen shots are directly from Oracle! Their "Oracle By Example" series has an entry called "Creating and Managing ASM Disk Groups", and the section called "Viewing Disk Groups" has a series of shots that clearly shows first an ASM-managed instance, and then the ASM instance itself, being directly managed by Database Control.
I wish someone from Oracle, or someone who has seen this in action, would chime in and let us know how it works!
Thanks.

Similar Messages

  • Edit listener from ASM instance in OEM

    Hi
    I've installed Oracle Grid Infrastructure for a standalone server, and next installed database 11g. I have ASM and orcl instances. Under ASM (in ORACLE_HOME/grid) I have listener (listener.ora file), and under orcl instance I have only tnsnames.ora (so I can connect by local naming). In OEM Database Control, in Net Services Administration I see only local names, but not listeners. So, can I edit listener from ASM instance in OEM Database Control?
    Thanks awfully for help.
    Regards

    Yes, you can use the Net Manager also to do the same but it should be started from the Grid Home and not from the Oracle Home.
    HTH
    Aman....

  • Access ASM instance remotely

    Hi,
    In a 2 nodes RAC environment, each ASM instance has its own HOME directory.
    I was wondering wether it was possible to access the ASM instance remotely via SQLPLUS session or from a remote client (Toad, etc.)
    I have seen the note 340277.1 and tried to configure listener and tnsnames for a remote connection but I still get the error : "ORA-12528: TNS:listener: all appropriate instances are blocking new connections".
    Thanks for help
    Bertrand

    There is a known bug in TOAD. One of my colleagues found it on the TOAD support site. I am not sure what version it is fixed in.
    I downloaded SQL*Developer, and used that with success.
    Jeff
    Message was edited by:
    jefcen

  • Shutdown ASM instance with database up???

    While reading through the Apex installation guide I ran across this statement:
    If Automatic Storage Management (ASM) is running, shut down all databases that
    use ASM except for the database where you will install Oracle Application
    Express, and then shut down the ASM instance.
    .... uh, leaving the one ASM based database up .. with the ASM instance itself shut down?
    Am I mis-reading? Or do I have a fundamental flaw in my understanding of the relationship of the ASM instance with the database instances?

    EdStevens wrote:
    Included .. but upgrades of Apex?
    Ed, upgrading Apex is fairly safe.
    However, do not merely rely on a datapump/export of the current Apex schema as backup, prior to installing the upgrade (creating a new schema). Reason: there are objects installed as SYS which will be overwritten by the upgrade, and not exported by the backup. [have an outstanding feature request filed with Apex team to fix this - there are no reasons for using SYS for app objects]
    Which is why I prefer a logical backup instead - an Apex export of apps and workspaces. This can be done via the command line. There is a Java program/jar for Apex that supports CLI access to automatically export all apps in all workspaces. I have a cron job that does this every night on all our databases as Apex apps are not made of the type of code one can checkout and edit from a traditional source code repository,
    What is not exported, is extra content such as images, custom style sheets and so on (static contents). But is it a better idea to have static contents served by the web server, rather than via a db server session.
    Apex is pretty kewl - one of the better web frameworks for Oracle that we've been using since Marvel/HTMLDB days. Some niggles. But overall an excellent product.

  • How to create an asm instance manaually? oracle 11gr2.

    env: oracle 11gr2 os: hpux or aix single machine , not rac.
    question:how to create an asm instance manaually?? diskgroup,listener,db ,they can be resigistered to crs??
    can anyone give me document about it?

    Hi,
    This is a simple answer:
    Automatic Storage Management (ASM)
    ASM was a new storage option introduced with Oracle Database 10gR1 that provides the services of a filesystem, logical volume manager, and software RAID in a platform-independent manner. ASM can stripe and mirror your disks, allow disks to be added or removed while the database is under load, and automatically balance I/O to remove "hot spots." It also supports direct and asynchronous I/O and implements the Oracle Data Manager API (simplified I/O system call interface) introduced in Oracle9i.
    ASM is not a general-purpose filesystem and can be used only for Oracle data files, redo logs, and control files. Files in ASM can be created and named automatically by the database (by use of the Oracle Managed Files feature) or manually by the DBA. Because the files stored in ASM are not accessible to the operating system, the only way to perform backup and recovery operations on databases that use ASM files is through Recovery Manager (RMAN).
    ASM is implemented as a separate Oracle instance that must be up if other databases are to be able to access it. Memory requirements for ASM are light: only 64 MB for most systems.
    Installing ASM
    On Linux platforms, ASM can use raw devices or devices managed via the ASMLib interface. Oracle recommends ASMLib over raw devices for ease-of-use and performance reasons. ASMLib 2.0 is available for free download from OTN. This section walks through the process of configuring a simple ASM instance by using ASMLib 2.0 and building a database that uses ASM for disk storage.
    Determine Which Version of ASMLib You Need
    ASMLib 2.0 is delivered as a set of three Linux packages:
    * oracleasmlib-2.0 - the ASM libraries
    * oracleasm-support-2.0 - utilities needed to administer ASMLib
    * oracleasm - a kernel module for the ASM library
    Each Linux distribution has its own set of ASMLib 2.0 packages, and within each distribution, each kernel version has a corresponding oracleasm package. The following paragraphs describe how to determine which set of packages you need.
    First, determine which kernel you are using by logging in as root and running the following command:
    uname -rm
    Ex:
    # uname -rm
    2.6.9-22.ELsmp i686
    The example shows that this is a 2.6.9-22 kernel for an SMP (multiprocessor) box using Intel i686 CPUs.
    Use this information to find the correct ASMLib packages on OTN:
    1. Point your Web browser to http://www.oracle.com/technology/tech/linux/asmlib/index.html
    2. Select the link for your version of Linux.
    3. Download the oracleasmlib and oracleasm-support packages for your version of Linux
    4. Download the oracleasm package corresponding to your kernel. In the example above, the oracleasm-2.6.9-22.ELsmp-2.0.0-1.i686.rpm package was used.
    Next, install the packages by executing the following command as root:
    rpm -Uvh oracleasm-kernel_version-asmlib_version.cpu_type.rpm \
    oracleasmlib-asmlib_version.cpu_type.rpm \
    oracleasm-support-asmlib_version.cpu_type.rpm
    Ex:
    # rpm -Uvh \
    > oracleasm-2.6.9-22.ELsmp-2.0.0-1.i686.rpm \
    > oracleasmlib-2.0.1-1.i386.rpm \
    > oracleasm-support-2.0.1-1.i386.rpm
    Preparing... ########################################### [100%]
    1:oracleasm-support ########################################### [ 33%]
    2:oracleasm-2.6.9-22.ELsm########################################### [ 67%]
    3:oracleasmlib ########################################### [100%]
    Configuring ASMLib
    Before using ASMLib, you must run a configuration script to prepare the driver. Run the following command as root, and answer the prompts as shown in the example below.
    # /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 []: oracle
    Default group to own the driver interface []: dba
    Start Oracle ASM library driver on boot (y/n) [n]: y
    Fix permissions of Oracle ASM disks on boot (y/n) [y]: y
    Writing Oracle ASM library driver configuration: [  OK  ]
    Creating /dev/oracleasm mount point: [  OK  ]
    Loading module "oracleasm": [  OK  ]
    Mounting ASMlib driver filesystem: [  OK  ]
    Scanning system for ASM disks: [  OK  ]
    Next you tell the ASM driver which disks you want it to use. Oracle recommends that each disk contain a single partition for the entire disk. See Partitioning the Disks at the beginning of this section for an example of creating disk partitions.
    You mark disks for use by ASMLib by running the following command as root:
    /etc/init.d/oracleasm createdisk DISK_NAME device_name
    Tip: Enter the DISK_NAME in UPPERCASE letters.
    Ex:
    # /etc/init.d/oracleasm createdisk VOL1 /dev/sdb1
    Marking disk "/dev/sdb1" as an ASM disk: [  OK  ]
    # /etc/init.d/oracleasm createdisk VOL1 /dev/sdc1
    Marking disk "/dev/sdc1" as an ASM disk: [  OK  ]
    # /etc/init.d/oracleasm createdisk VOL1 /dev/sdd1
    Marking disk "/dev/sdd1" as an ASM disk: [  OK  ]
    Verify that ASMLib has marked the disks:
    # /etc/init.d/oracleasm listdisks
    VOL1
    VOL2
    VOL3
    Create the ASM Instance
    ASM runs as a separate Oracle instance which can be created and configured using the Oracle Universal Installer. Now that ASMLib is installed and the disks are marked for use, you can create an ASM instance.
    Log in as oracle and start runInstaller:
    $ ./runInstaller
    1. Select Installation Method
    * Select Advanced Installation
    * Click on Next
    2. Specify Inventory Directory and Credentials
    * Inventory Directory: /u01/app/oracle/oraInventory
    * Operating System group name: oinstall
    * Click on Next
    3. Select Installation Type
    * Select Enterprise Edition
    * Click on Next
    4. Specify Home Details
    * Name: OraDB10gASM
    * Path: /u01/app/oracle/product/10.2.0/asm
    Note:Oracle recommends using a different ORACLE_HOME for ASM than the ORACLE_HOME used for the database for ease of administration.
    * Click on Next
    5. Product-specific Prerequisite Checks
    * If you've been following the steps in this guide, all the checks should pass without difficulty. If one or more checks fail, correct the problem before proceeding.
    * Click on Next
    6. Select Configuration Option
    * Select Configure Automatic Storage Management (ASM)
    * Enter the ASM SYS password and confirm
    * Click on Next
    7. Configure Automatic Storage Management
    * Disk Group Name: DATA
    * Redundancy
    - High mirrors data twice.
    - Normal mirrors data once. This is the default.
    - External does not mirror data within ASM. This is typically used if an external RAID array is providing redundancy.
    * Add Disks
    The disks you configured for use with ASMLib are listed as Candidate Disks. Select each disk you wish to include in the disk group.
    * Click on Next
    8. Summary
    * A summary of the products being installed is presented.
    * Click on Install.
    9. Execute Configuration Scripts
    * At the end of the installation, a pop up window will appear indicating scripts that need to be run as root. Login as root and run the indicated scripts.
    * Click on OK when finished.
    10. Configuration Assistants
    * The Oracle Net, Oracle Database, and iSQL*Plus configuration assistants will run automatically
    11. End of Installation
    * Make note of the URLs presented in the summary, and click on Exit when ready.
    12. Congratulations! Your new Oracle ASM Instance is up and ready for use.
    Kind regards
    Mohamed

  • How to configure Oracle Enterprise manager 11.2.0.1 for ASM instance

    Hi All,
    Please let us know How to configure Oracle Enterprise manager 11.2.0.1 for ASM instance.
    Reagrds,
    Vikas

    Assuming an agent is running on the servers you want to monitor,
    navigate to the Agent home page (Via setup --> Agent)
    When in the agent home page select 'Add Database'and press [Go]
    Assuming yopur database now gets recognized, select the Configure icon and enter the password for dbsnmp.
    When done, press [Ok] to return to the agent home page.
    Regards
    Rob
    http://oemgc.wordpress.com

  • How does 1 ASM instance in a 10 node RAC cause all 10 ASM instance to hang

    Linux RHEL4
    11.2.0.1.0 GI
    11.2.0.1.0 RDBMS
    11.1.0.7.0 RDBMS
    10.2.0.4.4 RDBMS
    Yesterday we had one of the ASM instance on our 10-node cluster hang with a latch "ASM file allocation latch". Oracle support has stated we are hitting a bug with is fixed in the latest PSU.
    What I am trying to understand is how a latch on one ASM instance caused all 10 ASM instances to hang?
    Oracle Supports explanation still does not answer how all 10 ASM instance were affected other then the faulty code that the patch fixes. Bellow is info out of the SAR.
    Data Guard Site:
    ================
    ARC1 PID 21508 reports ORA-240 'control file enqueue held for more than 120 seconds' at Thu Oct 28 11:35:54 2010. This message means ARC1 PID 21508 was holding the enqueue past the maximum tine limit of 120 seconds.
    Next ARC0 PID 17398 reports ORA-16146: 'control file enqueue unavailable' at Thu Oct 28 11:36:52 2010. This means ARC0 PID 17398 tried to access the controlfile and it could get the lock.
    ARC1 PID 21508 is then killed at Thu Oct 28 11:49:57 2010.
    Killing enqueue blocker (pid=21508) on resource CF-00000000-00000000 by (pid=23078) by killing session 5.3
    We see that RSM has been restarted by Broker. This matches to the alert.log and messages showing RSM being restarted several time. i.e. RSM0 started with pid=84, OS id=27915
    Since this started happening around 11:14, the problem may have really started then instead of w/ the CF enqueue block.
    The primary appears to be shipping redo to the standby using asynchronous mode. Unless there was a gap, I do no know if ARC1 should have been doing any remote network I/O. Because a log switch to thread 1 sequence 5235 had just happened at 11:33am, I suspect it was a local disk I/O that was started at least. The ORA-240 is reported at 11:35, exactly 120 sec (or 2min) from this log switch. Notice also the entry to show the log thread 1 sequence 5234 was registered to the controlfile didn't happen yet.
    ASM Side:
    ============
    From the systemstate dump on ASM, multiple processes are waiting on 'ASM file allocation latch' and we are kind of stuck on stack:
    ksedsts()+461<-ksdxfstk()+32<-ksdxcb()+1782<-sspuser()+112<-0000003218E0C5B0<-kfuhInsert()+175<-kffilCreate()+601<-kfnsUFG()+3691<-kfnsBackground()+4382<-kfnDispatch()+527<-opiodr()+1149<-ttcpip()+1251<-opitsk()+1633<-opiino()+958<-opiodr()+1149<-opidrv()+570<-sou2o()+103<-opimai_real()+133<-ssthrdmain()+214<-main()+201<-__libc_start_main()+219
    This caused the hang on the ASM side and hence ASM was not responding to the database. The CF Enqueue issue on the database was a side effect of this.
    This is a direct <BUG:9232266> which is a duplicate of <BUG:8974548>

    Thanks Murali,
    I was little reluctent to open a tar since my experince says that its better to troubleshoot the issue yourself instead of spending time with the Oracle support :)
    Well, I got some more information on this : the sql for the process id of ASM instance is :
    Alter Diskgroup mount all;
    It looks like it is unable to mount the diskgroup and get hunged at that point , is it due to the new disk added to the system or do we missed something after adding the new disk.
    Also, the ASM process can not be killed from unix box while the ASM is down.
    Will appreciate your time if we can move in any directions from here ..
    Thanks ,
    Ankur

  • Problem in accessing second database instance on same host (ORA-12514)

    Hi,
    I had a database ICMDB installed on my machine. After that i created a second database instance (Service name: BI_APPS) using DBCA on the same machine. Using NETCA i also created a new listener OracleOraDb11g_home1TNSListenerBI_APPS_LISTENER on port 1522 on my machine. Then i configured this listener to listen for connections to service BI_APPS by adding the following to my tnsnames.ora:
    BI_APPS_LISTENER =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1522))
    Then i changed the port in my tns entry for BI_APPS to 1522 as follows:
    BI_APPS =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = BI_APPS)
    I then restarted the following services:
    OracleOraDb11g_home1TNSListener
    OracleServiceBIAPPS
    OracleOraDb11g_home1TNSListenerBI_APPS_LISTENER
    After this, when i try to access my first DB ICMDB via toad, the connection is successful. However, when i try to access the service BI_APPS i get the following error:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
    What am i doing wrong? Here is the content of my files:
    TNSNAMES.ORA
    # tnsnames.ora Network Configuration File: D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    BI_APPS_LISTENER =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1522))
    BI_APPS =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1522))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = BI_APPS)
    LISTENER_ICMDB =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1521))
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    ICMDB =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = icmdb)
    SQLNET.ORA
    # sqlnet.ora Network Configuration File: D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    LISTENER.ORA
    # listener.ora Network Configuration File: D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    BI_APPS_LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1522))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
    ADR_BASE_BI_APPS_LISTENER = D:\app\Oracle
    SID_LIST_BI_APPS_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = D:\app\Oracle\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:D:\app\Oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    Here is output of lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 12-DEC-2013 16:17:01
    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 - Production
    Start Date                12-DEC-2013 10:34:35
    Uptime                    0 days 5 hr. 42 min. 26 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
    Listener Log File         d:\app\oracle\diag\tnslsnr\ICMDEVDB\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ICMDEVDB)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.109)(PORT=1521)))
    Services Summary...
    Service "BIAPPSXDB" has 1 instance(s).
      Instance "biapps", status READY, has 1 handler(s) for this service...
    Service "BI_APPS" has 1 instance(s).
      Instance "biapps", status READY, has 1 handler(s) for this service...
    Service "icmdb" has 1 instance(s).
      Instance "icmdb", status READY, has 1 handler(s) for this service...
    Service "icmdbXDB" has 1 instance(s).
      Instance "icmdb", status READY, has 1 handler(s) for this service...
    The command completed successfully

    Jimit wrote:
    Hi Ed,
    I understand your point, however whenever i have tried to use the same listener to access my second instance, this is the error i have always received:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
    That does not indicate you need a second listener.
    And, after deleting the listener.ora file ,if i try the the command lsnrctl start, i get the error:
    ORA-12560: TNS:protocol adapter error
    Hence i restored the files. What do i do?
    I've never experienced a 12560 trying to start a listener.  I'll need to see if I can create a test system on Windows and try to recreate.  Will be a good subject for my blog, that has been too long with no new content.
    Since this is windows, I'd first check that the Windows service for the listenr is started.
    Whatever, multiple listeners is NOT the solution.

  • Asm, instance and service failing to start 10g rac redhat el5

    hi,
    i have been following a how to guide from oracle's website about implementing a 10g rac system using el5 (http://www.oracle.com/technology/pub/articles/hunter_rac10gr2_iscsi.html), by the end of the installation and setup I had both the nodes up and running and all services were up and running. Then under the root account I rebooted one of the nodes. now when I check the status of the services I get this:
    [oracle@rac01 ~]$ crs_stat -t
    Name           Type           Target    State     Host
    ora.orcl.db    application    ONLINE    ONLINE    rac01
    ora...._taf.cs application    ONLINE    ONLINE    rac02
    ora....cl1.srv application    ONLINE    OFFLINE
    ora....cl2.srv application    ONLINE    ONLINE    rac02
    ora....l1.inst application    OFFLINE   OFFLINE
    ora....l2.inst application    ONLINE    ONLINE    rac02
    ora....SM1.asm application    OFFLINE   OFFLINE
    ora....01.lsnr application    ONLINE    ONLINE    rac01
    ora.rac01.gsd  application    ONLINE    ONLINE    rac01
    ora.rac01.ons  application    ONLINE    ONLINE    rac01
    ora.rac01.vip  application    ONLINE    ONLINE    rac01
    ora....SM2.asm application    ONLINE    ONLINE    rac02
    ora....02.lsnr application    ONLINE    ONLINE    rac02
    ora.rac02.gsd  application    ONLINE    ONLINE    rac02
    ora.rac02.ons  application    ONLINE    ONLINE    rac02
    ora.rac02.vip  application    ONLINE    ONLINE    rac02though I can start the asm instance manually by
    srvctl start asm -n rac01and it starts but the instance and service on the rebooted node still wont start. is there a log file which tells me what the error is when it tries to start the instance? what can I do to ensure that if a node is rebooted that all of the services get started correctly and the node automatically rejoins the cluster (i thought I had set all of this from the instructions of the guide I was following).
    Regards
    Martin.

    Check ASM resource:
    crs_stat -p "resource_name
    $ crs_stat | grep NAME\= | grep ASM1
    NAME=ora.rac01.ASM1.asm
    $ crs_stat -p ora.rac01.ASM1.asm
    NAME=ora.rac01.ASM1.asm
    TYPE=application
    ACTIVE_PLACEMENT=0
    *AUTO_START*=1
    CHECK_INTERVAL=600
    DESCRIPTION=CRS application for ASM instance
    What do you see AUTO_START?
    if 1 = auto start:
    or check error ASM while start... at ASM_HOME/log/rac01/racg/*
    If AUTO_START=2
    Oracle Clusterware is configured to start the VIP, listener, instance, ASM, database services and other resources during system boot. Starting with 10.1.0.4, it is possible to modify some resources to have their profile parameter AUTO_START set to the value 2. This means that after node reboot, or when Oracle Clusterware is started, resources with AUTO_START=2 will need to be started manually via srvctl. Please work with Oracle Support if you need to modify this attribute.
    If AUTO_START=2 and need to change to 1:
    Example:
    $ crs_stat -p ora.rac01.ASM1.asm
    NAME=ora.rac01.ASM1.asm
    TYPE=application
    ACTIVE_PLACEMENT=0
    AUTO_START=2
    $ crs_stat -p ora.rac01.ASM1.asm > ORA_CRS_HOME/crs/public/ora.rac01.ASM1.asm
    $ crs_unregister ora.rac01.ASM1.asm
    $ crs_stat -p ora.rac01.ASM1.asm
    CRS-0210: Could not find resource 'ora.rac01.ASM1.asm
    $ vi ORA_CRS_HOME/crs/public/ora.rac01.ASM1.asm.cap
    AUTO_START=2
    to
    AUTO_START=1
    $ crs_register ora.rac01.ASM1.asm
    $ crs_stat -p ora.rac01.ASM1.asm
    NAME=ora.rac01.ASM1.asm
    TYPE=application
    *AUTO_START=1*
    Edited by: Surachart Opun (HunterX) on Jul 31, 2009 1:06 PM

  • Cannot see EMC PowerPath devices from ASM instance on Solaris 10 x86

    Hello,
    I'm trying to use EMC PowerPath devices as ASM disks, but cannot see any usable disk
    from the ASM instance.
    My configuration:
    Hardware: Sun X4600M2
    Solaris 10 8/07 x86_64
    EMC PowerPath 5.0.2_b030
    Oracle 10.2.0.1.0
    The PP devices are /dev/rdsk/emcpower* which are softlinks to the correpsonding /devices/pseudo/emcp*.
    Since I know that these devices must have suitable permissions, I've set ownership and
    permission of e.g. /devices/pseudo/emcp@1:a,raw to oracle:dba and 660. The ASM instance's
    init.ora file has *.asm_diskstring='/dev/rdsk/emcpower*', so I assume it will scan all
    /dev/rdsk/emcpower* softlinks and fetch the ones with sufficient permissions. But nonetheless
    a 'select count(*) from v$asm_disk' gives me 0, i.e. nothing.
    I've just read some recommendations of using slice 6 of the disk with partition type 'usr', but
    this seems to me quite superficial. I would like to use simply slice (=partition) 0 starting from
    cylinder 1.
    I would be very glad for any solution.
    Best regards
    Udo

    Problem solved.
    After some tests with plain files instead of devices via undocumented parameter
    asmallow_only_raw_disks=false in order to check ASM functionality,
    I've finally created new node devices only for oracle (and set_asm_allow... back to true).
    original EMC PowerPath pseudo devices (e.g.):
    -bash-3.00$ ls -l /devices/pseudo/emcp@13:a,raw
    crw------- 1 root sys 215, 832 Dec 10 15:29 /devices/pseudo/emcp@13:a,raw
    corresponding new character device with proper ownership and permissions:
    -bash-3.00$ ls -l /u01/app/ora-dev/raw/emcp13a
    crw-rw---- 1 oracle dba 215, 832 Dec 10 14:56 /u01/app/ora-dev/raw/emcp13a
    With *.asm_diskstring='/u01/app/ora-dev/raw/emcp*' in ASM-instance's init.ora,
    I was able to see the devices via select * from v$asm_disk and could create the
    ASM diskgroups.
    Regards
    Udo

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

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

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

  • Unable to recreate ASM instance in 10g rac (2 node )

    Hi,
    I have successfully installed the clusterware and database software.during ASM installation it got failed, i i have cleaned up ASM setup.
    Now i am not able to create asm instance it show following message
    PRKS-1011:Failed to check status of ASM instance "+ASM1" on node "rac1",[
    CRS-0210:Could not find resource ora.rac1.ASM1.asm
    here are few output of commands and activity done
    [oracle@rac1 ~]$ crs_stat -t
    Name Type Target State Host
    ora....C1.lsnr application ONLINE ONLINE rac1
    ora.rac1.gsd application ONLINE ONLINE rac1
    ora.rac1.ons application ONLINE ONLINE rac1
    ora.rac1.vip application ONLINE ONLINE rac1
    ora....C2.lsnr application ONLINE ONLINE rac2
    ora.rac2.gsd application ONLINE ONLINE rac2
    ora.rac2.ons application ONLINE ONLINE rac2
    ora.rac2.vip application ONLINE ONLINE rac2
    [oracle@rac1 ~]$
    [oracle@rac1 ~]$ crs_profile -validate ora.rac1.ASM1.asm
    CRS-0181: Cannot access the resource profile '/u01/app/oracle/product/10.2.0/crs_1/crs/public/ora.rac1.ASM1.asm.cap'.
    CRS-0180: Resource '/u01/app/oracle/product/10.2.0/crs_1/crs/public/ora.rac1.ASM1.asm.cap' validation failed.
    [oracle@rac1 ~]$ crs_profile -validate ora.rac2.ASM2.asm
    CRS-0181: Cannot access the resource profile '/u01/app/oracle/product/10.2.0/crs_1/crs/public/ora.rac2.ASM2.asm.cap'.
    CRS-0180: Resource '/u01/app/oracle/product/10.2.0/crs_1/crs/public/ora.rac2.ASM2.asm.cap' validation failed.
    [oracle@rac1 ~]$
    [oracle@rac1 ~]$
    [oracle@rac1 ~]$ crs_unregister ora.rac1.ASM1.asm
    CRS-0210: Could not find resource 'ora.rac1.ASM1.asm'.
    [oracle@rac1 ~]$ crs_unregister ora.rac2.ASM2.asm
    CRS-0210: Could not find resource 'ora.rac2.ASM2.asm'.
    I Have deleted following files
    rm -Rf $ORACLE_BASE/admin/+ASM
    rm -Rf $ORACLE_HOME/dbs/*ASM*
    [oracle@rac1 ~]$ rm -Rf $ORACLE_HOME/dbs/*ASM*
    [oracle@rac1 ~]$ rm -Rf $ORACLE_BASE/admin/+ASM
    [oracle@rac1 ~]$ ssh rac2
    Last login: Thu Feb 23 16:31:26 2012 from rac1.mylinux.localdomain
    [oracle@rac2 ~]$ rm -Rf $ORACLE_BASE/admin/+ASM
    [oracle@rac2 ~]$ rm -Rf $ORACLE_HOME/dbs/*ASM*
    dbca -silent -deleteASM -nodelist rac1,rac2 -----AS per oracle DOC
    Also removed entries from oratab file for ASM instances.
    Dbca error message during asm instance creation for both node
    PRKS-1011:Failed to check status of ASM instance "+ASM1" on node "rac1",[
    CRS-0210:Could not find resource ora.rac1.ASM1.asm
    PRKS-1011:Failed to check status of ASM instance "+ASM2" on node "rac2",[
    CRS-0210:Could not find resource ora.rac2.ASM2.asm
    Did i forget to remove entries for ASM instance somewhere.
    Please help me.

    Hi,
    I believe your OCR is corrupted....so restore the OCR from most recent backup (before error ).
    Using crs_* commands on resources with the prefix ora.* (resources provided by Oracle) remains unsupported.
    After restore OCR... remove ASM with "srvctl" command:
    http://docs.oracle.com/cd/B19306_01/rac.102/b14197/srvctladmin.htm#CHDBDDAD
    Regards,
    Levi Pereira

  • ASM instance for Multiple DBs in a RAC environment - 10GR2

    Are there any drawbacks if you create 2 RAC databases ex Chicago (consisting on 2 nodes Chicago1 and Chicago2) and Orlando (consisting of Oralndo1 and Oralndo2) on the same ASM instance running on Oracle 10G R2.
    Would it be better to create 2 ASM instances?
    Thanks

    ASM is node specific. Meaning you can only have one ASM instance per node.. its like any other volume manager. You only need one volume manager/storage manager to handle the storage for a given node. Its no different with ASM.
    So irrespective of the number of databases you plan to create on a node, you will only have one ASM instance.
    A word of caution when creating multiple RDBMS instances, is to ensure you have sufficient resources for this. Unless the user access patterns are considerably different or the business needs stipulate separate database, you should also consider database consolidation if possible.

  • Problem with ASM page in OEM

    I created an ASM instance manually. Then I created a database using ASM with DBCA. The installation was good, only I ignored a msgbox about user/password of ASM.
    When I enter to Oracle Enterprise Manager from browser, it seems to work well, but when I click to link ASM page(general section) appears a Actual status is DOWN. I cant see any info about ASM. I checked the alerts an appers the next message: "Failed to connect to the ASM instance. ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach)".
    If I use sqlplus to connect to ASM instance, it works very good. ALso, I created an tablespace on diskgroup.
    Any ideas in order to see the ASM info in the OEM?
    ******* version
    The version of linux database is:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    ********listener
    [oracle@localhost admin]$ lsnrctl status
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 15-JUL-2009 22:08:20
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 15-JUL-2009 21:26:22
    Uptime 0 days 0 hr. 41 min. 57 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
    Services Summary...
    Service "+ASM" has 2 instance(s).
    Instance "+ASM", status UNKNOWN, has 1 handler(s) for this service...
    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 "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "dbsasm" has 1 instance(s).
    Instance "dbsasm", status READY, has 1 handler(s) for this service...
    Service "dbsasmXDB" has 1 instance(s).
    Instance "dbsasm", status READY, has 1 handler(s) for this service...
    Service "dbsasm_XPT" has 1 instance(s).
    Instance "dbsasm", status READY, has 1 handler(s) for this service...
    The command completed successfully

    I can't seem to recall now but there is a way out to add the ASM instance as a target in the targets.xml file using emca command. Let me see if I can pull out the notes.
    Aman....

  • Drop ASM instance.

    Hi,
    My OCR got corrupted and I am not able to recover as I don't have backup of that. Because of this, CRS daemon is not coming up and this leads me to clean up this cluster and build it again. I am not much worried as this is my second development env.
    I want to drop the disk groups but I am not able to do because those are not being mounted.
    SQL> select name from v$asm_diskgroup;
    NAME
    DG1
    RECOVERYDEST
    SQL> drop diskgroup DG1 including contents;
    drop diskgroup DG1 including contents
    ERROR at line 1:
    ORA-15039: diskgroup not dropped
    ORA-15001: diskgroup "DG1" does not exist or is not mounted
    If I do remove ASM using DBCA, will all diskgroups be removed or do I need to perform any cleanup?
    Thanks,

    Thanks Vishwa,
    Here is the output,
    $ ps -aef|grep d.bin
    oracle 5234 5215 0 18:37 ? 00:00:00 /u01/app/oracle/product/10.2.0/crs_1/bin/evmd.bin
    oracle 5330 5329 0 18:37 ? 00:00:00 /u01/app/oracle/product/10.2.0/crs_1/bin/ocssd.bin
    oracle 7646 7191 0 18:39 pts/1 00:00:00 grep d.bin
    $ crs_stat -t
    CRS-0184: Cannot communicate with the CRS daemon.
    When I do mount the DG1 diskgroup I am getting below error on all nodes,
    SQL> startup
    ASM instance started
    Total System Global Area 92274688 bytes
    Fixed Size 1217884 bytes
    Variable Size 65890980 bytes
    ASM Cache 25165824 bytes
    ORA-15032: not all alterations performed
    ORA-15130: diskgroup "DG1" is being dismounted
    ORA-15066: offlining disk "DG1_0000" may result in a data loss
    SQL> alter diskgroup DG1 mount;
    alter diskgroup DG1 mount
    ERROR at line 1:
    ORA-15032: not all alterations performed
    ORA-15130: diskgroup "DG1" is being dismounted
    ORA-15066: offlining disk "DG1_0000" may result in a data loss
    Ashok: As far as I know, OCR stores the information about Oracle clusterware controls and if it is not up then clusterware controls won't come up. My crsd daemon is not comming up (even though If I try manually to bring it up) and this daemon is directly liked up with OCR. Does it mean that if this daemon is not up then it won't allow O/S to access OCR? Even If I try to take backup using ocrconfig -export ..it throws an error.
    As I don't have backup of OCR, I need to drop the database and uninstall just Oracle clusterware and re-install and create the database. I want to clean up the disk headers as I want to use those to build diskgroup again, do you guys have any idea, how to do that?
    Do let me know if you have different view on this.
    Thanks.

Maybe you are looking for