RAC Services in 11gR2

Hi,
Need clarification on services.
I've a 2node RAC 11gR2.
I want to configure service for example srvc1 on both node1& node2 with the following features.
On node1 - for srvc1 preferred instance is inst1 and available instance is inst2 and failover type is select.
On node2 - for same srvc1 service preferred instance is inst2 and available instance is inst1 and failover type is select
and as well load balance need to done between node1& node2.
So that what ever session connected to node1 will failover to node2 and vice versa and load balance will be happened.
In this way is it possible to configure the same service on 2 nodes?
Thanks,
Sandeep

Here is a good place to start: http://docs.oracle.com/cd/E11882_01/rac.112/e16795/hafeats.htm
A service created as -r node1,nod2 will load balance **AND** fail over to the other node automatically - regardless of which instance you connected initially. If you are using SCAN, again don't try to something manually that is already being done for you by Oracle. Most that try to out-think SCAN usually get it wrong.
Some light reading:
http://www.oracle.com/technetwork/database/features/availability/maa-wp-11gr2-client-failover-173305.pdf
From:
http://docs.oracle.com/cd/E11882_01/network.112/e10836/concepts.htm
"Due to dynamic service registration, a listener is always aware of all instances and dispatchers regardless of their location. Depending on the load information, a listener decides which instance and, if shared server is configured, to which dispatcher to send the incoming client request.
In a shared server configuration, a listener selects a dispatcher in the following order:
Least-loaded node
Least-loaded instance
Least-loaded dispatcher for that instance
In a dedicated server configuration, a listener selects an instance in the following order:
Least-loaded node
Least-loaded instance
If a database service has multiple instances on multiple nodes, then the listener chooses the least-loaded instance on the least-loaded node. If shared server is configured, then the least-loaded dispatcher of the selected instance is chosen.
"

