Let me note that I used listener status to figure out services
because the output of "stat" is more compact and easier to read. 
Of course, one should always use "services" to look see how services
are configured.
On 12/02/2003 04:59:25 AM, Tanel Poder wrote:
> Don't worry about dispacther's address, they ought to be running on
> different ports than listener anyway.
> Don't use lsnrctl status for checkin services, lsnrctl services is for that.
> 
> Yes, in Oracle you can directly connect to your dispatcher as well if you
> want to (some people have resolved firewall port issues that way, by setting
> dispacther to run on specific port).
> But generally you should use listener to connect. Listener acts just like a
> middle-man when estabilishing connection. When a new connection is made to
> listener and service "orcl" is requested for example, then listener checks
> whether it has a service "orcl" configured in it's confifguration
> (listener.ora) or has anyone registered this kind of service with it. If it
> finds the service, it also knows on which ports are the dispatchers or with
> which SID should it spawn a new server process.
> 
> Tanel.
> 
> ----- Original Message ----- 
> To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
> Sent: Tuesday, December 02, 2003 11:04 AM
> 
> 
> > Tanel & List,
> >
> > SQL > select name,network,status, from v$dispatcher;
> >
> > NAME : D000
> > NETWORK : (ADDRESS=(PROTOCOL=tcp)(HOST=oradb)(PORT=1027))
> > STATUS : WAIT
> >
> > my listener.ora doesn't have an entry for this and LSNRCTL STATUS
> > doesn't show that it's listening on port 1027.
> > but still,if i change my port no in client tnsnames.ora to 1027,
> > i'm able to connect.totally confused :((
> >
> > Thanks and Regards,
> > Jp.
> >
> >
> > 02-12-2003 15:54:24, "Tanel Poder" <[EMAIL PROTECTED]> wrote:
> >
> > >I would use:
> > >select server, count(*) from v$session group by server;
> > >
> > >That way you'll see how many sessions are using shared servers & how many
> > >are forced to be dedicated. (you can have dedicated connections in MTS as
> > >well).
> > >
> > >Otherwise, you can check views v$mts, v$dispatcher, v$shared_server for
> > >statistics.
> >
> >
> >
> > -- 
> > Please see the official ORACLE-L FAQ: http://www.orafaq.net
> > -- 
> > Author: Prem Khanna J
> >   INET: [EMAIL PROTECTED]
> >
> > Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
> > San Diego, California        -- Mailing list and web hosting services
> > ---------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from).  You may
> > also send the HELP command for other information (like subscribing).
> >
> 
> 
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> -- 
> Author: Tanel Poder
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
> San Diego, California        -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
> 

Mladen Gogala
Oracle DBA



Note:
This message is for the named person's use only.  It may contain confidential, 
proprietary or legally privileged information.  No confidentiality or privilege is 
waived or lost by any mistransmission.  If you receive this message in error, please 
immediately delete it and all copies of it from your system, destroy any hard copies 
of it and notify the sender.  You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient. Wang Trading LLC and any of its subsidiaries each reserve the right to 
monitor all e-mail communications through its networks.
Any views expressed in this message are those of the individual sender, except where 
the message states otherwise and the sender is authorized to state them to be the 
views of any such entity.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Mladen Gogala
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to