Port use in Shared Server (MTS)

Hi,
Before I start; let me state it clear: If I had a choice to refuse shared server, then I would. But I am under pressure of management and other limitations. Therefore I have no option but to use shared server.
The current situation is: We use dedicated connections and plan to convert it to shared servers. There is a firewall between application server and database. This firewall only allows to some predetermined ports (such as 1521). We want to learn if we will be affected by firewall if we use shared server structure. When we use "lsnrctl services" we see that dispatcher ports are assigned automatically. (And these port numbers are between 40.000 and 50.000)
I want to be sure about how listener works. As we think, there can be two scenarios:
1. When a user connects to database, it only works with listener. Listener is the bridge between user and client. Therefore dynamically assigned port number to dispatcher is not important. And firewall will not be an issue. Because user can access listener and listener is the servant between dispatcher and client. (So no change is needed for firewall.)
2. Dispatcher's port is very important. Because after user is connected to the listener, user is assigned to a dispatcher and user is connected to database through that dispatcher's port. (Therefore we have to make changes in firewall.)
Which scenario is true? Do we have to change our firewall configuration?
Thanks for the all support...
Cagatay
BTW, I know it is possible to assign static port numbers to dispatchers. But if it is possible to use shared server without changing dispatcher settings, we would prefer this. (Without changing dynamic port behave of dispatcher.)

