Shared and Dedicated server modes

Hi,
We have been having some issues with connections and listeners. Please find here... Link [Post1|http://forums.oracle.com/forums/message.jspa?messageID=3665455] and Link [Post2|http://forums.oracle.com/forums/message.jspa?messageID=3677914].
Despite this help from this forum, I still face some problem configuring listener in both Shared and Dedicated server modes.
Pls find the below the problem...
Two listeners namely, LSNR1 and LSNR2 have been started.
listener.ora:
LSNR2 =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = dbdev.website.org)(PORT = 1522))
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
SID_LIST_LSNR2  =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = TESTDB)
      (ORACLE_HOME = /u02/app/oracle)
LSNR1 =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = dbdev.website.org)(PORT = 1521))
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
SID_LIST_LSNR1 =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = TESTDB)
      (ORACLE_HOME = /u02/app/oracle)
  )LSNR1 works with both Shared and Dedicated configurations, whereas LSNR2 neither DEDICATED nor SHARED configurations...
Here is the TNS names entry at the client (for LSNR2)...
serv2=
(DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.xxx)(PORT = 1522))
    (CONNECT_DATA =
      (SERVICE_NAME=DEDICATED)
  )When I try to connect using this, it says
+ ORA-12514: TNS: Listener does not know of service requested in connect descriptor +
Pls help.
Thanks,
Aswin.

Aswin,
I didnt see the other posts but the error is fairly simple,
>
ORA-12514:
TNS:listener does not currently know of service requested in connect descriptor
Cause:     The listener received a request to establish a connection to a database or other service. The connect descriptor received by the listener specified a service name for a service (usually a database service) that either has not yet dynamically registered with the listener or has not been statically configured for the listener. This may be a temporary condition such as after the listener has started, but before the database instance has registered with the listener.
Action:     
- Wait a moment and try to connect a second time.
- Check which services are currently known by the listener by executing: lsnrctl services <listener name>
- Check that the SERVICE_NAME parameter in the connect descriptor of the net service name used specifies a service known by the listener.
- If an easy connect naming connect identifier was used, check that the service name specified is a service known by the listener.
- Check for an event in the listener.log file.
>
So check what you are passing in the connection string.
HTH
Aman....

