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?

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

  • 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.

  • Does NFS support Oracle RAC with TAF ?

    Hi,
    Does NFS support Oracle RAC with TAF feature. ?
    If yes, please point to some valid document to prove the same.
    Regards
    Sumit

    TAF has nothing to do with the underlying storage architecture and is therefore 'supported' with your choice of asm, raw devices, cluster file system and NFS. NFS is supported on some platforms. For more details, check the certify tab in metalink. Some information can also be found here
    TAF will be available on any rac installation, but not all drivers support it (jdbc-thin for example)
    Bjoern

  • 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)?

  • 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 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

  • 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

  • RAC service jdbc

    Hi!
    2node RAC
    CRS=11.1.0.7
    DB=10.2.0.4
    I'm planning to create 4 services, two of them will be prefered on node1 and availabel on node2.
    The others are vice versa.
    1) is the relocation of the service, in case of an crash, faster if the services are configured as TAF_policy=preconnect?
    2) if so, what should be the TNS FAILOVER_MODE settings?
    I don't think there is a need to set LOAD_BALANCE=yes in the TNS, is it?
    br
    Daniel

    hello,
    1-TAF does not support thin jdbc driver, instead use oci driver.
    2-use it preconnected
    3-tnsnames example:
    bubba.world =
    (DESCRIPTION_LIST =
    (FAILOVER = true)
    (LOAD_BALANCE = true)
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = redneck)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = bubba)
    (SERVER = dedicated)
    (FAILOVER_MODE =
    (BACKUP=cletus)
    (TYPE=select)
    (METHOD=preconnect)
    (RETRIES=20)
    (DELAY=3)
    please refer to:
    http://www.dba-oracle.com/art_oramag_rac_taf.htm
    http://docs.openlinksw.com/mt/udauserracs1.html
    Kind regards
    Mohamed

  • 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

  • Monitoring RAC services in Windows

    I have a 2 node RAC database installed on Win 2003. I've had the Database service go down a few times kind of "magically". I'm looking into the kind of magic that caused this (suspect it was a storage issue), but in the mean-time I need to send out an alert to someone if this goes down. Does anyone have a good way/tool to monitor OS services and send out an e-mail when one goes down?

    Aren't you using grid control?
    http://download.oracle.com/docs/cd/B19306_01/server.102/b25159/monitor.htm#i1006661

  • 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.
    "

Maybe you are looking for

  • Creating ebook in InDesign 5.5?

    Hello I am searching an explanation for producing a ebook: I have InDesign 5.5 (Version 7.5): Is it possible to create an ebook (from PDF-files) which I could then upload to my Website...? Thanky for your answers!

  • How do I edit in Numbers?

    I duplicated and renamed an earlier Numbers spreadsheet, but all I get when I open the new spreadsheet in the new version of Numbers is a list of all the pages and the ability to print it.  How do I revert it back to an editable format so I can enter

  • Filter Panel lists unlabeled photos 3 times

    I have been using Bridge for some time now and I think it's great. Now suddenly in the Filter Panel in the 'labels' tab my unlabeled photos are listed 3 times, like so: No label 54 No label 54 Green label 7 Red label 2 No label 54 I have tried a numb

  • Batch of .MOV stopped working after moving around some files?

    I had a collection of .MOV video files (which were working fine) on a Mac Pro station, imported them into FCP 7... Still working fine.  Then, decided I wanted them on my External Drive so I copied everything over to my external. Moved the originals i

  • My applescript has an error, and I can't fix it.

    Hello, I am new to applescript and need to know how to fix somethings. I cannot seem to fix this: display dialog "What feature of Bemin's Epic Script would you like to use?" buttons {"Quitter, "Bemin Quiz"} if the button returned of the result is "Qu