Solved

Remove parameter from listener configuration file on Oracle 11g RAC database

Posted on 2010-11-29
9
1,172 Views
Last Modified: 2012-05-10
we have some trace level parameters in  listener configuration file on Oracle 11.1.0.7 RAC 2 node database. I have to remove those parameters and should bounce the listener.
Please correct me, if i am wrong
First i will do this on node1 and then go for node2
srvctl stop listener -n nodename
i will goto ORACLE_HOME/network/admin and will remove the parameters unwanted
srvctl start listener -n nodename.
BTW, if i stop the listener, what will happen to the users connected to DB at that time?
Does this require any DB outage?
0
Comment
Question by:oracledba10g
  • 3
  • 2
  • 2
9 Comments
 

Author Comment

by:oracledba10g
ID: 34236724
Could you please explain in detail, what happens in background also
If i am wrong with above steps, please let me know the procedure?
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 34238527
I'm not a RAC person so I can't speak specifically to that but normally bouncing the listener does not disconnect users unless you are sharing the socket ( USE_SHARED_SOCKET env variable).

You should also not have to bounce the listener.  There is a reload command: lsnrctl reload

This is for a single instance setup.  This might not be the same for RAC.
0
 
LVL 6

Accepted Solution

by:
sridharv9 earned 500 total points
ID: 34241290
It is same in RAC as Single instance that stopping listener won't interrupt existing connections. All you need is to wait for listener to startup and register the db for new connections. BTW tested and confirmed both stop and start listener.


"If you stop and then start the listener while the database is running, it may take a minute or so for the database to reregister with the listener and to begin accepting connections. To determine if the database is ready to accept connections, run the lsnrctl status command repeatedly until you see the following lines in the report:
Service "XE" has 1 instance(s).
  Instance "XE", status READY, has 1 handler(s) for this service..." - from http://download.oracle.com/docs/cd/B25329_01/doc/admin.102/b25107/network.htm

0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 34263052
What part of the question did we not answer or was 'na'?  I gave you the command to do what you asked.  sridharv9 confirmed what I posted is the same in RAC.    What does 'na' mean
0
 

Author Comment

by:oracledba10g
ID: 34264368
slightwv,

cool man.....

i know the commands for listener reload / bounce for non rac / single instance databases.

I have asked for RAC database. i have mentioned the commands also to make sure because i was doing this on critical PROD db. ( u can understand ), i was in rush and i put the comment something bla bla...na

i got the doubt because when i check the status of listener i got error
srvctl status listener -n nodename
command component <options>

but this command worked for start and to stop listener
srvctl stop listener -n nodename
srvctl start listener -n nodename
0
 
LVL 6

Expert Comment

by:sridharv9
ID: 34264527
oracledba10g , Remember that we are not getting paid for helping someone in this forum. It is just our passion and learning experience that we would like to help someone in need. How would feel if you try to  volunteer help someone and if they get back to you in similar way like you. The bottom line is we are all professionals helping each other and respect each others time for volunteer help.

Regards,
Sri    
0
 

Author Closing Comment

by:oracledba10g
ID: 34268185
It worked for me to get the concept
Thanks a lot for your help
Appreciate your assistance.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question