SlideShare a Scribd company logo
REBELLIONRIDER.COM
using Net Configuration Assistant (NetCA)
HOW TO CREATE A
TNS SERVICE
YouTube.com/RebellionRIder
BY MANISH SHARMA
Thanks to Oracle Net Configuration Assistant, configuring a
connect descriptor in tnsnames.ora file is a very easy task.
In order to configure a TNS entry you will need some information,
such as –
Service Name: A service is a logical representation of a
database. Every Database which you have configured on your
server must have a corresponding service. You will need the
name of the service of the database for which you are creating
the entry in your tnsnames.ora file.
Hostname:  Hostname will be the name of the machine where
your Oracle Database Server is installed and configured.
Port Number: Port number is where the listener of your Oracle
Database is listening or addressing the requests.
Suggested Reading
How To FInd Out All This Information
Blog | Video
INTRODUCTION
what you need to create a TNS service
Oracle Net Configuration Assistant is a wizard based graphical
user interface (GUI). This tool comes bundled with Oracle
Database. Using it you can configure almost all the Network
settings of your Oracle Database Server.
Here I will show you how to use Oracle Net Assistant to create a
TNS entry in tnsnames.ora file in an easy step-by-step manner.
NetCA
www.RebellionRIder.com
As Net Configuration Assistant is going to modify tnsnames.ora file
by adding an entry into it thus it is important that you launch your
NetCA with administrator privileges.
To launch the Oracle Net Configuration Assistant, we will use a
Windows Dos/Linux command. That command is ‘netca’.
LAUNCH THE ORACLE NET
CONFIGURATION ASSISTANT.
Have a productive vacation.
www.RebellionRIder.com
Run your command prompt with administrator privileges or shell
with ‘SUDO’ rights.
Run As Administrator
www.RebellionRIder.com
After that simply write netca on the prompt. This will start the
Oracle Net Configuration Assistant.
The  NetCA Command
www.RebellionRIder.com
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’.
STEP 1: CHOOSE THE
CONFIGURATION.
www.RebellionRIder.com
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
option ‘add’.
STEP 2: SELECT THE ACTION.
www.RebellionRIder.com
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
service name of a database.
STEP 3: THE SERVICE NAME
www.RebellionRIder.com
In next three steps we will be configuring protocol address of the
connect descriptor. The protocol address will be comprised of
information like Network Protocol, hostname and the port number. You
need to be very careful while specifying these information.
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
protocol address portion of the connect descriptor of the tnsnames.ora
file is the same as that of the protocol address of the listener.ora file.
BEFORE THE NEXT STEP 
www.RebellionRIder.com
You need to select a protocol using which the client will communicate
with your database on the network. In my machine the server-client
communication is using TCP network protocol. Thus, here select TCP
and move ahead.
STEP 4: THE NETWORK
PROTOCOL
www.RebellionRIder.com
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
your Oracle Server is using for establishing the communication between
Client and server. By default, Oracle Server uses the port number
1521.
STEP 5: THE HOSTNAME & THE
PORT NUMBER
www.RebellionRIder.com
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.
Here Select ‘Yes, perform a test’ and press the ‘next’ button.
STEP 6: TEST THE TNS
www.RebellionRIder.com
On the following screen press the change login button.
STEP 6: TEST THE TNS
www.RebellionRIder.com
Here enter ‘system’ as your username and the password of your
‘system’ user. The password of your system user is the one which you
specified during the installation of your Oracle Database.
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
message otherwise the NetCA will show you the error.
STEP 6: TEST THE TNS
www.RebellionRIder.com
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
connect descriptor. I suggest you not to change it.
STEP 7: THE SERVICE NAME
www.RebellionRIder.com
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’.
STEP 8: ANOTHER NET SERVICE
NAME
www.RebellionRIder.com
Congratulations you have created your connect descriptor/TNS service
for your database.
STEP 9: NET CONFIGURATION
DONE!
www.RebellionRIder.com
This is a
quick graphical guide on how to create a TNS service name in Oracle
Database.
Hope you enjoyed reading.
 
 
Suggested Readings
Your Ultimate Guide to Oracle TNS.
How to connect with database using TNS Service.
Thanks RebellionRider.com
THANKS
SCAN TO CONNECT
FACEBOOK
TWITTER
INSTAGRAM