Similar Messages

  • How to find out which RAC service a user is using.

    Hi,
    Our RAC database uses clustering services.
    How do I find out to which RAC service a database user is setup for?
    I know how to check what it is currently using by looking at GV$SESSION. But i want to check what service a user was originally setup?
    I cant seem to find the info i need on the following views:
    GV$ACTIVE_SERVICES
    DBA_SERVICES
    GV$SESSION
    am i missing out something?
    thanks,

    There is a service_name column in gv$session that should show what service is being used by a connection.
    Sorry...reread and see that you know about gv$session...I'm not really sure what you mean by originally setup or how long ago you are trying to look for but in v$active_session_history there is a column that is service_hash that will join to dba_services column name_hash..so if you can find some old session from that user and get the service_hash you can get the service name from dba_services.
    Edited by: DBA_Mike on Mar 24, 2009 6:48 AM

  • Can we have separate 10gR2 RAC CRS and 11gR2 RAC CRS homes on  same Unix s

    We'd like to test the upgrade of our 10gR2 RAC databases to 11gR2 RAC.
    We have six databases on the same server and want to install a separate 11g RAC stack (11g CRS, 11g ASM, 11g RDBMS) and upgrade each 10g database from 10g RAC stack on same server (10g CRS, 10g ASM, 10g RDBMS) . Is it ok to have 10g CRS home and 11g CRS home same server? If not, how best to upgrade without buying more hardware?
    Thanks in advance,
    Lou

    In more detail, the main issue/question is whether there can be 2 Oracle CRS homes on the same server i.e. separate 10gR2 and 11gR2 CRS homes residing on the same server for the purposes of (gradually) upgrading all Oracle RDBMS homes from 10g RAC to 11g RAC.
    Can there be? What would be the implications for the OCR and voting disk? In our case 10g CRS has OCR and Voting Disk on raw devices. In 11gR2, these would need to be migrated/upgraded/stored in ASM, right?
    We have 6 10g rdbms homes in addition to the one 10g CRS home and one 10g ASM home. To upgrade can we
    - Install 11gR2 CRS in a separate home (this would now include ASM as well)
    - Install 11gR2 RDBMS home
    - Upgrade one of the 6 10g databases while leaving the others untouched as 10g databases in the separate 10g CRS, 10g ASM stack?
    Any ideas, pointers greatly appreciated.
    Thanks,
    Lou

  • How to monitor RAC services and nodeapps in Grid Control

    Hi,
    I have created a number of RAC service names such as GL on a 2-node RAC and would like to use Grid control 10.2.0.2 to monitor the availability of those services and nodeapps. I was not able to find anything in Grid Control that would allow me to configure that. What are being monitored now are the listeners, database instances and nodes. Would it be possible to monitor more than just the RAC listeners, instances and nodes?
    thanks.

    I don´t think that there is an out-of-the-box metric. However, CRS monitors your services and Grid Control monitors CRS errors. If you need more granular monitoring, I have 2 suggestions:
    1) user callouts:
    [http://download.oracle.com/docs/cd/B28359_01/rac.111/b28254/hafeats.htm#RACAD7133]
    2) extending oracle enterprise manager
    I have written a paper on how to extend oem at [http://www.ora-solutions.net/web/papers/]
    "Extending Oracle Enterprise Manager to collect HP-UX glance data"
    You can follow the instructions to build a new target type called "RAC_SERVICE" and add your serivces as targets, e.g. S_BATCH, S_ONLINE, S_HR.
    Best regards,
    Martin Decker
    www.ora-solutions.net
    Edited by: mdecker on Jan 2, 2009 10:57 AM
    Edited by: mdecker on Jan 2, 2009 10:59 AM

  • Maximum number of RAC services in a Node

    DB, Grid Version: 11.2.0.3/RHEL 5.4
    My question is on the preferred node for a RAC service.
    What is the maximum number of RAC services that can created in a node ?

    Hi,
    You can add maximum 145 service different default services.
    It is not documented information.
    Thanks
    Mahir M. Quluzade
    p.s. It is myself test result.

  • RAC service can't start after upgrading to 10.2.0.4

    Hi All,
    After upgrading to 10.2.0.4 from 10.2.01 (linux32 with 2 nodes), I am experiencing the following:
    1. The rac service (created after the database was created, not the default service) can not start after the database started with "prkp-1030" error.
    2.The service somehow is online and available from the "lsnrctl status" command. Further verified that the users could connect to the rac via that service.
    3. The "crs_stat -t" command and the "srvctl status service..." also show the service is not running.
    Have anyone seen this problem before? what is need to be done to make it consistent.
    Thanks,
    TN

    I found something that might cause this problem.
    When I shut down everything (service, db, asm, nodeapps), and start them back on one by one in the opposite order (nodeapps, asm, database). I found out that the service is somehow get restarted when I start the database (when I have yet started the service itself). the lsnrctl status shows that the service is up. but the crs_stat shows the service is down.
    My question is that why the service is tied up with the database startup (using srvctl start database -d database_name)?

  • Using Oracle SE RAC 10gR2 or 11gR2 on NetApp NAS

    Hi,
    I'd like to know if Oracle certifies Oracle SE RAC 10gR2 or 11gR2 on NAS storage like NetApp FAS2552A dual controller, 24 x 900 GB SAS, 8x 10GbE + 4x 1GbE, 7-
    mode, iSCSI, CIFS, NFS, FCP.
    I have read some documents by Oracle and, in my opinion, it seems that the best approach is: NetApp NAS with iSCSI.
    Reading NetApp documentation it seems that NetApp NAS has a proprietary protocol to manage storage (ONTAP ?).
    Is the NetApp approach to manage storage for Oracle RAC a certified solution ?
    Thank you very much

    I run Oracle RAC on NetApp without any problems. I suggest you work with NetApp. They will be able to answer questions about their specific hardware. They also have documentation on how to configure their disk solution specifically for Oracle RAC databases.
    HTH,
    Brian

  • Error connection with SAPRouter of RAC Service

    Good Morning Experts, I propose my scenario.
    I use RAC Service to connect with ICC test System. I must test XI-Content for NW-XI-CNT certification.
    I have to use SAPGUI for Java to configure NX7 System and backend system.
    My laptop is in lan that is protected by Firewall.
    I've installed SAPRouter 7.00 (NI=38 - Version=10), I've done some test of connection and all is correct!
    RAC Support had sended credentials of systems and SAProuter String.
    This string is "/H/[your_server]/S/[your_port]/H/155.56.49.28/H/";
    your_server = this is a private ip of server with my SAPRouter, when i execute an connection attempt this ip is changed with official public ip of my company;
    your_port = is default 3299 (like recommendation) ;
    if use this string via SAPGUI, this error is generated:
    java.lang.Exception: Error: hostname ' ' unknown
    Location: SAProuter 39.1 (SP3) on 'ld8360'
    Wed May  6 16:49:41 2009
    Release 710
    Component NI (network interface), version 39
    rc = -93, module nixxhsl.cpp, line 233
    Detail NiHsLGetNodeAddr: hostname cached as unknown
    at: com.sap.platin.r3.protocol.ni.GuiNiNetConnection.processOpenRequest(GuiNiNetConnection.java:329)
    at: com.sap.platin.r3.protocol.ni.GuiNiNetConnection.handleOpenRequest(GuiNiNetConnection.java:158)
    at: com.sap.platin.base.connection.GuiConnection.processCreateReply(GuiConnection.java:508)
    at: com.sap.platin.base.connection.GuiConnection.handleCreateReply(GuiConnection.java:480)
    at: com.sap.platin.r3.protocol.ni.GuiNiNetConnection.handleCreateRequest(GuiNiNetConnection.java:148)
    at: com.sap.platin.base.connection.GuiConnection.open(GuiConnection.java:351)
    at: com.sap.platin.base.application.GuiApplication.createConnection(GuiApplication.java:798)
    at: com.sap.platin.base.logon.GuiLogonFrame.doConnect(GuiLogonFrame.java:838)
    at: com.sap.platin.base.logon.util.SystemList$SymListener.mouseClicked(SystemList.java:1199)
    at: java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
    at: java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
    at: java.awt.Component.processMouseEvent(Unknown Source)
    at: javax.swing.JComponent.processMouseEvent(Unknown Source)
    at: java.awt.Component.processEvent(Unknown Source)
    at: java.awt.Container.processEvent(Unknown Source)
    at: java.awt.Component.dispatchEventImpl(Unknown Source)
    at: java.awt.Container.dispatchEventImpl(Unknown Source)
    at: java.awt.Component.dispatchEvent(Unknown Source)
    at: java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at: java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at: java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at: java.awt.Container.dispatchEventImpl(Unknown Source)
    at: java.awt.Window.dispatchEventImpl(Unknown Source)
    at: java.awt.Component.dispatchEvent(Unknown Source)
    at: java.awt.EventQueue.dispatchEvent(Unknown Source)
    at: com.sap.platin.micro.event.GuiEventQueue.dispatchEvent(GuiEventQueue.java:73)
    at: java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at: java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at: java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at: java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at: java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at: java.awt.EventDispatchThread.run(Unknown Source)
    I've debugged connection attempt, my request is arrived to SAPRouter of RAC Service.
    In other connection attempt I've appended information of NX7 server to SAProuter string.
    SAProuter string: "/H/[your_server]/S/[your_port]/H/155.56.49.28/H/[server_nx7]".
    I saw this error:
    java.lang.Exception: Error: ld8360: route permission denied ([my_public_ip] to [server_nx7], sapdp00)
    Location: SAProuter 39.1 (SP3) on 'ld8360'
    Wed May  6 17:02:06 2009
    Release 710
    Component NI (network interface), version 39
    rc = -93,
    at: com.sap.platin.r3.protocol.ni.GuiNiNetConnection.processOpenRequest(GuiNiNetConnection.java:329)
    at: com.sap.platin.r3.protocol.ni.GuiNiNetConnection.handleOpenRequest(GuiNiNetConnection.java:158)
    at: com.sap.platin.base.connection.GuiConnection.processCreateReply(GuiConnection.java:508)
    Can someone give me some advice?
    Edited by: m.genova on May 6, 2009 6:06 PM

    I've resolved the problem, the key of problem is SAProuter String.
    SAPRouter String is used only for routing phase.
    It needs aappend another string to SAPRouter String to connect with AS or Exchange infastructure correctly.
    Complete String = SAPRouter String + "[server]/S/32[SystemNumber]"
    in case of connection with nx7 system:
    "/H/[your_server]/S/[your_port]/H/155.56.49.28/H/[server_nx7]/S/32[SystemNumberNX7]".
    Bye
    Edited by: m.genova on May 7, 2009 12:18 AM

  • RAC services (TAF)

    Hi All,
    I'm planning to implement the load balance thru RAC services.
    suppose I have 2node RAC database with 10 schemas , first 5 schemas need to connect to the node1 and the rest 5 schemas connect to the node2 .
    Is there any way to implement like this thru services(TAF)? ( client side tns entry with diff service name will be difficult )
    Please give some suggestion or steps for this case.
    Regards,
    Thomas.

    You should use Oracle Cluster Services (it has nothing to do with TAF) and you will have to configure two services with one node as preferred and another one as available (think about it as failover).
    On the client side you will provide two descriptors - they will have to be different only in SERVICE_NAME but both contain 2 IP's. You use case is an exact fit for this feature and you should overcome difficulties of two distinct connection strings.
    If connections are using different usernames anyway, you could as well specify different connection string - how more difficult is that?
    You can also create 10 services and name them the same way as your schemas and create appropriate connection descriptors. This way it's easier to manage - just use username for both. This also has advantage of dynamically manipulating of which users connect to which node.
    Anyway, I think you example my be too abstract. Why don't you tell us your real requirements?

  • RAC services vs listener

    Hi,
    1. What is the difference between oracle RAC services and listeners and do we need both?
    2. Regarding OCR and Voting disks..
    we need to have 2 OCR's and 3 voting disks, Just assume that in case of 6 node RAC, do we still need 2 OCR and 3 voting dissk formula?

    Hi;
    Please move your thread to related forum site :
    Forum Home >> Grid Computing
    Regard
    Helios

  • Service registration 11gr2 RAC AIX

    Hi Gurus,
    I have created an database service called "MTRXUATR" with srvctl as both nodes as prefered as show below ,this service got registered on both nodes (mvx20b) but only instance 1 is providing the service and not by the other instance .where logically should be provided by both instances.When i shutdown the instance 1(node 1) and tried connecting through sqlplus using this services, started getting error "ORA-12514" where i should have been redirected to instance 2(connect time failover) as i'm using scan name,correct?
    Why is it that the service is not providing by both instances?is it some configuration issue that i missed?Services should be registered with the local listeners or SCAN listeners?
    Node 1:
    Code: Select all
    mvx20b:/u01/app/omvmxu1/product/11.2.0/dbhome_1/racg>srvctl config service -d mvmxu2
    Service name: mtrxuatr
    Service is enabled
    Server pool: mvmxu2_mtrxuatr
    Cardinality: 2
    Disconnect: false
    Service role: PRIMARY
    Management policy: AUTOMATIC
    DTP transaction: false
    AQ HA notifications: true
    Failover type: SELECT
    Failover method: BASIC
    TAF failover retries: 180
    TAF failover delay: 1
    Connection Load Balancing Goal: LONG
    Runtime Load Balancing Goal: NONE
    TAF policy specification: NONE
    Preferred instances: mvmxu21,mvmxu22
    Available instances:
    mvx20b:/home/gmvmxu1>lsntrctl services
    ksh: lsntrctl: not found
    mvx20b:/home/gmvmxu1>lsnrctl services
    LSNRCTL for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production on 27-OCT-2010 09:58:02
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
    Services Summary...
    Service "+ASM1" has 1 instance(s).
    Instance "+ASM1", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:52549 refused:0
    LOCAL SERVER
    Service "matrxuat" has 1 instance(s).
    Instance "mvmxu11", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:24 refused:0 state:ready
    LOCAL SERVER
    Service "mtrxuatr" has 1 instance(s).
    Instance "mvmxu21", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:4 refused:0 state:ready
    LOCAL SERVER
    Service "mvmxu1" has 1 instance(s).
    Instance "mvmxu11", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:24 refused:0 state:ready
    LOCAL SERVER
    Service "mvmxu1XDB" has 1 instance(s).
    Instance "mvmxu11", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: mvx20b.us.hp.com, pid: 1687592>
    (ADDRESS=(PROTOCOL=tcp)(HOST=mvx20b.us.hp.com)(PORT=50696))
    Service "mvmxu2" has 1 instance(s).
    Instance "mvmxu21", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:4 refused:0 state:ready
    LOCAL SERVER
    Service "mvmxu2XDB" has 1 instance(s).
    Instance "mvmxu21", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: mvx20b.us.hp.com, pid: 1667116>
    (ADDRESS=(PROTOCOL=tcp)(HOST=mvx20b.us.hp.com)(PORT=52509))
    The command completed successfully
    mvx20b:/home/gmvmxu1>srvctl config service -d mvmxu2
    Service name: mtrxuatr
    Service is enabled
    Server pool: mvmxu2_mtrxuatr
    Cardinality: 2
    Disconnect: false
    Service role: PRIMARY
    Management policy: AUTOMATIC
    DTP transaction: false
    AQ HA notifications: true
    Failover type: SELECT
    Failover method: BASIC
    TAF failover retries: 180
    TAF failover delay: 1
    Connection Load Balancing Goal: LONG
    Runtime Load Balancing Goal: NONE
    TAF policy specification: NONE
    Preferred instances: mvmxu21,mvmxu22
    Available instances:
    mvx20b:/home/gmvmxu1>srvctl status database -d mvmxu2
    Instance mvmxu21 is running on node mvx20b
    Instance mvmxu22 is running on node mvx21b
    mvx20b:/home/gmvmxu1>srvctl status service -d mvmxu2
    Service mtrxuatr is running on instance(s) mvmxu21
    mvx20b:/home/gmvmxu1>srvctl stop instance -d mvmxu2 -i mvmxu21
    mvx20b:/home/gmvmxu1>srvctl status database -d mvmxu2
    Instance mvmxu21 is not running on node mvx20b
    Instance mvmxu22 is running on node mvx21b
    mvx20b:/home/gmvmxu1>srvctl status service -d mvmxu2
    Service mtrxuatr is not running.
    mvx20b:/home/gmvmxu1>sqlplus system@mtrxuatr
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Oct 27 10:27:27 2010
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Enter password:
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    Enter user-name:
    mvx20b:/home/gmvmxu1>tnsping mtrxuatr
    TNS Ping Utility for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production on 27-OCT-2010 10:28:51
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    /u01/app/11.2.0/grid/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = mvxuatscan.us.hp.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = MTRXUATR)))
    OK (10 msec)
    mvx20b:/home/gmvmxu1>nslookup mvxuatscan.us.hp.com
    Server: einstein.us.hp.com
    Address: 10.35.15.20
    Name: mvxuatscan.us.hp.com
    Addresses: 10.35.33.170, 10.35.33.172, 10.35.33.171
    mvx20b:/home/gmvmxu1>host mvxuatscan.us.hp.com
    mvxuatscan.us.hp.com is 10.35.33.171
    mvx20b:/home/gmvmxu1>host mvxuatscan.us.hp.com
    mvxuatscan.us.hp.com is 10.35.33.171
    mvx20b:/home/gmvmxu1>ping mvxuatscan.us.hp.com
    PING mvxuatscan.us.hp.com (10.35.33.172): 56 data bytes
    64 bytes from 10.35.33.172: icmp_seq=0 ttl=255 time=0 ms
    64 bytes from 10.35.33.172: icmp_seq=1 ttl=255 time=0 ms
    64 bytes from 10.35.33.172: icmp_seq=2 ttl=255 time=0 ms
    64 bytes from 10.35.33.172: icmp_seq=3 ttl=255 time=0 ms
    --- mvxuatscan.us.hp.com ping statistics ---
    4 packets transmitted, 4 packets received, 0% packet loss
    round-trip min/avg/max = 0/0/0 ms
    mvx20b:/home/gmvmxu1>ping mvxuatscan.us.hp.com
    PING mvxuatscan.us.hp.com (10.35.33.171): 56 data bytes
    64 bytes from 10.35.33.171: icmp_seq=0 ttl=255 time=0 ms
    64 bytes from 10.35.33.171: icmp_seq=1 ttl=255 time=0 ms
    64 bytes from 10.35.33.171: icmp_seq=2 ttl=255 time=0 ms
    --- mvxuatscan.us.hp.com ping statistics ---
    3 packets transmitted, 3 packets received, 0% packet loss
    round-trip min/avg/max = 0/0/0 ms
    mvx20b:/home/gmvmxu1>ping mvxuatscan.us.hp.com
    PING mvxuatscan.us.hp.com (10.35.33.170): 56 data bytes
    64 bytes from 10.35.33.170: icmp_seq=0 ttl=255 time=0 ms
    64 bytes from 10.35.33.170: icmp_seq=1 ttl=255 time=0 ms
    64 bytes from 10.35.33.170: icmp_seq=2 ttl=255 time=0 ms
    --- mvxuatscan.us.hp.com ping statistics ---
    3 packets transmitted, 3 packets received, 0% packet loss
    round-trip min/avg/max = 0/0/0 ms
    mvx20b:/home/gmvmxu1>lsnrctl services
    LSNRCTL for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production on 27-OCT-2010 10:34:16
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
    Services Summary...
    Service "+ASM1" has 1 instance(s).
    Instance "+ASM1", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:52549 refused:0
    LOCAL SERVER
    Service "matrxuat" has 1 instance(s).
    Instance "mvmxu11", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:24 refused:0 state:ready
    LOCAL SERVER
    Service "mvmxu1" has 1 instance(s).
    Instance "mvmxu11", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:24 refused:0 state:ready
    LOCAL SERVER
    Service "mvmxu1XDB" has 1 instance(s).
    Instance "mvmxu11", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: mvx20b.us.hp.com, pid: 1687592>
    (ADDRESS=(PROTOCOL=tcp)(HOST=mvx20b.us.hp.com)(PORT=50696))
    The command completed successfully
    mvx20b:/home/gmvmxu1>srvctl start instance -d mvmxu2 -i mvmxu21
    mvx20b:/home/gmvmxu1>srvctl status service -d mvmxu2
    Service mtrxuatr is running on instance(s) mvmxu21
    mvx20b:/home/gmvmxu1>
    Node 2:
    Code: Select all
    mvx21b:/home/gmvmxu1>lsnrctl services
    LSNRCTL for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production on 27-OCT-2010 10:38:52
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM2", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:3973 refused:0 state:ready
    LOCAL SERVER
    Service "+ASM2" has 1 instance(s).
    Instance "+ASM2", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:9 refused:0
    LOCAL SERVER
    Service "mvmxu1" has 1 instance(s).
    Instance "mvmxu12", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:951 refused:0 state:ready
    LOCAL SERVER
    Service "mvmxu1XDB" has 1 instance(s).
    Instance "mvmxu12", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: mvx21b.us.hp.com, pid: 1552450>
    (ADDRESS=(PROTOCOL=tcp)(HOST=mvx21b.us.hp.com)(PORT=34128))
    Service "mvmxu2" has 1 instance(s).
    Instance "mvmxu22", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "mvmxu2XDB" has 1 instance(s).
    Instance "mvmxu22", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: mvx21b.us.hp.com, pid: 2064564>
    (ADDRESS=(PROTOCOL=tcp)(HOST=mvx21b.us.hp.com)(PORT=64601))
    The command completed successfully
    mvx21b:/home/gmvmxu1>ps -ef |grep lsnr
    gmvmxu1 1695876 1 0 Sep 13 - 20:40 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER -inherit
    gmvmxu1 1732752 1 0 Sep 13 - 5:52 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER_SCAN1 -inherit
    gmvmxu1 1855706 2195662 0 10:39:13 pts/0 0:00 grep lsnr
    mvx21b:/home/gmvmxu1>lsnrctl services LISTENER_SCAN1
    LSNRCTL for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production on 27-OCT-2010 10:39:25
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
    Services Summary...
    Service "+ASM" has 2 instance(s).
    Instance "+ASM1", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:blocked
    REMOTE SERVER
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mvx21b-vip.us.hp.com)(PORT=1521)))
    Instance "+ASM2", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    REMOTE SERVER
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mvx21b-vip.us.hp.com)(PORT=1521)))
    Service "matrxuat" has 1 instance(s).
    Instance "mvmxu11", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:2 refused:0 state:ready
    REMOTE SERVER
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mvx20b-vip.us.hp.com)(PORT=1521)))
    Service "mvmxu1" has 2 instance(s).
    Instance "mvmxu11", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:2 refused:0 state:ready
    REMOTE SERVER
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mvx20b-vip.us.hp.com)(PORT=1521)))
    Instance "mvmxu12", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    REMOTE SERVER
    (ADDRESS=(PROTOCOL=TCP)(HOST=mvx21b.us.hp.com)(PORT=1521))
    Service "mvmxu1XDB" has 2 instance(s).
    Instance "mvmxu11", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: mvx20b.us.hp.com, pid: 1687592>
    (ADDRESS=(PROTOCOL=tcp)(HOST=mvx20b.us.hp.com)(PORT=50696))
    Instance "mvmxu12", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: mvx21b.us.hp.com, pid: 1552450>
    (ADDRESS=(PROTOCOL=tcp)(HOST=mvx21b.us.hp.com)(PORT=34128))
    Service "mvmxu2" has 1 instance(s).
    Instance "mvmxu22", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    REMOTE SERVER
    (ADDRESS=(PROTOCOL=TCP)(HOST=mvx21b.us.hp.com)(PORT=1521))
    Service "mvmxu2XDB" has 1 instance(s).
    Instance "mvmxu22", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: mvx21b.us.hp.com, pid: 2064564>
    (ADDRESS=(PROTOCOL=tcp)(HOST=mvx21b.us.hp.com)(PORT=64601))
    The command completed successfully
    mvx21b:/home/gmvmxu1>
    Instance 1 parameter:
    Code: Select all
    SQL> show parameter local_
    NAME TYPE VALUE
    local_listener string (DESCRIPTION=(ADDRESS_LIST=(AD
    DRESS=(PROTOCOL=TCP)(HOST=mvx2
    0b-vip.us.hp.com)(PORT=1521)
    log_archive_local_first boolean TRUE
    SQL> show parameter remote_
    NAME TYPE VALUE
    remote_dependencies_mode string TIMESTAMP
    remote_listener string mvxuatscan:1521
    Instance 2 parameter:
    Code: Select all
    SQL> show parameter local_
    NAME TYPE VALUE
    local_listener string
    log_archive_local_first boolean TRUE
    SQL> show parameter remote_
    NAME TYPE VALUE
    remote_dependencies_mode string TIMESTAMP
    remote_listener string mvxuatscan:1521
    remote_login_passwordfile string EXCLUSIVE
    remote_os_authent boolean FALSE
    remote_os_roles boolean FALSE
    result_cache_remote_expiration integer 0
    Edited by: user9097501 on Oct 27, 2010 12:21 PM

    I tried starting service on instance 2 but getting the following error...
    mvx21b:/home/omvmxu1>srvctl status service -d mvmxu1
    Service matrxuat is running on instance(s) mvmxu11
    mvx21b:/home/omvmxu1>srvctl start service -d mvmxu1 -s matrxuat -i mvmxu12
    PRCR-1064 : Failed to start resource ora.mvmxu1.matrxuat.svc on node mvx21b
    CRS-2674: Start of 'ora.mvmxu1.matrxuat.svc' on 'mvx21b' failed
    CRS-2678: 'ora.mvmxu1.matrxuat.svc' on 'mvx21b' has experienced an unrecoverable failure
    CRS-0267: Human intervention required to resume its availability.
    When i say 'srvctl start service -d mvmxu1' should not it bring up services on both nodes won which it is configured as prefered?
    Edited by: user9097501 on Oct 28, 2010 6:44 AM

  • RAC: Service started not in the right instance

    Hello,
    I added today two instances (ACCMEAS3, ACCMEAS4) to a RAC databases (10gR2). The system has now 4 nodes. The new configuration of my service is:
    $>-RAC>-ACCMEAS3:$ srvctl config service -d ACCMEAS
    ACCMEAS_S PREF: ACCMEAS3 AVAIL: ACCMEAS4
    $>-RAC>-ACCMEAS3:$srvctl status service -d ACCMEAS
    Service ACCMEAS_S is running on instance(s) ACCMEAS3
    This is the actual configuration in the CRS.
    Nevertheless the ACCMEAS2 still has the service, despite I have bounced the instance:
    (info from a listener):
    Service "ACCMEAS_S" has 2 instance(s).
    Instance "ACCMEAS2", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    REMOTE SERVER
    (ADDRESS=(PROTOCOL=TCP)(HOST=nodea)(PORT=1574))
    Instance "ACCMEAS3", status READY, has 2 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    REMOTE SERVER
    (ADDRESS=(PROTOCOL=TCP)(HOST=nodeb)(PORT=1574))
    "DEDICATED" established:1639 refused:0 state:ready
    LOCAL SERVER
    The only way to avoid this is to put ACCMEAS2 down.
    The service is configured TAF: Basic-Select, CLB_GOAL: LONG,GOAL:NONE
    The connection string for info purpose:
    datab=(
         DESCRIPTION=
         (ADDRESS= (PROTOCOL=TCP) (HOST=nodea-v) (PORT=1574) )
         (ADDRESS= (PROTOCOL=TCP) (HOST=nodeb-v) (PORT=1574) )
         (ADDRESS= (PROTOCOL=TCP) (HOST=nodec-v) (PORT=1574) )
         (ADDRESS= (PROTOCOL=TCP) (HOST=noded-v) (PORT=1574) )
         (LOAD_BALANCE=off)
         (ENABLE=BROKEN)
         (CONNECT_DATA=
              (SERVER=DEDICATED)
              (SERVICE_NAME=accmeas_s)
              (FAILOVER_MODE=
                   (TYPE=SELECT)
                   (METHOD=BASIC)
    In the future we would like to have all instances as possible spares, that's why this definition in the tnsnames.ora.
    What makes the service to get started on a instance not defined for?
    Thanks for your help!

    The workaround I have found is to use dbms_service.stop_service. This stops the service on the instance 2 and makes everything coherent with the CRS.
    Ruben

  • Why RAC services doesn't start automatically?

    Hi All,
    I have 2-node 10gR2 RAC installed on RHEL4. Whenever i restart the server, the services related to RAC are not starting automatically except VIP related services. Manually i have to start the services using crs_stop and crs_start commands. then, everything will be fine and working. There was no problems or error occurred while installation.
    Whenever i restart my node VIP addresses which are in DNS takes about 10-15 mins to resolve, means to show up in ifconfig -a output. Is this related to service not starting automatically?
    Can anybody tell me what might be the problem?
    Thanks,
    Praveen.

    when a failure occurs, the cluster will put things back to the state they were in at the time of failure. So if your database is running and the node crashes or is rebooted, then the services should start because the target state is ONLINE. If you do a srvctl stop database, then this is a assumed a planned shutdown so we stop the database and the services (dependent resource as Erik says). If after you have successfully stopped the database, the target state of the service is OFFLINE. If you reboot at this point, then the database and service should not start.
    All databases should work the same if they were created the same. There is not enough information in your post to know why they did not start. If it continues to be a problem, contact Oracle Support and they can help figure out the differences.

  • Oracle Rac services on second node

    Hi all
    I have got oracle rac database installed on a 2 node cluster. I was not able to get the below 2 services online (state) on the second node. Any idea?
    ora.racdb.racdb2.inst
    ora.racdb.racdb_taf.racdb2.srv
    Name Type Target State Host
    ora....b2.inst application ONLINE OFFLINE
    ora....db2.srv application ONLINE OFFLINE
    I checked the +ASM2 instance on the second node, the asm_diskgroup parameter is not set.  Is that the cause of the problem I am encountering?
    Thanks all
    OS: Oracle Enterprise Linux 5 x86
    Oracle: Oracle 10g x86

    You should be able to find some more information in the instance's alert log file. But not having asm_diskgroups set is a very likely cause. Your diskgroups won't get mounted and that leads to the instance not being able to start (because it won't even find the spfile if it is stored on ASM). You could try to mount them manually like this:
    export ORACLE_SID=+ASM2
    sqlplus sys/ as sysdba
    alter diskgroup MYDISKGROUP mount;and then start the instance with 'srvctl start instance -d myracdb -i myinstance2'
    Or, of course you could edit the asm instance's pfile (or spfile) to include the asm_diskgroup parameter and reboot the server (or just asm)
    Bjoern

  • Oracle RAC service on Windows

    There are Oracle 10g on Windows 2003 and RAC. Following service
    OracleCSService
    OracleCRService
    OracleEVMService
    Can I start any service before another service when restart windows or there must start what service first?
    Thankyou

    Once you start windows server and if all the oracle services are disabled. Then, first of all set all the oracle services to automatic mode and then just start the Oracle CRS service and then this will start all other services automatically for you.
    in the sequence.
    Hope this Helps
    Regards

Maybe you are looking for

  • A select list combined with auto-complete?

    Hello All, I am trying to convert an access application into APEX. There is a field on the form where I can look up various car models (Campry, Corola, RAV4, Sienna, etc) via drop down menu (select list in APEX) or by directly typing "Ca" in the fiel

  • About existence of added column in the database apex application.

    Hi, I have created an report apex application based on the table. Consider the table as Employee_details The columns in the Employee_details tables are *) Employee_id *) name *) ip_address *) host_name *) port_no *) sys_type *) email_id *) login_id *

  • Middle name to upper case

    Hi, I have an issue in my program can someone tell me how to approach the solution ? Ex- TRANSLATE l_first(1) TO UPPER CASE. TRANSLATE l_last(1)  TO UPPER CASE First Name            Last Name sanjay  kumar        yadav current o/p is Sanjay kumar  Ya

  • Specify audio file to play on sound events...

    How about add an option to let us specify exactly which audio file to play on sound events?

  • HT1725 Only plays part of a song

    I purchased a song, and it says that the entire song is downloaded, but it only plays about 30 seconds before going to the next song.  This happens in both iTunes and on my iPod.  Any suggestions?