首页 > 编程 > .NET > 正文

chapter4:Configuring the Network Environment

2024-07-21 02:07:53
字体:
来源:转载
供稿:网友
chapter 4: configuring the network environment   purpose
this chapter helps you to configure and manage your network environment so that users can access your database.
topics
this chapter discusses the following:
using the enterprise manager net services administration page starting the listener using enterprise manager starting the listener using the listener control utility configuring local naming for connecting to other databases viewing screenshots
move your mouse over this icon to show all screenshots. you can also move your mouse over each individual icon to see only the screenshot associated with it.
using the enterprise manager net services administration page
back to topic list

the net services administration page can be used to manage oracle net services.



follow the steps below to access the net services administration page:
1.
log in to enterprise manager database console by opening your browser and specifying the sys username and password.

click login.

 
2. click the listener link in the general section of the database home page.


 
3. the listener home page is displayed. scroll down to the bottom of the page.


 
4. click net services administration in the related links section.


 
5. the net services administration page is displayed. this page provides a means of administering listeners, directory naming, local naming, and specifying the file location.


 

 
starting the listener using enterprise manager
back to topic list

in this section you learn how to start the listener using enterprise manager. note: you will not be able to access enterprise manager database control in your browser if the listener is down. the steps listed in this section are only applicable if you have an enterprise manager database control window open. if you do not, refer to the next section for detailed information on starting the listener using the listener control utility.

perform the steps listed below to start the listener using enterprise manager:
1. click the listener link in the general section of the database home page.


 
2. the listener home page is displayed. click start to start the listener.


 
3. the start/stop: listener page is displayed. click ok.


 
4. the processing: start listener page is displayed. the listener home page is displayed after the listener is started.


 

 
starting the listener using the listener control utility
back to topic list

in this section you learn how to start the listener using the listener control utility. these steps are applicable when you cannot access enterprise manager database control to start your listener.

perform the steps listed below to start the listener using the listener control utility:
1.
log on to the operating system as the oracle user. issue the following command to start the listener:

lsnrctl start



 
2.
you can check the status of the listener by issuing the following command:

lsnrctl status



 

 
configuring local naming for connecting to other databases
back to topic list

in this section you configure local naming to connect to another database. you can configure local naming using net manager on a client pc or using enterprise manager as described in the following sections:
configuring local naming using net manager configuring local naming using enterprise manager configuring local naming using net manager
back to topic list

you must configure a client machine so it can connect to an oracle database. you must first install oracle database client software, which includes oracle net software. once you have installed oracle net, you can use oracle net manager to configure a net service name using the local naming method as follows:
1.
on windows, start oracle net manager by clicking:

start->programs->oracle->configuration and migration tools->net manager

on unix or linux, invoke oracle net manager by entering netmgr at the command line.



the welcome page appears.



 
2.
expand local and select service naming. click the (plus) + on the left hand side of the page.



 
3.
the net service name wizard appears. enter a net service name. click next.



 
4.
select the protocol to use to connect to your database. you can accept the default tcp/ip (internet protocol). the database listener must be configured to use the same network protocol. click next.



 
5.
enter the host name of the database machine. click next.



 
6.
enter the database service name. in addition, select a connection type, either shared or dedicated. if you are unsure or would like to use the default database connection type, select database default. click next.



 
7.
the last page of the wizard enables you to test the connection using the information you entered.



 
8.
you can change the default login by clicking change login and entering a username and password. click test. the wizard tells you if the connection test succeed or not. click close and then click finish.



 
9.
the new service appears under the service naming folder. you can view or modify the configuration for the highlighted service under service identification and address configuration.



 

 
configuring local naming using enterprise manager
back to topic list

perform the steps listed below to configure a net service name using enterprise manager as follows:
1. click the listener link in the general section of the database home page.


 
2. the listener home page is displayed. scroll down to the bottom of the page. click net services administration in the related links section.


 
3. the net services administration page is displayed. select the appropriate configuration file location. select local naming from the administer pull down menu. click go.


 
4. enter your host username and password and click login.


 
5. the local naming page is displayed. click the create button or select an existing net service name and click create like.


 
6.
the create net service name general page is displayed. enter a name in the net service name field. in the database information section, configure service support by entering a destination service and selecting a database connection type. if the destination service is an oracle8i or later release database, then select use service name, and enter a service name in the service name field. if the destination service is an oracle release 8.0 database, then select use sid, and enter an oracle system identifier for an instance in the sid field. then scroll down to the bottom of the page. in the addresses section, configure protocol support. click add.

note: if you are performing this task on the same machine that you configured local naming using net manager, be sure to enter a different name in the net service name field.



 
7. the add address page is displayed. from the protocol list, select the protocol upon which the listener is configured to listen. enter the port and host fields. these must match the listening address. click ok.


 
8. the create net service name page is displayed again. click ok. a successful creation message is displayed on the local naming page.


 
9. select the net service name you just created. click test connection.


 
10. enter the password for dbsnmp and click test.


 
11. the test result page is displayed. click ok.


 

move your mouse over this icon to hide all screenshots

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表