More Related Content

What's hot

Mail
MailMail
Mail
Md Shihab
 
Mail server on using cisco packet tracer
Mail server   on using cisco packet tracerMail server   on using cisco packet tracer
Mail server on using cisco packet tracer
SabrinaUporna
 
File server on using cisco packet tracer
File server on using cisco packet tracerFile server on using cisco packet tracer
File server on using cisco packet tracer
SabrinaUporna
 
Email server configuration on cisco packet tracer
Email server configuration on cisco packet tracerEmail server configuration on cisco packet tracer
Email server configuration on cisco packet tracer
prodhan999
 
Tally help file
Tally help fileTally help file
Tally help file
senthamarai kannan
 
Networking session-4-final by aravind.R
Networking session-4-final by aravind.RNetworking session-4-final by aravind.R
Networking session-4-final by aravind.R
Navaneethan Naveen
 
Dns 2
Dns 2Dns 2
How to add client computer into a domain using dhcp
How to add client computer into a domain using dhcpHow to add client computer into a domain using dhcp
How to add client computer into a domain using dhcp
Mac Picar
 
DNS Server configuration in cisco packet tracer
DNS Server configuration in cisco packet tracerDNS Server configuration in cisco packet tracer
DNS Server configuration in cisco packet tracer
ShovonKumar1
 
PandoraFMS: Free Monitoring System
PandoraFMS: Free Monitoring SystemPandoraFMS: Free Monitoring System
PandoraFMS: Free Monitoring System
Enrique Verdes
 
DNS server packet tracer
DNS server packet tracerDNS server packet tracer
DNS server packet tracer
JalalMiah5
 
Adobe Connect on-premise SSL Guide
Adobe Connect on-premise SSL GuideAdobe Connect on-premise SSL Guide
Adobe Connect on-premise SSL Guide
RapidSSLOnline.com
 
Email server design(h.m merajul_hasan)
Email server design(h.m merajul_hasan)Email server design(h.m merajul_hasan)
Email server design(h.m merajul_hasan)
Merajulhasanraj
 
DNS server config on cisco packet tracer
DNS server config on cisco packet tracerDNS server config on cisco packet tracer
DNS server config on cisco packet tracer
Arjun Das
 
Email server configuration on cisco packet tracer
Email server configuration on cisco packet tracerEmail server configuration on cisco packet tracer
Email server configuration on cisco packet tracer
Arjun Das
 
Createlistener
CreatelistenerCreatelistener
Createlistener
oracle documents
 
Ftp server configuration on cisco packet tracer
Ftp server configuration on cisco packet tracerFtp server configuration on cisco packet tracer
Ftp server configuration on cisco packet tracer
prodhan999
 
VPN Server using Raspberry Pi
VPN Server using Raspberry PiVPN Server using Raspberry Pi
DNS server configuration in packet tracer
DNS server configuration in packet tracerDNS server configuration in packet tracer
DNS server configuration in packet tracer
prodhan999
 
Mikrotik pcq
Mikrotik   pcqMikrotik   pcq
Mikrotik pcq
Putra Jambak
 

What's hot (20)

Mail
MailMail
Mail
 
Mail server on using cisco packet tracer
Mail server   on using cisco packet tracerMail server   on using cisco packet tracer
Mail server on using cisco packet tracer
 
File server on using cisco packet tracer
File server on using cisco packet tracerFile server on using cisco packet tracer
File server on using cisco packet tracer
 
Email server configuration on cisco packet tracer
Email server configuration on cisco packet tracerEmail server configuration on cisco packet tracer
Email server configuration on cisco packet tracer
 