Similar Messages

  • Shared and Dedicated Server...

    Dear All,
    Can anybody tell what's the difference between shared and dedicated server? Our database is Oracle 9.0.1 in Windows 2003. Our total session is around 200. Our server is dedicated server. What will be the benefit if we change our database to shared server for specific users???
    Shared pool size = 728MB
    Buffer Cache = 592MB
    Java pool = 104MB
    Large pool = 60MB
    There is no pga_aggregate_target in our database. Is the configuration ok for more than 200 users??? Most of the times we get 'out of process memory error'. What should we do in this situation??? Plz suggest.

    mrashid07 wrote:
    Can anybody tell what's the difference between shared and dedicated server?Dedicated server is the default. It means that each and every user session is serviced by a dedicated Oracle server process. 200 user connections? 200 dedicated server processes.
    On Windows these are however threads inside the physical oracle.exe process (and not actual separate process images like on Unix/Linux for example). A standard thread on Windows needs around 2MB of kernel space. So 200 threads, for 200 dedicated server connections, need 200 x 2MB RAM.
    Shared server works differently. A pool of dispatchers and shared servers are created. The dispatcher processes deals with the communication between the Oracle client and the Oracle instance. A dispatcher places client requests on a virtual circuit. These requests are picked up by idle shared server processes and processed. The results are send back to the client via a dispatcher process.
    So instead of having 200 dedicated server processes to service 200 users, you can for example use 5 dispatcher processes and 30 shared server processes to service the 200 sessions of those 200 users. In this case 35 processes are used that translates into 35 threads at a basic 2MB RAM cost per thread. (also note that the UGA now moves from the Oracle PGA to the Oracle SGA and the SGA needs to be sized accordingly).
    However, should such a user session send a long and complex request, that will tie up that shared server for a long time.. and this is bad. When the shared server process is busy, it cannot service any new requests. When all the shared servers in the pool are busy, no new request can be serviced. So you want the requests from the clients to be short and sweet - with a shared server not spending more than a few seconds per request.
    So typically OLTP requests are fine for shared servers.. OLAP requests not.
    Our database is Oracle 9.0.1 in Windows 2003. You should have been on 9.2.0.7 (last 9i patch set). You should currently being in the process of upgrading to 11gR2. 9i is basically an unsupported product. It is not a good idea to use an unsupported product in production. Even worse when you are not using the latest patchset for that product.
    As for using Windows.. why? 32bit is old hat. 64bit CPUs are standard even in today's desktop PCs. Consider using Linux instead. It is Open Source, is free ito purchasing (you only pay for support and maintenance) and it has had de-facto 64bit support for many years now. There's no need to hack the operating system, like Windows with its AWE extensions to address more than 4GB RAM.

  • Shared or Dedicated server mode

    My database is configured like:
    9i Release2, Enterprise edition, OLTP, DEDICATED server mode!
    I have more than 40 users who connect to db through WAN.
    Is this good selection, I meen on server mode, or is better way to use SHARED s.mode. And way?!
    Also where could I see which server mode of db is installed?
    Thanks!

    If we are talking about 40 physical end users, I wouldn't consider shared server mode. Shared server is ideal when you have so many users that the server would simply fall over if it tried to spawn that many dedicated connections.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Shared vs dedicated server

    Any reason to select one over the other?
    The reason I'm asking is because two texts that I have which were not written by Oracle suggest using dedicated server processes, while all of the Oracle-written texts suggest shared (although I did finally find a note which mentions "NOTE:...if your machine has plenty of memory to support dedicated servers, you should use that approach. In this situation, performance is likely to be better.")
    -cf

    Actually it depends upon the requirement.
    Shared and dedicated server environment are meant for different purposes and requirements.
    If server process is ideal for long time than same server process can be used to server other clients. Eg. On a web site user searched for Oracle Tuning books and now he is taking time to go through the title, contents, price. Your Server process is ideal during this time where as it can used to server other clients.
    Similarly if I use dedicated server process for batch processing it will be more effective than shared server because there is no ideal time.
    It is not true shared server requires more resources or dedicated server requires more memory. It will depend upon the proper utilization of resources. With the same given resources dedicated server environment may work more efficiently for one scenario and in the another scenario with the same resources a shared server works very well.
    Manu

  • Can oracle work in shared and dedicated mode at the same time?

    Hi All,
    can oracle work in shared and dedicated mode at the same time?
    Thanks

    A database can work only in one mode at a time.
    If the database is started in Dedicated Mode then it can not run in the Shared Mode. If you need to run it in the Shared Mode, bring down the Database , change DISPATCHERS, SHARED_SERVER, SHARED_SERVER_SESSIONS parameters in initfile and bring up the database to run it in Dedicated Mode.
    But there is one catch here, if you have started the database in Shared Server Mode even then you can make a Dedicated connection to server.
    Thanks!
    M-

  • How to convert dedicated server-mode to shared server-mode ?

    Hi
    I am having 3 oracle client machines(each with sql*plus or Toad tool),all these 3 client are to be connected through Jboss-4.0.5(application server) to Oracle 10g database server.
    [ all 3 clients + 1 application server + 1 database server are with different ip address]
    Question-1
    Is it possible to convert a running Oracle-10.1.0.2.0 database server in[b] Windows server-2003 os from dedicated server-mode to shared server-mode ?
    Question-2
    What all are the init parameters I have to change ?
    So far I have changed (a) alter system set shared_servers=5;
    (b) alter system set dispatchers=(pro=tcp)(dis=3);
    (c) alter system set max_dispatchers=10;
    (d) alter system set shared_server_sessions=5;
    (e) alter system set circuits=300;
    Question-3
    How to configure Listener in the Client system ?
    Question-4
    What all are the changes to be made in Jboss server ?
    Regards
    Sbmk_design

    ad 1) Yes this is possible
    Ad 2) From the top of my head, these seem like the settings to change
    Ad 3) You do not have to change the listener (ow.. and clients have no listener) just make sure that you do not have '"server=dedicated" in your local tnsnames.ora file
    Ad 4) in jboss, just check your datasource. If it is using a thin connection you are ok, if you are using a oci connection check the tnsnames.ora file.

  • Different between shared server and dedicated server

    could you explain difference between shared server and dedicated server.

    Oracle has two modes, a shared server mode and a dedicated server mode. In dedicated server mode (the default), the Oracle server creates one process per connection.
    This quickly limits the number of connections the Oracle Server can support due to the following:
    1.There is an OS limit on how many processes/file descriptors can be supported
    2.Oracle has an internal PROCESSES parameter that prevents it from launching more than the specified number of processes.
    When it is anticipated that these limits may be exceeded, which frequently happens for 50-100 concurrent connections, you should either configure Oracle in shared server mode or increase the limits above, so that many concurrent connections can be supported by each Oracle process. Oracle states that running in shared server mode is slightly slower than in dedicated server mode.

  • Nexus 7009 bandwidth allocation per port in shared and dedicated mode:

    We have 7009 with following I/O modules:
    N7K-F248XP-25E --
    N7K-C7009-FAB-2 - qty 3
    N7K-SUP2
    I would like to know that each port of N7K-F248XP-25E will get how much bandwidth in shared mode. if we are using only one port group with 4 ports each port with 10gbps is it possible in shared mode to get 40gbps in one port group.
    Thanks

    Hi,
    I'm not sure there is such a thing as shared and dedicated mode on the N7K-F248XP-25E I/O module. I don't have one to test with, but you can see this if you execute the command show interface capabilities on your switch. If you look for the "Rate mode" line in the output it will show as dedicated or dedicated/shared. I suspect the ports on this module will all show as dedicated.
    That said, with your configuration there is potential for some level of over-subscription.
    The N7K-F248XP-25E I/O module uses a Switch on Chip (SoC) architecture with the 48-ports 10-GE ports connected via 12 SoCs, so the "port grouping" is ports 1-4=SoC 1, 5-8=SoC 2 etc.
    Each of the SoC has 40-Gbps of capacity to the switch fabric ASIC, which in turn has up to 550-Gbps capacity to the switching fabric. The 550-Gbps fabric capacity is the maximum based on 110-Gbps per slot, per fabric to the installed Fabric 2 Modules. To realise this capacity there must be five Fabric 2 modules installed in the chassis.
    From the hardware list you've supplied, you only have three Fabric 2 modules installed and as such you can only achieve a maximum of 330-Gbps per I/O module slot. What this means is that you have 480-Gbps host facing bandwidth, but 330-Gbps Fabric facing bandwidth, so a potential 1.45:1 over-subscription.
    You can reduce the over-subscription into the switch fabric by adding additional Fabric 2 modules.
    Regards

  • Best Practises for File Sharing and Print Server on Windows Server 2012

    Is it better to have File Sharing and Print Server installed on the same Windows 2012 Server ?
    Or, they should be installed on 2 different Windows Servers ?
    Hussien Sherief

    It will work just fine to combine them.
    But most people would recommend keeping functionality separate... if the budget allows.  That whole "single point of failure" concept.  If that server dies, you've lost both of those functions.

  • Shared and Dedicated Mode in Oracle 8i

    Can any one describe what is basic difference when we install Oracle8i in dedicated and Shared modes. I have to create Oracle8i Database for not more 150 users. Actually less then 20 users might be accessing database but in future it can go up to maximum 100.

    WIthout understanding your application and hardware in some detail, it is impossible to say which mode is better-- and that's without accounting for a mixed-mode setup where some connections are shared and some are dedicated.
    If there are going to be 20 simultaneous connections, dedicated server is almost always preferred. If you start to get up to 100 simultaneous connections, depending on your hardware, it may become appropriate to use shared server. If you have a high-end multi-CPU machine, it will easily handle 100 connections. If you have a low-end single-processor Windows server, you might have problems with dedicated server.
    OLTP systems tend to be more amenable to shared server than DSS systems, because sessions spend a lot of time idle in the former type of application.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Question regarding Listener and Server Processes in dedicated server mode

    Good morning,
    The Oracle documentation states that when a client connection request is received on the server, the Listener creates a Server Process which will work with the database instance to carry out the tasks requested by the user/client process. So far, everything good.
    Now, when the user is at the Oracle server itself, the Listener does not need to be running to establish a connection to the database. It is therefore possible to stop the Listener and still connect using sqlplus and a valid username and password.
    In the above case, the question is: if the Listener is not running, what/who created the Server Process that communicates with the database instance on behalf of the user ? Stated a different way, in the normal case, the Listener would get the request and create the server process. When the Listener is not running what part of Oracle gets the requests and creates the server process ?
    Clarification on how this case is handled is much appreciated, thank you,
    John.

    When using bequeath protocol the server process is created by the client process: it's the client process that is using ORACLE_SID and ORACLE_HOME to compute shared memory key (under UNIX) to know which SGA to attach (i.e. which instance to connect to):
    Example with SQL*Plus :
    $ ps -fu oracle | grep DB112
    oracle    5675     1  0 18:13 ?        00:00:00 ora_pmon_DB112
    oracle    5677     1  3 18:13 ?        00:00:02 ora_vktm_DB112
    oracle    5681     1  0 18:13 ?        00:00:00 ora_gen0_DB112
    oracle    5683     1  0 18:13 ?        00:00:00 ora_diag_DB112
    oracle    5685     1  0 18:13 ?        00:00:00 ora_dbrm_DB112
    oracle    5687     1  0 18:13 ?        00:00:00 ora_psp0_DB112
    oracle    5689     1  0 18:13 ?        00:00:00 ora_dia0_DB112
    oracle    5691     1  0 18:13 ?        00:00:00 ora_mman_DB112
    oracle    5693     1  0 18:13 ?        00:00:00 ora_dbw0_DB112
    oracle    5695     1  0 18:13 ?        00:00:00 ora_lgwr_DB112
    oracle    5697     1  0 18:13 ?        00:00:00 ora_ckpt_DB112
    oracle    5699     1  0 18:13 ?        00:00:00 ora_smon_DB112
    oracle    5701     1  0 18:13 ?        00:00:00 ora_reco_DB112
    oracle    5703     1  0 18:13 ?        00:00:00 ora_mmon_DB112
    oracle    5705     1  0 18:13 ?        00:00:00 ora_mmnl_DB112
    oracle    5707     1  0 18:13 ?        00:00:00 ora_d000_DB112
    oracle    5709     1  0 18:13 ?        00:00:00 ora_s000_DB112
    oracle    5745     1  0 18:13 ?        00:00:00 ora_arc0_DB112
    oracle    5747     1  0 18:13 ?        00:00:00 ora_arc1_DB112
    oracle    5749     1  0 18:13 ?        00:00:00 ora_arc2_DB112
    oracle    5751     1  0 18:13 ?        00:00:00 ora_arc3_DB112
    oracle    5753     1  0 18:13 ?        00:00:00 ora_qmnc_DB112
    oracle    5769     1  1 18:13 ?        00:00:00 ora_cjq0_DB112
    oracle    5773     1  0 18:13 ?        00:00:00 ora_q000_DB112
    oracle    5775     1  0 18:13 ?        00:00:00 ora_q001_DB112
    oracle    5777     1  1 18:13 ?        00:00:00 ora_vkrm_DB112
    oracle    5785     1 46 18:13 ?        00:00:24 ora_j003_DB112
    oracle    5797  5796  2 18:14 ?        00:00:00 oracleDB112 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oracle    5832  5801  0 18:14 pts/2    00:00:00 grep DB112
    $ ps -fp 5796
    UID        PID  PPID  C STIME TTY          TIME CMD
    oracle    5796  5584  0 18:14 pts/1    00:00:00 sqlplusThis is also documented in 11.2 Net Admin. Guide http://download.oracle.com/docs/cd/E11882_01/network.112/e10836/concepts.htm#CIAFHAEE
    >
    If the client and database exist on the same computer, then a client connection can be passed directly to a dedicated server process without going through the listener. This is known as a bequeath protocol. The application initiating the session spawns a dedicated server process for the connection request. This happens automatically if the application used to start the database is on the same computer as the database.
    >
    Edited by: P. Forstmann on 5 sept. 2010 18:23

  • Shared or dedicated server

    Dear all,
    Would you tell me how to check out whether a database instance is a shared or a dedicated server?
    Thanks

    Firstly, thanks for your help.
    I posted my problem in another thread. The problem is listed below.
    BTW, when I create a new instance as dedicated server. I don't have this problem anymore.
    So I wonder it is setting shared server is different from setting dedicated server.
    Previous post:
    ===============================================================
    I have a problem of network configuration. I installed an Oracle 8.1.7 standard edition database server. I can logon using sqlplus at local database machine without any problem. I can logon as system using sqlplus in a remote workstation, but I cannot logon using sqlplus as a normal user in a remote workstation. The normal user is granted connect role and create session system privilege.
    Also, once I have a failed logon using normal user I cannot logon as system anymore until I restart the listener on the db server.
    Please help. I don't have this problem on 9i, 10g.
    The error is demostrated below:
    ===============================================================
    SQL*Plus: Release 9.2.0.1.0 - Production on Fri Feb 24 21:45:11 2006
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to:
    Oracle8i Release 8.1.7.4.0 - Production
    JServer Release 8.1.7.4.0 - Production
    SQL>
    SQL> connect ars
    Enter password: *****
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Warning: You are no longer connected to ORACLE.
    SQL> connect system
    Enter password: *******
    ERROR:
    ORA-12560: TNS:protocol adapter error
    ===============================================================
    The listener.ora, sqlnet.ora in the server is listed below:
    ===============================================================
    # LISTENER.ORA Network Configuration File: /u01/app/oracle/product/8.1.7/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.2.18)(PORT = 1521))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/8.1.7)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = stustg.urban.com.hk)
    (ORACLE_HOME = /u01/app/oracle/product/8.1.7)
    (SID_NAME = stustg)
    ===============================================================
    # SQLNET.ORA Network Configuration File: /u01/app/oracle/product/8.1.7/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    #SQLNET.AUTHENTICATION_SERVICES= (NONE)
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    ===============================================================

  • Personal Web Sharing and Filemaker Server Advanced

    After migrating from FileMaker Server-7 Advanced and installing version-8 Advanced web components (w/Easy Install) and restarting the Mac, Personal Web Sharing refuses to activate. I also cannot access the Filemaker Admin Console to create the FMSA account to register it with the database server.
    OSX Console log listed this error below when trying to start Apace with Personal Web Sharing:
    Syntax error on line 1 of /Library/FileMaker Server/Web Publishing/web-configuration/WEB-INF/conf/mod_jk.conf:
    Cannot load /usr/libexec/httpd/modjkfm.so into server: (reason unknown)
    /usr/sbin/apachectl start: httpd could not be started
    Line 1 of the mod_jk.file reads:
    LoadModule jkfmmodule libexec/httpd/modjkfm.so
    What needs to be corrected so I can start web sharing and access the FileMaker Web Publishing Engine in the browser?
    Using Mac OSX 10.4.6 on Mac Mini w/Intel dual core

    Apache is trying to load modjkfm.so which should be stored in /usr/libexec/httpd, but it isn't.
    This file should be installed by the Filemaker Server installer. If it wasn't installed by the Easy Install option, check the other install options to see if it's there.

  • SHARED server and DEDICATED server

    Hi,
    our dB in 8.1.7 on Win2003. How to see if it is SHARED server or DEDICATED ? If shared can we come back to DEDICATED ?
    Many thanks.

    Hi,
    Oracle 8i on 2003 looks strange to me. Check v$version.
    If you are on 8i, check the parameter mts_dispatchers should have some big string in it (showing the detail dispatcher configuration) and there should be a non-zero value for parameter "dispatcher(s)".
    Regards

  • Shared and dedicated servers in 10g

    Hi,
    My database is on 9i solaris 10. I am giving both dedicated and shared servers to the users. I am in the process to upgrade to 10g. Anything I need to keep in mind with respect to dedicated and shared servers?
    Thanks & Regards

    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14231/manproc.htm#i1006089

Maybe you are looking for