Oracle 11g OCP Notes (4)--Network services

Source: Internet
Author: User

1. Configure Network Services

1.1 Oracle NET and client-server cases.

1.2 Oracle NET and communication protocols.

1.3 Establish the session.

Linking to a local instance

Name resolution

Start the server process

1.4 Create listeners.

Netca

1.5 Database Registration

Dynamic registration and Static registration

1.6 Techniques for resolving names

3. Name resolution
Session: CONNECT system/****** @service_name;
@service_name need to parse.


(1). Easy Connect (starting with version 10g)
Sql> Connect Scott/[email protected]:1521/service_name;


(2) Local name resolution Tnsname
Tnsname configuration file: $ORACLE _home/network/admin/tnsnames.ora
Include: Service alias, protocol, address, port, service name, or instance name.
The Tnsname configuration can be configured using the NETCA program.
Test Tnsname settings: tnsping service_name


Service1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = hostname) (PORT = 1521))
(Connect_data =
(SERVER = dedicated)
(service_name = db_name.domain.com)
)
)


Service2 =
(DESCRIPTION =
(Address_list =
(ADDRESS = (PROTOCOL = TCP) (HOST = hostname) (PORT = 1521))
)
(Connect_data =
(SID = Db_name)
)
)


(3) External name resolution
LDAP Directory server

1.7 Monitoring Manager

Listener configuration file: $ORACLE _home/network/admin/listener.ora
Default listener host 1521 port.

LISTENER =
(Description_list =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = hostname) (PORT = 1521))
(ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521))
)
)


The listener can use the NETCA program configuration.
Listener Control Program Lsnrctl:
Start Start listener
Stop Stop Listener
Status Viewing Listener status
Services viewing the services provided by the listener
version viewing the listener version
Reload re-loading the listener
save_config Saving configuration changes to a configuration file Listener.ora
Trace Tracking Listener activity
change_password Setting the listener password
quit exit the listener without saving changes
exit Exit Listener, Save changes
set sets various options, such as tracking and timeouts.
Show Displays the options that have been set for the listener

1.8 Configure the Network service alias.

1.9 FileName and Tnsadmin

There are three files that need to be managed, they are located in Oracle_home/network/admin

environment variable Tns_admin. Specify the location of the three configuration files???????

Note a figure---------------------------------------

1.10 Creating a linked server

2. Shared Server

Oracle 11g OCP Notes (4)--Network services

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.