Tally help file
Tally help fileTally help file
Tally help file
 
Networking session-4-final by aravind.R
Networking session-4-final by aravind.RNetworking session-4-final by aravind.R
Networking session-4-final by aravind.R
 
Dns 2
Dns 2Dns 2
Dns 2
 
How to add client computer into a domain using dhcp
How to add client computer into a domain using dhcpHow to add client computer into a domain using dhcp
How to add client computer into a domain using dhcp
 
DNS Server configuration in cisco packet tracer
DNS Server configuration in cisco packet tracerDNS Server configuration in cisco packet tracer
DNS Server configuration in cisco packet tracer
 
PandoraFMS: Free Monitoring System
PandoraFMS: Free Monitoring SystemPandoraFMS: Free Monitoring System
PandoraFMS: Free Monitoring System
 
DNS server packet tracer
DNS server packet tracerDNS server packet tracer
DNS server packet tracer
 
Adobe Connect on-premise SSL Guide
Adobe Connect on-premise SSL GuideAdobe Connect on-premise SSL Guide
Adobe Connect on-premise SSL Guide
 
Email server design(h.m merajul_hasan)
Email server design(h.m merajul_hasan)Email server design(h.m merajul_hasan)
Email server design(h.m merajul_hasan)
 
DNS server config on cisco packet tracer
DNS server config on cisco packet tracerDNS server config on cisco packet tracer
DNS server config on cisco packet tracer
 
Email server configuration on cisco packet tracer
Email server configuration on cisco packet tracerEmail server configuration on cisco packet tracer
Email server configuration on cisco packet tracer
 
Createlistener
CreatelistenerCreatelistener
Createlistener
 
Ftp server configuration on cisco packet tracer
Ftp server configuration on cisco packet tracerFtp server configuration on cisco packet tracer
Ftp server configuration on cisco packet tracer
 
VPN Server using Raspberry Pi
VPN Server using Raspberry PiVPN Server using Raspberry Pi
VPN Server using Raspberry Pi
 
DNS server configuration in packet tracer
DNS server configuration in packet tracerDNS server configuration in packet tracer
DNS server configuration in packet tracer
 
Mikrotik pcq
Mikrotik   pcqMikrotik   pcq
Mikrotik pcq
 

Similar to Oracle net ca guide by manish sharma

Createtnsnames
CreatetnsnamesCreatetnsnames
Createtnsnames
oracle documents
 
installation and configuration of informatica server
installation and configuration of informatica serverinstallation and configuration of informatica server
installation and configuration of informatica server
ketulp
 
How to publish your NAS on the Internet?
How to publish your NAS on the Internet?How to publish your NAS on the Internet?
How to publish your NAS on the Internet?
Thecus Technology Corp.,
 
Net scaler installation and configuration
Net scaler installation and configurationNet scaler installation and configuration
Net scaler installation and configuration
bimalkishore4
 
Configuremts
ConfiguremtsConfiguremts
Configuremts
oracle documents
 
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...
Mumbai B.Sc.IT Study
 
Ora12154
Ora12154Ora12154
2015 03 06 lmtv wtf http webcast
2015 03 06 lmtv wtf http webcast2015 03 06 lmtv wtf http webcast
2015 03 06 lmtv wtf http webcast
Tony Fortunato
 
An In-Depth Guide for Cleaning Server Log Data in KNIME
An In-Depth Guide for Cleaning Server Log Data in KNIMEAn In-Depth Guide for Cleaning Server Log Data in KNIME
An In-Depth Guide for Cleaning Server Log Data in KNIME
Ranq.io
 
Data warehousing labs maunal
Data warehousing labs maunalData warehousing labs maunal
Data warehousing labs maunal
Education
 
Oracle bi 10g_install_migration
Oracle bi 10g_install_migrationOracle bi 10g_install_migration
Oracle bi 10g_install_migration
Mlx Le
 
