Services - RAC

Hi everyone,
I have a big doubt about services in RAC i hope somebody can help me because i have read a lot of notes and articules but it is not clear for me.
Acoording to balance of load in services in RAC is for: LBA (RESPONSE_TIME or THROUGHTPUT) + CLB (SHORT or LONG)
Acoording to this white paper:
http://www.google.com.pe/url?sa=t&rct=j&q=%20automatic%20workload%20management%20with%20oracle%20real%20application%
20clusters&source=web&cd=1&cad=rja&ved=0CCgQFjAA&url=http%3A%2F%2Fwww.oracle.com%2Ftechnetwork%2Fproducts%2Fclustering%2Foverview%2Fawmrac11g-
133673.pdf&ei=-KVQUKi5IY2i8QSLwIGgBg&usg=AFQjCNFY8GPTHmop5DDWqK7zKuTAEw_VGA
Only in connections SHORT taken the LBA (RESPONSE_TIME or THROUGHPUT)
and for connections LONG it ignores the LBA and only balance though number of conections.
So my doubt is, when i should or when is recommend (in what scenaries) use connections SHORT in mode THROUGHPUT?
Really thank you if somebody can help me in it.
Regards.

I'm still not clear on what you want, but I think of it like this:
The GOAL of the service enables FAN, specifying either RESPONSE_TIME or THROUGHPUT. This is for runtime load balancing. RESPONSE_TIME will route a request to the instance performing best in terms of response time, THROUGHPUT will route it to the instance responding best in terms of calls per second.
The CLB_GOAL of the service enables connect time load balancing. LONG will launch a new session against the instance with the lowest concurrent sessions, SHORT will launch a new session against the instance currently performing best according to the GOAL algorithm.
HTH.

