Professional Documents
Culture Documents
Scope
This instruction covers how to create a Net Service Name in the tnsnames.ora File.
Distribution
Oracle Client User*
Ownership
The Data Warehouse Administrator, Marco Cestaro [mcestaro@ithaca.edu], is responsible for ensuring that this document is necessary and that it reflects actual practice.
Page 1 of 10
INSGNG01.DOC Rev 1
Activity Preface
These tasks are performed whenever you need to make a connection to a database.
Page 2 of 10
INSGNG01.DOC Rev 1
2.
Select Local Net Service Name configuration on the Welcome box. Click Next.
3.
Page 3 of 10
INSGNG01.DOC Rev 1
4.
5.
Page 4 of 10
INSGNG01.DOC Rev 1
NOTE: Service Names ods.qa qa equals the instance of the database your accessing ods.prod another example of the service name accessing the production instance 6. Highlight TCP Protocol. TCP has been configured for the Listener. The protocols must be installed on the client machine in order for the Listener to run. Click Next.
7.
Enter in the Host Name field quito.ithaca.edu. This is the name for where the database is located.
Page 5 of 10
INSGNG01.DOC Rev 1
Page 6 of 10
INSGNG01.DOC Rev 1
NOTE: Host Names quito.ithaca.edu quito accesses the qa instance vista.ithaca.edu vista accesses the prod instance
NOTE: Upon connection to ORA-01017, you will receive a message indicating, The test did not succeed. This message is telling you that your attempt to login to the database was unsuccessful, but you have been able to connect to the server. If the database and listener are not running at the same time, select, No, do not test, and then choose Next. 8. 9. When the test is complete, click Next. The Net Service Name Configuration box appears. Enter ods.qa in the Net Service Name field and then click Next.
Page 7 of 10
INSGNG01.DOC Rev 1
10. Select No if you do not want to configure any more net service names or Yes to configure another net service name. Click Next.
Page 8 of 10
INSGNG01.DOC Rev 1
NOTE: If you select Yes to configure another net service name, you will need to repeat steps 4-9 of this document.
11. When you have finished with the configuration of another Net Serve Name, click Next. A final box will appear indicating you have completed the configuration process.
Page 9 of 10
INSGNG01.DOC Rev 1
12. Click Next and then Finish. You have successfully made a connection to a database.
Page 10 of 10
INSGNG01.DOC Rev 1