Implementing a network
Implementing a networkImplementing a network
Implementing a network
Jaleel James
 
Applications.docx
Applications.docxApplications.docx
Applications.docx
ssuserf7cd2b
 
Creating master and work repository
Creating master and work repositoryCreating master and work repository
Creating master and work repository
Ravi Kumar Lanke
 
Less05 Network
Less05 NetworkLess05 Network
Less05 Network
vivaankumar
 
Oracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection IssuesOracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection Issues
Markus Flechtner
 
OSTU - Quickstart Guide for Wireshark (by Tony Fortunato)
OSTU - Quickstart Guide for Wireshark (by Tony Fortunato)OSTU - Quickstart Guide for Wireshark (by Tony Fortunato)
OSTU - Quickstart Guide for Wireshark (by Tony Fortunato)
Denny K
 
Automated Deployment using Open Source
Automated Deployment using Open SourceAutomated Deployment using Open Source
Automated Deployment using Open Source
duskglow
 
SAP Ecc 5.0 installation
SAP Ecc 5.0 installationSAP Ecc 5.0 installation
SAP Ecc 5.0 installation
Bharath Battula
 
siemens-tcp-ip-ethernet-manual.pdf
siemens-tcp-ip-ethernet-manual.pdfsiemens-tcp-ip-ethernet-manual.pdf
siemens-tcp-ip-ethernet-manual.pdf
TestGg1
 

Similar to Oracle net ca guide by manish sharma (20)

Createtnsnames
CreatetnsnamesCreatetnsnames
Createtnsnames
 
installation and configuration of informatica server
installation and configuration of informatica serverinstallation and configuration of informatica server
installation and configuration of informatica server
 
How to publish your NAS on the Internet?
How to publish your NAS on the Internet?How to publish your NAS on the Internet?
How to publish your NAS on the Internet?
 
Net scaler installation and configuration
Net scaler installation and configurationNet scaler installation and configuration
Net scaler installation and configuration
 
Configuremts
ConfiguremtsConfiguremts
Configuremts
 
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...
 
Ora12154
Ora12154Ora12154
Ora12154
 
2015 03 06 lmtv wtf http webcast
2015 03 06 lmtv wtf http webcast2015 03 06 lmtv wtf http webcast
2015 03 06 lmtv wtf http webcast
 
An In-Depth Guide for Cleaning Server Log Data in KNIME
An In-Depth Guide for Cleaning Server Log Data in KNIMEAn In-Depth Guide for Cleaning Server Log Data in KNIME
An In-Depth Guide for Cleaning Server Log Data in KNIME
 
Data warehousing labs maunal
Data warehousing labs maunalData warehousing labs maunal
Data warehousing labs maunal
 
Oracle bi 10g_install_migration
Oracle bi 10g_install_migrationOracle bi 10g_install_migration
Oracle bi 10g_install_migration
 
Implementing a network
Implementing a networkImplementing a network
Implementing a network
 
Applications.docx
Applications.docxApplications.docx
Applications.docx
 
Creating master and work repository
Creating master and work repositoryCreating master and work repository
Creating master and work repository
 
Less05 Network
Less05 NetworkLess05 Network
Less05 Network
 
Oracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection IssuesOracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection Issues
 
OSTU - Quickstart Guide for Wireshark (by Tony Fortunato)
OSTU - Quickstart Guide for Wireshark (by Tony Fortunato)OSTU - Quickstart Guide for Wireshark (by Tony Fortunato)
OSTU - Quickstart Guide for Wireshark (by Tony Fortunato)
 
Automated Deployment using Open Source
Automated Deployment using Open SourceAutomated Deployment using Open Source
Automated Deployment using Open Source
 
SAP Ecc 5.0 installation
SAP Ecc 5.0 installationSAP Ecc 5.0 installation
SAP Ecc 5.0 installation
 
