Smon process in ASM instance

Dear All,
Can anyone of you tell me what exactly the SMON process will do in ASM instance. As SMON in db instance will recover the db instance. But in case of ASM instance i think it will do little bit different
Thanks in advance

Hi There ,
The system monitor process (SMON) is in charge of a variety of system-level cleanup duties. The duties assigned to SMON include:
Performing instance recovery,
Recovering terminated transactions that were skipped during instance recovery because of file-read or tablespace offline errors. SMON recovers the transactions when the tablespace or file is brought back online.
Coalescing contiguous free extents within dictionary-managed tablespaces.
SMON checks regularly to see whether it is needed. Other processes can call SMON if they detect a need for it.
Process Architecture
Thanks,
Anuj

Similar Messages

  • ORA-00488: RBAL process terminated with error causing ASM instance to crash

    Hi Freinds,
    I am manging a three node ASM cluster on 10g(10.2.0.2).Yesterday I observed one of the ASM instance got crashed .On reviewing the Alert log of crashed ASM instance I found
    "*ORA-00488: RBAL process terminated with error*"
    and subsequently
    "*PMON: terminating instance due to error 488*".
    I could restart the crashed instance without an issues but I want to know what kind of event could lead to such scenario.
    I searched net and metalink but didn't found any helpful information.
    Did any of you faced similar issues and do you have understanding why and when it happens.
    Thanks in Advance
    Arindam.

    Hi,
    There is bug reported on such issue, please check further on metalink if you have support.
    Dilip Patel.

  • SMON process terminated with error

    Hi,
    Oracle Version:10.2.0.3
    Operating system:Linux
    I alert log file i found that smon process was terminated with error.Below is the contents of the alert log file.
    Fri Dec 31 05:12:32 2010
    sculkget: failed to lock /home/oracle/oracle/oracle/product/10.2.0/db_1/dbs/lkinstqfundeca exclusive
    sculkget: lock held by PID: 9127
    Oracle Instance Shutdown operation failed. Another process may be attempting to startup or shutdown this Instance.
    Failed to acquire instance startup/shutdown serialization primitive
    Fri Dec 31 05:56:23 2010
    sculkget: failed to lock /home/oracle/oracle/oracle/product/10.2.0/db_1/dbs/lkinstqfundeca exclusive
    sculkget: lock held by PID: 9127
    Oracle Instance Shutdown operation failed. Another process may be attempting to startup or shutdown this Instance.
    Failed to acquire instance startup/shutdown serialization primitive
    Fri Dec 31 06:40:53 2010
    WARNING: inbound connection timed out (ORA-3136)
    Fri Dec 31 06:40:53 2010
    WARNING: inbound connection timed out (ORA-3136)
    Fri Dec 31 06:40:53 2010
    WARNING: inbound connection timed out (ORA-3136)
    Fri Dec 31 06:40:53 2010
    WARNING: inbound connection timed out (ORA-3136)
    Fri Dec 31 06:40:53 2010
    WARNING: inbound connection timed out (ORA-3136)
    Fri Dec 31 06:40:53 2010
    WARNING: inbound connection timed out (ORA-3136)
    Fri Dec 31 06:40:53 2010
    WARNING: inbound connection timed out (ORA-3136)
    Fri Dec 31 06:40:53 2010
    MMNL absent for 7904 secs; Foregrounds taking over
    Fri Dec 31 06:40:53 2010
    Starting background process EMN0
    Fri Dec 31 06:40:53 2010
    The value (30) of MAXTRANS parameter ignored.
    Fri Dec 31 06:40:53 2010
    Thread 1 cannot allocate new log, sequence 62004
    Checkpoint not complete
      Current log# 1 seq# 62003 mem# 0: /u02/oradata/qfundeca/redo01a.log
      Current log# 1 seq# 62003 mem# 1: /u03/oradata/qfundeca/redo01b.log
    EMN0 started with pid=29, OS id=7176
    Fri Dec 31 06:40:53 2010
    Shutting down instance: further logons disabled
    Fri Dec 31 06:40:53 2010
    ksvcreate: Process(m001) creation failed
    Fri Dec 31 06:40:53 2010
    kkjcre1p: unable to spawn jobq slave process, error 1089
    Fri Dec 31 06:40:53 2010
    kkjcre1p: unable to spawn jobq slave process, error 1089
    Fri Dec 31 06:40:54 2010
    Stopping background process QMNC
    Fri Dec 31 06:40:54 2010
    Stopping background process CJQ0
    Fri Dec 31 06:40:54 2010
    Thread 1 cannot allocate new log, sequence 62004
    Private strand flush not complete
      Current log# 1 seq# 62003 mem# 0: /u02/oradata/qfundeca/redo01a.log
      Current log# 1 seq# 62003 mem# 1: /u03/oradata/qfundeca/redo01b.log
    Fri Dec 31 06:40:56 2010
    Stopping background process MMNL
    Fri Dec 31 06:40:56 2010
    Thread 1 advanced to log sequence 62004
      Current log# 2 seq# 62004 mem# 0: /u02/oradata/qfundeca/redo02a.log
      Current log# 2 seq# 62004 mem# 1: /u03/oradata/qfundeca/redo02b.log
    Fri Dec 31 06:40:57 2010
    Starting background process QMNC
    Fri Dec 31 06:40:57 2010
    Errors in file /home/oracle/oracle/admin/qfundeca/udump/qfundeca_ora_3065.trc:
    ORA-00443: background process "QMNC" did not start
    Fri Dec 31 06:41:04 2010
    Stopping background process MMON
    Fri Dec 31 06:41:05 2010
    Errors in file /home/oracle/oracle/admin/qfundeca/udump/qfundeca_ora_9127.trc:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12663: Services required by client not available on the server
    ORA-36961: Oracle OLAP is not available.
    ORA-06512: at "SYS.OLAPIHISTORYRETENTION", line 1
    ORA-06512: at line 15
    Fri Dec 31 06:41:05 2010
    Shutting down instance (immediate)
    License high water mark = 93
    Fri Dec 31 06:41:05 2010
    Stopping Job queue slave processes
    Fri Dec 31 06:41:05 2010
    Job queue slave processes stopped
    Fri Dec 31 06:41:57 2010
    All dispatchers and shared servers shutdown
    Fri Dec 31 06:41:59 2010
    ALTER DATABASE CLOSE NORMAL
    Fri Dec 31 06:41:59 2010
    SMON: disabling tx recovery
    SMON: disabling cache recovery
    Fri Dec 31 06:42:00 2010
    Shutting down archive processes
    Archiving is disabled
    Fri Dec 31 06:42:05 2010
    ARCH shutting down
    ARC1: Archival stopped
    Fri Dec 31 06:42:11 2010
    ARCH shutting down
    ARC0: Archival stopped
    Fri Dec 31 06:42:12 2010
    Thread 1 closed at log sequence 62004
    Successful close of redo thread 1
    Fri Dec 31 06:42:12 2010
    Completed: ALTER DATABASE CLOSE NORMAL
    Fri Dec 31 06:42:12 2010
    ALTER DATABASE DISMOUNT
    Completed: ALTER DATABASE DISMOUNT
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    Fri Dec 31 06:49:52 2010
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =27
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.3.0.
    System parameters with non-default values:
      processes                = 150
      sessions                 = 250
      __shared_pool_size       = 385875968
      __large_pool_size        = 16777216
      __java_pool_size         = 16777216
      __streams_pool_size      = 33554432
      streams_pool_size        = 33554432
      sga_target               = 1610612736
      control_files            = /u02/oradata/qfundeca/control01.ctl, /u02/oradata/qfundeca/control02.ctl, /u03/oradata/qfundeca/control03.ctl
      db_block_size            = 8192
      __db_cache_size          = 1140850688
      compatible               = 10.2.0.3.0
      log_archive_dest_1       = LOCATION=/u02/oradata/arch/qfundeca
      log_archive_format       = %t_%s_%r.dbf
      archive_lag_target       = 2700
      db_file_multiblock_read_count= 16
      db_recovery_file_dest    = /u02/oradata/flash_recovery_area
      db_recovery_file_dest_size= 21474836480
      standby_file_management  = AUTO
      undo_management          = AUTO
      undo_tablespace          = UNDOTBS1
      remote_login_passwordfile= EXCLUSIVE
      db_domain                =
      dispatchers              = (PROTOCOL=TCP) (SERVICE=qfundecaXDB)
      job_queue_processes      = 17
      cursor_sharing           = EXACT
      background_dump_dest     = /home/oracle/oracle/admin/qfundeca/bdump
      user_dump_dest           = /home/oracle/oracle/admin/qfundeca/udump
      core_dump_dest           = /home/oracle/oracle/admin/qfundeca/cdump
      audit_file_dest          = /home/oracle/oracle/admin/qfundeca/adump
      db_name                  = qfundeca
      open_cursors             = 300
      pga_aggregate_target     = 839909376
    PMON started with pid=2, OS id=9591
    PSP0 started with pid=3, OS id=9593
    MMAN started with pid=4, OS id=9595
    DBW0 started with pid=5, OS id=9597
    LGWR started with pid=6, OS id=9599
    CKPT started with pid=7, OS id=9601
    SMON started with pid=8, OS id=9603
    RECO started with pid=9, OS id=9605
    CJQ0 started with pid=10, OS id=9607
    MMON started with pid=11, OS id=9609
    Fri Dec 31 06:49:54 2010
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    MMNL started with pid=12, OS id=9611
    Fri Dec 31 06:49:54 2010
    starting up 1 shared server(s) ...
    Oracle Data Guard is not available in this edition of Oracle.
    Fri Dec 31 06:49:54 2010
    ALTER DATABASE   MOUNT
    Fri Dec 31 06:49:58 2010
    Setting recovery target incarnation to 1
    Fri Dec 31 06:49:58 2010
    Successful mount of redo thread 1, with mount id 256948178
    Fri Dec 31 06:49:58 2010
    Database mounted in Exclusive Mode
    Completed: ALTER DATABASE   MOUNT
    Fri Dec 31 06:49:58 2010
    ALTER DATABASE OPEN
    Fri Dec 31 06:49:58 2010
    LGWR: STARTING ARCH PROCESSES
    ARC0 started with pid=16, OS id=9619
    Fri Dec 31 06:49:58 2010
    ARC0: Archival started
    ARC1: Archival started
    LGWR: STARTING ARCH PROCESSES COMPLETE
    ARC1 started with pid=17, OS id=9621
    Fri Dec 31 06:49:58 2010
    Thread 1 opened at log sequence 62004
      Current log# 2 seq# 62004 mem# 0: /u02/oradata/qfundeca/redo02a.log
      Current log# 2 seq# 62004 mem# 1: /u03/oradata/qfundeca/redo02b.log
    Successful open of redo thread 1
    Fri Dec 31 06:49:58 2010
    ARC0: Becoming the 'no FAL' ARCH
    ARC0: Becoming the 'no SRL' ARCH
    Fri Dec 31 06:49:58 2010
    ARC1: Becoming the heartbeat ARCH
    Fri Dec 31 06:49:58 2010
    SMON: enabling cache recovery
    Fri Dec 31 06:49:58 2010
    Successfully onlined Undo Tablespace 1.
    Fri Dec 31 06:49:58 2010
    SMON: enabling tx recovery
    Fri Dec 31 06:49:58 2010
    Database Characterset is WE8ISO8859P1
    replication_dependency_tracking turned off (no async multimaster replication found)
    Starting background process QMNC
    QMNC started with pid=18, OS id=9623
    Fri Dec 31 06:49:59 2010
    Errors in file /home/oracle/oracle/admin/qfundeca/udump/qfundeca_ora_9617.trc:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12663: Services required by client not available on the server
    ORA-36961: Oracle OLAP is not available.
    ORA-06512: at "SYS.OLAPIHISTORYRETENTION", line 1
    ORA-06512: at line 15
    Fri Dec 31 06:50:00 2010
    Completed: ALTER DATABASE OPEN
    Fri Dec 31 06:50:00 2010
    db_recovery_file_dest_size of 20480 MB is 0.00% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    Fri Dec 31 06:55:59 2010
    The value (30) of MAXTRANS parameter ignored.
    kupprdp: master process DM00 started with pid=36, OS id=12004
             to execute - SYS.KUPM$MCP.MAIN('QFUNDECA_PROD_BKP', 'QFUNDECAPROD', 'KUPC$C_1_20101231065559', 'KUPC$S_1_20101231065559', 0);
    kupprdp: worker process DW01 started with worker id=1, pid=37, OS id=12009
             to execute - SYS.KUPW$WORKER.MAIN('QFUNDECA_PROD_BKP', 'QFUNDECAPROD');
    Fri Dec 31 07:04:59 2010
    Thread 1 cannot allocate new log, sequence 62005
    Private strand flush not complete
      Current log# 2 seq# 62004 mem# 0: /u02/oradata/qfundeca/redo02a.log
      Current log# 2 seq# 62004 mem# 1: /u03/oradata/qfundeca/redo02b.log
    Thread 1 advanced to log sequence 62005
      Current log# 3 seq# 62005 mem# 0: /u02/oradata/qfundeca/redo03a.log
      Current log# 3 seq# 62005 mem# 1: /u03/oradata/qfundeca/redo03b.log
    Fri Dec 31 07:30:01 2010
    Thread 1 cannot allocate new log, sequence 62006
    Private strand flush not complete
      Current log# 3 seq# 62005 mem# 0: /u02/oradata/qfundeca/redo03a.log
      Current log# 3 seq# 62005 mem# 1: /u03/oradata/qfundeca/redo03b.log
    Thread 1 advanced to log sequence 62006
      Current log# 1 seq# 62006 mem# 0: /u02/oradata/qfundeca/redo01a.log
      Current log# 1 seq# 62006 mem# 1: /u03/oradata/qfundeca/redo01b.log
    Fri Dec 31 07:54:42 2010
    System State dumped to trace file /home/oracle/oracle/admin/qfundeca/udump/qfundeca_ora_24979.trc
    Fri Dec 31 07:55:06 2010
    System State dumped to trace file /home/oracle/oracle/admin/qfundeca/udump/qfundeca_ora_25057.trc
    Fri Dec 31 07:55:37 2010
    System State dumped to trace file /home/oracle/oracle/admin/qfundeca/udump/qfundeca_ora_25209.trc
    Fri Dec 31 07:59:33 2010
    System State dumped to trace file /home/oracle/oracle/admin/qfundeca/udump/qfundeca_ora_26237.trc
    Fri Dec 31 08:00:25 2010
    System State dumped to trace file /home/oracle/oracle/admin/qfundeca/udump/qfundeca_ora_26523.trc
    Fri Dec 31 08:00:40 2010
    System State dumped to trace file /home/oracle/oracle/admin/qfundeca/udump/qfundeca_ora_26909.trc
    Fri Dec 31 08:06:34 2010
    Errors in file /home/oracle/oracle/admin/qfundeca/bdump/qfundeca_pmon_9591.trc:
    *ORA-00474: SMON process terminated with error*
    *Fri Dec 31 08:06:34 2010*
    *PMON: terminating instance due to error 474*
    Instance terminated by PMON, pid = 9591
    Fri Dec 31 08:08:31 2010
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =27
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.3.0.
    System parameters with non-default values:
      processes                = 150
      sessions                 = 250
      __shared_pool_size       = 234881024
      __large_pool_size        = 16777216
      __java_pool_size         = 16777216
      __streams_pool_size      = 33554432
      streams_pool_size        = 33554432
      sga_target               = 1610612736
      control_files            = /u02/oradata/qfundeca/control01.ctl, /u02/oradata/qfundeca/control02.ctl, /u03/oradata/qfundeca/control03.ctl
      db_block_size            = 8192
      __db_cache_size          = 1291845632
      compatible               = 10.2.0.3.0
      log_archive_dest_1       = LOCATION=/u02/oradata/arch/qfundeca
      log_archive_format       = %t_%s_%r.dbf
      archive_lag_target       = 2700
      db_file_multiblock_read_count= 16
      db_recovery_file_dest    = /u02/oradata/flash_recovery_area
      db_recovery_file_dest_size= 21474836480
      standby_file_management  = AUTO
      undo_management          = AUTO
      undo_tablespace          = UNDOTBS1
      remote_login_passwordfile= EXCLUSIVE
      db_domain                =
      dispatchers              = (PROTOCOL=TCP) (SERVICE=qfundecaXDB)
      job_queue_processes      = 17
      cursor_sharing           = EXACT
      background_dump_dest     = /home/oracle/oracle/admin/qfundeca/bdump
      user_dump_dest           = /home/oracle/oracle/admin/qfundeca/udump
      core_dump_dest           = /home/oracle/oracle/admin/qfundeca/cdump
      audit_file_dest          = /home/oracle/oracle/admin/qfundeca/adump
      db_name                  = qfundeca
      open_cursors             = 300
      pga_aggregate_target     = 839909376
    PMON started with pid=2, OS id=648
    PSP0 started with pid=3, OS id=650
    MMAN started with pid=4, OS id=652
    DBW0 started with pid=5, OS id=654
    LGWR started with pid=6, OS id=656
    CKPT started with pid=7, OS id=658
    SMON started with pid=8, OS id=660
    RECO started with pid=9, OS id=662
    CJQ0 started with pid=10, OS id=664
    MMON started with pid=11, OS id=666
    Fri Dec 31 08:08:32 2010
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    MMNL started with pid=12, OS id=668
    Fri Dec 31 08:08:32 2010
    starting up 1 shared server(s) ...
    Oracle Data Guard is not available in this edition of Oracle.
    Fri Dec 31 08:08:32 2010
    ALTER DATABASE   MOUNT
    Fri Dec 31 08:08:36 2010
    Setting recovery target incarnation to 1
    Fri Dec 31 08:08:36 2010
    Successful mount of redo thread 1, with mount id 257031232
    Fri Dec 31 08:08:36 2010
    Database mounted in Exclusive Mode
    Completed: ALTER DATABASE   MOUNT
    Fri Dec 31 08:08:36 2010
    ALTER DATABASE OPEN
    Fri Dec 31 08:08:37 2010
    Beginning crash recovery of 1 threads
    Fri Dec 31 08:08:37 2010
    Started redo scan
    Fri Dec 31 08:08:37 2010
    Completed redo scan
    31201 redo blocks read, 754 data blocks need recovery
    Fri Dec 31 08:08:38 2010
    Started redo application at
    Thread 1: logseq 62004, block 66343
    Fri Dec 31 08:08:38 2010
    Recovery of Online Redo Log: Thread 1 Group 2 Seq 62004 Reading mem 0
      Mem# 0: /u02/oradata/qfundeca/redo02a.log
      Mem# 1: /u03/oradata/qfundeca/redo02b.log
    Fri Dec 31 08:08:38 2010
    Recovery of Online Redo Log: Thread 1 Group 3 Seq 62005 Reading mem 0
      Mem# 0: /u02/oradata/qfundeca/redo03a.log
      Mem# 1: /u03/oradata/qfundeca/redo03b.logHow to know what is the reason for this one.On that day the database hangs two time as i mentioned in my previous post.
    Thanks & Regards,
    Poorna Prasad.

    Hi Chinar,
    Here is the contents for the file /home/oracle/oracle/admin/qfundeca/bdump/qfundeca_pmon_9591.trc
    /home/oracle/oracle/admin/qfundeca/bdump/qfundeca_pmon_9591.trc
    Oracle Database 10g Release 10.2.0.3.0 - Production
    ORACLE_HOME = /home/oracle/oracle/oracle/product/10.2.0/db_1
    System name:     Linux
    Node name:     virqts2ora001.localdomain
    Release:     2.6.9-5.ELsmp
    Version:     #1 SMP Wed Jan 5 19:30:39 EST 2005
    Machine:     i686
    Instance name: qfundeca
    Redo thread mounted by this instance: 1
    Oracle process number: 2
    Unix process pid: 9591, image: [email protected] (PMON)
    *** 2010-12-31 08:06:34.723
    *** SERVICE NAME:(SYS$BACKGROUND) 2010-12-31 08:06:34.723
    *** SESSION ID:(250.1) 2010-12-31 08:06:34.723
    Background process SMON found dead
    Oracle pid = 8
    OS pid (from detached process) = 9603
    OS pid (from process state) = 9603
    dtp = 0x2000ed88, proc = 0x7f3528a0
    Dump of memory from 0x2000ED88 to 0x2000EDB4
    2000ED80                   0000007C 7F3528A0          [|....(5.]
    2000ED90 00000000 00000000 4E4F4D53 00000200  [........SMON....]
    2000EDA0 00002583 FFFFFFFF 00000001 5634F590  [.%............4V]
    2000EDB0 00040081                             [....]           
    Dump of memory from 0x7F3528A0 to 0x7F352E58
    7F3528A0 00000102 00000000 00000000 00000000  [................]
    7F3528B0 00000000 7F5FDF30 7F95787C 7F4C61E0  [....0._.|x...aL.]
    7F3528C0 7F956AE4 00000000 7F956B48 7F956B48  [.j......Hk..Hk..]
    7F3528D0 7F957870 00001601 7F4AA968 7F4C61E0  [px......h.J..aL.]
    7F3528E0 00000008 7F4C7430 7F4C75B4 00000000  [....0tL..uL.....]
    7F3528F0 7F5FCE18 7F5FDF48 00000000 00000000  [.._.H._.........]
    7F352900 00000000 00000000 00000000 00000000  [................]
            Repeat 2 times
    7F352930 00000000 00000000 00000000 000C0000  [................]
    7F352940 00000000 00080000 00000000 00050000  [................]
    7F352950 00000000 00040000 00000000 00040000  [................]
    7F352960 00000000 00080000 00000000 000C0000  [................]
    7F352970 00000000 000C0000 00000000 00050000  [................]
    7F352980 00000000 00110000 00000000 000F0000  [................]
    7F352990 00000000 00000000 00000000 00000000  [................]
            Repeat 3 times
    7F3529D0 00000002 7F3529D4 7F3529D4 00000000  [.....)5..)5.....]
    7F3529E0 00000001 00000000 7F3529E8 7F3529E8  [.........)5..)5.]
    7F3529F0 00000000 00000000 00000000 00000000  [................]
            Repeat 1 times
    7F352A10 00000021 00000018 00000095 00000015  [!...............]
    7F352A20 7F366E98 7F351D30 00010000 00000000  [.n6.0.5.........]
    7F352A30 00000000 00000000 00000000 00000000  [................]
            Repeat 1 times
    7F352A50 00000000 00000000 00002583 00000000  [.........%......]
    7F352A60 00000000 00000000 00000000 00000000  [................]
            Repeat 2 times
    7F352A90 00000000 00000000 7F3528A0 00000000  [.........(5.....]
    7F352AA0 00000000 00000000 00000000 00000000  [................]
            Repeat 6 times
    7F352B10 00000000 7F352B14 7F352B14 00000000  [.....+5..+5.....]
    7F352B20 00000000 00000001 00000000 00000000  [................]
    7F352B30 3461800E 0000000C 00002583 FFFFFFFF  [..a4.....%......]
    7F352B40 B74796C0 00000000 00000000 00000000  [..G.............]
    7F352B50 00000000 00000000 00000000 00000000  [................]
    7F352B60 00000000 00000000 00000008 FFFFFFFF  [................]
    7F352B70 00000000 00000000 00000000 00000000  [................]
            Repeat 7 times
    7F352BF0 00000000 00000000 6361726F 0000656C  [........oracle..]
    7F352C00 00000000 00000000 00000000 00000000  [................]
    7F352C10 00000000 00000000 00000006 71726976  [............virq]
    7F352C20 6F327374 30306172 6F6C2E31 646C6163  [ts2ora001.locald]
    7F352C30 69616D6F 0000006E 00000000 00000000  [omain...........]
    7F352C40 00000000 00000000 00000000 00000000  [................]
    7F352C50 00000000 00000000 00000000 00000019  [................]
    7F352C60 4E4B4E55 004E574F 00000000 00000000  [UNKNOWN.........]
    7F352C70 00000000 00000000 00000000 00000000  [................]
    7F352C80 00000008 33303639 00000000 00000000  [....9603........]
    7F352C90 00000000 00000000 00000000 00000004  [................]
    7F352CA0 6361726F 7640656C 74717269 726F3273  [oracle@virqts2or]
    7F352CB0 31303061 636F6C2E 6F646C61 6E69616D  [a001.localdomain]
    7F352CC0 4D532820 00294E4F 00000000 00000000  [ (SMON).........]
    7F352CD0 00000027 00000002 00000001 7864736B  ['...........ksdx]
    7F352CE0 6B747366 312B2928 6B2D3C39 63786473  [fstk()+19<-ksdxc]
    7F352CF0 2B292862 31323331 73732D3C 65737570  [b()+1321<-sspuse]
    7F352D00 2B292872 3C323031 3930302D 41374131  [r()+102<-0091A7A]
    7F352D10 00000032 00000000 00000000 00000000  [2...............]
    7F352D20 00000000 00000000 00000000 00000000  [................]
            Repeat 4 times
    7F352D70 00000000 00000000 00000000 00060200  [................]
    7F352D80 0000691D FFFFFFFF 00000000 00000000  [.i..............]
    7F352D90 7F38693C 7F35334C 7F3527DC 00000000  [<i8.L35..'5.....]
    7F352DA0 7F5D3CEC 00000000 00000000 00000000  [.<].............]
    7F352DB0 00000000 00000000 00000000 00000000  [................]
    7F352DC0 7F352DC0 7F352DC0 001B0000 00130000  [.-5..-5.........]
    7F352DD0 00029615 0007CBB1 001E9615 0000EB2C  [............,...]
    7F352DE0 00000000 00005F28 00000000 0002C440  [....(_......@...]
    7F352DF0 00000000 00000814 00000000 00000088  [................]
    7F352E00 00000000 00000814 00000000 00000000  [................]
    7F352E10 00000000 00000000 00000000 00000000  [................]
            Repeat 3 times
    7F352E50 00000000 00000003                    [........]       
    error 474 detected in background process
    ORA-00474: SMON process terminated with error

  • Idle ASM-instance in list of processess

    Hello!
    I see smon of ASM-instanse in list of processes of AIX,
    after chekin the status :
    srvctl status ASM
    ASM is not running.Please let me now , why ASM-instance is idle and at the same time is in list of processes of OS ?
    I think if instance is idle then shу don't take server resources
    I'm usung 11.2.0.3
    Thanks and regards,
    Pavel

    Hi Victor
    ps -ef|grep asm
    oracle 9309 1 0 Aug 10 ? 18:17 asm_pmon_+ASM
    oracle 9311 1 0 Aug 10 ? 2:49 asm_psp0_+ASM
    oracle 9313 1 0 Aug 10 ? 4:38 asm_mman_+ASM
    oracle 9315 1 0 Aug 10 ? 2:56 asm_dbw0_+ASM
    oracle 9317 1 0 Aug 10 ? 3:41 asm_lgwr_+ASM
    oracle 9319 1 0 Aug 10 ? 4:03 asm_ckpt_+ASM
    oracle 9321 1 0 Aug 10 ? 2:41 asm_smon_+ASM
    oracle 9323 1 0 Aug 10 ? 3:06 asm_rbal_+ASM
    oracle 9326 1 0 Aug 10 ? 9:24 asm_gmon_+ASM
    oracle 8052 18584 0 18:13:03 pts/13 0:00 grep asm
    oracle 4883 1 0 Oct 09 ? 5:25 /u/oracle/grid/bin/tnslsnr listener_asm -inherit
    crsctl status res -t
    NAME TARGET STATE SERVER STATE_DETAILS
    Local Resources
    ora.asm
    OFFLINE OFFLINE p900 Instance Shutdown
    ora.ons
    OFFLINE OFFLINE p900
    Cluster Resources
    ora.cssd
    1 OFFLINE OFFLINE
    ora.diskmon
    1 OFFLINE OFFLINE
    ora.evmd
    1 OFFLINE OFFLINE
    Are you using "oracle" user for ORACLE DATABASE and "grid" user for GI?
    Yes , Viktor
    export ...
    sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.3.0 Production on Thu Dec 20 18:16:31 2012
    Copyright (c) 1982, 2011, Oracle. All rights reserved.
    Connected to an idle instance.Pavel

  • HELP !! only one ASM instance  up at any given time on a 2 node RAC cluster

    OS: Solaris 10
    Oracle: 10.2.0.4
    Problem: Installing ASM, dbca hangs, and errors out with End of communication channel.
    Only one ASM instance can be brought up at any given time
    PLEASE HELP !!!!
    - nk

    alert log
    ======
    Thu Oct 1 23:09:54 2009
    lmon registered with NM - instance id 1 (internal mem no 0)
    Thu Oct 1 23:09:54 2009
    Reconfiguration started (old inc 0, new inc 12)
    ASM instance
    List of nodes:
    0 1
    Global Resource Directory frozen
    Communication channels reestablished
    Thu Oct 1 23:24:59 2009
    Errors in file /oracle/admin/+ASM/bdump/+asm1_lmon_1999.trc:
    ORA-00481: LMON process terminated with error
    Thu Oct 1 23:24:59 2009
    LMON: terminating instance due to error 481
    Thu Oct 1 23:24:59 2009
    System state dump is made for local instance
    Thu Oct 1 23:24:59 2009
    Trace dumping is performing id=[cdmp_20091001232459]
    Thu Oct 1 23:25:00 2009
    Instance terminated by LMON, pid = 1999
    Thu Oct 1 23:25:03 2009
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Interface type 1 bge1 192.168.10.0 configured from OCR for use as a cluster interconnect
    Interface type 1 bge0 10.134.246.32 configured from OCR for use as a public interface
    Picked latch-free SCN scheme 3
    Using LOG_ARCHIVE_DEST_1 parameter default value as /oracle/product/10.2.0/db_1/dbs/arch
    Autotune of undo retention is turned off.
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.4.0.
    System parameters with non-default values:
    large_pool_size = 12582912
    instance_type = asm
    cluster_database = TRUE
    instance_number = 1
    remote_login_passwordfile= EXCLUSIVE
    background_dump_dest = /oracle/admin/+ASM/bdump
    user_dump_dest = /oracle/admin/+ASM/udump
    core_dump_dest = /oracle/admin/+ASM/cdump
    asm_diskgroups =
    Cluster communication is configured to use the following interface(s) for this instance
    192.168.10.1
    Thu Oct 1 23:25:03 2009
    cluster interconnect IPC version:Oracle UDP/IP (generic)
    IPC Vendor 1 proto 2
    PMON started with pid=2, OS id=17923
    DIAG started with pid=3, OS id=17925
    PSP0 started with pid=4, OS id=17927
    LMON started with pid=5, OS id=17929
    LMD0 started with pid=6, OS id=17931
    LMS0 started with pid=7, OS id=17933
    MMAN started with pid=8, OS id=17937
    DBW0 started with pid=9, OS id=17939
    LGWR started with pid=10, OS id=17941
    CKPT started with pid=11, OS id=17943
    SMON started with pid=12, OS id=17945
    RBAL started with pid=13, OS id=17955
    GMON started with pid=14, OS id=17957
    Thu Oct 1 23:25:04 2009
    lmon registered with NM - instance id 1 (internal mem no 0)
    Thu Oct 1 23:25:04 2009
    Reconfiguration started (old inc 0, new inc 14)
    ASM instance
    List of nodes:
    0 1
    Global Resource Directory frozen
    Communication channels reestablished
    Thu Oct 1 23:40:09 2009
    Errors in file /oracle/admin/+ASM/bdump/+asm1_lmon_17929.trc:
    ORA-00481: LMON process terminated with error
    Thu Oct 1 23:40:09 2009
    LMON: terminating instance due to error 481
    Thu Oct 1 23:40:09 2009
    System state dump is made for local instance
    Thu Oct 1 23:40:09 2009
    Trace dumping is performing id=[cdmp_20091001234009]
    Thu Oct 1 23:40:10 2009
    Instance terminated by LMON, pid = 17929
    Thu Oct 1 23:40:12 2009
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Interface type 1 bge1 192.168.10.0 configured from OCR for use as a cluster interconnect
    Interface type 1 bge0 10.134.246.32 configured from OCR for use as a public interface
    Picked latch-free SCN scheme 3
    Using LOG_ARCHIVE_DEST_1 parameter default value as /oracle/product/10.2.0/db_1/dbs/arch
    Autotune of undo retention is turned off.
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.4.0.
    System parameters with non-default values:
    large_pool_size = 12582912
    instance_type = asm
    cluster_database = TRUE
    instance_number = 1
    remote_login_passwordfile= EXCLUSIVE
    background_dump_dest = /oracle/admin/+ASM/bdump
    user_dump_dest = /oracle/admin/+ASM/udump
    core_dump_dest = /oracle/admin/+ASM/cdump
    asm_diskgroups =
    Cluster communication is configured to use the following interface(s) for this instance
    192.168.10.1
    Thu Oct 1 23:40:13 2009
    cluster interconnect IPC version:Oracle UDP/IP (generic)
    IPC Vendor 1 proto 2
    PMON started with pid=2, OS id=26086
    DIAG started with pid=3, OS id=26088
    PSP0 started with pid=4, OS id=26090
    LMON started with pid=5, OS id=26092
    LMD0 started with pid=6, OS id=26094
    LMS0 started with pid=7, OS id=26096
    MMAN started with pid=8, OS id=26100
    DBW0 started with pid=9, OS id=26102
    LGWR started with pid=10, OS id=26112
    CKPT started with pid=11, OS id=26114
    SMON started with pid=12, OS id=26116
    RBAL started with pid=13, OS id=26118
    GMON started with pid=14, OS id=26120
    Thu Oct 1 23:40:13 2009
    lmon registered with NM - instance id 1 (internal mem no 0)
    Thu Oct 1 23:40:14 2009
    Reconfiguration started (old inc 0, new inc 16)
    ASM instance
    List of nodes:
    0 1
    Global Resource Directory frozen
    Communication channels reestablished

  • Multiple ASM instances using single cluster install - Is it possible??

    Hi,
    I have 2 node RAC cluster installed on Linux. All the storage is on EMC. I need to setup another environment using HP storage on the same hosts. Is it possible to created second ASM instance using the same cluster install?? I wanted to have clear separation b/w EMC and HP environments and that's wondering if it's feasible to do that.
    Haven't tried it yet to see if it complains.
    Thx
    Anitha

    Anitha,
    The data migration won't happen (at least not aggressively) until you do step 2 in your list where you remove the EMC disks. That removal operation will take a long time as Oracle will have to move the data before it can complete the operation. If you want to be sure, I'd recommend creating a new disk group with one of your new disks, put a small tablespace in it, create some data in it, then add a disk to that new group and remove the original disk. Then you'll have some confidence in the procedure and verify that it works without risking your production data. After you test, you can drop the disk group and use the disks for their intended purposes.
    To answer your question, yes, that's the process exactly as I suggested it above. Should work fine--but will probably take a while to do the remove, so be prepared to leave that running for quite a while (i.e. don't expect to close the terminal and go home right after running the remove).
    Dan

  • 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

  • How to login to asm instance?

    T login to an asm instance I have set the
    bash-2.03$ export ORACLE_HOME=/u01app/oracle/product/102/asm
    bash-2.03$ export ORACLE_SID=+ASM
    but when i do a sqlplus "/as sysdba" it shows as connected to idle instance.
    But all asm backgroup processes are up and running.
    How do we login to run the sql:
    select * from V$ASM_DISKGROUP;

    first few rows of ps -ef|grep asm
    oracle 23188 1 0 Jun 05 ? 0:07 asm_diag_+ASM
    oracle 23210 1 0 Jun 05 ? 0:13 asm_dbw0_+ASM
    oracle 23186 1 0 Jun 05 ? 0:12 asm_pmon_+ASM
    oracle 23204 1 0 Jun 05 ? 1:03 asm_lms0_+ASM
    oracle 23214 1 0 Jun 05 ? 0:13 asm_ckpt_+ASM
    oracle 23216 1 0 Jun 05 ? 2:30 asm_smon_+ASM
    oracle 23250 1 0 Jun 05 ? 3:14 asm_lck0_+ASM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to recover SMON process

    hello,
    i am junior DBA ,can u please give info about how to recover SMON process
    regards,
    lakshmi

    SMON, as well as the other background process are required to be up and running. As soon as the process 'dies' Oracle instance will be immediately aborted. There is nothing else to do to try to recover this process. This process should not unexpectedly die, as it would mean you are facing a serious configuration issue or a serious bug problem. And your instance is in an unstable state.
    Another reason why this, or any other instance background process could have died is because of an explicit kill command. Nothing to do in this case either.
    ~ Madrid.

  • Unable to create ASM instance in Sol 10 with oracle 10g

    Hi
    I am trying to create ASM instance in oracle 10g, getting an error will try to add localconfig add command
    "bash-3.00# /export/home/oracle/oracle/product/10.2.0/db_1/bin/localconfig add reset
    Failure at scls_scr_create with code 1
    Internal Error Information:
    Category: 1234
    Operation: scls_scr_create
    Location: mkdir
    Other: Unable to make user dir
    Dep: 2
    Successfully accumulated necessary OCR keys.
    Creating OCR keys for user 'root', privgrp 'root'..
    Operation successful.
    Configuration for local CSS has been initialized
    Adding to inittab
    /etc/init.d/init.cssd: /var/opt/oracle/scls_scr/Sun/root/cssrun: cannot create
    Startup will be queued to init within 30 seconds.
    Checking the status of new Oracle init process...
    Expecting the CRS daemons to be up within 600 seconds.
    Giving up: Oracle CSS stack appears NOT to be running.
    Oracle CSS service would not start as installed
    Automatic Storage Management(ASM) cannot be used until Oracle CSS service is started "
    initcssd has been installed and unable to start also getting an error
    # svcs -x svc:/system/initcssd:default
    svc:/system/initcssd:default (system activity reporting package)
    State: maintenance since Wed Nov 16 10:39:29 2011
    Reason: Start method failed repeatedly, last exited with status 2.
    See: http://sun.com/msg/SMF-8000-KS
    See: sar(1M)
    See: /var/svc/log/system-initcssd:default.log
    Impact: This service is not running.
    Can some please help me to create this instance, alos need a initcssd.zip file for 10g

    Hi thanks,
    I have passed more steps, CSS is started after changing the hostname, after that I created two drive and mounted properly
    when I try to create a ASM disk its failing with following error and idea
    SQL> CREATE DISKGROUP DB_DATA NORMAL REDUNDANCY
    2 FAILGROUP controller1 DISK '/dev/dsk/c0d1s0'
    3 FAILGROUP controller2 DISK '/dev/dsk/c1d1s0';
    CREATE DISKGROUP DB_DATA NORMAL REDUNDANCY
    ERROR at line 1:
    ORA-15018: diskgroup cannot be created
    ORA-15031: disk specification '/dev/dsk/c1d1s0' matches no disks
    ORA-15025: could not open disk '/dev/dsk/c1d1s0'
    ORA-15056: additional error message
    Intel SVR4 UNIX Error: 13: Permission denied
    Additional information: 42
    Additional information: 134497888
    Additional information: -809278080
    ORA-15031: disk specification '/dev/dsk/c0d1s0' matches no disks
    ORA-15025: could not open disk '/dev/dsk/c0d1s0'
    ORA-27037: unable to obtain file status
    Intel SVR4 UNIX Error: 25: Inappropriate ioctl for device
    Additional information: 16
    Additional information: 134497888
    Additional information: -809278080

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

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

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

  • 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

  • Configuring Semaphores for OEL 5.2 and ASM Instance

    Under Document ID 15654.1, the 'processes' parameters of database instances are used to determine the proper sizing of Kernel parameters specific to semaphores. Do we include ASM instance 'processes' in the sizing?

    Individual System V semaphores are small, so one can be generous when
    determining their limits. Having too few is bad, but having lots of unused
    semaphore capability is practically inconsequential.
    To better size your actual usage, use the command:
    # /usr/bin/ipcs -s
    ------ Semaphore Arrays --------
    key        semid      owner      perms      nsems
    0x000000a7 0          root      600        1
    # /usr/bin/ipcs -s -i 0
    Semaphore Array semid=0
    uid=0    gid=0   cuid=0  cgid=0
    mode=0600, access_perms=0600
    nsems = 1
    otime = Wed Apr 28 08:03:25 2010
    ctime = Wed Apr 28 08:03:24 2010
    semnum     value      ncount     zcount     pid
    0          1          0          0          2010will let you determine which processs are using which semaphores.

  • Error at ASM instance creation - PRKS-1009

    Hello all,
    I am in the process of creating a 2 Node RAC database, on VMWare.
    OS - RHEL 4 Oracle 10g
    I have successfully installed the cluster. After this i was in the process of installing Oracle 10g Binaries.. which installed almost fine, until the time when i had to setup ASM storage options in the DBCA.
    Unfortunately, my bad luck the computer rebooted after an automatic (windows update) *Remember i am using RHEL on VMWare server).
    I had to unintall the binaries using the Oracle GUI... after that i removed all the files from db_1 folder.
    I re-initiated the process of installing the db binaries, until the time i came to the asm option, there i got a prompt asking me to re-create the asm instance, which for which i clicked ok... here.. i got an error.
    PRKS-1009 Failed to start ASM Instance "+ASM2" on node "rac2".
    [CRS-1028: Dependency analysis failed because of.
    [CRS-0233: Resource 'ora.rac2.ASM2.asm' has placement error.
    There is one more issue i have, i am unable to use crs_stat command, each time it throws an error saying crs_stat command not found!!
    Please guide...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hello all,
    I have managed to solve this problem.
    The asm instances were running in the background even after uninstalling the binaries.
    I removed the asm instances.
    before that i stopped the asm instances.
    /crs_stat -t
    Stop instance name
    crs_stop <output from crs_stat> asm 1
    crs_stop <output from crs_stat> asm 2
    srvctl remove asm -n rac1 -i +ASM1 -f
    srvctl remove asm -n rac2 -i +ASM1 -f
    then re-create the asm instance
    Thanks!!

  • Create a DR for  a ASM instance

    Hi All,
    We are planning for the ASM migration.
    Database - 10.2.0.4
    Currently we are using the SRDF process to replicate the data in to the DR site....
    After migrating the database to ASM instance, is Data Guard the only option for DR or we have any other methods where we can copy the raw device directly...
    Please advice...
    Thanks & Regards,
    Rakesh

    Yes,Dataguard is the best option..
    thanks,
    baskar.l

Maybe you are looking for

  • Ipod Touch : on the ipod the Artist List is now filled with AlbumArtist instead of Artists

    Hi There, Since the upgrade to iOS 5 on the Ipod ( or the NEW Itunes , one of them ) ... I now have a problem... My iPOD Touch , always did what is was supposed to do ... , click on Music - Artist and it listed almost all the 5000+ Artists that were

  • How to place a file on application server in crm?

    Hi, How to place a file from presentation server to application server in crm?, is ther any tcode or fm to do this one? Thnaks,

  • Address book from MacBook Pro to new 24" iMac

    Hey All.. Just taken delivery of my new iMac 24". Absolutely amazing! However, I'm desperate to import my address book from my MacBook Pro to the new iMac. I have set my MBP into harddrive mode by pressing T on start up. If someone could tell me how

  • PR to be closed if converted to PO

    Hi, If I convert a PR to a PO completely then why PR is not 'closed' automatically? Means 'closed' indicator is not set automatically. IS there any user exit to make this possible? Please advice. Thanks

  • Slow cProjects phase extractors

    We extract attribute and text deltas for projects, phases, tasks, etc. from cProjects every night.  The project and task extractors run very quickly (less than one minute) but the phase extractors run for 45 minutes or more. The phase attributes Data