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

Similar Messages

  • RAC / Service / Job

    In a RAC if the following setup:
    1)
    SERVICE1 = NODE1, NODE2
    SERVICE2 = NODE3, NODE4
    If I submit job without supplying JOB_CLASS => SERVICE, will the job run potentially on all nodes 1 through 4 ?
    2)
    SERVICE1 = NODE1, NODE2
    SERVICE2 = NODE3, NODE4
    NO SERVICE DEFINED = NODE5, NODE6
    If I submit job without supplying JOB_CLASS => SERVICE, on what nodes will the job potentially run?
    Thanks.

    Jeremy Schneider has a good paper on that: http://www.ardentperf.com/pub/schneider-services.pdf
    On the other hand the "normal" Oracle documentation also has the answers: http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/create007.htm
    On first hand I would say that if you don't define a service within the job-definition, the load-balancer decides where the job is run.
    So in my opinion in both 1) and 2) the jobs can run on any of the nodes
    Cheers
    FJFranken
    My Blog: http://managingoracle.blogspot.com
    Edit: Somewhere in the top of the second link it says:
    Connection requests can include a database service name. If no service name is included and the Net Services file listener.ora designates a default service, the connection uses the default service.
    Edited by: fjfranken on 10-jan-2011 5:50

  • Creating a Service and Listener

    I have downloaded Oracle Developer Suite 10g and when I try to log on to SQL plus using scott/tiger I get tns:protocol adapter error which i've been informed is due to the service not running. If I try using LOCALHOST as the host I get tns:no listener error.
    Can anyone provide me with the info I need to create a service and listener as I don't know what protocol to use and have tried using net manager to set these up but to no avail. Also is there a default database that is provided if so what is this called and what is the SID as this is required for the service and listener. Any help would be greatly appreciated.

    I have downloaded Oracle Developer Suite 10g and when I try to log on to SQL plus using scott/tiger I get tns:protocol adapter error which i've been informed is due to the service not running. If I try using LOCALHOST as the host I get tns:no listener error.
    Can anyone provide me with the info I need to create a service and listener as I don't know what protocol to use and have tried using net manager to set these up but to no avail. Also is there a default database that is provided if so what is this called and what is the SID as this is required for the service and listener. Any help would be greatly appreciated.

  • 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

  • RDP Service not listening on 3389 (Win 8.1)

    Here is the setup:
    Windows 8.1 Pro virtual machine running on Hyper-V. This VM is being configured so we can create a template in MS SysCenter VMM.
    Networking is configured right and the VM is responding to ping, SMB, etc., but RDP does not work.
    After several hours of troubleshooting, here is where I'm at:
    Tried connecting from various PCs, does not work
    Checked the remote tab in System Properties, set to allow RDP without NLA
    Checked to see if the service was running, it was
    Checked to see if the service was listening on port 3389, it was not
    Checked to see if the port was configured right in the registry, it was
    Restarted everything multiple times, still not working
    Checked these and other forums and have gone through nearly a dozen possible registry keys that could be the problem, nothing worked
    Checked some suggested hotfixes in different posts, none apply to Windows 8.1 Pro
    Ran sfc /scannow and dism /online /cleanup-image /restorehealth, did not work
    Checked some suggestions regarding print spooling being part of the problem, did not work
    Tried looking for some suggested drivers in Device Manager, suspect the instructions were for a much older version of Windows as they weren't there
    Checked to see if it was possibly a group policy that was stuck from when the VM was domain joined by mistake, re-domain joined and applied a policy enabling RDP, still didn't work
    Not sure if it is necessarily connected, but Windows Update fails to complete, it sits at checking for updates.

    Based on some testing between VMs, this appears to be connected with running the OS in Windows Audit Mode.
    This is a pretty silly restriction though. We need multiple users that aren't necessarily administrators to review these VMs before being converted into templates in VMM, and having to go through the HyperV Console, is onerous at best.

  • How to list all active local ports where a server/services is listening?

    How can I list all local ports where a local server or services is listening?
    The listing should contain the path and program name of the listening server/service.
    So I need something like:
    port=22 /lib/svc/method/sshd
    port=25 /bin/emailprgm
    port=1049 /ust/local/bin/myserver
    How can I do this?

    lsof (compile, sunfreeware.com, blaswave)
    it wont show full path i think (man lsof for more) however it gives pids/ports/exe name, so you could take that and script it or do something with the output.

  • If port is unavailable then which service is listening on that port

    hi all
    I am writing one module to check 1) which ports are available in system and 2) if port is unavailable then which service is listening on that port. I want to run that module on Windows platform and also UNIX platform.
    I have done first part but i am not finding way to do the second part. Is there any way in Java or any other prog language (C, C++) to do so. please share idea or code i am awaiting for response.
    Thanks in advance :)
    Message was edited by:
    Codeword_Swan

    Under Unix there is the command "fuser" to tell which process has open a given file. With -n you can tell another space like tcp for sockets. Thus:
    $  fuser -n tcp 7777
    here: 7777
    7777/tcp:             3753
    $ ps -p 3753 -f
    UID        PID  PPID  C STIME TTY          TIME CMD
    oracle    3753  3722  0 Aug28 ?        00:00:53 /opt/oracle/product/AS/10g/R2/webcache/bin/webcached -OPMN -U 1325072547

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

  • Web service which listens/replies over JMS Queues/Topics - HOW?

    Hi all,
    I need help - I have to implement the following Web Service for Weblogic 8.1:
    - Simple Helloworld operation
    - The Web service should listen on a Queue(or Topic) - say Queue1
    - The response of the service should be put in another queue - predefined - say Queue2(or taken as propetry of the request "ReplyTO")
    I looked for such an implementation in the available examples and forum topics, but without luck.
    Please, give an example or a guide how to implement such a service if possible!
    Thanks,
    Ivo

    Hi,
    I have a work around to this problem please see if it suits you or you might already be knowing it.
    Workaround is
    1. Create a Simple Webservice as needed which puts a message in a Queue.
    2. Create an MDB which listens to you Queue / Topic and call the created webserivce in the onMessage function of the MDB.
    Vivek

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

  • Mac mail service isnt listening on default ports at all other than SMTP

    Mac mail service isnt listening on default ports at all other than SMTP.
    I can port scan locally and here is what's listening
    Port Scan has started…
    Port Scanning host: <IPADDRESS>
         Open TCP Port:     25             smtp
         Open TCP Port:     53             domain
         Open TCP Port:     80             http
         Open TCP Port:     88             kerberos
         Open TCP Port:     106            3com-tsmux
         Open TCP Port:     311            asip-webadmin
         Open TCP Port:     389            ldap
         Open TCP Port:     443            https
         Open TCP Port:     464            kpasswd
         Open TCP Port:     587            submission
         Open TCP Port:     625            dec_dlm
         Open TCP Port:     749            kerberos-adm
    Port Scan has completed…
    Mail service is on.

    first place to start is always /var/log/system.log
    stop/start mail service while watching that log.
    You will probably catch some dovecot/imap lines that will yield clues.
    Post results.

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

Maybe you are looking for