siemens-tcp-ip-ethernet-manual.pdf
siemens-tcp-ip-ethernet-manual.pdfsiemens-tcp-ip-ethernet-manual.pdf
siemens-tcp-ip-ethernet-manual.pdf
 

Recently uploaded

Build applications with generative AI on Google Cloud
Build applications with generative AI on Google CloudBuild applications with generative AI on Google Cloud
Build applications with generative AI on Google Cloud
Márton Kodok
 
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
oaxefes
 
DSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelinesDSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelines
Timothy Spann
 
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docxDATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
SaffaIbrahim1
 
Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024
ElizabethGarrettChri
 
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
mkkikqvo
 
Data Scientist Machine Learning Profiles .pdf
Data Scientist Machine Learning  Profiles .pdfData Scientist Machine Learning  Profiles .pdf
Data Scientist Machine Learning Profiles .pdf
Vineet
 
Module 1 ppt BIG DATA ANALYTICS NOTES FOR MCA
Module 1 ppt BIG DATA ANALYTICS NOTES FOR MCAModule 1 ppt BIG DATA ANALYTICS NOTES FOR MCA
Module 1 ppt BIG DATA ANALYTICS NOTES FOR MCA
yuvarajkumar334
 
Cell The Unit of Life for NEET Multiple Choice Questions.docx
Cell The Unit of Life for NEET Multiple Choice Questions.docxCell The Unit of Life for NEET Multiple Choice Questions.docx
Cell The Unit of Life for NEET Multiple Choice Questions.docx
vasanthatpuram
 
一比一原版马来西亚博特拉大学毕业证(upm毕业证)如何办理
一比一原版马来西亚博特拉大学毕业证(upm毕业证)如何办理一比一原版马来西亚博特拉大学毕业证(upm毕业证)如何办理
一比一原版马来西亚博特拉大学毕业证(upm毕业证)如何办理
eudsoh
 
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
slg6lamcq
 
Module 1 ppt BIG DATA ANALYTICS_NOTES FOR MCA
Module 1 ppt BIG DATA ANALYTICS_NOTES FOR MCAModule 1 ppt BIG DATA ANALYTICS_NOTES FOR MCA
Module 1 ppt BIG DATA ANALYTICS_NOTES FOR MCA
yuvarajkumar334
 
Discovering Digital Process Twins for What-if Analysis: a Process Mining Appr...
Discovering Digital Process Twins for What-if Analysis: a Process Mining Appr...Discovering Digital Process Twins for What-if Analysis: a Process Mining Appr...
Discovering Digital Process Twins for What-if Analysis: a Process Mining Appr...
Marlon Dumas
 
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
hyfjgavov
 
Econ3060_Screen Time and Success_ final_GroupProject.pdf
Econ3060_Screen Time and Success_ final_GroupProject.pdfEcon3060_Screen Time and Success_ final_GroupProject.pdf
Econ3060_Screen Time and Success_ final_GroupProject.pdf
blueshagoo1
 
一比一原版南昆士兰大学毕业证如何办理
一比一原版南昆士兰大学毕业证如何办理一比一原版南昆士兰大学毕业证如何办理
一比一原版南昆士兰大学毕业证如何办理
ugydym
 
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
z6osjkqvd
 
一比一原版(uob毕业证书)伯明翰大学毕业证如何办理
一比一原版(uob毕业证书)伯明翰大学毕业证如何办理一比一原版(uob毕业证书)伯明翰大学毕业证如何办理
一比一原版(uob毕业证书)伯明翰大学毕业证如何办理
9gr6pty
 
一比一原版悉尼大学毕业证如何办理
一比一原版悉尼大学毕业证如何办理一比一原版悉尼大学毕业证如何办理
一比一原版悉尼大学毕业证如何办理
keesa2
 
一比一原版莱斯大学毕业证(rice毕业证)如何办理
一比一原版莱斯大学毕业证(rice毕业证)如何办理一比一原版莱斯大学毕业证(rice毕业证)如何办理
一比一原版莱斯大学毕业证(rice毕业证)如何办理
zsafxbf
 

