Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 
 

Configuring and Starting the Listener on Each Node

Oracle Database Tips by Donald Burleson

A listener must be configured and running on each node in order to create a RAC database. The following is a list of steps taken when using the netca tool to configure and launch the listeners. This step needs to be done from only one node.

1.      Use oraenv to set the $PATH and $ORACLE_HOME variables, then launch netca.

2.      Choose cluster configuration.

3.      Select all of the nodes.

4.      Add a listener.

5.      The listener name is LISTENER.

6.      TCP is the only protocol needed.

7.      Use port 1521.

8.      One listener is all that is needed.

By running through these steps with netca, the configuration file $ORACLE_HOME/network/admin/listener.ora has been created on each node and a listener named ?LISTENER? has been started on each node.  Run the command lsnrctlstatus on each node to verify that the listener is started.

Starting the Global Services Daemon

The Oracle Enterprise Manager, srvctl, and dbca each rely on the Global Services Daemonservice. Srvctl is a command line tool used to start and stop clustered databases (among other tasks as will be discussed in Chapter 7). Database Configuration Assistant cannot create a clustered database without the GSD service running on each node.

The universal installer has created the file /var/opt/oracle/svrConfig.loc on each node, which is a text file that defines the location of the shared configuration file. The universal installer has also issued the command srvconfig ‑init which initialized the shared configuration file. At this time, the Global Services Daemon (GSD) should start without error.

Figure 6.6 demonstrates the commands used to start the GSD service. Run these commands as Oracle on each node. If the GSD needs to be stopped, use the command gsdctl stop. The GSD keeps a log of requests made by the various clients of its service in the file $ORACLE_HOME/srvm/log/gsdaemon_<NodeName>.log

Ensuring Oracle Services Start on Boot

The code depot for this book includes a script called oracle that can be installed in the directory /etc/init.d. Once installed and configured to start on boot with the chkconfigcommand, the hangcheck-timer, oracm, listener,  and gsdwill start whenever the node boots. Switch to the root user and run the commands shown in Figure 6.7 to configure the oracle services to start at boot. This step must be completed on each node.

Learn More about PC RAC:
 

If you want to learn RAC at home, get the bestselling book "Personal Oracle Real Application Clusters" by Edward Stoever.

You can buy it direct from the publisher for 30%-off and get instant access to the code depot of Oracle tuning scripts.


 

 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.