Yes,
The basic architecture.
The listener is a broker only. There are no permanent connections between clients and the listener.
The listener spawns a thread (the dedicated server process), this thread uses a different port.
This is called 'port redirection'.
A dispatcher can handle about 35 connections.
You can fix the port of a dispatcher. but as soon as the number of clients increases, you will be forced to open additional ports.
Your best bet is to set up Connection Manager to handle traffic between client and server, doing so you only need two ports.
The server communicates with Connection Manager.
Connection Manager is not installed by default.
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • Ports used by Application Server 8.2

    How can I tell what ports are used by the Application Server and how can I control the main port(s) used by the Application Server ?
    I do not want any of the ports used by the Application Server to conflict locally with any other ports I am using on my computer.

    Hi!
    You can find out what ports are used in Admin Console:
    http://admin_host:admin_port/.
    For example for Sun Java Studio Creator 2 Update 1:
    http://localhost:25848/
    Click in left pane on "Application Server" node and find http-listeners.
    Thanks,
    Roman.

  • Shared Server and Dedicated Connetion

    Scenerio:
    We have 1000 dedicated server database connection. My boss want me to configure one shared server connection out of 1000 dedicated connection for 100+ user of one particular module. Is it possible?
    I guess if we activated shared server at database level then for 999 connetion we have to pass SERVER=DEDICATED at connection string. Which is not feasible for me seeing my current enviroment.

    Rajib Sutradhar wrote:
    Scenerio:
    We have 1000 dedicated server database connection. My boss want me to configure one shared server connection out of 1000 dedicated connection for 100+ user of one particular module. Is it possible?
    I guess if we activated shared server at database level then for 999 connetion we have to pass SERVER=DEDICATED at connection string. Which is not feasible for me seeing my current enviroment.Yes, you're correct.
    Unless you start using a shared tnsnames.ora file ( some where at a netwerk share ) and have pointing TNS_ADMIN to it, it means updating every tnsnames on every client you have.
    However I found this link:
    http://www.filibeto.org/sun/lib/nonsun/oracle/11.1.0.6.0/B28359_01/server.111/b28310/manproc003.htm
    Where it says you can limit the number of concurrent shared sessions used by setting the parameter SHARED_SERVER_SESSIONS
    Reading more of it, it looks like you can also define a seperate listener, with a seperate port for the shared server configuration and configure the dispatchers with that listener information.
    So, it looks like you don't even have to change 1000 clients
    Good Luck,
    FJFranken
    My Blog: http://managingoracle.blogspot.com

  • Problems establishing a Shared Server connection

    I am trying to establish a connection to a shared server on a test database. The database is 10.2.0.4 and runs on Solaris 10. Here are some setting for my init file, and I think the last two do not need to be set.
    # Shared Server
    dispatchers="(PROTOCOL=TCP) (SERVICE=DBA10XDB)"
    shared_servers=5
    shared_server_sessions=20
    I connect from my client which uses a tnsnames.ora file and does NOT specify a dedicated server. Here is the result of LSNRCTL SERVICES:
    LSNRCTL for Solaris: Version 10.2.0.4.0 - Production on 22-MAR-2011 10:07:04
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    Services Summary...
    Service "BUILDTST" has 1 instance(s).
    Instance "BUILDTST", status READY, has 1 handler(s) for this service...
    Handler(s):
    "*DEDICATED*" established:1 refused:0 state:ready
    LOCAL SERVER
    Service "BUILDTST_XPT" has 1 instance(s).
    Instance "BUILDTST", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:1 refused:0 state:ready
    LOCAL SERVER
    Service "DBA10XDB" has 1 instance(s).
    Instance "BUILDTST", status READY, has 1 handler(s) for this service...
    Handler(s):
    "*D000*" established:0 refused:0 current:0 max:992 state:ready
    DISPATCHER <machine: dbtest, pid: 20864>
    (ADDRESS=(PROTOCOL=tcp)(HOST=dbtest)(PORT=50059))
    The command completed successfully
    V$SESSION shows the connections to be DEDICATED. Any suggestions as to what I may be doing incorrectly? Reading all I can find on this seems to indicate all I need to do is have DISPATCHERS and SHARED_SERVERS set and then connections will automatically be shared server connections.

    Thanks. Your post helped me get things straightened out. After changing my tnsnames file I was getting an ORA-12520. Hmmm. I then noticed the (SERVICE=DBA10XDB) on my DISPATCHERS parameter, which was there by default when Oracle configured the init file initially. I removed that and it worked.
    Then I was able to get connections to the shared server with and without the SERVER=SHARED setting. I knew I had read that Oracle will default to shared server if not specified, but your post indicated that a client connection can be forced to use the shared server, even when no dispatchers are registered. I think mine was not registered to my instance due to the (SERVICE=DBA10XDB) setting. If there are no registered dispatchers the connection request is rejected.

  • BPEL TCP Ports using RejectionMessage.wsdl

    Hi all
    I´m having a problem with ports used by BPEL server on IAS and on OC4J.
    I was designing a BPEL process which uses RejectionMessage.wsdl file (provided by BPEL server). I was following Oracle instructions to do that:
    <import namespace="http://xmlns.oracle.com/pcbpel/rejectionHandler"
    location="http://localhost:9700/orabpel/xmllib/jca/RejectionMessage.wsdl"/>
    But this file has a reference to another file:
    <import namespace="http://xmlns.oracle.com/pcbpel/errorHandling" schemaLocation="http://localhost:7779/orabpel/xmllib/jca/JCAErrorHandling.xsd"/>
    But look at this:
    Port_____OC4J___________IAS
    7777_____Not Used_______Used
    7779_____Not Used_______Not Used
    9700_____Used__________Not Used
    So:
    If I edit RejectionMessage.wsdl to references JCAErrorHandling.xsd on port 9700, it get´s work on my OC4J development machine, but stops at IAS production machine
    If I edit RejectionMessage.wsdl to references JCAErrorHandling.xsd on port 7777, it stops to work on my OC4J development machine, but get´s work at IAS production machine.
    What is your recomendation?
    Thanks at all

    Hi Clements
    Ok, thanks for your answer.
    Have you already used RejectionMessage.wsdl with a File Adapter?
    The problem I´m facing now is that the message sent (to my dedicated BPEL Process which implements RejectionMessage.wsdl interface) by the File Adapter when a fault occurs has very poor content. If I look at BPEL server log the fault has a complete explanation...
    Is there a way to get the complete error message?

  • Is my db using MTS or shared server?

    hi guys,
    (Oracle 9i)
    I read that to specify a database as MTS, you have to set the DISPATCHERS parameter. I do not have this set, yet, I can see values for mts_dispatchers? Why is this?
    SQL> show parameters DISPAT
    NAME TYPE VALUE
    dispatchers string
    max_dispatchers integer 5
    mts_dispatchers string
    mts_max_dispatchers integer 5
    Can I be sure that my DB is in dedicated server mode, as dispatchers is not set?
    thanks

    Hi OracleGuy777,
    In general, OLTP-type applications can be suitable for MTS, while batch, data warehouse, and decision support applications are usually not appropriate for MTS.
    Conclusion: If a system is CPU-bound and that system has enough RAM to fit all of its processes into physical memory, then MTS should probably not be used on that system. (Please see links and notes bellow)
    You can see the number of MTS sessions using:
    SELECT COUNT (*)
    FROM   v$session
    WHERE  server != 'DEDICATED';To see the number of Dedicated ones, just change != for = in the WHERE clause.
    Tom Kyte notes that the MTS should not be used without a "real reason" and he notes that shared server connections are slower than with dedicated database connections (Oracle's default behavior):
    - http://asktom.oracle.com/pls/ask/f?p=4950:...D:5269794407347
    +"Unless you have a real reason to use MTS -- don't."+
    +"a shared server connection is by design "slower" than a dedicated server (more stuff goes on, more complex) it is most likely only getting in the way."+
    +"In the golden age of client server way back when -- you might have 100 users connected to the database from 9-5, but at any point in time, only 5 or 6 of them were actually ACTIVE. In this case, 5 or 6 shared servers would be perfect."+
    +"if you were cpu starved and context switching like mad -- the dedicated server connection could be running at a slow speed itself, slower than the extra work that shared server would impose. therefore, lightening up the load on the server could be beneficial...."+
    Also take a look here: http://www.dba-oracle.com/t_mts_multithreaded_servers_shared.htm
    If you decide to try it, here are the steps:
    - http://download.oracle.com/docs/cd/B10500_01/network.920/a96580/mts.htm#447168
    Cheers,
    Francisco Munoz Alvarez
    http://www.oraclenz.com

  • What port number for Desktop Sharing using in Lync Server 2013 and Lync Online

    Dear All,
          My environment using Lync Server 2013 and Lync online on Office 365. I don't want my user using Desktop Sharing feature. then I need to know what port number for Desktop Sharing using in Lync Server 2013 and Lync Online.
    I will deny this port on personal firewall each client.
          Thank you for your advise.

    Hi,
    I'm not sure you'd be able to do this with ports without impacting other application sharing features such as Q&A, Whiteboard, Poll etc - I'm pretty sure they all come under the same umbrella of ClientAppSharing.
    Ordinarily you would create or modify your conferencing policy to restrict sharing to single programs only using a cmdlet similar to below;
    Set-CsConferencingPolicy -Identity "Global" -EnableAppDesktopSharing SingleApplication
    This would disable desktop sharing but enable users to continue sharing other single programs. If you want to remove that functionality too, then replace the 'SingleApplication' parameter with 'None'. Then users won't be able to share any programs either.
    This is the correct way to do it as the icons will be greyed out for the users. Doing it your way, they would still be able to click them, and it would throw an error - this will lead to a lot more support calls and people assuming a service is broken.
    I hope that helps some.
    Kind regards
    Ben

  • MTS (shared server) problem

    Hi,
    when i use MTS (shared server) architecture, after a while,
    i see 1500 sessions in v$session, but, about 4000 oracle processes in the operating system which hits the os user max process limit and get the following error.
    how can that be? 1500 sessions in v$session, and, 4000 oracle processes in OS.
    i can not reproduce the same case since this is production.
    in test, i tried to reproduce the case but even though, i create mts sessions once in a second, after 1 hour, no problem.
    shared_server=10
    max_shared_server=50
    max_dispatchers=2 (each with 250 connections)
    thanks,
    ORA-27300: OS system dependent operation:fork failed with status: 11
    ORA-27301: OS failure message: Resource temporarily unavailable
    ORA-27302: failure occurred at: skgpspawn3

    Afew things to check, firstly are the connections actually using shared server? check ther server column in v$session session may show as dedicated in which case th eocnnection is requesting a dedicated server and is ignoring the shared server configuration.
    next check v$process have you got 4000 processes listed there? if so you can connect them back to the sessions e.g.
    select vs.sid,vs.serial#,vs.username,vp.SPID,vp.PROGRAM
    from v$session vs,
    v$process vp
    where vs.PADDR=vp.ADDR

  • IFS uses Oracle DEDICATED server instead of SHARED

    Hi all,
    Context:
    OS = HPUX 11.00 64 bits
    Oracle 8.1.7.0
    iFS 1.1.9
    I have configured my Oracle DB server to use MTS (Multi Threaded
    Server) mode, using the "mts_dispatcher" parameters suite in
    the 'init.ora' file.
    I have also re-configured the listener to force SHARED server
    mode, using the "netasst" graphical tool.
    From that point, after restarting the DB server and the
    listener, my standard Oracle client (SQL worksheet) are
    connecting to the base using a dispatcher and a SHARED server,
    as I can see from the v$session view.
    However, when I start iFS (./ifsstart), all agents and protocol
    servers are still using several DEDICATED servers...instead of
    SHARED server mode.
    How can I change this behaviour ?
    Did I miss something in the DB server configuration, or in iFS
    configuration ?
    This point is very critical to us since we are experiencing
    problems when too many iFS connections occur at the same time,
    when reaching a ceil of oracle processes, the kernel refuses to
    spawn new ones...causing new iFS connections to fail.
    Thanks in advance for any information.
    Regards,
    Arnaud Chiaberge

    Note that we don't certify the JDBC thin driver, only the JDBC
    OCI driver.
    I don't know enough about how MTS works to be able to fully
    answer your question about why the processes come up in
    DEDICATED mode.
    However, I'm more concerned about the issue where you say that
    too many Oracle shadow processes are being created and the
    kernel is refusing to do so.
    Note that you can adjust the maximum number of iFS processes
    that can be created using the Target and Maximum Readonly and
    Writeable connection pool settings. Also, you can adjust the
    time that iFS will wait before trying to spawn a new connection,
    once the Target setting has been reached.
    If your problem is more challenging than that, please open a
    Technical Assistance Request with Oracle Worldwide Support, and
    give us more details, so we can see how we can help.

  • HT3819 Since the last AppleTV update I can no longer use home sharing. chI have checked all IDs, rebooted iTunes, AppleTV, and my router, eck port settings in my firewall. Nothing works. Is it me or did this update screw things up?

    Since the last AppleTV update I can no longer use home sharing. I have checked all IDs, re-booted iTunes, my router, and AppleTV, and checked the port settings in my firewall. nothing works. Is it me or did this last update really scew things up?

    Hi,
    I tried everythink, but same as before!
    - droppings ot the main screen
    - loosing Home Share
    now even on iPads !
    Frustrating!
    I'm now more than convinced that this is caused by the latest iTunes version.
    As some others stated in other threads .... it seems that Apple doesn't really take care of this problem. So what if, if we could make them feeling the same pain as we do. ... Just by dropping them a mail as soon as we have the problem again. Not more often, we don't want to be unfair, but everytime it happens.
    I found this feedback site http://www.apple.com/feedback/itunesapp.html
    I will start now with this.... maybe this will help to rise a little bit of attention
    Tweety
    This is the mailbody I always use
    Hello all,
    Since the last update to iTunes Version 10.6.1 (7) streaming content (Movies and TV shows) to Apple TVs and iPads has two major problems:
    - Home Sharing is lost during streaming (streaming stops even if a large portion of the content is already preloaded)
    - streaming stops and the main screen pops up (Home Sharing still available)
    This happens sometime after some minutes, sometimes after several hours, but it surely happens.
    I followed every advice I could found on this support website. There are now a lot of threads following this issue.
    Sometimes it seems getting better, but hours later the same isues occured again. Watching content on this enviroment is a real pain and very frustrating.
    As many others I'm now convinced that the latest update of iTunes caused this problem.
    Our family enviroment contains the following Apple products:
    - iTunes on a Win7 32 bit Noname PC (all content)
    - second iTunes on a iMac with OS 10.6.8 (all content)
    - third iTunes on a MacBook Pro with OS 10.6.8 (daughter, only selected content)
    - fourth iTunes on a Win7 32 Samsung Notebook (son, only selected content)
    - all iTunes sharing the same Home Sharing ID
    - 2 Apple TV second generation
    - 1 Apple TV first generation
    - 2 iPod touch (bought last year)
    - 2 iPads (second generation)
    all firmware or software are on latest available patchlevel.
    At this moment, I can not recomend to others to buy this products.
    I will drop this feedback everytime my famiily and I facing this problem... just to help you to get a better feeling of the urgency of this issue.
    Thanks for every effort in advanced.

  • Trying to install WSUS role on Windows Server 2012 R2 using dedicated SQL Instance with static port on remote SQL Server 2012 SP1 CU7 on Windows Server 2012 R2.

    I am trying to install WSUS role on Windows Server 2012 R2 using dedicated SQL Instance with static port on remote SQL Server 2012 SP1 CU7 on Windows Server 2012 R2.
    It verifies the connection and then throws the error:
    The request to add or remove features on the specified server failed. The operation cannot be completed, because the server you specified requires a restart.
    WSUS Server : Windows Server 2012 R2
    Remote SQL Server: 2012 SP1 CU7 hosted on Windows Server 2012 R2
    Please let me know if anyone has experienced this issue.

    We were trying to install WSUS role on Windows Server 2012 R2 using dedicated SQL Instance with static port on remote SQL Server 2012 SP1 CU7 on Windows Server 2012 R2.
    It verifies the connection and then throws the error:
    The request to add or remove features on the specified server failed. The operation cannot be completed, because the server you specified requires a restart.
    Same error even after rebooting the server multiple times.
    WSUS Server : Windows Server Standard2012 R2
    Remote SQL Server: Windows Server 2012 SP1 CU7 hosted on Windows Server 2012 R2
    Event ID 7000:
    The Windows Internal Database service failed to start due to the following error:
    The service did not start due to a logon failure.
    Event ID 7041
    The MSSQL$MICROSOFT##WID service was unable to log on as NT SERVICE\MSSQL$MICROSOFT##WID with the currently configured password due to the following error:
    Logon failure: the user has not been granted the requested logon type at this computer.
    Service: MSSQL$MICROSOFT##WID
    Domain and account: NT SERVICE\MSSQL$MICROSOFT##WID
    This service account does not have the required user right "Log on as a service."
    User Action
    Assign "Log on as a service" to the service account on this computer. You can use Local Security Settings (Secpol.msc) to do this. If this computer is a node in a cluster, check that this user
    right is assigned to the Cluster service account on all nodes in the cluster.
    If you have already assigned this user right to the service account, and the user right appears to be removed, check with your domain administrator to find out if a Group Policy object associated
    with this node might be removing the right.
    I found following article:
    "MSSQL$MICROSOFT##WID service was unable to log on as NT SERVICE\MSSQL$MICROSOFT##WID" error when you install WID in Windows Server 2012
    http://support.microsoft.com/kb/2832204/en-us
    To work around the issue, use one of the following methods:
    Assign the Log on as a service user right to NT SERVICE\ALL SERVICES in the GPO that defines the user right.
    Exclude the computer from the GPO that defines the user right.
    We moved the SCCM server to OU where no policies were getting applied and then applied the new GPO to that OU. Restarted the server and we were able to install WSUS role.
    Regards
    PR

  • Oracle BI Publisher - can not access Shared Folder , using Oracle BI Server

    Hi there,
    We have an installed OBIEE and BIP (BI Publisher) system which is the security setting of BIP using "Oracle BI Server".
    Our OBIEE security is using the combination of LDAP (authentication) and Relational Table (for grouping user privillege)
    The integration connection between OBIEE and BIP is successfull, and I can connect using Administrator to the BIP
    But when I assign a general user using group : XMLP_Admin (define in rpd file and relational table), the user can log in to BIP, but can NOT access the Shared Folder.
    the error desc : "Error 500: SRVE0199E: OutputStream already obtained"
    Anyone can help ?
    Thanks a lot
    -toni

    Did you define Roles and Permissions to the shared folder from BIP Admin?
    -Prakash

  • IOS 7: How to view shared calendars using apple Calendar server

    We use an OS X Server with Calendar server. On OS X you can see shared (delegated) calendars in Calendar by selecting the them in the preferences.
    Using iOS 6 one could view shared CalDAV calendars by adding the same account more than once each with a different server URL. A fair bit more work but once configured it worked like a charm.
    The Calendar app on iOS 7 still does not show delegated or shared calendars using the Calendar server from Apple. Because iOS 7 does not allow to add a CalDAV account more than once the iOS 6 workaround is no longer possible.
    How can I view shared Calendars on iOS 7?

    See also:
    https://discussions.apple.com/message/23105327

  • How to use Mac Mini Server as NAT with only one port??

    How to use Mac Mini Server as NAT with only one ethernet port??

    But why did apple sell me this server that does NAT with one port? I don't get it.

  • How to trace a module that uses shared server sessions?

    I have an app (Esri's ArcGIS Server 9.3.1) that I want to trace. Oracle is at 11.2.0.2.0. Our OEM is is at 10.2.0.4.0.
    When I initiate a trace for the module (ArcSOC.exe) in OEM, I can see a trace file start to grow larger. But it seems to be a trace file that already exists (example: <instance>s00022493.trc). To isolate activity to just the duration of time I'm interested in, I'd like to start with a fresh trace file. Is there any way to do that? Must I delete currently active trace files or would that cause a failure?
    When tracing a dedicated server session, I've noticed that a new trace file will be generated with "ora" in its name. Evidently not so with shared server stuff, whether it's tracing a module or a particular session. When the shared server model is used, it seems Oracle wants to reuse existing trace files. And since trace files an get quite large, it would be difficult to open the trace file in an editor and remove the pre-existing, older activity that I don't want to work with.

    See http://www.oracle-base.com/articles/10g/SQLTrace10046TrcsessAndTkprof10g.php for various ways. Delete the trace file before you begin. See http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/sqltrace.htm#i20110

Maybe you are looking for

  • Anyone ever see this error when calling a dll? "Arbitrary​.dll?"

    Hey folks, I'm attaching a jpg of the error I get as soon as I try and load a vi whose subVIs call a "Call Library Function". Double clicking on the call function I can verify that the 'Library name or path" is correct, and the Function name is what

  • Generic data extraction

    Hi guru's. I like to know how many fields can be taken from table for the view in GE , Is there any limit? we need to set  delta  for each field for delta extraction?. Regards. Harry

  • Still having problems with some apps from ovi stor...

    so i am still having trouble installing this app i have pain for the full version after having g the trial i am still getting the finalizing installation cancelling installation problem i have UN-installed all fmobi related files and tried re-install

  • Do we require 2 FIM Licence if installing FIM portal on 2 servers for HA

    Hi, We are installing FIM portal on 2 windows servers for achieving HA. Please help by sharing will it cost us two FIM Licence to do that. Thanks, Varun

  • Solution to "Printing Error" with HP C4780

    Hi all, Had a bit of a wrestling match with this printer today when I increased firewall security from "Low" (Allow all outbound connections that do not match a rule) to "Medium" (Dis-allow all outbound connections that do not match a rule). This was