Recently uploaded (20)

Build applications with generative AI on Google Cloud
Build applications with generative AI on Google CloudBuild applications with generative AI on Google Cloud
Build applications with generative AI on Google Cloud
 
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
 
DSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelinesDSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelines
 
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docxDATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
 
Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024
 
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
 
Data Scientist Machine Learning Profiles .pdf
Data Scientist Machine Learning  Profiles .pdfData Scientist Machine Learning  Profiles .pdf
Data Scientist Machine Learning Profiles .pdf
 
Module 1 ppt BIG DATA ANALYTICS NOTES FOR MCA
Module 1 ppt BIG DATA ANALYTICS NOTES FOR MCAModule 1 ppt BIG DATA ANALYTICS NOTES FOR MCA
Module 1 ppt BIG DATA ANALYTICS NOTES FOR MCA
 
Cell The Unit of Life for NEET Multiple Choice Questions.docx
Cell The Unit of Life for NEET Multiple Choice Questions.docxCell The Unit of Life for NEET Multiple Choice Questions.docx
Cell The Unit of Life for NEET Multiple Choice Questions.docx
 
一比一原版马来西亚博特拉大学毕业证(upm毕业证)如何办理
一比一原版马来西亚博特拉大学毕业证(upm毕业证)如何办理一比一原版马来西亚博特拉大学毕业证(upm毕业证)如何办理
一比一原版马来西亚博特拉大学毕业证(upm毕业证)如何办理
 
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
 
Module 1 ppt BIG DATA ANALYTICS_NOTES FOR MCA
Module 1 ppt BIG DATA ANALYTICS_NOTES FOR MCAModule 1 ppt BIG DATA ANALYTICS_NOTES FOR MCA
Module 1 ppt BIG DATA ANALYTICS_NOTES FOR MCA
 
Discovering Digital Process Twins for What-if Analysis: a Process Mining Appr...
Discovering Digital Process Twins for What-if Analysis: a Process Mining Appr...Discovering Digital Process Twins for What-if Analysis: a Process Mining Appr...
Discovering Digital Process Twins for What-if Analysis: a Process Mining Appr...
 
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
 
Econ3060_Screen Time and Success_ final_GroupProject.pdf
Econ3060_Screen Time and Success_ final_GroupProject.pdfEcon3060_Screen Time and Success_ final_GroupProject.pdf
Econ3060_Screen Time and Success_ final_GroupProject.pdf
 
一比一原版南昆士兰大学毕业证如何办理
一比一原版南昆士兰大学毕业证如何办理一比一原版南昆士兰大学毕业证如何办理
一比一原版南昆士兰大学毕业证如何办理
 
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
 
一比一原版(uob毕业证书)伯明翰大学毕业证如何办理
一比一原版(uob毕业证书)伯明翰大学毕业证如何办理一比一原版(uob毕业证书)伯明翰大学毕业证如何办理
一比一原版(uob毕业证书)伯明翰大学毕业证如何办理
 
一比一原版悉尼大学毕业证如何办理
一比一原版悉尼大学毕业证如何办理一比一原版悉尼大学毕业证如何办理
一比一原版悉尼大学毕业证如何办理
 
一比一原版莱斯大学毕业证(rice毕业证)如何办理
一比一原版莱斯大学毕业证(rice毕业证)如何办理一比一原版莱斯大学毕业证(rice毕业证)如何办理
一比一原版莱斯大学毕业证(rice毕业证)如何办理
 

