Oracle NetCA Guide by Manish Sharma
Oracle NetCA Guide by Manish Sharma
COM
HOW TO CREATE A
TNS SERVICE
using Net Configuration Assistant (NetCA)
BY MANISH SHARMA
YouTube.com/RebellionRIder
INTRODUCTION
what you need to create a TNS service
Thanks to Oracle Net Configuration Assistant, configuring a
such as –
name of the service of the database for which you are creating
Suggested Reading
Blog | Video
NetCA
Oracle Net Configuration Assistant is a wizard based graphical
Here I will show you how to use Oracle Net Assistant to create a
www.RebellionRIder.com
LAUNCH THE ORACLE NET
CONFIGURATION ASSISTANT.
Have a productive vacation.
www.RebellionRIder.com
Run As Administrator
www.RebellionRIder.com
The NetCA Command
After that simply write netca on the prompt. This will start the
Oracle Net Configuration Assistant.
www.RebellionRIder.com
STEP 1: CHOOSE THE
CONFIGURATION.
On the first screen of the net configuration assistant you will be
provided with four options. To make a TNS entry in the tnsnames.ora file
you have to choose the third option which is ‘ Oracle Net Service Name
Configuration’.
www.RebellionRIder.com
STEP 2: SELECT THE ACTION.
In this step you need to select the action from the list which you want to
perform. As we want to add a TNS entry thus we will select the first
add’.
option ‘
www.RebellionRIder.com
STEP 3: THE SERVICE NAME
In the third step you will have to specify the service name for which you
want to create this entry. Read this blog to learn how to find out the
www.RebellionRIder.com
BEFORE THE NEXT STEP
In next three steps we will be configuring protocol address of the
information like Network Protocol, hostname and the port number. You
To find out the correct network protocol, hostname and the port number
you can take help from the listener.ora file. As, in most cases the
file is the same as that of the protocol address of the listener.ora file.
www.RebellionRIder.com
STEP 4: THE NETWORK
PROTOCOL
You need to select a protocol using which the client will communicate
www.RebellionRIder.com
STEP 5: THE HOSTNAME & THE
PORT NUMBER
Here you have to specify the name or the IP Address of the computer
where your Oracle Database server is installed and configured.
On this same screen you will also have to specify the port number which
Client and server. By default, Oracle Server uses the port number
1521.
www.RebellionRIder.com
STEP 6: TEST THE TNS
Once you are done creating your TNS entry, next you have to test it.
Although it’s not necessary but it is a good practice. Testing your TNS
entry will let you know whether you have done the settings correctly or
not.
www.RebellionRIder.com
STEP 6: TEST THE TNS
www.RebellionRIder.com
STEP 6: TEST THE TNS
‘system’ user. The password of your system user is the one which you
After that just press ok and the Oracle Net Configuration Assistant will
show you the result. If everything is ok, then you will get a success
www.RebellionRIder.com
STEP 7: THE SERVICE NAME
In this step you have to specify a name for your TNS entry. You can
name your net service whatever you want. But it is always recommended
to specify a logical name for your TNS service which could help you in
recognizing it easily.
By default, the Oracle Net Configuration Assistant will name your TNS
entry after the name of the service for which you are creating this
www.RebellionRIder.com
STEP 8: ANOTHER NET SERVICE
NAME
In this step you will be asked whether you want to configure another
TNS entry or not. If you want to then select ‘Yes’ otherwise select ‘No’.
www.RebellionRIder.com
STEP 9: NET CONFIGURATION
DONE!
Congratulations you have created your connect descriptor/TNS service
www.RebellionRIder.com
THANKS
This is a
Database.
Suggested Readings
Thanks RebellionRider.com
SCAN TO CONNECT