- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: oracle listener question
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2002 11:47 PM
тАО04-04-2002 11:47 PM
oracle listener question
I am trying to find out how oracle listener works.My understandning is that when a request comes to listener, listener will fork and executesoracle{ORACLE_SID} process which will send itsport to the client process.So now all the request for that client will come to this port instead of listener port(1521).That is why even if i shutdown the listener now, the existing connection will not be impacted.
I am not able to confirm this with netstat -an command.What i see just the connectionbetween
Host.port and client.port where port for database server is always 1521(listener port).
am i misinterpreting this.
Thanks !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2002 12:34 AM
тАО04-05-2002 12:34 AM
Re: oracle listener question
or UNIX95=1 ps -eflH | more which will show processes in hierarchy so that you can verify which processes follow the listener process.
Or tusc -p PID. where PID=listenerpid. Include
the "follow forks" option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2002 12:46 AM
тАО04-05-2002 12:46 AM
Re: oracle listener question
If the listener is not running you will not be able to establish new connections but existing ones will be unaffected.
As Tore suggested the 'tusc' utility is great for giving you an idea how things work.
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2002 12:59 AM
тАО04-05-2002 12:59 AM
Re: oracle listener question
you're right following from Net8 admin guide:
1. The listener is started and listens on an address specified in a listener
configuration file.
2. The listener then spawns a series of dedicated server processes until it reaches
the specified pool size defined in its configuration file.
3. Each spawned server process performs a partial address listen and provides the
listener with the partial address that it is listening on. The listener initially
marks all prespawned servers as idle.
4. The client sends a connect request to the listener.
5. The listener receives the network session request, and determines if the client???s
request may be serviced. If not, the listener refuses the network session and
then resumes at Step 9.
6. The listener issues a redirect message to the client containing one of the
network addresses of the prespawned servers. The listener logs that server as
active.
7. The client dissolves the network session to the listener and establishes a
network session to the prespawned server using the address provided in the
redirect message.
8. The listener spawns another server process to replace the active prespawned
server (provided a value called PRESPAWN_MAX in the listener configuration
file is greater than the number of prespawned server processes active and idle).
9. The listener continues listening for incoming network sessions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2002 01:54 AM
тАО04-05-2002 01:54 AM
Re: oracle listener question
Here's a link to the part of the Net*8 admin guide that describes this:
http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/network.817/a76933/concepts.htm#1011542
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2002 02:27 AM
тАО04-05-2002 02:27 AM
Re: oracle listener question
Due to this port redirection you have to be aware when planning connections thru a firewall.
You have to use compatible Firewall software that can handle this or use Oracle Connection Manager.
rgds
Andreas
Hei Tore, hyggelig med flere nordmenn her...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2002 09:24 AM
тАО04-05-2002 09:24 AM
Re: oracle listener question
I agree with you but my question is why
netstat -an does not show me the connection
Dbserver.redirected_port <--> client.port
What it does shows is
Dbserver.listener_port <--> client.port
Thanks a lot !
PS :I will assign points later
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2002 11:06 AM
тАО04-05-2002 11:06 AM
Re: oracle listener question
tcp 0 0 hostname.1748 10.2.21.57.4459 ESTABLISHED
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2002 11:32 AM
тАО04-07-2002 11:32 AM
Re: oracle listener question
Which oracle version u are using.
I am using oracle 817 and what i see is all the connection from sqlnet client have a socket open at listener port(1521).This is the only socket opened by these sqlnet client.
Am i missing something .I am using netstat -an command to get the list of sockets.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2002 12:20 AM
тАО04-08-2002 12:20 AM
Re: oracle listener question
Please have a good read of the relevant section of the Net8 admin guide (see the link in my previous post).
Regards,
Steve