Call for Oracle support & training (800) 766-1884
Free Oracle Tips

Home
Corporate Oracle Training
Custom Oracle Training
Oracle New Features Training
Advanced Oracle DBA Classes
Oracle Tuning Courses
Oracle Tips & Tricks
Oracle Training Links
Oracle Training Links
Oracle Training Links

We are top for USA Oracle Training Clients

 

Free Oracle Tips


 
HTML Text AOL

Free Oracle App Server Tips


 
HTML Text

Oracle support

Oracle training

Oracle tuning

Rednecks!

Remote Oracle

Custom Oracle Training

 

   
  Oracle Tips by Burleson

Oracle 10g Configuring Easy Connect Naming to Use an Alias

It is not realistic to expect clients to use long connect, so Oracle has provided a means to use a simple connect string alias similar to that used in the host naming method in Oracle9i. With this method, a more traditional connect string is used, similar to:

CONNECT username/password@alias

To use the alias capability in Oracle Database 10g, simply:

  1. Configure the Listener with the Database Service Information
     

  2. Establish the Host Name Resolution Environment
     

  3. Connect to the Database

Let’s take a more detailed look at these steps.

Step 1: Configure the Listener with the Database Service Information - To use the alias capability, you must register database service information with the Listener. When the database can find the Listener, information about the database service is dynamically registered during service registration, including the specified database service name.

The requirements for the Listener to be found are:

  • A default Listener named LISTENER running on TCP/IP, port 1521; or
     

  • The local_listener parameter is set in the initialization file to the name of the actual local Listener, if different from the default.

If the database cannot find the Listener, then you must configure the listener.ora file with the global_dbname parameter, as shown below:

 SID_LIST_listener=
(SID_LIST=
(SID_DESC=
(GLOBAL_DBNAME=sales.acme.com)
(SID_NAME=sales)
(ORACLE_HOME=/u01/app/oracle))

Step 2: Establish Host Name Resolution Environment - To use an alias, the system must resolve the service name through an IP address translation mechanism, such as the Domain Name System (DNS), NIS, or a centrally-maintained TCP/IP host file, /etc/hosts (on most UNIX platforms).

For a service name of test.us.rampant.com for a database that exists on a computer named test-server, the entry in a typical /etc/hosts file would be:

#IP address of server host name alias
90.10.100.35 test-server test.us.rampant.com


Get the complete story:

The above text is an excerpt from "Oracle Database 10g New Features: Reference for Advanced Tuning and Administration", by Rampant TechPress.  Written by top Oracle experts, this book has a complete online code deport with ready to use scripts. 

To get the code instantly, click here:

http://rampant-books.com/book_2003_2_oracle10g.htm


Need an Oracle Mentor?

BEI is now offering personal mentors for Oracle DBAs where you can have an Oracle expert right at your fingertips, anytime day or night. We work with hundreds of Oracle databases every year, so we know exactly how to quickly assist you with any Oracle question.

Why risk an unplanned outage? You can now get telephone access to Don Burleson or any of his Oracle Certified DBAs with more than 20 years of full-time IT experience. Click here for details:

http://www.dba-oracle.com/service_oracle_backup.htm

 
 
 

Oracle performance tuning book

 

 

Oracle performance tuning software

 
Oracle performance tuning software
 
Oracle performance Tuning 10g reference poster
 
Oracle training in Linux commands
 
Oracle training Excel
 
 
 
 

 

email BC:


Copyright © 1996 -  2014 by Burleson Inc. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.