ASM in a non-RAC environment

Gurus,
what are the advantages, if any, of running ASM in a non-RAC environment?
Thanks.

Any raid (that actually provides multiple disks in a
LVM) will nullify the performance gains of raw that
are associated with disk head contention.
Any disk subsystem with front-end RAM cache will
nullify the rest of the performance gains of raw
disk.
Any 'RAID-5 is good' argument under a database
assumes large and efficient cache.Unfortunately, we can't just discount RAID-5, since it is far too cost-efficient an option these days, with 10, 20, 30+ TB databases. Plus, the storage vendors actually make it efficient enough that it performs almost as well as RAID 1+0.
Multiple disks on the storage subsystem and RAM caches (for reads and writes) are still important and valuable performance enhancements. Remember that your storage subsystem is much more efficient at this than your database or server (since it's designed to do it!). True, it doesn't have knowledge of the database files, their content, and their usage, but you do, and can therefore intelligently configure the subsystem and place the data files.
ASM does nothing more intelligent than stripe the data across all of the available disks. The best part about it is the ability to dynamically grow the groups. The problem with it is that it thwarts the read-ahead cache of the storage subsystem. And, while Oracle will intelligently 'read-ahead', it can't optimize where the heads are on the disk, or take into consideration the 10 other servers accessing the same storage subsystem.
The problem with ASM doing the striping is that, for large databases, you will typically have hundreds of disks underneath the covers. If you gave the OS and then Oracle that many devices, what do you think would happen? It would step all over itself and seriously impair your ability to access the devices in parallel. Whereas, if you group 4 or 8 devices together, the storage subsystem will access them together in parallel for the OS.
So, don't discount your storage box... But yeah, use RAID 1+0 rather than RAID-5 (4,3) when possible!

Similar Messages

  • Cssd does not start in non-RAC environment Thus we can not bring up ASM

    Non-RAC environment
    ASM version = 11.1.0.7
    HP-UX Itanium 11.23
    After power outage, CSSD does not start on non-RAC environment
    Running as root "/sbin/init.d/init.cssd start" does not start cssd
    Oracle support tried "$ASM_HOME/bin/localconfig delete" and "$ASM_HOME/bin/localconfig add"
    but it did not start CSS
    Oracle support tried "$ASM_HOME/bin/localconfig reset $ASM_HOME"
    It started the CSSD and the "crsctl check css" came back with CSS is healthy
    But around 1 minute later it rebooted the server and when it came up again CSS does not start.
    They checked /etc/inittab and it looked fine.
    Before the reboot we saw this message in the /var/adm/syslog/OLDsyslog.log:
    Cluster Ready Services completed waiting on dependencies
    Again it is a NON-RAC environment. We only need CSSD for ASM. We do not have CRS installed on this server.
    Our test system has been down for a week and we did not get the resolution from Oracle support yet !
    Any pointers are greately appriciated.
    Thanks,
    Dzung

    Here is the message in $ASM_HOME/log/<hostname>/alert<hostname>.log :
    2010-07-16 09:42:02.956
    [client(11930)]CRS-1006:The OCR location /db/app/oracle/product/11.1/cdata/localhost/local.ocr is inacce
    ssible. Details in /db/app/oracle/product/11.1/log/rmodbd01/client/clscfg10.log.
    2010-07-16 09:42:02.971
    [client(11930)]CRS-1006:The OCR location /db/app/oracle/product/11.1/cdata/localhost/local.ocr is inacce
    ssible. Details in /db/app/oracle/product/11.1/log/rmodbd01/client/clscfg10.log.
    2010-07-16 09:42:03.054
    [client(11930)]CRS-1013:The OCR at /db/app/oracle/product/11.1/cdata/localhost/local.ocr was successfull
    y formatted using version 2. Ignore earlier CRS-1006 messages if any.
    2010-07-16 09:42:46.379
    [cssd(12297)]CRS-1601:CSSD Reconfiguration complete. Active nodes are rmodbd01 .
    Here is the message in $ASM_HOME/log/<hostname>/cssd/cssdOUT.log:
    setsid: failed with -1/1
    s0clssscGetEnvOracleUser: calling getpwnam_r for user oracle
    s0clssscGetEnvOracleUser: info for user oracle complete
    07/16/10 09:42:36: CSSD starting
    Here is the message in $ASM_HOME/log/<hostname>/cssd/ocssd.log:
    [    CSSD]2010-07-16 09:42:46.378 [18] >TRACE: clssgmCompareSwapEventValue: changed CmInfo State val 7, from 6, changes 6
    [    CSSD]2010-07-16 09:42:46.378 [18] >TRACE: clssgmSetVersions: properties common to all peers: 1,2,3,4,5,6,7
    [    CSSD]2010-07-16 09:42:46.378 [18] >TRACE: clssgmEstablishMasterNode: MASTER for 174732166 is node(0) birth(174732166)
    [    CSSD]2010-07-16 09:42:46.378 [18] >TRACE: clssgmChangeMasterNode: requeued 0 RPCs
    [    CSSD]2010-07-16 09:42:46.378 [18] >TRACE: clssgmCompareSwapEventValue: changed CmInfo State val 8, from 7, changes 7
    [    CSSD]2010-07-16 09:42:46.378 [18] >TRACE: clssgmMasterCMSync: Synchronizing group/lock status
    [    CSSD]2010-07-16 09:42:46.378 [18] >TRACE: clssgmMasterSendDBDone: group/lock status synchronization complete
    [    CSSD]2010-07-16 09:42:46.378 [18] >TRACE: clssgmCompareSwapEventValue: changed CmInfo State val 9, from 8, changes 8
    [    CSSD]2010-07-16 09:42:46.378 [18] >TRACE: clssgmCompareSwapEventValue: changed CmInfo State val 10, from 9, changes 9
    [    CSSD]CLSS-3000: reconfiguration successful, incarnation 174732166 with 1 nodes
    [    CSSD]CLSS-3001: local node number 0, master node number 0
    [    CSSD]2010-07-16 09:42:46.378 [18] >TRACE: clssscSAGEInitFenceCompl: Completing kgzf fence initialization
    [    CSSD]2010-07-16 09:42:46.394 [12] >TRACE: clssgmUpdateEventValue: Client listener incarn val 174732166, changes 1
    [    CSSD]2010-07-16 09:42:46.395 [12] >TRACE: clssgmAllocProc: (60000000003c7120) allocated
    [    CSSD]2010-07-16 09:42:46.395 [12] >TRACE: clssgmAllocProc: (60000000003c73a0) allocated
    [    CSSD]2010-07-16 09:42:46.396 [14] >TRACE: Connect request from user oracle
    [    CSSD]2010-07-16 09:42:46.396 [14] >TRACE: Connect request from user root
    [    CSSD]2010-07-16 09:42:46.397 [12] >TRACE: clssgmClientConnectMsg: properties of cmProc 60000000003c7120 - 1,2,3
    [    CSSD]2010-07-16 09:42:46.397 [12] >TRACE: clssgmClientConnectMsg: Connect from con(60000000003b2810) proc(60000000003c7120) pid(12350) version 11:1:1:4
    [    CSSD]2010-07-16 09:42:46.397 [12] >TRACE: clssgmClientConnectMsg: properties of cmProc 60000000003c73a0 - 1,2,3
    [    CSSD]2010-07-16 09:42:46.397 [12] >TRACE: clssgmClientConnectMsg: Connect from con(60000000003b2990) proc(60000000003c73a0) pid(12131) version 11:1:1:4
    [    CSSD]2010-07-16 09:42:46.402 [12] >TRACE: clssgmRegisterClient: proc(1/60000000003c7120), client(1/600000000096e7c0)
    [    CSSD]2010-07-16 09:42:46.402 [12] >TRACE: clssgmExecuteClientRequest: GRKJOIN recvd from client 1 (600000000096e7c0)
    [    CSSD]2010-07-16 09:42:46.402 [12] >TRACE: clssgmJoinGrock: local grock CSS_INTERNAL_NODE_GROUP new client 600000000096e7c0 with con 60000000003b2b10, requested num 0
    [    CSSD]2010-07-16 09:42:46.402 [12] >TRACE: clssgmAddNodeGrpMember: member (60000000009e0030) added
    [    CSSD]2010-07-16 09:42:46.403 [12] >TRACE: clssgmGroupState: requested group state of group localhost_NG, member count 0
    [    CSSD]2010-07-16 09:42:46.403 [12] >TRACE: clssgmGroupState: requested group state of group localhost_NG, member count 0
    [    CSSD]2010-07-16 09:42:46.404 [12] >TRACE: clssgmDeadProc: proc 60000000003c73a0
    [    CSSD]2010-07-16 09:42:46.404 [12] >TRACE: clssgmDestroyProc: cleaning up proc(60000000003c73a0) con(60000000003b2990) skgpid ospid 12131 with 0 clients, refcount 0
    [    CSSD]2010-07-16 09:42:46.425 [12] >TRACE: clssgmGroupState: requested group state of unknown group MASTER#DISKMON#GROUP
    [    CSSD]2010-07-16 09:42:46.425 [12] >TRACE: clssgmGroupState: requested group state of group MASTER#DISKMON#GROUP, member count 0
    [    CSSD]2010-07-16 09:42:46.425 [18] >TRACE: KGZF: context successfully initialized, API version 1.4, using pipe default
    [    CSSD]2010-07-16 09:42:46.425 [18] >TRACE: clssscSAGEInitFenceCompl: kgzf fence initialization successfully completed
    [    CSSD]2010-07-16 09:42:46.425 [18] >TRACE: clssgmReconfigThread: CSS/GM open for global group registrations
    [    CSSD]2010-07-16 09:42:46.425 [18] >TRACE: clssgmReconfigThread: completed for reconfig(174732166), with status(1)
    [    CSSD]2010-07-16 09:42:46.425 [18] >TRACE: clssgmUpdateEventValue: Reconfig Event val 2, changes 2
    [    CSSD]2010-07-16 09:42:46.425 [1] >TRACE: clssgmWaitOnEventValue: after Reconfig Event val 2, eval 2 waited 47
    [    CSSD]2010-07-16 09:42:46.425 [12] >TRACE: clssgmRegisterClient: proc(1/60000000003c7120), client(2/600000000096e870)
    [    CSSD]2010-07-16 09:42:46.425 [1] >TRACE: clssgmUpdateEventValue: Reconfig Event val 0, changes 3
    [    CSSD]2010-07-16 09:42:46.425 [1] >TRACE: clssgmStartNMMon: previous reconfig complete, incarnation(174732166)
    [    CSSD]2010-07-16 09:42:46.425 [12] >TRACE: clssgmExecuteClientRequest: GRKJOIN recvd from client 2 (600000000096e870)
    [    CSSD]2010-07-16 09:42:46.425 [12] >TRACE: clssgmJoinGrock: global grock MASTER#DISKMON#GROUP#MX new client 600000000096e870 with con 60000000003b2990, requested num -1
    [    CSSD]2010-07-16 09:42:46.425 [12] >TRACE: clssgmAddGrockMember: adding member to grock MASTER#DISKMON#GROUP#MX
    [    CSSD]2010-07-16 09:42:46.425 [12] >TRACE: clssgmAddMember: granted member(0) flags(0x2) node(0) grock (6000000000989e50/MASTER#DISKMON#GROUP#MX)
    [    CSSD]2010-07-16 09:42:46.425 [12] >TRACE: clssgmQueueGrockEvent: lockName(MASTER#DISKMON#GROUP#MX) type(3) count (1/1) xwaiters(1) event(1) to memberNo(0)
    [    CSSD]2010-07-16 09:42:46.425 [12] >TRACE: clssgmCommonAddMember: global lock grock MASTER#DISKMON#GROUP#MX member(0/Local) node(0) flags 0x2 0x2
    [    CSSD]2010-07-16 09:42:46.425 [12] >TRACE: clssgmRegisterClient: proc(1/60000000003c7120), client(3/600000000096e920)
    [    CSSD]2010-07-16 09:42:46.425 [12] >TRACE: clssgmExecuteClientRequest: GRKJOIN recvd from client 3 (600000000096e920)
    [    CSSD]2010-07-16 09:42:46.425 [12] >TRACE: clssgmJoinGrock: global grock MASTER#DISKMON#GROUP new client 600000000096e920 with con 60000000003b2bd0, requested num 0
    [    CSSD]2010-07-16 09:42:46.425 [12] >TRACE: clssgmAddGrockMember: adding member to grock MASTER#DISKMON#GROUP
    [    CSSD]2010-07-16 09:42:46.425 [12] >TRACE: clssgmAddMember: new master 0 for group(MASTER#DISKMON#GROUP)
    [    CSSD]2010-07-16 09:42:46.426 [12] >TRACE: clssgmAddMember: Adding fencing for member 0, group MASTER#DISKMON#GROUP, death 1, SAGE 0
    [    CSSD]2010-07-16 09:42:46.426 [12] >TRACE: clssgmAddMember: member (0/60000000009e0230) added. pbsz(72) prsz(0) flags 0x0 to grock (600000000098a170/MASTER#DISKMON#GROUP)
    [    CSSD]2010-07-16 09:42:46.426 [12] >TRACE: clssgmQueueGrockEvent: groupName(MASTER#DISKMON#GROUP) count(1) master(0) event(1), incarn 1, mbrc 1, to member 0, events 0x78, state 0x0
    [    CSSD]2010-07-16 09:42:46.426 [12] >TRACE: clssgmCommonAddMember: global group grock MASTER#DISKMON#GROUP member(0/Local) node(0) flags 0x0 0x1e00
    [    CSSD]2010-07-16 09:42:46.426 [12] >TRACE: clssgmExecuteClientRequest: GRKEXIT recvd from client 2 (600000000096e870)
    [    CSSD]2010-07-16 09:42:46.426 [12] >TRACE: clssgmExitGrock: client 2 (600000000096e870), grock MASTER#DISKMON#GROUP#MX, member 0
    [    CSSD]2010-07-16 09:42:46.426 [12] >TRACE: clssgmUnregisterPrimary: Unregistering member 0 (60000000009e0130) in global grock MASTER#DISKMON#GROUP#MX
    [    CSSD]2010-07-16 09:42:46.426 [12] >TRACE: clssgmRemoveMember: grock MASTER#DISKMON#GROUP#MX, member number 0 (60000000009e0130) node number 0 state 0x14 member refcnt 0 grock type 3
    [    CSSD]2010-07-16 09:42:48.405 [8] >TRACE: clssnmSendingThread: sending status msg to all nodes
    [    CSSD]2010-07-16 09:42:48.405 [8] >TRACE: clssnmSendingThread: sent 4 status msgs to all nodes
    [    CSSD]2010-07-16 09:42:52.444 [8] >TRACE: clssnmSendingThread: sending status msg to all nodes
    [    CSSD]2010-07-16 09:42:52.444 [8] >TRACE: clssnmSendingThread: sent 4 status msgs to all nodes
    [    CSSD]2010-07-16 09:42:56.484 [8] >TRACE: clssnmSendingThread: sending status msg to all nodes
    [    CSSD]2010-07-16 09:42:56.484 [8] >TRACE: clssnmSendingThread: sent 4 status msgs to all nodes
    [    CSSD]2010-07-16 09:43:00.516 [8] >TRACE: clssnmSendingThread: sending status msg to all nodes
    [    CSSD]2010-07-16 09:43:00.516 [8] >TRACE: clssnmSendingThread: sent 4 status msgs to all nodes
    [    CSSD]2010-07-16 09:43:04.563 [8] >TRACE: clssnmSendingThread: sending status msg to all nodes
    [    CSSD]2010-07-16 09:43:04.563 [8] >TRACE: clssnmSendingThread: sent 4 status msgs to all nodes
    [    CSSD]2010-07-16 09:43:08.603 [8] >TRACE: clssnmSendingThread: sending status msg to all nodes
    [    CSSD]2010-07-16 09:43:08.603 [8] >TRACE: clssnmSendingThread: sent 4 status msgs to all nodes
    [    CSSD]2010-07-16 09:43:12.643 [8] >TRACE: clssnmSendingThread: sending status msg to all nodes
    [    CSSD]2010-07-16 09:43:12.643 [8] >TRACE: clssnmSendingThread: sent 4 status msgs to all nodes
    [    CSSD]2010-07-16 09:43:16.676 [8] >TRACE: clssnmSendingThread: sending status msg to all nodes
    [    CSSD]2010-07-16 09:43:16.676 [8] >TRACE: clssnmSendingThread: sent 4 status msgs to all nodes
    [    CSSD]2010-07-16 09:43:20.723 [8] >TRACE: clssnmSendingThread: sending status msg to all nodes
    [    CSSD]2010-07-16 09:43:20.723 [8] >TRACE: clssnmSendingThread: sent 4 status msgs to all nodes
    [    CSSD]2010-07-16 09:43:24.762 [8] >TRACE: clssnmSendingThread: sending status msg to all nodes
    [    CSSD]2010-07-16 09:43:24.762 [8] >TRACE: clssnmSendingThread: sent 4 status msgs to all nodes
    [    CSSD]2010-07-16 09:43:28.802 [8] >TRACE: clssnmSendingThread: sending status msg to all nodes
    [    CSSD]2010-07-16 09:43:28.802 [8] >TRACE: clssnmSendingThread: sent 4 status msgs to all nodes
    [    CSSD]2010-07-16 09:43:32.842 [8] >TRACE: clssnmSendingThread: sending status msg to all nodes
    [    CSSD]2010-07-16 09:43:32.842 [8] >TRACE: clssnmSendingThread: sent 4 status msgs to all nodes
    [    CSSD]2010-07-16 09:43:36.882 [8] >TRACE: clssnmSendingThread: sending status msg to all nodes
    [    CSSD]2010-07-16 09:43:36.882 [8] >TRACE: clssnmSendingThread: sent 4 status msgs to all nodes
    [    CSSD]2010-07-16 09:43:40.922 [8] >TRACE: clssnmSendingThread: sending status msg to all nodes
    [    CSSD]2010-07-16 09:43:40.922 [8] >TRACE: clssnmSendingThread: sent 4 status msgs to all nodes
    [    CSSD]2010-07-16 09:43:44.964 [8] >TRACE: clssnmSendingThread: sending status msg to all nodes
    [    CSSD]2010-07-16 09:43:44.964 [8] >TRACE: clssnmSendingThread: sent 4 status msgs to all nodes
    [    CSSD]2010-07-16 09:43:49.002 [8] >TRACE: clssnmSendingThread: sending status msg to all nodes
    [    CSSD]2010-07-16 09:43:49.002 [8] >TRACE: clssnmSendingThread: sent 4 status msgs to all nodes
    [    CSSD]2010-07-16 09:43:53.043 [8] >TRACE: clssnmSendingThread: sending status msg to all nodes
    [    CSSD]2010-07-16 09:43:53.043 [8] >TRACE: clssnmSendingThread: sent 4 status msgs to all nodes
    [    CSSD]2010-07-16 09:43:57.085 [8] >TRACE: clssnmSendingThread: sending status msg to all nodes
    [    CSSD]2010-07-16 09:43:57.085 [8] >TRACE: clssnmSendingThread: sent 4 status msgs to all nodes
    [    CSSD]2010-07-16 09:43:58.354 [12] >TRACE: clssgmAllocProc: (60000000003c7ee0) allocated
    [    CSSD]2010-07-16 09:43:58.355 [14] >TRACE: Connect request from user oracle
    [    CSSD]2010-07-16 09:43:58.356 [12] >TRACE: clssgmClientConnectMsg: properties of cmProc 60000000003c7ee0 - 1,2,3
    [    CSSD]2010-07-16 09:43:58.356 [12] >TRACE: clssgmClientConnectMsg: Connect from con(60000000003b2990) proc(60000000003c7ee0) pid(13157) version 11:1:1:4
    [    CSSD]2010-07-16 09:43:58.360 [12] >TRACE: clssgmRegisterClient: proc(2/60000000003c7ee0), client(1/600000000096e870)
    [    CSSD]2010-07-16 09:43:58.360 [12] >TRACE: clssgmExecuteClientRequest: GRKJOIN recvd from client 1 (600000000096e870)
    [    CSSD]2010-07-16 09:43:58.360 [12] >TRACE: clssgmJoinGrock: global grock CLSSSCHECK_GROUP new client 600000000096e870 with con 60000000003b2c90, requested num -1
    [    CSSD]2010-07-16 09:43:58.360 [12] >TRACE: clssgmAddGrockMember: adding member to grock CLSSSCHECK_GROUP
    [    CSSD]2010-07-16 09:43:58.360 [12] >TRACE: clssgmAddMember: new master 0 for group(CLSSSCHECK_GROUP)
    [    CSSD]2010-07-16 09:43:58.360 [12] >TRACE: clssgmAddMember: Adding fencing for member 0, group CLSSSCHECK_GROUP, death 1, SAGE 0
    [    CSSD]2010-07-16 09:43:58.360 [12] >TRACE: clssgmAddMember: member (0/60000000009e0130) added. pbsz(8) prsz(8) flags 0x0 to grock (6000000000989e50/CLSSSCHECK_GROUP)
    [    CSSD]2010-07-16 09:43:58.360 [12] >TRACE: clssgmQueueGrockEvent: groupName(CLSSSCHECK_GROUP) count(1) master(0) event(1), incarn 1, mbrc 1, to member 0, events 0x0, state 0x0
    [    CSSD]2010-07-16 09:43:58.360 [12] >TRACE: clssgmCommonAddMember: global group grock CLSSSCHECK_GROUP member(0/Local) node(0) flags 0x0 0x0
    [    CSSD]2010-07-16 09:43:58.361 [12] >TRACE: clssgmExecuteClientRequest: GRKEXIT recvd from client 1 (600000000096e870)
    [    CSSD]2010-07-16 09:43:58.361 [12] >TRACE: clssgmExitGrock: client 1 (600000000096e870), grock CLSSSCHECK_GROUP, member 0
    [    CSSD]2010-07-16 09:43:58.361 [12] >TRACE: clssgmUnregisterPrimary: Unregistering member 0 (60000000009e0130) in global grock CLSSSCHECK_GROUP
    [    CSSD]2010-07-16 09:43:58.361 [12] >TRACE: clssgmRemoveMember: grock CLSSSCHECK_GROUP, member number 0 (60000000009e0130) node number 0 state 0x14 member refcnt 0 grock type 2
    [    CSSD]2010-07-16 09:43:58.361 [12] >TRACE: clssgmRegisterClient: proc(2/60000000003c7ee0), client(2/600000000096e870)
    [    CSSD]2010-07-16 09:43:58.361 [12] >TRACE: clssgmExecuteClientRequest: GRKJOIN recvd from client 2 (600000000096e870)
    [    CSSD]2010-07-16 09:43:58.361 [12] >TRACE: clssgmJoinGrock: global grock CLSSSCHECK_LOCK new client 600000000096e870 with con 60000000003b2c90, requested num -1
    [    CSSD]2010-07-16 09:43:58.361 [12] >TRACE: clssgmAddGrockMember: adding member to grock CLSSSCHECK_LOCK
    [    CSSD]2010-07-16 09:43:58.361 [12] >TRACE: clssgmAddMember: granted member(0) flags(0x2) node(0) grock (6000000000989e50/CLSSSCHECK_LOCK)
    [    CSSD]2010-07-16 09:43:58.361 [12] >TRACE: clssgmQueueGrockEvent: lockName(CLSSSCHECK_LOCK) type(3) count (1/1) xwaiters(1) event(1) to memberNo(0)
    [    CSSD]2010-07-16 09:43:58.361 [12] >TRACE: clssgmCommonAddMember: global lock grock CLSSSCHECK_LOCK member(0/Local) node(0) flags 0x2 0x2
    [    CSSD]2010-07-16 09:43:58.361 [12] >TRACE: clssgmExecuteClientRequest: GRKEXIT recvd from client 2 (600000000096e870)
    [    CSSD]2010-07-16 09:43:58.361 [12] >TRACE: clssgmExitGrock: client 2 (600000000096e870), grock CLSSSCHECK_LOCK, member 0
    [    CSSD]2010-07-16 09:43:58.361 [12] >TRACE: clssgmUnregisterPrimary: Unregistering member 0 (60000000009e0130) in global grock CLSSSCHECK_LOCK
    [    CSSD]2010-07-16 09:43:58.361 [12] >TRACE: clssgmRemoveMember: grock CLSSSCHECK_LOCK, member number 0 (60000000009e0130) node number 0 state 0x14 member refcnt 0 grock type 3
    [    CSSD]2010-07-16 09:43:58.362 [12] >TRACE: clssgmDeadProc: proc 60000000003c7ee0
    [    CSSD]2010-07-16 09:43:58.362 [12] >TRACE: clssgmDestroyProc: cleaning up proc(60000000003c7ee0) con(60000000003b2990) skgpid ospid 13157 with 0 clients, refcount 0
    [    CSSD]2010-07-16 09:44:01.125 [8] >TRACE: clssnmSendingThread: sending status msg to all nodes
    [    CSSD]2010-07-16 09:44:01.125 [8] >TRACE: clssnmSendingThread: sent 4 status msgs to all nodes
    [    CSSD]2010-07-16 09:44:05.164 [8] >TRACE: clssnmSendingThread: sending status msg to all nodes
    [    CSSD]2010-07-16 09:44:05.164 [8] >TRACE: clssnmSendingThread: sent 4 status msgs to all nodes
    [    CSSD]2010-07-16 09:44:09.196 [8] >TRACE: clssnmSendingThread: sending status msg to all nodes
    [    CSSD]2010-07-16 09:44:09.196 [8] >TRACE: clssnmSendingThread: sent 4 status msgs to all nodes
    [    CSSD]2010-07-16 09:44:13.236 [8] >TRACE: clssnmSendingThread: sending status msg to all nodes
    [    CSSD]2010-07-16 09:44:13.236 [8] >TRACE: clssnmSendingThread: sent 4 status msgs to all nodes
    [    CSSD]2010-07-16 09:44:17.284 [8] >TRACE: clssnmSendingThread: sending status msg to all nodes
    [    CSSD]2010-07-16 09:44:17.284 [8] >TRACE: clssnmSendingThread: sent 4 status msgs to all nodes
    [    CSSD]2010-07-16 09:44:21.322 [8] >TRACE: clssnmSendingThread: sending status msg to all nodes
    [    CSSD]2010-07-16 09:44:21.322 [8] >TRACE: clssnmSendingThread: sent 4 status msgs to all nodes
    [    CSSD]2010-07-16 09:44:25.316 [8] >TRACE: clssnmSendingThread: sending status msg to all nodes
    [    CSSD]2010-07-16 09:44:25.316 [8] >TRACE: clssnmSendingThread: sent 4 status msgs to all nodes
    [    CSSD]2010-07-16 09:44:30.333 [8] >TRACE: clssnmSendingThread: sending status msg to all nodes
    [    CSSD]2010-07-16 09:44:30.333 [8] >TRACE: clssnmSendingThread: sent 5 status msgs to all nodes
    [    CSSD]2010-07-16 09:44:34.324 [8] >TRACE: clssnmSendingThread: sending status msg to all nodes
    [    CSSD]2010-07-16 09:44:34.324 [8] >TRACE: clssnmSendingThread: sent 4 status msgs to all nodes
    Here is the message in $ASM_HOME/log/<hostname>/diskmon/client.log:
    [ DISKMON] 07/16/2010 18:33:32.050 dskm_send_command: process 23246 sending command 8 to master diskmon listening on default pipe
    [ DISKMON] 07/16/2010 18:33:32.080 dskm_send_command3: skgznp_connect failed with error 56815
    [ DISKMON] 07/16/2010 18:33:32.080 dskm_send_command3: error 56815 at location skgznpcon6 - connect() - Connection refused
    Here is the message in $ASM_HOME/log/<hostname>/diskmon/diskmonOUT.log:
    setsid: failed with -1/1
    dskm_getenv_oracle_user: calling getpwnam_r for user oracle
    dskm_getenv_oracle_user: info for user oracle complete
    07/16/10 18:33:31: Master Diskmon starting
    Here is the message in $ASM_HOME/log/<hostname>/diskmon/diskmon.log:
    [ DISKMON] 07/16/2010 09:42:35.573 dskm main: starting up
    [ DISKMON] 07/16/2010 09:42:35.588 [12350:3] dskm_rac_thrd_main: running
    [ DISKMON] 07/16/2010 09:42:35.588 [12350:1] dskm_rac_thrd_creat2: got the post from the css event handling thread
    [ DISKMON] 07/16/2010 09:42:35.589 [12350:1] dskm main: startup complete
    [ DISKMON] 07/16/2010 09:42:35.589 [12350:1] listening on -> default pipe
    [ DISKMON] 07/16/2010 09:42:35.792 clsc_connect: (6000000000700420) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_rmodbd01_))
    [ DISKMON] 07/16/2010 09:42:36.385 clsc_connect: (6000000000700420) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_rmodbd01_))
    [ DISKMON] 07/16/2010 09:42:36.906 clsc_connect: (6000000000700420) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_rmodbd01_))
    [ DISKMON] 07/16/2010 09:42:37.426 clsc_connect: (6000000000700420) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_rmodbd01_))
    [ DISKMON] 07/16/2010 09:42:37.945 clsc_connect: (6000000000700420) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_rmodbd01_))
    [ DISKMON] 07/16/2010 09:42:38.465 clsc_connect: (6000000000700420) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_rmodbd01_))
    [ DISKMON] 07/16/2010 09:42:46.376 [12350:1] dskm_slave_thrd_creat: thread created
    [ DISKMON] 07/16/2010 09:42:46.376 [12350:11] dskm_slave_thrd_main1: slave 0 running
    [ DISKMON] 07/16/2010 09:42:46.376 [12350:11] dskm_process_msg5: received msg type KGZM_IDENTIFY (0x0001)
    [ DISKMON] 07/16/2010 09:42:46.389 [12350:11] dskm_proc_identify8: client kgzf/12297, version 0x01020000, slave 0, reid cid=3e0391f05e06cfafbf7419d7cf085a44,icin=174732166,nmn=0,lnid=174732166,gid=0,gin=0,gmn=0,umemid=0,opid=0,opsn=0,lvl=node
    [ DISKMON] 07/16/2010 09:42:46.389 [12350:11] dskm_send_version1:
    [ DISKMON] 07/16/2010 09:42:46.389 [12350:11] dskm_send_version4: done
    [ DISKMON] 07/16/2010 09:42:46.389 [12350:11] dskm_process_msg7: processed msg 0 type KGZM_IDENTIFY (0x0001), retcode 0
    [ DISKMON] 07/16/2010 09:42:46.389 [12350:11] dskm_process_msg5: received msg type KGZM_KGZF_HANDSHAKE (0x0010)
    [ DISKMON] 07/16/2010 09:42:46.389 [12350:11] dskm_proc_kgzf_handshake3: client kgzf/12297, kgzf version 0x00010004, slave 0
    [ DISKMON] 07/16/2010 09:42:46.401 [12350:3] dskm_clss_ini2: successful clsssinit(), clssvers 2.1
    [ DISKMON] 07/16/2010 09:42:46.402 [12350:3] dskm_clss_ini12: node rmodbd01 (0) registered in cluster
    [ DISKMON] 07/16/2010 09:42:46.403 [12350:3] dskm_reid_ini12: diskmon reid cid=3e0391f05e06cfafbf7419d7cf085a44,icin=174732166,nmn=0,lnid=174732166,gid=-1,gin=-1,gmn=-1,umemid=-1,opid=12350,opsn=1279291355,lvl=process
    [ DISKMON] 07/16/2010 09:42:46.424 [12350:3] dskm_sage_config: CELL storage configuration file cellinit.ora not found
    [ DISKMON] 07/16/2010 09:42:46.425 [12350:3] dskm_nfy_kgzf1: notified thread kgzf enabled
    [ DISKMON] 07/16/2010 09:42:46.425 [12350:11] dskm_proc_kgzf_handshake5: got the post from the hb thread
    [ DISKMON] 07/16/2010 09:42:46.425 [12350:11] dskm_proc_kgzf_handshake9: done, kgzf enabled
    [ DISKMON] 07/16/2010 09:42:46.425 [12350:11] dskm_process_msg7: processed msg 0 type KGZM_KGZF_HANDSHAKE (0x0010), retcode 0
    [ DISKMON] 07/16/2010 09:42:46.426 [12350:3] dskm_rac_ini22: CELL storage not configured in the cluster; registered in group MASTER#DISKMON#GROUP as memno 0 (GSDGRPSZ 512)

  • Instnce name in non-RAC environment

    Hi!
    In non-RAC environment V$INSTANCE.INSTANCE_NAME does not actually displays the name of the instance,that was set in INSTANCE_NAME parameter.
    It always displays DB_NAME instead.
    Is it any way to get instance_name that has service user connected to in this environment?
    LSNRCTL for 32-bit Windows: Version 10.2.0.4.0 - Production on 28-JAN-2010 09:16:25
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=vegas)(PORT=1524)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.4.0 - Production
    Start Date 28-JAN-2010 09:15:36
    Uptime 0 days 0 hr. 0 min. 48 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File D:\oracle\db\product\10.2.0\network\admin\listener.ora
    Listener Log File D:\oracle\db\product\10.2.0\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=vegas)(PORT=1524)))
    Services Summary...
    Service "EMCOR" has 1 instance(s).
    Instance "INST0", status READY, has 1 handler(s) for this service...
    Service "EMCOR_XPT" has 1 instance(s).
    Instance "INST0", status READY, 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 "RESXDB" has 1 instance(s).
    Instance "INST0", status READY, has 1 handler(s) for this service...
    Service "SRV1" has 1 instance(s).
    Instance "INST0", status READY, has 1 handler(s) for this service...
    Service "SRV2" has 1 instance(s).
    Instance "INST0", status READY, has 1 handler(s) for this service...
    The command completed successfully
    And SQLPLUS said
    C:\Documents and Settings\oradba>sqlplus
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu Jan 28 09:44:59 2010
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Enter user-name: emcos@emcor_srv2
    Enter password:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    09:45:04 EMCOS@emcor_srv2 >select name from v$database;
    NAME
    EMCOR
    Elapsed: 00:00:00.00
    09:45:07 EMCOS@emcor_srv2 >select instance_name from v$instance;
    INSTANCE_NAME
    emcor
    Elapsed: 00:00:00.01
    09:45:21 EMCOS@emcor_srv2 >select service_name from v$session where sid=(select unique sid from v$mystat);
    SERVICE_NAME
    SRV2

    Hemant K Chitale wrote:
    The documentation on INSTANCE_NAME in the 10gR2 Reference says :
    "In a single-instance database system, the instance name is usually the same as the database name."
    (this after
    "In a Real Application Clusters environment, multiple instances can be associated with a single database service. Clients can override Oracle's connection load balancing by specifying a particular instance by which to connect to the database. INSTANCE_NAME specifies the unique name of this instance.")
    This would imply that setting INSTANCE_NAME in non-RAC is ignored. The usage of the word "usually" is weak.
    Hemant K ChitaleBut what do says lsnrctl - it says that it is not weak
    11:33:28 SYS@EMCOR_SRV1 >show parameter instance_name
    NAME TYPE VALUE
    instance_name                        string      INST0
    11:33:36 SYS@EMCOR_SRV1 >host lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.4.0 - Production on 28-JAN-2010 11:33:50
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=vegas)(PORT=1524)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.4.0 - Production
    Start Date 28-JAN-2010 09:15:36
    Uptime 0 days 2 hr. 18 min. 14 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File D:\oracle\db\product\10.2.0\network\admin\listener.ora
    Listener Log File D:\oracle\db\product\10.2.0\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=vegas)(PORT=1524)))
    Services Summary...
    Service "EMCOR" has 1 instance(s).
    Instance "INST0", status READY, has 1 handler(s) for this service...
    Service "EMCOR_XPT" has 1 instance(s).
    Instance "INST0", status READY, 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 "RESXDB" has 1 instance(s).
    Instance "INST0", status READY, has 1 handler(s) for this service...
    Service "SRV1" has 1 instance(s).
    Instance "INST0", status READY, has 1 handler(s) for this service...
    Service "SRV2" has 1 instance(s).
    Instance "INST0", status READY, has 1 handler(s) for this service...
    The command completed successfully
    11:33:50 SYS@EMCOR_SRV1 >select sys_context('USERENV','INSTANCE_NAME') from dual;
    SYS_CONTEXT('USERENV','INSTANCE_NAME')
    emcor
    Elapsed: 00:00:00.00
    11:34:42 SYS@EMCOR_SRV1 >select service_name from v$session where sid=sys_context('USERENV','SID');
    SERVICE_NAME
    SRV1
    Best regards, Sergey

  • IS IT SUPPORTED TO CENTRALLY MOUNT THE ORACLE_HOME IN A NON-RAC ENVIRONMENT

    SR 7250090.993 : (http://qmon.oraclecorp.com/qmon3/quickpicks.pl?t=t&q=7250090.993)
    Technical Summary:
    Customer is planing to install Oracle 10.2.0.4 and 11.1.0.x software on a Red Hat5 with NetApp storage.
    Customer came across the following :
    For single instance installations (as opposed to RAC installations), you must create a separate Oracle home directory for each installation. Run the software in this Oracle home directory only from the system that you used to install it. For Oracle Real Application Clusters (RAC) installations, you can use a single Oracle home directory mounted from each node in the cluster. You must mount this Oracle home directory on each node so that it has the same directory path on all nodes.
    mentioned in the 10gR2 documentation link :
    http://download.oracle.com/docs/cd/B19306_01/install.102/b15667/app_nas.htm#BCFIDEJA
    Requirements/Expectations:
    As the above statements, that customer came across is not present in 9i documentation, customer wants to understand if it is actually supported to centrally mount the 10g/11g ORACLE_HOME to many servers that are not RAC enabled.
    Also, I would like to understand if the statements in documentation indicate that it is not generally recommended centrally mount the 10g/11g ORACLE_HOME or does it mean that it is not supported to centrally mount the ORACLE_HOME in a non RAC environment?
    Please advice.

    The binaries (executables) in an Oracle home are "linked" (link edited?) to the OS libraries on each server where the software is installed.
    Unless the OS is IDENTICAL on each of the IDENTICAL(HW) servers -- that would share the Oracle home--, you could be in trouble.
    The only supported configuration (I know of) where the Oracle binaries are shared between servers is 9i RAC. On 10g RAC the binaries are installed on each server.
    Other wise I'd say it's NOT recommended, besides you don't save anything (execpt a cooupl of Gigs disk space).
    :p

  • OCFS2 in a non-RAC environment

    Here's a question I've been batting around with a sysadmin. I thought I'd run it past this group.
    We're spec'ing out the hardware for a very large Oracle database (3+ TB) running on Linux. This will be a single, non-RAC instance. This particular SA has very bad feelings about the ext3 filesystem (I am not exactly sure what his objections are). He has heard about ocfs2 and wonders if it would be superior to ext3.
    What do you think? Would ocfs2 be appropriate in a non-clustered environment? Can you suggest any arguments for or against this approach?
    Thanks, I appreciate any thoughts anyone might have.

    Note that paper was written in 2004, and their tests used Pentium III processors. The OS was RHAS 2.1 and their kernel was 2.4.9
    I'm not saying that invalidates the paper's conclusions, but I'm certainly saying you'd have to be very careful indeed in assuming that conclusions drawn from that combination of hardware and software had anything much to say about today's quad cores, multi-gigabyte RAM, kernel 2.6.x setups.
    I'm concerned when I see their graphs on page 8: no axis scales in either x or y directions. If they're going to come to the conclusion that ext2/3 performance tails off, it would be nice to know whether it does so when the number of users hits 10, 50, 100, 500 or whatever, wouldn't it? But you can't tell anything from their graphs on that score.
    And I don't see any mention of them adjusting the buffer cache when using raw, which (having just abolished the file system cache) is something you should sensibly do when making such comparisons.
    And, of course, they were testing OCFS not OCFS2, so again... the applicability of anything concluded in that paper to today's situation is highly questionable, at least in my mind. But I do note that OCFS with "high numbers" of users ended up clobbering the CPU to death, whereas ext2/3 didn't...
    And they seem to claim that transactions per second levelled out with ext2/3 because they hit a lot of free buffer waits -and there are ways of dealing with them that don't involve getting rid of the file system! The fact that they didn't report a lot of write complete waits as well as free buffer waits might indicate that they just need more DBWRs, and not a switch of file system, for example.
    Anyway... short answer is, I wouldn't read too much into that report, which looks to me to be poorly devised and written and very much 'of its time and place' with little general applicability outside of that.

  • R12 DB clone from RAC - ASM DB to Non RAC DB

    Dear Friends,
    I am using E-Biz- R12 PROD with 11g R2 RAC database.
    I have an R12 DEV Instance (single node with Non RAC).
    I want to perform DB clone from RAC - ASM DB (PROD) to Non RAC DB (TEST)
    I am using RMAN backup on PROD database.
    Please provide me the Metalink Note / steps to perform the same.
    Regards,
    DB

    Please provide me the Metalink Note / steps to perform the same.Certified RAC Scenarios for E-Business Suite Cloning [ID 783188.1]
    Cloning Oracle Applications Release 12 with Rapid Clone [ID 406982.1]
    Rapid Clone Documentation Resources For Release 11i and 12 [ID 799735.1]
    Cloning Oracle E-Business Suite Release 12 RAC-Enabled Systems with Rapid Clone [ID 559518.1]
    Thanks,
    Hussein

  • Problem starting ASM on non-RAC environment on HP-UX 11.11

    I am trying to start ASM on single node running multiple database as I am planning to test setting up on of the db files with ASM.
    Wen I tried to start the ASM after I created the init+ASM.ora and exported the ORACLE _SID to +ASM; I got the error below;
    SQL> startup
    ORA-29701: unable to connect to Cluster Manager
    I realized the css was down and I tried to start without much success as shown below; by the way, the ASM home is the same as the Oracle 10g (10.2.0.3) binaries home.
    # $ORACLE_HOME/bin/localconfig add
    clscfg: EXISTING configuration version 3 detected.
    clscfg: version 3 is 10G Release 2.
    Successfully accumulated necessary OCR keys.
    clscfg: Arguments check out successfully.
    NO KEYS WERE WRITTEN. Supply -force parameter to override.
    -force is destructive and will destroy any previous cluster
    configuration.
    Configuration for local CSS has been initialized
    Failed configure CSS. Fix the problem and rerun this script from destination Oracle home with 'reset' argument
    # $ORACLE_HOME/bin/localconfig reset $ORACLE_HOME
    Successfully accumulated necessary OCR keys.
    Creating OCR keys for user 'root', privgrp 'sys'..
    Operation successful.
    Configuration for local CSS has been initialized
    Adding to inittab
    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
    # $ORACLE_HOME/bin/crsctl set css misscount 600
    Failure 32 in main OCR context initialization: PROC-32: Cluster Ready Services on the local node is not running Messaging error [9]
    Please advice

    This is what I get when I run the localconfig add
    # $ORACLE_HOME/bin/localconfig add
    clscfg: EXISTING configuration version 3 detected.
    clscfg: version 3 is 10G Release 2.
    Successfully accumulated necessary OCR keys.
    clscfg: Arguments check out successfully.
    NO KEYS WERE WRITTEN. Supply -force parameter to override.
    -force is destructive and will destroy any previous cluster
    configuration.
    Configuration for local CSS has been initialized
    Failed configure CSS. Fix the problem and rerun this script from destination Oracle home with 'reset' argument

  • Installing ASM in it's own home (non-RAC environment)

    I am installing ASM
    When I run root.sh I get the following error: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.
    The install is on Centos 5 (aka RHEL 5). I have set up a user and a group specifically for this install (user: oracleasm group: asmdba) all of which are the owners of the disks (dev/oracleasm/disks) and the home which i am installing it on. But cannot get past the CSS stack appears not be running.
    Any assistance would be greatly appreciated...I have been all over OTN and metalink but no luck.
    Regards,
    Matt

    Check if daemon ocssd.bin is running by executing:
    ps -ef|grep ocssd
    If it not running then execute
    /etc/init.d/init.cssd run
    sleep 60
    /etc/init.d/init.cssd start
    sleep 120
    /etc/init.d/dbora start
    If that works you had problem because of Oracle bug and the solution in metalink note id 264235.1
    You need to fix the /etc/inittab file moving the line that had init.cssd run to line before level 3 scripts executed.

  • Moving RAC/ASM to single-node non-rac SET NEWNAME not working

    Good morning,
    I'm trying to restore a rac/asm database to a non-rac environment to simulate disaster recovery under worst-case circumstances.
    Here is as faras I have been able to get
    1) Restored pfile
    2) modified pfile to remove references to RAC settings (note, did not set db_file_create_dest, db_file_name_convert, etc)
    3) Restored controlfile successfully
    4) Mounted database
    At this time I run the following rman script which covers all temp and datafiles (there's some skipped numbers where datafiles have been removed previously)
    run {
    set until time "to_date('2009/11/29 03:00:00','YYYY/MM/DD HH24:MI:SS')";
    set newname for tempfile 1 to '/mnt/data/oradata/pmi/temp_1.dbf';
    set newname for datafile 1 to '/mnt/data/oradata/pmi/system_1.dbf';
    set newname for datafile 2 to '/mnt/data/oradata/pmi/undotbs1_2.dbf';
    set newname for datafile 3 to '/mnt/data/oradata/pmi/sysaux_3.dbf';
    set newname for datafile 4 to '/mnt/data/oradata/pmi/undotbs2_4.dbf';
    set newname for datafile 5 to '/mnt/data/oradata/pmi/undotbs3_5.dbf';
    set newname for datafile 6 to '/mnt/data/oradata/pmi/users_6.dbf';
    set newname for datafile 7 to '/mnt/data/oradata/pmi/atend1_7.dbf';
    set newname for datafile 8 to '/mnt/data/oradata/pmi/atendidx1_8.dbf';
    set newname for datafile 9 to '/mnt/data/oradata/pmi/cwmlite_9.dbf';
    set newname for datafile 10 to '/mnt/data/oradata/pmi/datafeedsidx1_10.dbf';
    set newname for datafile 11 to '/mnt/data/oradata/pmi/drsys_11.dbf';
    set newname for datafile 12 to '/mnt/data/oradata/pmi/dynamic1_12.dbf';
    set newname for datafile 13 to '/mnt/data/oradata/pmi/dynamicidx1_13.dbf';
    set newname for datafile 14 to '/mnt/data/oradata/pmi/intermedia_14.dbf';
    set newname for datafile 15 to '/mnt/data/oradata/pmi/notesidx1_15.dbf';
    set newname for datafile 16 to '/mnt/data/oradata/pmi/odm_16.dbf';
    set newname for datafile 18 to '/mnt/data/oradata/pmi/pacific_data_large_18.dbf';
    set newname for datafile 19 to '/mnt/data/oradata/pmi/pacific_data_medium_19.dbf';
    set newname for datafile 20 to '/mnt/data/oradata/pmi/pacific_data_small_20.dbf';
    set newname for datafile 21 to '/mnt/data/oradata/pmi/pacific_data_xlarge_21.dbf';
    set newname for datafile 22 to '/mnt/data/oradata/pmi/pacific_index_large_22.dbf';
    set newname for datafile 23 to '/mnt/data/oradata/pmi/pacific_index_medium_23.dbf';
    set newname for datafile 24 to '/mnt/data/oradata/pmi/pacific_index_small_24.dbf';
    set newname for datafile 25 to '/mnt/data/oradata/pmi/pacific_index_xlarge_25.dbf';
    set newname for datafile 26 to '/mnt/data/oradata/pmi/pmi_data_large_26.dbf';
    set newname for datafile 27 to '/mnt/data/oradata/pmi/pmi_data_medium_27.dbf';
    set newname for datafile 28 to '/mnt/data/oradata/pmi/pmi_data_small_28.dbf';
    set newname for datafile 29 to '/mnt/data/oradata/pmi/pmi_data_large_29.dbf';
    set newname for datafile 30 to '/mnt/data/oradata/pmi/sysaux_30.dbf';
    set newname for datafile 31 to '/mnt/data/oradata/pmi/pmi_data_xlarge_31.dbf';
    set newname for datafile 32 to '/mnt/data/oradata/pmi/pmi_index_large_32.dbf';
    set newname for datafile 33 to '/mnt/data/oradata/pmi/pmi_data_medium_33.dbf';
    set newname for datafile 34 to '/mnt/data/oradata/pmi/pmi_index_medium_34.dbf';
    set newname for datafile 35 to '/mnt/data/oradata/pmi/pmi_index_small_35.dbf';
    set newname for datafile 36 to '/mnt/data/oradata/pmi/pmi_index_xlarge_36.dbf';
    set newname for datafile 38 to '/mnt/data/oradata/pmi/portal30_38.dbf';
    set newname for datafile 39 to '/mnt/data/oradata/pmi/portal_app_helpdesk_39.dbf';
    set newname for datafile 40 to '/mnt/data/oradata/pmi/static1_40.dbf';
    set newname for datafile 41 to '/mnt/data/oradata/pmi/staticidx1_41.dbf';
    set newname for datafile 42 to '/mnt/data/oradata/pmi/tools_42.dbf';
    set newname for datafile 43 to '/mnt/data/oradata/pmi/xdb_43.dbf';
    set newname for datafile 44 to '/mnt/data/oradata/pmi/pmi_index_small_44.dbf';
    set newname for datafile 46 to '/mnt/data/oradata/pmi/pmi_index_medium_46.dbf';
    set newname for datafile 47 to '/mnt/data/oradata/pmi/pmi_data_small_47.dbf';
    set newname for datafile 48 to '/mnt/data/oradata/pmi/pmi_index_large_48.dbf';
    set newname for datafile 49 to '/mnt/data/oradata/pmi/pmi_index_xlarge_49.dbf';
    set newname for datafile 50 to '/mnt/data/oradata/pmi/system_50.dbf';
    set newname for datafile 52 to '/mnt/data/oradata/pmi/pmi_data_xlarge_52.dbf';
    set newname for datafile 54 to '/mnt/data/oradata/pmi/pmi_index_medium_54.dbf';
    set newname for datafile 55 to '/mnt/data/oradata/pmi/acctdb_data_55.dbf';
    set newname for datafile 56 to '/mnt/data/oradata/pmi/acctdb_index_56.dbf';
    set newname for datafile 57 to '/mnt/data/oradata/pmi/pivot_data_57.dbf';
    set newname for datafile 58 to '/mnt/data/oradata/pmi/pmiaudit_data_58.dbf';
    set newname for datafile 59 to '/mnt/data/oradata/pmi/pmiaudit_indx_59.dbf';
    allocate channel D1 device type disk;
    restore database;
    switch datafile all;
    release channel D1;
    When I run this I get the following:
    creating datafile fno=3 name=/mnt/data/oradata/pmi/sysaux_3.dbf
    released channel: D1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 12/09/2009 09:32:33
    ORA-01119: error in creating database file '+PMI2'
    ORA-17502: ksfdcre:4 Failed to create file +PMI2
    ORA-15001: diskgroup "PMI2" does not exist or is not mounted
    ORA-15077: could not locate ASM instance serving a required diskgroup
    ORA-29701: unable to connect to Cluster Manager
    I noticed that it's trying to create the datafile. Shouldn't it be giving me a "Restoring datafiles from backup piece" clause? Also it appears to be trying to recreate the datafiles in their old location. Any thoughts on how to get around this.
    Using the db_file_name_convert does allow me to restore files to the filesystem, but they use names such as "omf_*" and I'm not sure if it's converting the files properly from ASM format.
    Thanks!

    Hi,
    I assume your problem is either in your pfile ( but you indicate you have removed all RAC settings), or in your control file.
    I would recommend to remove the control files and create them later as soon as the datafiles have been restored, using the commands:
    STARTUP NOMOUNT
    CREATE CONTROLFILE REUSE DATABASE "OMST01" NORESETLOGS FORCE LOGGING NOARCHIVELOG
    -- SET STANDBY TO MAXIMIZE PERFORMANCE
    MAXLOGFILES 100
    MAXLOGMEMBERS 2
    MAXDATAFILES 1024
    MAXINSTANCES 8
    MAXLOGHISTORY 10210
    LOGFILE
    < your logfiles >
    DATAFILE
    < your datafiles >
    CHARACTER SET <your character set>;So the steps are
    Startup nomount with the pfile
    Restore the datafiles using rman
    Shutdown the database
    Use above script to create the control files
    It is possible you need to use the RESETLOGS option instead of the NORESETLOGS
    HTH

  • Steps to Convert R12 Non-Rac to RAC database with ASM

    dear All,
    We have following environment.
    R12.0.6 with a non RAC 11.2.0.2 database on on AIX (64bit). Datafiles are stored local filesystem. We want to do the following.
    Migrate the database file to ASM
    convert database Non RAC to RAC
    we have gone through many oracle support documents but were unable to decide which path we should adopt. Any body who has done similar activity; please share only highly level steps. No step by step Instructions are needed. e.g. Install Grid Infrastructure (for single instance or the one which comes with cluster home???????), Move datafiles to ASM etc etc
    Please make sure the steps are for 11gR2 and EBS R12.
    Best Regards,

    we have gone through many oracle support documents but were unable to decide which path we should adopt. Any body who has done similar activity; please share only highly level steps. No step by step Instructions are needed. e.g. Install Grid Infrastructure (for single instance or the one which comes with cluster home???????), Move datafiles to ASM etc etc
    Please make sure the steps are for 11gR2 and EBS R12. The steps in [ID 823587.1] which is referenced above should be sufficient (from your post, I understand that you have covered the steps in this doc) -- What exactly you have issues with?
    Thanks,
    Hussein

  • How to change DB name and SID in RAC environment?

    I have 2 node RAC on Red Hat Linux, EL 4, upd. 4. It's using ASM
    and it is working great. However, after 2 years of faithful service
    I was asked to change DB name and SID. In non-RAC environment, that is
    easy. Rename a few files, change init.ora and re-create control file.
    I've done that many times. With 10g RAC, however, situation is different. There is also RAC registry which has the database under the certain name and, I believe, it also has SID registered. Can you, please, point me to a document describing how to do that? It's a production DB and I can't test it anywhere.

    It's in the manual:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17023/dbresource.htm#i1029540
    Larry

  • RMAN cloning from RAC to Non-RAC

    Hi Gurus,
    I had successfully cloned my DB from RAC to Non-RAC environment via RMAN. Below was the configuration
    RAC
    - 2 nodes
    - 11gR2 (Compatible 11.0.1.6 as per Application Requirement)
    - ASM (2 diskgroups DATA and FRA)
    - OS RHEL 6.3
    Non - RAC
    - 1 node
    - Stand alone11gR2 (Compatible 11.0.1.6 as per Application Requirement)
    - ASM (2 diskgroups DATA and FRA)
    - OS RHEL 6.3
    My approach was to clone DB and then change SID with nid utility. My understanding was that nid utility will also replace ASM file paths from CRAMPRD to CRAMSIT but that didnt happen.
    So issue is when I am checking my file paths on CRAMSIT it still refelect CRAMPRD eg - +DATA1/CRAMPRD. Is there any way to rename this directory paths in ASM so that it should reflect my SID.
    Regards,
    Nikhil Mehta.

    No, NID wouldn't change the ASM paths.
    I presume that you did set the ORACLE_SID to CRAMSIT on the non-RAC server before the restore.
    What you should have done is to set DB_UNIQUE_NAME='CRAMSIT'   (even with DB_NAME='CRAMPRD') on the non-RAC server before the restore.  Oracle would have used the DB_UNIQUE_NAME to set the ASM PAth  (note that during the restore it would have shown "restoring to +DATA1/CRAMPRD" but would have actually been restoring to "+DATA1/CRAMSIT").
    You will now have to use Oracle Support Note
      How to rename/move a datafile in the same ASM diskgroup [ID 564993.1]
    to rename the paths in ASM.
    Hemant K Chitale

  • Genclntst fail in oracle10g RAC environment

    After installation of oracle 10gR2 RAC on two-node solaris10 environment ,we need to run $ORACLE_HOME/bin/genclntst to generate the Client Static Library(libclntst10.a) but it failed .We copy another successfully generated libclntst10.a file from a non-RAC oracle10g environment running on solaris10.
    and it seems to work correctly. is it really OK ?,is there any difference between the libclntst10.a file in a RAC environment and in a non-RAC environment ?
    thanks a lot.
    ----------------------------the error message--------------------------------------------------------
         (file /opt/lib/cobol/lib/libcobrts.so value=LOCL);
    ld: warning: global symbol `' has non-global binding:
         (file /opt/lib/cobol/lib/libcobrts.so value=LOCL);
    ld: warning: global symbol `' has non-global binding:
         (file /opt/lib/cobol/lib/libcobrts.so value=LOCL);
    ld: warning: global symbol `' has non-global binding:
         (file /opt/lib/cobol/lib/libcobrts.so value=LOCL);
    ld: warning: global symbol `' has non-global binding:
         (file /opt/lib/cobol/lib/libcobrts.so value=LOCL);
    ld: warning: global symbol `' has non-global binding:
         (file /opt/lib/cobol/lib/libcobcrtn.so value=LOCL);
    ld: warning: global symbol `' has non-global binding:
         (file /opt/lib/cobol/lib/libcobmisc.so value=LOCL);
    ld: warning: global symbol `' has non-global binding:
         (file /opt/lib/cobol/lib/libcobscreen.so.2 value=LOCL);
    Undefined               first referenced
    symbol                in file
    lms_fblang /oracle/oracle/product/10.2.0.1/lib32/libclntst10.a(lmsai.o)
    lms_pmlang /oracle/oracle/product/10.2.0.1/lib32/libclntst10.a(lmsai.o)
    ld: fatal: Symbol referencing errors. No output written to olcp
    *** Error code 1
    make: Fatal error: Command failed for target `olcp'

    Hi,
    In 11g you can use the instance_id job attribute to do this.
    In 10g you can do this using services.
    - create a service for each instance
    - create a job class pointing to each service
    - grant execute on the job classes to all job owners that need to use them
    - when creating a job point to the job class for the service for the instance it should run on
    Oracle recommends using services instead of instances since services are more flexible and can provide high-availability and fail-over in case one instance goes down.
    Hope this helps,
    Ravi.

  • RMAN archive logs backup and restore in RAC environment.

    Hello All,
    I have a 8 node RAC using ASM production database and a single node standby database using ASM. I have archive log gap on the standby database and the archive logs on the primary database is backed up and removed.
    I need to resync the standby database using RMAN backup/restore.
    Could you please help me on how to backup the specific archive logs file (all threads) from production and restore/recover the standby database. Any specific RMAN script or Metalink ID will help alot.
    Details:
    Source: 8 node RAC, ASM, Linux,
    target: Non-RAC, ASM, Linux.
    Regards,

    You can try LIKE clause of BACKUP ARCHIVELOG such as:
    RMAN> backup archivelog like '%XE%2010%20%';
    Starting backup at 20-AUG-10
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=58 recid=19 stamp=727519553
    input archive log thread=1 sequence=59 recid=20 stamp=727544121
    input archive log thread=1 sequence=60 recid=21 stamp=727544127
    channel ORA_DISK_1: starting piece 1 at 20-AUG-10
    channel ORA_DISK_1: finished piece 1 at 20-AUG-10
    piece handle=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2010_08_20\
    O1_MF_ANNNN_TAG20100820T154401_66X1O353_.BKP tag=TAG20100820T154401 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:04
    Finished backup at 20-AUG-10or you can try SEQUENCE clause:
    RMAN> backup archivelog sequence between 58 and 60 thread 1;
    Starting backup at 20-AUG-10
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=58 recid=19 stamp=727519553
    input archive log thread=1 sequence=59 recid=20 stamp=727544121
    input archive log thread=1 sequence=60 recid=21 stamp=727544127
    channel ORA_DISK_1: starting piece 1 at 20-AUG-10
    channel ORA_DISK_1: finished piece 1 at 20-AUG-10
    piece handle=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2010_08_20\
    O1_MF_ANNNN_TAG20100820T154911_66X1YRJL_.BKP tag=TAG20100820T154911 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:04
    Finished backup at 20-AUG-10or
    RMAN> backup archivelog sequence between 58 and 60;
    Starting backup at 20-AUG-10
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=58 recid=19 stamp=727519553
    input archive log thread=1 sequence=59 recid=20 stamp=727544121
    input archive log thread=1 sequence=60 recid=21 stamp=727544127
    channel ORA_DISK_1: starting piece 1 at 20-AUG-10
    channel ORA_DISK_1: finished piece 1 at 20-AUG-10
    piece handle=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2010_08_20\
    O1_MF_ANNNN_TAG20100820T154748_66X1W5Z0_.BKP tag=TAG20100820T154748 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:04
    Finished backup at 20-AUG-10See http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta008.htm#i78730

  • Analyze job very slow in RAC environment

    Hi,
    I have an anlyze job which runs for 3 hrs in RAC environment (9.2.0.6).
    Earlier in NON-RAC environment it used to complete in 1 hrs.
    Need help in solving this issue.
    Ajoy Kumar Thapa

    hi,
    This database is used for query purpose mainly.
    we do huge data load during weekend into one of the table.
    This table is then exchange with one of the partition of a huge partitioned table.
    after that analyze job runs on this partitioned table.
    The command we use for analyze is given below:
    DBMS_STATS.GATHER_SCHEMA_STATS
    ownname => '<owner_name>'
    ,estimate_percent => 05
    ,cascade => true
    ,degree => 4
    ,granularity=>'ALL'
    I want to know, what can be the reason, this job, which runs fine in NON-RAC environment, is taking so long in RAC enviroment.
    Any help is highly appreciated.
    Ajoy Kumar Thapa

Maybe you are looking for