Similar Messages

  • How to tie a user oracle in a service rac

    Hi all,
    I have two services in my RAC environment with two nodes and I would like to know how to tie a username in a service from RAC.
    The services are:
    HMDPRD
    HMDREL
    So, I want that a username name called DBAHMD run only on instance PRD1 and the other users run only on instance PRD2.
    Thanks.
    Wander (Brazil)

    You have two groups of usernames:
    1) DBAHMD
    2) Everyone else
    If user 1 always connects from the same client machine, and the group of users in group 2 always connect from different machines, you can enforce this by having different tnsnames entries for user 1 vs. the list of users in group 2.
    If all users can connect from any client machine, then you could have two different aliases and make sure that logging on as user DBAHMD always uses alias PRD1 and other connections have to user alias PRD2.
    You can enforce it by an after database logon trigger that returns an error when someone logs on to the wrong instance.

  • TNS-12520 when connecting via TCPS on 11gR2 RAC with SCAN Listener

    I am struck trying to implement TCPS on our Oracle RAC SCAN Listener.  I have added to our Oracle 12c systems, but not on a RAC with SCAN.
    I created a wallet and certificate on one of the nodes, and copied it to the node and created auto login on each node.  I exported the trust.jks and identity.jks, and loaded them in my test java program as the trust store and key stores.  I have added the wallet location to the listener tns and sql  ora files.
    When attempting a TCPS connection, the ssl handshake succeed, but the client reports error:
    ORA-12520, TNS:listener could not find available handler for requested type of server
    The nodes scan listener log reports the TNS error, listener_scan1/alert/log.xml, when the connection is using TCPS on port 2484:
    <msg time='2015-04-29T14:06:20.629-04:00' org_id='oracle' comp_id='tnslsnr'  type='UNKNOWN' level='16' host_id='dublr059vm.dub.usoh.ibm.com'  host_addr='9.55.59.45'>
    <txt>29-APR-2015 14:06:20 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=tcarlson))
    (SERVER=DEDICATED)(SERVICE_NAME=DUB11RAC)) * (ADDRESS=(PROTOCOL=tcps)(HOST=9.55.61.122)(PORT=46635)) *
    establish * DUB11RAC * 12520
    </txt>
    </msg>
    <msg time='2015-04-29T14:06:20.629-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='dublr059vm.dub.usoh.ibm.com'
    host_addr='9.55.59.45'>
    <txt>TNS-12520: TNS:listener could not find available handler for requested type of server
    </txt>
    </msg>
    A connection using TCP completes without error:
    <msg time='2015-04-29T14:42:02.588-04:00' org_id='oracle' comp_id='tnslsnr' type='UNKNOWN' level='16' host_id='dublr059vm.dub.usoh.ibm.com'  host_addr='9.55.59.45'>
    <txt>29-APR-2015 14:42:02 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=tcarlson))
    (SERVER=DEDICATED)(SERVICE_NAME=DUB11RAC)) * (ADDRESS=(PROTOCOL=tcp)(HOST=9.55.61.122)(PORT=41950)) *
    establish * DUB11RAC * 0
    </txt>
    </msg>
    The scan listener is configured for TCP on 1521 and TCPS on 2484
    [oracle@dublr059vm ~]$ srvctl status scan_listener
    SCAN Listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node dublr060vm
    [oracle@dublr059vm ~]$ srvctl config scan_listener
    SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521/TCPS:2484
    The service, dub11rac is ready on both instances.
    [oracle@dublr060vm ~]$ lsnrctl stat LISTENER_SCAN1
    LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 30-APR-2015 11:45:18
    Copyright (c) 1991, 2013, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
    STATUS of the LISTENER
    Alias                     LISTENER_SCAN1
    Version                   TNSLSNR for Linux: Version 11.2.0.4.0 - Production
    Start Date                30-APR-2015 11:43:24
    Uptime                    0 days 0 hr. 1 min. 53 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/11.2.0/grid/network/admin/listener.ora
    Listener Log File         /u01/app/11.2.0/grid/log/diag/tnslsnr/dublr060vm/listener_scan1/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN1)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=9.55.59.47)(PORT=2484)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=9.55.59.47)(PORT=1521)))
    Services Summary...
    Service "dub11rac" has 2 instance(s).
      Instance "dub11rac1", status READY, has 1 handler(s) for this service...
      Instance "dub11rac2", status READY, has 1 handler(s) for this service...
    Service "dub11racXDB" has 2 instance(s).
      Instance "dub11rac1", status READY, has 1 handler(s) for this service...
      Instance "dub11rac2", status READY, has 1 handler(s) for this service...
    The command completed successfully

    Hi hitgon,
    Thanks first.
    The commands output are as the following:
    Command: srvctl status listener
    Output:
    # Listener LISTENER is enabled
    # Listener LISTENER is running on node(s): rac1,rac2
    Command: srvctl status scan_listener
    Output:
    # SCAN Listener LISTENER_SCAN1 is enabled
    # SCAN listener LISTENER_SCAN1 is running on node rac2
    # TNSNAMES.ORA
    RAC =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac-scan)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = rac.localdomain)
    Command: sqlplus username/passwd@rac-scan:1521/rac.localdomain
    Output:
    # ERROR:
    # ORA-12520: TNS:listener could not find available handler for requested type of server
    # Enter user-name:
    By the way, rac-scan is the host where the SCAN listener is running and rac.localdomain is the service name. I've also tried the following commands
    with the same error output:
    sqlplus username/passwd@RAC
    At last, i think the output of "lsnrctl status LISTENER_SCAN1" might help:
    Service "rac.localdomain" has 2 instance(s).
    Instance "rac1", status READY, has 1 handler(s) for this service...
    Instance "rac2", status READY, has 1 handler(s) for this service...
    Service "racXDB.localdomain" has 2 instance(s).
    Instance "rac1", status READY, has 1 handler(s) for this service...
    Instance "rac2", status READY, has 1 handler(s) for this service...

  • Service-specific error code 997 when starting up Oracle 9i service

    Hi,
    I have both Oracle 9i and 10g installed in a server. I've added 9i SID in 10g listner.ora. When I try to startup the 9i Oracle service in windows, I get "Windows could not start the 'service name' on Local Computer......If this is a non microsoft service, contact the service vendor, and refer to service-specific error code 997".
    Server is Windows 2003 R2 Standard Edition SP1
    Does anyone has a solution for this error?
    Thanks,
    listener.ora in 10g
    LISTENER10G =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = sgpdb1)(PORT = 1522))
    SID_LIST_LISTENER10G =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = F:\Oracle\Ora10.2.0)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = RACE)
    (ORACLE_HOME = F:\Oracle\Ora10.2.0)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = IWK1010)
    (ORACLE_HOME = F:\Oracle\Ora9201)
    (PROGRAM = extproc)
    sqlnet.ora in 10g
    NAMES.DEFAULT_DOMAIN = world
    SQLNET.AUTHENTICATION_SERVICES= NONE
    NAMES.DIRECTORY_PATH= (TNSNAMES,EZCONNECT)
    tnsnames.ora in 10g
    RACE.WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(Host = sgpdb1)(Port = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = RACE)
    IWK1010.WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = SGPDB1)(PORT = 1522))
    (CONNECT_DATA =
    (SERVICE_NAME = IWK1010)
    )

    Here is the resutls. Pls note - startup/exit commands were not executed since did not connenct to sqlplus
    C:\Documents and Settings\Administrator>lsnrctl start
    LSNRCTL for 32-bit Windows: Version 10.2.0.4.0 - Production on 13-APR-2011 12:03:54
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Starting tnslsnr: please wait...
    TNSLSNR for 32-bit Windows: Version 10.2.0.4.0 - Production
    Log messages written to F:\Oracle\Ora10.2.0\network\log\listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sgpdb1.corpnet.ifsworld.com)(PORT=1521)))
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.4.0 - Production
    Start Date 13-APR-2011 12:03:56
    Uptime 0 days 0 hr. 0 min. 4 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Log File F:\Oracle\Ora10.2.0\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sgpdb1.corpnet.ifsworld.com)(PORT=1521)))
    The listener supports no services
    The command completed successfully
    C:\Documents and Settings\Administrator>sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Apr 13 12:05:16 2011
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    ERROR:
    ORA-12560: TNS:protocol adapter error
    C:\Documents and Settings\Administrator>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.4.0 - Production on 13-APR-2011 12:09:59
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.4.0 - Production
    Start Date 13-APR-2011 12:03:56
    Uptime 0 days 0 hr. 6 min. 3 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Log File F:\Oracle\Ora10.2.0\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sgpdb1.corpnet.ifsworld.com)(PORT=1521)))
    Services Summary...
    Service "RACE_XPT" has 1 instance(s).
    Instance "race", status READY, has 1 handler(s) for this service...
    Service "race" has 1 instance(s).
    Instance "race", status READY, has 1 handler(s) for this service...
    The command completed successfully
    C:\Documents and Settings\Administrator>lsnrctl service
    LSNRCTL for 32-bit Windows: Version 10.2.0.4.0 - Production on 13-APR-2011 12:10:08
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    Services Summary...
    Service "RACE_XPT" has 1 instance(s).
    Instance "race", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "race" has 1 instance(s).
    Instance "race", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully

  • Failover takes 14 minutes on 2 node rac cluster installed on virtualbox

    i have 2 node rac 10gr2 installation without asm on virtualbox for learning purposes, the storage is kept on rac1 node and shared via nfs,
    i connected a third machine to be used as client by creating a service
    but when i shutdown the rac2 node to cause a failover, it takes almost 14-15 minutes to reconnect to the rac1 node
    even though the vip of rac2 is taken up by rac1 in not more than 30 seconds
    so i checked the listener log for rac1 node
    the correct service update shows up after 14 minutes every time i try
    tried a lot of googling but found nothing
    This is the service
    RAC =
      (DESCRIPTION =
        (LOAD_BALANCE = ON)
        (FAILOVER = ON)
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = rac1-vip.localdomain)(PORT = 1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = rac2-vip.localdomain)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = RAC.WORLD)
          (FAILOVER_MODE =
            (TYPE = SELECT)
            (METHOD = BASIC)
            (RETRIES = 180)
            (DELAY = 1)
    18-DEC-2013 18:34:48 * node_down * rac2 * 0
    18-DEC-2013 18:34:48 * service_down * RAC2 * 0
    18-DEC-2013 18:34:48 * service_update * RAC1 * 0
    18-DEC-2013 18:34:48 * service_update * RAC1 * 0
    18-DEC-2013 18:35:48 * service_update * RAC1 * 0
    18-DEC-2013 18:35:48 * service_update * RAC1 * 0
    18-DEC-2013 18:36:48 * service_update * RAC1 * 0
    18-DEC-2013 18:36:48 * service_update * RAC1 * 0
    18-DEC-2013 18:37:48 * service_update * RAC1 * 0
    18-DEC-2013 18:37:48 * service_update * RAC1 * 0
    18-DEC-2013 18:38:48 * service_update * RAC1 * 0
    18-DEC-2013 18:38:48 * service_update * RAC1 * 0
    18-DEC-2013 18:39:45 * service_update * RAC1 * 0
    18-DEC-2013 18:39:45 * service_update * RAC1 * 0
    18-DEC-2013 18:40:12 * service_update * RAC1 * 0
    18-DEC-2013 18:40:12 * service_update * RAC1 * 0
    18-DEC-2013 18:40:48 * service_update * RAC1 * 0
    18-DEC-2013 18:40:48 * service_update * RAC1 * 0
    18-DEC-2013 18:41:01 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=rac1.localdomain)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER_RAC1)(VERSION=169869568)) * status * 0
    18-DEC-2013 18:41:49 * service_update * RAC1 * 0
    18-DEC-2013 18:41:49 * service_update * RAC1 * 0
    18-DEC-2013 18:42:31 * service_update * RAC1 * 0
    18-DEC-2013 18:42:31 * service_update * RAC1 * 0
    18-DEC-2013 18:43:49 * service_update * RAC1 * 0
    18-DEC-2013 18:43:49 * service_update * RAC1 * 0
    18-DEC-2013 18:44:49 * service_update * RAC1 * 0
    18-DEC-2013 18:44:49 * service_update * RAC1 * 0
    18-DEC-2013 18:45:40 * service_update * RAC1 * 0
    18-DEC-2013 18:45:40 * service_update * RAC1 * 0
    18-DEC-2013 18:45:49 * service_update * RAC1 * 0
    18-DEC-2013 18:45:49 * service_update * RAC1 * 0
    18-DEC-2013 18:46:49 * service_update * RAC1 * 0
    18-DEC-2013 18:46:49 * service_update * RAC1 * 0
    18-DEC-2013 18:47:49 * service_update * RAC1 * 0
    18-DEC-2013 18:47:49 * service_update * RAC1 * 0
    18-DEC-2013 18:47:54 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=RAC.WORLD)(FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC)(RETRIES=180)(DELAY=1))(CID=(PROGRAM=sqlplus)(HOST=client.localdomain)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.103)(PORT=32774)) * establish * RAC.WORLD * 0
    18-DEC-2013 18:47:55 * service_update * RAC1 * 0
    18-DEC-2013 18:47:55 * service_update * RAC1 * 0

    These entries came by when the failover state resumed
    [19-DEC-2013 15:17:05:546] ntt2err: entry
    [19-DEC-2013 15:17:05:547] ntt2err: soc 9 error - operation=5, ntresnt[0]=530, ntresnt[1]=113, ntresnt[2]=0
    [19-DEC-2013 15:17:05:547] ntt2err: exit
    [19-DEC-2013 15:17:05:547] nttrd: exit
    [19-DEC-2013 15:17:05:547] nsprecv: error exit
    [19-DEC-2013 15:17:05:547] nserror: entry
    [19-DEC-2013 15:17:05:547] nserror: nsres: id=0, op=68, ns=12570, ns2=12560; nt[0]=530, nt[1]=113, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    [19-DEC-2013 15:17:05:547] nsrdr: error exit
    [19-DEC-2013 15:17:05:547] nsdo: nsctxrnk=0
    [19-DEC-2013 15:17:05:547] nsdo: error exit
    [19-DEC-2013 15:17:05:547] nioqrc: recv: packet reader error -> translated to IFCR_EOF
    [19-DEC-2013 15:17:05:547] nioqer: entry
    [19-DEC-2013 15:17:05:547] nioqer:  incoming err = 12151
    [19-DEC-2013 15:17:05:547] nioqce: entry
    [19-DEC-2013 15:17:05:547] nioqce: exit
    [19-DEC-2013 15:17:05:547] nioqer:  returning err = 3113
    [19-DEC-2013 15:17:05:547] nioqer: exit
    [19-DEC-2013 15:17:05:547] nioqrc: exit
    [19-DEC-2013 15:17:05:547] nioqrs: entry
    [19-DEC-2013 15:17:05:547] nioqrs:  state = normal (0)
    [19-DEC-2013 15:17:05:547] nioqrs:  reset called, but connection in EOF state.
    [19-DEC-2013 15:17:05:547] nioqrs: exit
    [19-DEC-2013 15:17:05:547] nioqds: entry
    [19-DEC-2013 15:17:05:547] nioqds:  disconnecting...
    [19-DEC-2013 15:17:05:547] nsclose: entry
    [19-DEC-2013 15:17:05:547] nstimarmed: entry
    [19-DEC-2013 15:17:05:547] nstimarmed: no timer allocated
    [19-DEC-2013 15:17:05:547] nstimarmed: normal exit
    [19-DEC-2013 15:17:05:547] nttctl: entry
    [19-DEC-2013 15:17:05:547] nttctl: entry
    [19-DEC-2013 15:17:05:547] nsdo: entry
    [19-DEC-2013 15:17:05:547] nsdo: cid=0, opcode=66, *bl=0, *what=0, uflgs=0x0, cflgs=0x2
    [19-DEC-2013 15:17:05:548] nsdo: rank=64, nsctxrnk=0
    [19-DEC-2013 15:17:05:548] nsdo: nsctx: state=1, flg=0x1004009, mvd=0
    [19-DEC-2013 15:17:05:548] nsdo: entry
    there are a lot more entries
    but can't really paste all of them here
    still have no clue what so ever regarding what is actually happening

  • Upgrade 12.0.6 to 12.1.1

    Hi
    We are planning to upgrade Oracle Applications 12.0.6 to 12.1.1.
    Details of our environment:
    Operating System : Microsoft Windows Server 2003
    Database Version : 10.2.0.4
    Type : Two Node (Database Node and Application Node)
    Services running on db node : Database Service, Database Listener Service, Application Listener Service, Concurrent Manager Service
    Services running on ap node : Application Listener Service, opmn service
    RAC/NON RAC : NON RAC
    Shard/Non Shared Apps Tier : Non Shared Apps Tier
    So when ever I apply any patch I will apply both on dbTier and appsTier
    My Question is :
    1. How should I reduce the downtime on production to upgrade from 12.0.6 to 12.1.1
    2. If the answer is to upgrade on one node and clone the other. My question is suppose I am upgrade both database and application on dbTier. So in the process of upgrade few times we need to start and stop opmn servie while upgrading forms and apache. Since opmn is not running on db node how can i do this.
    3. If I upgrade jre on db node and rest all the steps I have done on apps node ( I mean upgrade jdk,10.1.3 oracle home,10.1.2 oracle home,pre-requisites patches,maintenance pack and post upgrade patches) and then if I clone apps node to db node. So on apps node concurrent manager is not running so while cloning apps node to db node manually I need to enable concurrent manager service and disable opmn while cloning apps node to db node.
    So please let me know what are the steps I should follow to reduce the downtime. Normally how much downtime will be taken for the upgrade process.
    Thank You

    1. How should I reduce the downtime on production to upgrade from 12.0.6 to 12.1.1Please see these links/docs.
    What's the Best Way to Patch an E-Business Suite Environment?
    http://blogs.oracle.com/stevenChan/entry/general_patching_strategies_for_e
    Top 5 Myths About Patching Apps Environments
    http://blogs.oracle.com/stevenChan/entry/top_5_myths_about_patching_app
    Top 7 Ways of Reducing Patching Downtimes for Apps
    http://blogs.oracle.com/stevenChan/entry/top_7_ways_of_reducing_patchin
    Using a Staged Applications System (APPL_TOP) to Reduce Patching Downtime in Oracle E-Business Suite Release 12 [ID 734025.1]
    Patching & Maintenance Advisor: E-Business Suite (EBS) 11i and R12 [ID 313.1]
    Patching Best Practices And Reducing Downtime [ID 225165.1]
    2. If the answer is to upgrade on one node and clone the other. My question is suppose I am upgrade both database and application on dbTier. So in the process of upgrade few times we need to start and stop opmn servie while upgrading forms and apache. Since opmn is not running on db node how can i do this.You need to upgrade both nodes -- I believe the cloning option is not supported.
    3. If I upgrade jre on db node and rest all the steps I have done on apps node ( I mean upgrade jdk,10.1.3 oracle home,10.1.2 oracle home,pre-requisites patches,maintenance pack and post upgrade patches) and then if I clone apps node to db node. So on apps node concurrent manager is not running so while cloning apps node to db node manually I need to enable concurrent manager service and disable opmn while cloning apps node to db node.Even though in R12 all the files should be identical on both nodes, cloning is not a supported method -- Log a SR to confirm this with Oracle Support.
    So please let me know what are the steps I should follow to reduce the downtime. Normally how much downtime will be taken for the upgrade process.The best practice to estimate the upgrade time is by upgrading a test instance which is identical to your production instance (same patchset level and cloned recently from production).
    Thanks,
    Hussein

  • INSTALL Oracle 10g RAC on Windows 2003. ERROR on starting services

    During installation assistances try to configure and start RAC services,
    but I get next message with error:
    Starting to execute configuration assistants
    Launched configuration assistant 'Oracle Cluster Ready Services Configuration Assistant'
    Tool type is: Optional.
    The command being spawned is: 'C:\oracle\product\10.1.0\crs/install/crssetup.config.bat'
    Start output from spawned process:
    clscfg: EXISTING configuration version 2 detected.
    clscfg: version 2 is 10G Release 1.
    Successfully accumulated necessary OCR keys.
    Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
    node <nodenumber>: <nodename> <private interconnect name> <hostname>
    node 1: bdserver01 oracnode01 bdserver01
    node 2: bdserver02 oracnode02 bdserver02
    clscfg: Arguments check out successfully.
    NO KEYS WERE WRITTEN. Supply -force parameter to override.
    -force is destructive and will destroy any previous cluster
    configuration.
    Step 1: checking status of CRS cluster
    Step 2: configuring OCR repository
    Oracle Cluster Registry already initialized
    Step 3: configuring safe mode for CRS stack
    Step 4: Starting up CRS stack on all nodes
    bdserver01 service OracleCSService in improper PENDING state, err(997)
    bdserver02 service OracleCSService in improper PENDING state, err(997)
    :-(((

    During installation assistances try to configure and start RAC services,
    but I get next message with error:
    Starting to execute configuration assistants
    Launched configuration assistant 'Oracle Cluster Ready Services Configuration Assistant'
    Tool type is: Optional.
    The command being spawned is: 'C:\oracle\product\10.1.0\crs/install/crssetup.config.bat'
    Start output from spawned process:
    clscfg: EXISTING configuration version 2 detected.
    clscfg: version 2 is 10G Release 1.
    Successfully accumulated necessary OCR keys.
    Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
    node <nodenumber>: <nodename> <private interconnect name> <hostname>
    node 1: bdserver01 oracnode01 bdserver01
    node 2: bdserver02 oracnode02 bdserver02
    clscfg: Arguments check out successfully.
    NO KEYS WERE WRITTEN. Supply -force parameter to override.
    -force is destructive and will destroy any previous cluster
    configuration.
    Step 1: checking status of CRS cluster
    Step 2: configuring OCR repository
    Oracle Cluster Registry already initialized
    Step 3: configuring safe mode for CRS stack
    Step 4: Starting up CRS stack on all nodes
    bdserver01 service OracleCSService in improper PENDING state, err(997)
    bdserver02 service OracleCSService in improper PENDING state, err(997)
    :-(((

  • 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

  • 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

  • Oracle RAC 11G - Service configuration

    Hi,
    I have been reading a lot of documentation regarding oracle services and I have an ok understanding of how they work. However, I have a general question regarding configuring services using Oracle RAC. For instance, if I have a 2 node oracle 11GR2 RAC on a Linux Redhat server. I have an application that connects to a service I have created. I create the service as follows.
    srvctl add service -d ORCL_RAC -s APP_SERVICE -r ORCL_RAC1,ORCL_RAC2
    The tnsnames contains:
    APP_OLTP =
    (DESCRIPTION =
    (LOAD_BALANCE = ON)
    (FAILOVER = ON)
    (ADDRESS = (PROTOCOL = TCP)(HOST = server01)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = server02)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = APP_SERVICE)
    (FAILOVER_MODE =
    (TYPE = SELECT)
    (METHOD = BASIC)
    (RETRIES = 20)
    (DELAY = 1)
    My questions are as follows:
    1) When I do a 'srvctl status service -d ORCL_RAC', should I see the service running on both nodes of the RAC? Or does it run only one node, then it will fail over to the other when needed?
    2) If I have a RAC environment where I see two services created (RAC_SRV1 and RAC_SRV2). I see that RAC_SRV1 is only running on node1 and RAC_SRV2 is only running on node2. There are two applications sharing the same database, one application is using RAC_SRV1 and the other application is using RAC_SRV2. Am I correct in thinking that there is no failover available here? If node1 goes down, the application connecting to RAC_SRV1 will not be able to connect to node2 right?
    3) In the case of the scenario in question 2 above, would it be best practise to simply create one service and have both applications connecting to the one service? Could I configure the one service to point connections from one application to node1 and connections from the other application to node2?

    1) When I do a 'srvctl status service -d ORCL_RAC', should I see the service running on both nodes of the RAC? Or does it run only one node, then it will fail over to the other when needed?you can see its running on both nodes.
    use option -a in srvctl ( A list of available instances to which the service fails over when the database is administrator managed.)
    http://docs.oracle.com/cd/E11882_01/rac.112/e16795/srvctladmin.htm#i1008562
    2) If I have a RAC environment where I see two services created (RAC_SRV1 and RAC_SRV2). I see that RAC_SRV1 is only running on node1 and RAC_SRV2 is >only running on node2. There are two applications sharing the same database, one application is using RAC_SRV1 and the other application is using RAC_SRV2. Am >I correct in thinking that there is no failover available here? If node1 goes down, the application connecting to RAC_SRV1 will not be able to connect to node2 >right?All depend on your service configuration. check it by srvctl config
    3) In the case of the scenario in question 2 above, would it be best practise to simply create one service and have both applications connecting to the one >service? Could I configure the one service to point connections from one application to node1 and connections from the other application to node2? better create two service ,one for each application with specific node and other node in available list.

  • Reporting Services connections are getting dropped by Oracle RAC

    My current customer is using Oracle RAC (11g) for their data store. They currently are using SQL Server Reporting Services to connect to it. We are experiencing an issue where the connection appears to be redirected at the server which causes the connection to be lost with the client.
    I am curious if this is "by design" or if we need to review some configuration settings to better handle this.
    We have 3 VIPs fronting the RAC and they are all specified in the TNSNAMES.ORA file.
    Any feedback or input on this issue would be greatly appreciated.

    Hi,
    I suggest you look at:
    http://www.oracle.com/technetwork/database/clustering/overview/awm11gr2-130711.pdf
    and the similar paper from 11.1:
    http://www.oracle.com/technetwork/database/clustering/overview/awmrac11g-133673.pdf
    This explains the basic concept, of how clients should connect to the database, and probably clarifies your issue.
    In generall Oracle will not redirect during runtime, only during connection time.
    This however should not be of an issue, if you connect to a service. (You shouldn't connect to a SID since 8.1.7 anymore).
    Regards
    Sebastian

  • How to get the status of service in rac

    Dear all,
    how to get the status of service in rac.
    SQL> show parameters service;
    NAME                                 TYPE        VALUE
    service_names                        string      DEVDB, DEVDB1, devdb
    [oracle@rac1 ~]$ srvctl status service -d devdb -s devdb
    PRKO-2120 : The internal database service devdb cannot be managed with srvctl.

    user7244870 wrote:
    Dear all,
    how to get the status of service in rac.
    SQL> show parameters service;
    NAME                                 TYPE        VALUE
    service_names                        string      DEVDB, DEVDB1, devdb
    [oracle@rac1 ~]$ srvctl status service -d devdb -s devdb
    PRKO-2120 : The internal database service devdb cannot be managed with srvctl.
    Internal services cannot be managed with srvctl utility. Check if you have any user defined service in dba_services
    SQL> desc dba_services
    Name                                      Null?    Type
    SERVICE_ID                                         NUMBER
    NAME                                               VARCHAR2(64)
    NAME_HASH                                          NUMBER
    NETWORK_NAME                                       VARCHAR2(512)
    CREATION_DATE                                      DATE
    CREATION_DATE_HASH                                 NUMBER
    FAILOVER_METHOD                                    VARCHAR2(64)
    FAILOVER_TYPE                                      VARCHAR2(64)
    FAILOVER_RETRIES                                   NUMBER(10)
    FAILOVER_DELAY                                     NUMBER(10)
    MIN_CARDINALITY                                    NUMBER
    MAX_CARDINALITY                                    NUMBER
    GOAL                                               VARCHAR2(12)
    DTP                                                VARCHAR2(1)
    ENABLED                                            VARCHAR2(3)
    AQ_HA_NOTIFICATIONS                                VARCHAR2(3)
    CLB_GOAL                                           VARCHAR2(5)http://docs.oracle.com/cd/B19306_01/rac.102/b14197/srvctladmin.htm

  • How to setup a HA service for RAC?

    I have a RAC. It has 2 nodes: node1 and node2.
    I want to setup a service and make this service only based on node1
    only node1 is damaged, then this service will failover to node2
    I checked related knowledge at internet.  All the information is related to load balance, not for high available.
    For example, below service is load balance:
    srvctl add service -d HIC -s CMTLB -r 'HIC1' -a 'HIC2' -P PRECONNECT -e SELECT -x TRUE -j SHORT -B SERVICE_TIME -m BASIC -z 180 -w 5
    Now I want to setup a high available service, how to do?
    one more question, I should run "srvctl add service" by user "oracle" or "grid"?

    user8710670 wrote:
    Thanks a lot for your information.
    Yes, I think my command is good to setup a service.
    But this service is a load balance service.
    Through this service, all the connections will be put at both nodes.
    Currently, my requirement is that I need a service
    Through this service, all the connections will only be put at one node,
    until this node damaged,
    then the connections are put at another node
    Do we have a way for this case?
    Your service will not run on both nodes. It will run on one and failover to the other. However, a better way would be to define it as a policy manged service, which may be what you are thinking of.

  • Can we create a (RAC) db service to assign a conc mgr to an instance

    Hi Everyone,
    Can we create a rac db service to for EBusiness? For example, can we create a service for AP module to run on instance1 of a two nodes RAC, and a service for PO to run on instance2.
    I know i can assign a node to a conc mgr and use the specialization rule to include/exclude a user to send request to that conc mgr. But this seperation is done at the ebusiness, not at database service.
    My understanding was that we can not create a service at the db because all the requests comes from one conc mgr. But having the ability to create more than one conc mgr, so maybe the question now is can i create a service for a conc mgr. lets say, I create a db service for standardard mgr on instance1 and create a db service for custom_mgr on node2. Is this possible?
    I am not on the distribution list, please email me at [email protected]
    Regards,
    Manizha

    Please see these docs/links:
    How to run a concurrent program against a specific RAC instance with PCP/RAC setup? [ID 1129203.1]
    PCP configuration
    PCP configuration
    Thanks,
    Hussein

  • ALBPM 5.7 BPM process admin issues with Oracle 11g RAC as directory service

    Hi,
    Setup ALBPM 5.7 enterprise for weblogic.
    BPM Engine deployed on weblogic cluster.
    BPM process admin (web console) deployed on tomcat.
    BPM process admin uses WEB-INF/directory.properties for directory configuration.
    things were fine with oracle SID,
    directory.default.url=oracle://<db_host>:1521/schema=diruser,sid=BPMDB { with this, login to process admin was working fine}
    But clueless, on how to configure RAC as the directory service in the above directory.properties file. Since this is a old version, no directory.xml in the installation.
    Connection string:
    (DESCRIPTION =
    (LOAD_BALANCE = on)
    (FAILOVER = on)
    (ADDRESS = (PROTOCOL = TCP)(HOST = DB_HOST1)(PORT=1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = DB_HOST2)(PORT=1521))
    (CONNECT_DATA =
    (SERVICE_NAME = BPMDB)
    (FAILOVER_MODE =
    (TYPE = SELECT)
    (METHOD = BASIC)
    Please help how to use service name (above connection string) in directory.properties, to be able to login to process admin successfully.
    Thanks in advance,
    Swamy

    Using admin center, able to get the string to be used in directory.properties.
    FYI, the string looks like below,
    directory.default.url=oracle://customURL:0/schema=bpmdirectory,customURL=jdbc:oracle:thin:@(DESCRIPTION = (LOAD_BALANCE = on)(FAILOVER = on)(ADDRESS = (PROTOCOL = TCP)(HOST = DB_HOST1)(PORT=1521))(ADDRESS = (PROTOCOL = TCP)(HOST = DB_HOST2)(PORT=1521)) (CONNECT_DATA = (SERVICE_NAME = BPMDB.DOMAIN.COM) (FAILOVER_MODE = (TYPE = SELECT) (METHOD = BASIC))))

Maybe you are looking for