Oracle net ca guide by manish sharma

  • 1. REBELLIONRIDER.COM using Net Configuration Assistant (NetCA) HOW TO CREATE A TNS SERVICE YouTube.com/RebellionRIder BY MANISH SHARMA
  • 2. Thanks to Oracle Net Configuration Assistant, configuring a connect descriptor in tnsnames.ora file is a very easy task. In order to configure a TNS entry you will need some information, such as – Service Name: A service is a logical representation of a database. Every Database which you have configured on your server must have a corresponding service. You will need the name of the service of the database for which you are creating the entry in your tnsnames.ora file. Hostname:  Hostname will be the name of the machine where your Oracle Database Server is installed and configured. Port Number: Port number is where the listener of your Oracle Database is listening or addressing the requests. Suggested Reading How To FInd Out All This Information Blog | Video INTRODUCTION what you need to create a TNS service
  • 3. Oracle Net Configuration Assistant is a wizard based graphical user interface (GUI). This tool comes bundled with Oracle Database. Using it you can configure almost all the Network settings of your Oracle Database Server. Here I will show you how to use Oracle Net Assistant to create a TNS entry in tnsnames.ora file in an easy step-by-step manner. NetCA www.RebellionRIder.com
  • 4. As Net Configuration Assistant is going to modify tnsnames.ora file by adding an entry into it thus it is important that you launch your NetCA with administrator privileges. To launch the Oracle Net Configuration Assistant, we will use a Windows Dos/Linux command. That command is ‘netca’. LAUNCH THE ORACLE NET CONFIGURATION ASSISTANT. Have a productive vacation. www.RebellionRIder.com
  • 5. Run your command prompt with administrator privileges or shell with ‘SUDO’ rights. Run As Administrator www.RebellionRIder.com
  • 6. After that simply write netca on the prompt. This will start the Oracle Net Configuration Assistant. The  NetCA Command www.RebellionRIder.com
  • 7. 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’. STEP 1: CHOOSE THE CONFIGURATION. www.RebellionRIder.com
  • 8. 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 option ‘add’. STEP 2: SELECT THE ACTION. www.RebellionRIder.com
  • 9. 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 service name of a database. STEP 3: THE SERVICE NAME www.RebellionRIder.com
  • 10. In next three steps we will be configuring protocol address of the connect descriptor. The protocol address will be comprised of information like Network Protocol, hostname and the port number. You need to be very careful while specifying these information. 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 protocol address portion of the connect descriptor of the tnsnames.ora file is the same as that of the protocol address of the listener.ora file. BEFORE THE NEXT STEP  www.RebellionRIder.com
  • 11. You need to select a protocol using which the client will communicate with your database on the network. In my machine the server-client communication is using TCP network protocol. Thus, here select TCP and move ahead. STEP 4: THE NETWORK PROTOCOL www.RebellionRIder.com
  • 12. 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 your Oracle Server is using for establishing the communication between Client and server. By default, Oracle Server uses the port number 1521. STEP 5: THE HOSTNAME & THE PORT NUMBER www.RebellionRIder.com
  • 13. 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. Here Select ‘Yes, perform a test’ and press the ‘next’ button. STEP 6: TEST THE TNS www.RebellionRIder.com
  • 14. On the following screen press the change login button. STEP 6: TEST THE TNS www.RebellionRIder.com
  • 15. Here enter ‘system’ as your username and the password of your ‘system’ user. The password of your system user is the one which you specified during the installation of your Oracle Database. 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 message otherwise the NetCA will show you the error. STEP 6: TEST THE TNS www.RebellionRIder.com
  • 16. 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 connect descriptor. I suggest you not to change it. STEP 7: THE SERVICE NAME www.RebellionRIder.com
  • 17. 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’. STEP 8: ANOTHER NET SERVICE NAME www.RebellionRIder.com
  • 18. Congratulations you have created your connect descriptor/TNS service for your database. STEP 9: NET CONFIGURATION DONE! www.RebellionRIder.com
  • 19. This is a quick graphical guide on how to create a TNS service name in Oracle Database. Hope you enjoyed reading.     Suggested Readings Your Ultimate Guide to Oracle TNS. How to connect with database using TNS Service. Thanks RebellionRider.com THANKS