PK
Doa, mimetypeapplication/epub+zipPK D iTunesMetadata.plistI
A network object is identified by a protocol address. When a connection is made, the client and the receiver of the request (listener or Oracle Connection Manager) are configured with identical protocol addresses.
The client uses this address to send the connection request to a particular network object location, and the recipient "listens" for requests on this address, and grants a connection based on its address information matching the client information.
This chapter contains the following topics:
The protocol address is comprised of ADDRESS and ADDRESS_LIST elements.
Purpose
To define a protocol address.
Usage Notes
Put this parameter under an ADDRESS_LIST
or DESCRIPTION
parameter. A DESCRIPTION
is used in a tnsnames.ora
or a listener.ora
file.
Example
(ADDRESS= (PROTOCOL=tcp) (HOST=sales-server) (PORT=1521))
See Also:
|
Purpose
To define a list of protocol addresses that share common characteristics.
Usage Notes
This parameter is not mandatory when specifying multiple addresses.
Example
(ADDRESS_LIST= (LOAD_BALANCE=on) (ADDRESS= (PROTOCOL=tcp) (HOST=sales-server) (PORT=1521)) (ADDRESS= (PROTOCOL=tcp) (HOST=hr-server) (PORT=1521)))
The listener and Oracle Connection Manager are identified by protocol addresses. Table 4-1 lists the parameters used by the Oracle protocol support.
Table 4-1 Protocol-Specific Parameters
Protocol | Parameter | Description |
---|---|---|
Specify | ||
Specify a unique name for the service. Oracle recommends using the service name or the Oracle system identifier (SID) of the service. Example: (PROTOCOL=ipc)(KEY=sales) | ||
Specify | ||
Specify the name of the Oracle server. | ||
Specify the pipe name used to connect to the database server. This is the same Example: (PROTOCOL=nmp)(SERVER=sales)(PIPE=dbpipe0) | ||
Specify | ||
Specify the host name or IP address of the computer. | ||
Specify the listening port number. Example: (PROTOCOL=sdp)(HOST=sales-server) | ||
Specify | ||
Specify the host name or IP address of the computer. | ||
Specify the listening port number. Example: (PROTOCOL=tcp)(HOST=sales-server) | ||
Specify | ||
Specify the host name or IP address of the computer. | ||
Specify the listening port number. Example: (PROTOCOL=tcps)(HOST=sales-server) |
Table 4-2 lists the recommends the port numbers.
Table 4-2 Recommended Port Numbers
Port | Description |
---|---|
Default listening port for client connections to the listener. This port number may change to the officially registered port number of 2483 for TCP/IP and 2484 for TCP/IP with SSL. | |
1521 |
Default and officially registered listening port for client connections to Oracle Connection Manager. |
1830 |
Default and officially registered listening port for administrative commands to Oracle Connection Manager. |
Oracle allows port numbers from 1 to 65535. However, many operating systems reserve port numbers less than 1024. For example, on certain operating systems, only privileged processes can listen for TCP connections on ports less than 1024.
If you need to configure a listener to listen on a port number less than 1024, then do the following procedure:
Note: Your operating system may require a different procedure. |
Use Oracle Net Configuration Assistant or Oracle Net Manager to configure the listener with protocol addresses and other configuration parameters.
Log in as the root
user on the machine that has the listener.
Set file ownership and access permissions for the listener executable (tnslsnr
) and the dependent shared libraries so that these files can be modified only by the root
user.
Ensure that the permissions of the individual directories found in the path names to these files, starting with the root
directory have the same ownership and access permissions.
Start the listener as the root
user.
Enter the following command at the system prompt:
tnslsnrlistener_name
-useruser
-groupgroup
In the preceding command, the following options are used:
Table 4-3 tnslsnr Utility Options
Options | Description |
---|---|
listener_name |
Specify the name of the listener. If omitted, then the default name |
user |
Specify the user whose privileges the listener will use when super user ( |
group |
Specify the group whose privileges the listener will use when super user ( |
During this step, the listener switches to the specified user and group. All operations are done with the specified user and group privileges, except the system calls necessary to listen on configured endpoints. The listener reverts to the root
user to listen on reserved addresses, such as TCP ports less than 1024.
After the listener starts listening on all of its endpoints configured in listener.ora
, it switches to the specified user and group irreversibly. Therefore, the listener will give up the root
privilege that it initially had. The -user
and -group
command line arguments only accept user and group identifiers specified in numeric form.
For example, to run a listener with root privileges called mylsnr
and have it use privileges of a user identified as 37555 with a group identifier of 16, enter the following at the operating system command prompt:
tnslsnr mylsnr -user 37555 -group 16
In the preceding example, 37555 could be the identifier for the oracle
user, and 16 could be the identifier for the dba
group.
After the listener has been started, you can administer it with the Listener Control utility.
Important Notes:
|
Net Services Reference
12c Release 1 (12.1)
E17611-12
June 2014
Oracle Database Net Services Reference, 12c Release 1 (12.1)
E17611-12
Copyright © 2002, 2014, Oracle and/or its affiliates. All rights reserved.
Primary Author: Caroline Johnston
Contributor: The Oracle Database 12c documentation is dedicated to Mark Townsend, who was an inspiration to all who worked on this release.
Contributors: Robert Achacoso, Abhishek Dadhich, Santanu Datta, Steve Ding, Feroz Khan, Peter Knaggs, Bhaskar Mathur, Scot McKinley, Ed Miner, Sweta Mogra, Srinivas Pamu, Kant Patel, Hector Pujol, Murali Purayathu, Karthik Rajan, Saravanakumar Ramasubramanian, Sudeep Reguna, Ching Tai, Norman Woo
This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable:
U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Government.
This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group.
This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.
Oracle Net Services provides control utilities to administer listeners, and Oracle Connection Manager. Part 1 lists the commands that are available with each utility, including any applicable prerequisites, passwords, syntax or argument rules, and usage notes or examples to help you use them.
This part contains the following chapters:
access control list (ACL)
The group of access directives that you define. The directives grant levels of access to specific data for specific clients or groups of clients.
access control
A feature of Oracle Connection Manager that sets rules for denying or allowing certain clients to access designated servers.
alias
An alternative name for a network object in a server. An alias stores the name of the object it is referencing. When a client requests a lookup of an alias, Oracle completes the lookup as if it is the referenced object.
application gateway
A host computer that runs the Oracle Net Firewall Proxy. An application gateway looks and acts like a real server from the client's point of view, and a real client from the server's point of view. An application gateway sits between the Internet and company's internal network and provides middleman services (or proxy services) to users on either side.
ASCII character set
American Standard Code for Information Interchange character set, a convention for representing alphanumeric information using digital data. The collation sequence used by most computers with the exception of IBM and IBM-compatible computers.
attribute
A piece of information that describes an aspect of a directory entry. An entry comprises a set of attributes, each of which belongs to an object class. Moreover, each attribute has both a type, which describes the kind of information in the attribute, and a value which contains the actual data.
authentication method
A security method that enables you to have high confidence in the identity of users, clients, and servers in distributed environments. Network authentication methods can also provide the benefit of single sign-on for users. The following authentication methods are supported:
RADIUS (Remote Authentication Dial-In User Service)
Kerberos
Automatic Diagnostic Repository (ADR)
Automatic Diagnostic Repository is a systemwide central repository for tracing and logging files. The repository is a file-based hierarchical data store for depositing diagnostic information.
cache
Memory that stores recently-accessed data to so that subsequent requests to access the same data can be processed quickly.
CIDR
Classless Inter-Domain Routing. In CIDR notation, an IPv6 subnet is denoted by the subnet prefix and the size in bits of the prefix (in decimal), separated by the slash (/
) character. For example, 2001:0db8:0000:0000::/64
denotes a subnet with addresses 2001:0db8:000:0000:0000:0000:0000:0000
through 2001:0db8:000:0000:FFFF:FFFF:FFFF:FFFF
. The CIDR notation includes support for IPv4 addresses. For example, 192.0.2.1/24
denotes the subnet with addresses 192.0.2.1
through 192.0.2.255
.
client
A user, software application, or computer that requests the services, data, or processing from another application or computer. The client is the user process. In a network environment, the client is the local user process and the server may be local or remote.
client load balancing
Load balancing, whereby if more than one listener services a single database, a client can randomly choose between the listeners for its connect requests. This randomization enables all listeners to share the burden of servicing incoming connect requests.
client profile
The properties of a client, which may include the preferred order of naming methods, client and server logging and tracing, the domain from which to request names, and other client options.
client/server architecture
Software architecture based on a separation of processing between two CPUs. One CPU acts as the client in the transaction, requesting and receiving services. The other acts as the server that provides service for the requests.
cman.ora file
An Oracle Connection Manager configuration file that specifies protocol addresses for incoming requests and administrative commands, as well as Oracle Connection Manager parameters and access control rules.
CMADMIN (Connection Manager Administration)
An Oracle Connection Manager process that monitors the health of the listener and Oracle Connection Manager gateway processes, shutting down and starting processes as needed. CMADMIN registers information about gateway processes with the listener and processes commands run with the Oracle Connection Manager Control utility.
CMGW (Connection Manager gateway)
An Oracle Connection Manager process that receives client connections screened and forwarded by the listener located at the Oracle Connection Manager instance. The gateway process forwards the requests to the database server. In addition, it can multiplex or process multiple client connections through a single protocol connection.
connect data
A portion of the connect descriptor that defines the destination database service name or Oracle system identifier (SID). In the following example, SERVICE_NAME
defines a database service called sales.us.example.com
:
(DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=sales-server)(PORT=1521) (CONNECT_DATA= (SERVICE_NAME=sales.us.example.com)))
connect descriptor
A specially-formatted description of the destination for a network connection. A connect descriptor contains destination service and network route information.
The destination service is indicated by using its service name. The network route provides, at a minimum, the location of the listener through use of a network address.
connect identifier
A connect descriptor or a name that maps to a connect descriptor. A connect identifier can be a network service name, database service name, or network service alias. Users initiate a connect request by passing a user name and password along with a connect identifier in a connect string for the service to which they want to connect:
CONNECTusername
@
connect_identifier
connect string
Information the user passes to a service to connect, such as user name, and connect identifier:
CONNECTusername
@
net_service_name
connect-time failover
A client connect request is forwarded to a another listener if a listener is not responding. Connect-time failover is enabled by service registration, because the listener knows if an instance is running to attempt a connection.
connection
An interaction between two processes on a network. Connections are originated by an initiator (client) that requests a connection with a destination (server).
connection load balancing
The method for balancing the number of active connections for the same service across the instances and dispatchers. Connection load balancing enables listeners to make routing decisions based on how many connections for each dispatcher and the load on the nodes.
connection request
A notification sent by an initiator and received by a listener that indicates that the initiator wants to start a connection.
database link
A pointer that defines a one-way communication path from an Oracle database server to another database server. Public and private database links are a defined entries in a data dictionary table. Global database links are stored in an LDAP directory and can be accessed by all users on the network. To access public and private links, the user must be connected to the local database that contains the data dictionary entry.
A client connected to local database A can use a public or private link stored in database A to access information in remote database B. However, users connected to database B cannot use the same link to access data in database A. If local users on database B want to access data on database A, then a link must be defined and stored in the data dictionary of database B. Global links may be used between any clients and database on the network.
The following database links are supported:
A private database link in a specific schema of a database. Only the owner of a private database link can use it.
A public database link for a database. All users in the database can use it.
A global database link is a database link stored in the LDAP directory.
dedicated server
A server process that is dedicated to one client connection. Contrast with shared server.
default domain
The domain within which most client requests take place. It could be the domain where the client resides, or it could be a domain from which the client requests network services often. Default domain is also the client configuration parameter that determines what domain should be appended to unqualified network name requests. A name request is unqualified if it does not have a period (.) character within it.
directory information tree (DIT)
A hierarchical tree-like structure in a directory server of the distinguished names (DNs) of the entries. This structure is specific to x500 and LDAP.
directory naming
A naming method that resolves a database service, network service name, or network service alias to a connect descriptor stored in a central directory server. A directory server provides central administration of directory naming objects, reducing the work effort associated with adding or relocating services.
directory server
A directory server that is accessed with the Lightweight Directory Access Protocol (LDAP). Support of LDAP-compliant directory servers provides a centralized method for managing and configuring a distributed Oracle network. The directory server can replace client-side and server-side localized tnsnames.ora
files.
dispatcher
A process that enables many clients to connect to the same server without the need for a dedicated server process for each client. A dispatcher handles and directs multiple incoming network session requests to shared server processes.
distinguished name (DN)
Name of entry in a directory server. The DN specifies where the entry resides in the LDAP directory hierarchy, similar to the way a directory path specifies the exact location of a file.
distributed processing
Division of front-end and back-end processing to different computers. Oracle Net Services supports distributed processing by transparently connecting applications to remote databases.
domain
Any tree or subtree within the Domain Name System (DNS) namespace. Domain most commonly refers to a group of computers whose host names share a common suffix, the domain name.
Domain Name System (DNS)
A system for naming computers and network services that is organized into a hierarchy of domains. DNS is used in TCP/IP networks to locate computers through user-friendly names. DNS resolves a friendly name into an IP address, which is understood by computers.
For Oracle Net Services, DNS translates the host name in a TCP/IP address into an IP address.
enterprise role
An enterprise role is analogous to a regular database role, except that it spans authorization on multiple databases. An enterprise role is a category of roles that define privileges on a particular database. An enterprise role is created by the database administrator of a particular database. An enterprise role can be granted to or revoked from one or more enterprise users. The information for granting and revoking these roles is stored in the directory server.
enterprise user
A user that has a unique identity across an enterprise. Enterprise users connect to individual databases through a schema. Enterprise users are assigned enterprise roles that determine their access privileges on databases.
entry
The building block of a directory server, it contains information about an object of interest to directory users.
external naming
A naming method that uses a third-party naming service, such as Network Information Service (NIS).
external procedure
Function or procedure written in a third-generation language (3GL) that can be called from PL/SQL code. Only C is supported for external procedures.
FTP
File Transfer Protocol. A client/server protocol which allows a user on one computer to transfer files to and from another computer over a TCP/IP network.
global database link
A database link definition stored in an LDAP directory which can be accessed by all users on the network. This definition is the same as the one used for client connections to the database (name/connect-descriptor).
Global database links cannot include user or password clauses. They only work when the database initiating the link uses the identity of the existing client to establish the link.
global database name
The full name of the database which uniquely identifies it from any other database. The global database name is of the form "database_name
.
database_domain
," for example, sales.us.example.com
.
The database name portion, sales
, is a simple name to call a database. The database domain portion, us.example.com
, specifies the database domain which the database is located, making the global database name unique. When possible, Oracle recommends that your database domain mirror the network domain.
The global database name is the default service name of the database, as specified by the SERVICE_NAMES
parameter in the initialization parameter file.
Heterogeneous Services
An integrated component that provides the generic technology for accessing non-Oracle systems from the Oracle database server. Heterogeneous Services enables you to:
Use Oracle SQL to transparently access data stored in non-Oracle systems as if the data resides within an Oracle server.
Use Oracle procedure calls to transparently access non-Oracle systems, services, or application programming interfaces (APIs), from your Oracle distributed environment.
hierarchical naming model
An infrastructure in which names are divided into multiple hierarchically-related domains.
host naming
A naming method resolution that enables users in a TCP/IP environment to resolve names through their existing name resolution service. This name resolution service might be Domain Name System (DNS), Network Information Service (NIS), or simply a centrally-maintained set of /etc/hosts
files. Host naming enables users to connect to an Oracle database server by simply providing the server computer's host name or host name alias. No client configuration is required to take advantage of this feature. This method is recommended for simple TCP/IP environments.
HTTP
Hypertext Transfer Protocol. A protocol that provides the language that enables Web browsers and application Web servers to communicate.
identity management realm
A collection of identities, all of which are governed by the same administrative policies. In an enterprise, all employees having access to the intranet may belong to one realm, while all external users who access the public applications of the enterprise may belong to another realm. An identity management realm is represented in the directory by a specific entry with a special object class associated with it.
instance
The combination of the System Global Area (SGA) and the Oracle background processes. When a database is started on a database server (regardless of the type of computer), Oracle allocates a memory area called the SGA, and starts one or more Oracle processes. The memory and processes of an instance efficiently manage the associated database data and serve the database users. You can connect to any instance to access information within a cluster database.
instance name
A name of an Oracle database instance. The instance name is identified by the INSTANCE_NAME parameter in the database initialization parameter file. INSTANCE_NAME corresponds to the Oracle system identifier (SID) of the instance. Clients can connect to a specific instance by specifying the INSTANCE_NAME parameter in the connect descriptor.
The instance name is included in the connect data part of the connect descriptor.
IP address
Used to identify a node on a network. Each computer on the network is assigned a unique Internet Protocol (IP) address, which is made up of the network ID, and a unique host ID. This address is typically represented in dotted-decimal notation, with the decimal value of each octet separated by a period, for example 192.0.2.22
.
IPC
Interprocess Communication is a protocol used by client applications that resides on the same node as the listener to communicate with the database. IPC can provide a faster local connection than TCP/IP.
IPv4
Internet Protocol Version 4. IPv4 is the current standard for the IP protocol. IPv4 uses 32-bit (four-byte) addresses, which are typically represented in dotted-decimal notation. The decimal value of each octet is separated by a period, as in 192.0.2.22
.
IPv6
Internet Protocol Version 6. The protocol designed to replace IPv4. In IPv6, an IP address is typically represented in eight fields of hexadecimal values separated by colons, as in 2001:0db8:0000:0000:0000:0000:1428:57AB
. In some cases, fields with 0
values can be compressed, as in 2001:DB8::1428:57AB
.
Java Database Connectivity (JDBC) Driver
A driver that provides Java applications and applets access to an Oracle database.
JDBC OCI Driver
A Type II driver for use with client/server Java applications. This driver requires an Oracle client installation.
JDBC Thin Driver
A Type IV driver for Oracle JDBC applets and applicat ions. Because it is written entirely in Java, this driver is platform-independent. It does not require any additional Oracle software on the client side. The Thin driver communicates with the server using Two-Task Common (TTC), a protocol developed by Oracle to access the database server.
keyword-value pair
The combination of a keyword and a value, used as the standard unit of information in connect descriptors and many configuration files. Keyword-value pairs may be nested; that is, a keyword may have another keyword-value pair as its value.
ldap.ora file
A file created by Oracle Internet Directory Configuration Assistant or Oracle Net Configuration Assistant that contains the following directory server access information:
Type of directory server
Location of the directory server
Default Oracle Context that the client or server use to look up or configure connect identifiers for connections to database services
When created with Oracle Internet Directory Configuration Assistant, the ldap.ora
file is located in the ORACLE_HOME/ldap/admin
directory. When created with Oracle Net Configuration Assistant, the ldap.ora
file is located in the ORACLE_HOME/network/admin
directory.
LDIF
LDAP Data Interchange Format (LDIF) is the set of standards for formatting an input file for any of the LDAP command line utilities.
Lightweight Directory Access Protocol (LDAP)
A standard, extensible directory access protocol. It is a common language that LDAP clients and servers use to communicate. The framework of design conventions supporting industry-standard directory servers.
link qualifier
An extension to the database link name which specifies the connect name used to connect to the database. It provides alternate settings for the database user name and password credentials. For example, a link qualifier of fieldrep
can be appended to a global database link of sales.us.example.com
.
SQL> SELECT * FROM emp@sales.us.example.com@fieldrep
Listener Control utility
A utility included with Oracle Net Services to control listener functions, such as starting, stopping, and getting the status of the listener.
listener.ora file
A configuration file for the listener that identifies the following for a listener:
Unique name
Protocol addresses that it is accepting connection requests on
Services it is listening for
The listener.ora
file typically resides in the ORACLE_HOME/network/admin
directory.
Oracle does not require identification of the database service because of service registration. However, static service configuration is required if you plan to use Oracle Enterprise Manager Cloud Control.
Listener Registration (LREG)
As a part of service registration, LREG registers instance information with the listener. LREG is an instance background process of each database instance that is configured in the database initialization parameter file.
load balancing
A feature by which client connections are distributed evenly among multiple listeners, dispatchers, instances, and nodes so that no single component is overloaded.
Oracle Net Services support client load balancing and connection load balancing.
local naming
A naming method that locates network addresses by using information configured and stored on each individual client's tnsnames.ora file. Local naming is most appropriate for simple distributed networks with a small number of services that change infrequently.
location transparency
A distributed database characteristic that enables applications to access data tables without knowing where they reside. All data tables appear to be in a single database, and the system determines the actual data location based on the table name. The user can reference data on multiple nodes in a single statement, and the system automatically and transparently routes (parts of) SQL statements to remote nodes for execution if needed. The data can move among nodes with no impact on the user or application.
logging
A feature in which errors, service activity, and statistics are written to a log file. The log file provides additional information for an administrator when the error message on the screen is inadequate to understand the failure. The log file, by way of the error stack, shows the state of the software at various layers.
See also tracing.
loopback test
A connection from the server back to itself. Performing a successful loopback verifies that Oracle Net is functioning on the database server.
Microsoft Active Directory
An LDAP-compliant directory server included with Microsoft Windows 2000 Server. It stores information about objects on the network, and makes this information available to users and network administrators. Active Directory also provides access to resources on the network using a single logon process.
Microsoft Active Directory can be configured as a directory naming method to store service information that clients can access.
Microsoft Windows NT native authentication
An authentication method that enables a client single login access to a Microsoft Windows NT server and a database running on the server.
Named Pipes protocol
A high-level interface protocol providing interprocess communications between clients and servers using distributed applications. Named Pipes enables client/server conversation over a network using Named Pipes protocol.
naming context
A subtree that resides entirely on one directory server. It is a contiguous subtree, that is, it must begin at an entry that serves as the top of the subtree, and extend downward to either leaf entries or references to subordinate naming contexts. It can range in size from a single entry to the entire directory information tree (DIT).
Oracle Context can be created under a naming context.
naming method
The resolution method used by a client application to resolve a connect identifier to a connect descriptor when attempting to connect to a database service. Oracle Net provides four naming methods:
Easy Connect naming
network service alias
An alternative name for a directory naming object in a directory server. A directory server stores network service aliases for any defined network service name or database service. A network service alias entry does not have connect descriptor information. Instead, it only references the location of the object for which it is an alias. When a client requests a directory lookup of a network service alias, the directory determines that the entry is a network service alias and completes the lookup as if it was actually the entry it is referencing.
network service name
A simple name for a service that resolves to a connect descriptor. Users initiate a connect request by passing a user name and password along with a network service name in a connect string for the service to which they want to connect:
CONNECT
username/password@net_service_name
Depending on your needs, network service names can be stored in a variety of places, including:
Local configuration file, tnsnames.ora
, on each client
Directory server
External naming service, such as NIS
network
A group of two or more computers linked through hardware and software to allow the sharing of data and peripherals.
network administrator
The person who performs network management tasks such as installing, configuring, and testing network components. The administrator typically maintains the configuration files, connect descriptors and service names, aliases, and public and global database links.
network character set
As defined by Oracle, the set of characters acceptable for use as values in keyword-value pairs (that is, in connect descriptors and configuration files). The set includes alphanumeric uppercase, and lowercase, and some special characters.
Network Information Service (NIS)
The client/server protocol for distributing system configuration data such as user and host names between computers on a network. This service was formerly known as "Sun Microsystems Yellow Pages (yp)."
Network Interface (NI)
A network layer that provides a generic interface for Oracle clients, servers, or external processes to access Oracle Net functions. The network interface layer handles the break and reset requests for a connection.
Network Program Interface
An interface for server-to-server interactions that performs all of the functions that the Oracle Call Interface (OCI) does for clients, allowing a coordinating server to construct SQL requests for additional servers.
Network Session (NS)
A session layer that is used in typical Oracle Net connections to establish and maintain the connection between a client application and a database server.
object class
In a directory server, a named group of attributes. To assign attributes to an entry, do so by assigning the object classes that hold those attributes to that entry.
All objects associated with the same object class share the attributes of that object class.
Open Systems Interconnection (OSI)
Open Systems Interconnection is a network architecture model developed by ISO as a framework for international standards in heterogeneous computer network architecture.
The OSI architecture has seven layers, from lowest to highest:
Physical layer
Data link layer
Network layer
Transport layer
Session layer
Presentation layer
Application layer
Oracle Advanced Security
An Oracle product that provides Transparent Data Encryption (TDE) and data redaction.
Oracle Call Interface (OCI)
An application programming interface (API) that enables creation of applications that use the native procedures or function calls of a third-generation language to access an Oracle database server and control all phases of SQL statement execution. OCI supports the data types, calling conventions, syntax, and semantics of a number of third-generation languages including C, C++, COBOL and FORTRAN.
Oracle Connection Manager
A router through which a client connection request may be sent either to its next hop or directly to the database server. Clients who route their connection requests through Oracle Connection Manager can then take advantage of the session multiplexing, access control, or protocol conversion features configured for that Oracle Connection Manager.
Oracle Connection Manager Control utility
A utility included with Oracle Net Services to control various functions, such as starting, stopping, and getting the status of Oracle Connection Manager.
Oracle Context
An entry in an LDAP-compliant Internet directory called cn=OracleContext
, under which all Oracle software relevant information is kept, including entries for Oracle Net Services directory naming and checksumming security. There may be one or more than one Oracle Context in a directory. An Oracle Context entry can be associated with a directory naming context.
Oracle Internet Directory automatically creates an Oracle Context at the root of the DIT structure. This root Oracle Context has a DN of dn:cn=OracleContext
.
Oracle Enterprise Manager Cloud Control
A separate Oracle product that combines a graphical console, agents, common services, and tools to provide an integrated and comprehensive systems management platform for managing Oracle products.
Oracle Identity Management
An infrastructure enabling deployments to manage centrally and securely all enterprise identities and their access to various applications in the enterprise.
Oracle Internet Directory
A directory server implemented as an application on the Oracle database. It enables retrieval of information about dispersed users and network resources. It combines Lightweight Directory Access Protocol (LDAP) Version 3, the open Internet standard directory server access protocol, with the high performance, scalability, robustness, and availability of the Oracle database.
Oracle Net
Communication software that enables a network session from a client application to an Oracle database server. After a network session is established, Oracle Net acts as a data courier for the client application and the database server. It is responsible for establishing and maintaining the connection between the client application and database server, as well as exchanging messages between them. Oracle Net can perform these jobs because it is located on each computer in the network.
Oracle Net Configuration Assistant
A postinstallation tool that configures basic network components after installation, including:
Listener names and protocol addresses
Naming methods the client uses to resolve connect identifiers
Net service names in a tnsnames.ora
file
Directory server usage
Oracle Net Firewall Proxy
Product offered by some firewall vendors that supplies Oracle Connection Manager functionality.
Oracle Net foundation layer
A networking communication layer that is responsible for establishing and maintaining the connection between the client application and server, as well as exchanging messages between them.
Oracle Net Listener
A process that resides on the server whose responsibility is to listen for incoming client connection requests and manage the traffic to the server.
When a client requests a network session with a database server, a listener receives the actual request. If the client information matches the listener information, then the listener grants a connection to the database server.
Oracle Net Manager
A tool that combines configuration abilities with component control to provide an integrated environment for configuring and managing Oracle Net Services.
You can use Oracle Net Manager to configure the following network components:
Naming
Define connect identifiers and map them to connect descriptors to identify the network location and identification of a service. Oracle Net Manager supports configuration of connect descriptors in a local tnsnames.ora
file or directory server.
Naming Methods
Configure the ways in which connect identifiers are resolved into connect descriptors.
Listeners
Create and configure listeners to receive client connections.
Oracle Net Services
A suite of networking components that provide enterprise-wide connectivity solutions in distributed, heterogeneous computing environments. Oracle Net Services is comprised of Oracle Net, listener, Oracle Connection Manager, Oracle Net Configuration Assistant, and Oracle Net Manager.
Oracle Program Interface (OPI)
Oracle Program Interface is the networking layer responsible for responding to each of the possible messages sent by OCI. For example, an OCI request to fetch 25 rows would have an OPI response to return the 25 rows after they have been fetched.
Oracle protocol support
A software layer responsible for mapping Transparent Network Substrate (TNS) functionality to industry-standard protocols used in the client/server connection.
Oracle Real Application Clusters (Oracle RAC)
An architecture that allows multiple instances to access a shared database of data files. Oracle RAC is also a software component that provides the necessary cluster database scripts, initialization files, and data files needed for Oracle Enterprise Edition and Oracle RAC.
Oracle Rdb
A database for Digital's 64-bit platforms. Because Oracle Rdb has its own listener, the client interacts with Rdb in the same manner as it does with an Oracle database.
Oracle schema
A set of rules that determine what can be stored in a directory server. Oracle has its own schema that is applied to many types of Oracle entries, including Oracle Net Services entries. The Oracle schema for Oracle Net Services entries includes the attributes the entries may contain.
Oracle system identifier (SID)
A name that identifies a specific instance of an Oracle database. For any database, there is at least one instance referencing the database.
For Oracle databases earlier than release 8.1, a SID is used to identify the database. The SID is included in the connect descriptor of a tnsnames.ora file and in the definition of the listener in the listener.ora file.
Oracle XML DB
A high-performance XML storage and retrieval technology provided with Oracle database server. It is based on the W3C XML data model.
ORACLE_HOME
An alternate name for the top directory in the Oracle directory hierarchy on some directory-based operating systems.
packet
A block of information sent over the network each time a connection or data transfer is requested. The information contained in packets depends on the type of packet, such as connect, accept, redirect, data, and so on. Packet information can be useful in troubleshooting.
PMON process
A process monitor (PMON) database process that performs process recovery when a user process fails. PMON is responsible for cleaning the cache and freeing resources that the process was using. PMON also checks on dispatcher and server processes and restarts them if they have failed.
presentation layer
A networking communication layer that manages the representation of information that application layer entities either communicate or reference in their communication. Two-Task Common (TTC) is an example of presentation layer.
private database link
A database link created by one user for exclusive use.
See also database link and public database link.
profile
A collection of parameters that specifies preferences for enabling and configuring Oracle Net Services features on the client or server. A profile is stored and implemented through the sqlnet.ora
file.
protocol address
An address that identifies the network address of a network object.
When a connection is made, the client and the receiver of the reqtIuest, such as the listener or Oracle Connection Manager, are configured with identical protocol addresses. The client uses this address to send the connection request to a particular network object location, and the recipient listens for requests on this address. It is important to install the same protocols for the client and the connection recipient, as well as configure the same addresses.
protocol conversion
A feature of Oracle Connection Manager that enables a client and server with different networking protocols to communicate with each other. This feature replaces functionality previously provided by the Oracle Multi-Protocol Interchange with SQL*Net version 2.
proxy server
A server that substitutes for a real server, forwarding client connection requests to the real server or to other proxy servers. Proxy servers provide access control, data and system security, monitoring, and caching.
public database link
A database link created by a DBA on a local database that is accessible to all users on that database.
See also database link and private database link.
realm Oracle Context
An Oracle Context contained in each identity management realm. It stores the following information:
User naming policy of the identity management realm, that is, how users are named and located
Mandatory authentication attributes
Location of groups in the identity management realm
Privilege assignments for the identity management realm, for example, who has privileges to add more users to the realm
Application specific data for that realm including authorizations
relative distinguished name (RDN)
The local, most granular level entry name. It has no other qualifying entry names that would serve to address the entry uniquely. It is a fully-qualified X.500 name. For example, cn=sales,dc=us,dc=example,dc=com
, cn=sales
is a RDN.
root Oracle Context
In the Oracle Identity Management infrastructure, the root Oracle Context is an entry in Oracle Net Services containing a pointer to the default identity management realm in the infrastructure. It also contains information about how to locate an identity management realm given the simple name of the realm.
Secure Sockets Layer (SSL)
An industry-standard protocol designed by Netscape Communications Corporation for securing network connections. SSL provides authentication, encryption, and data integrity using public key infrastructure (PKI).
server parameter file
A binary file containing initialization parameter settings that is maintained on the Oracle Database host. You cannot manually edit this file with a text editor. A server parameter file is initially built from a text initialization parameter file by means of the CREATE SPFILE
statement or created directly.
service
A program that responds to requests from various clients or performs some operation. The database is a service that stores and retrieves data for clients.
service handler
A process that acts a connection point from the listener to the database server. A service handler can be a dispatcher or dedicated server.
service name
A logical representation of a database, which is the way a database is presented to clients. The service name is a string that is the global database name, that is, a name comprised of the database name and domain name, entered during installation or database creation. If you are not sure what the global database name is, then you can obtain it from the value of the SERVICE_NAMES parameter in the initialization parameter file.
The service name is included in the connect data part of the connect descriptor.
service registration
A feature by which the Listener Registration (LREG) automatically registers information with a listener. Because this information is registered with the listener, the listener.ora
file does not need to be configured with this static information.
Service registration provides the listener with information about:
Service names for each running instance of the database
Instance names of the database
Service handlers (dispatcher or dedicated server) available for each instance
These enable the listener to direct a client request appropriately.
Dispatcher, instance, and node load information
This load information enables the listener to determine which dispatcher can best handle a client connection request. If all dispatchers are blocked, then the listener can spawn a dedicated server for the connection.
session data unit (SDU)
A buffer that Oracle Net uses to place data before transmitting it across the network. Oracle Net sends the data in the buffer either when requested or when it is full.
session layer
A network layer that provides the services needed by the protocol address entities that enable them to organize and synchronize their dialog and manage their data exchange. This layer establishes, manages, and terminates network sessions between the client and server. An example of a session layer is Network Session (NS).
session multiplexing
Combining multiple sessions for transmission over a single network connection to conserve the operating system's resources.
shared server
A database server that is configured to allow many user processes to share very few server processes, so the number of users that can be supported is increased. With shared server configuration, many user processes connect to a dispatcher. The dispatcher directs multiple incoming network session requests to a common queue. An idle shared server process from a shared pool of server processes picks up a request from the queue. This means that a small pool of server processes can serve a large number of clients. Contrast with dedicated server.
single sign-on
The ability for a user to log in to different servers using a single password. This permits the user to authenticate to all servers the user is authorized to access.
sqlnet.ora file
A configuration file for the client or server that specifies:
Client domain to append to unqualified service names or net service names
Order of naming methods the client should use when resolving a name
Logging and tracing features to use
Route of connections
External naming parameters
Oracle Advanced Security parameters
The sqlnet.ora
file typically resides in the ORACLE_HOME/network/admin
directory.
System Global Area (SGA)
A group of shared memory structures that contain data and control information for an Oracle instance.
TCP/IP
Transmission Control Protocol/Internet Protocol. The standard communication protocol used for client/server conversation over a network.
TCP/IP with SSL protocol
A protocol that enables an Oracle application on a client to communicate with remote Oracle databases through the TCP/IP and Secure Sockets Layer (SSL).
tick
The amount of time it takes for a message to be sent and processed from the client to the server or from the server to the client.
tnsnames.ora file
A configuration file that maps network service names to connect descriptors. This file is used for the local naming method. The tnsnames.ora
file typically resides in the ORACLE_HOME/network/admin
directory.
tracing
A facility that writes detailed information about an operation to an output file. The trace facility produces a detailed sequence of statements that describe the events of an operation as they are run. Administrators use the trace facility for diagnosing an abnormal condition. It is not normally turned on.
See also logging.
Transparent Application Failover (TAF)
A runtime failover for high-availability environments, such as Oracle Real Application Clusters and Oracle Fail Safe, that refers to the failover and re-establishment of application-to-service connections. It enables client applications to automatically reconnect to the database if the connection fails, and, optionally, resume a SELECT
statement that was in progress. This reconnect happens automatically from within the Oracle Call Interface (OCI) library.
Transparent Network Substrate (TNS)
A foundation technology, built into the Oracle Net foundation layer that works with any standard network transport protocol.
transport
A networking layer that maintains end-to-end reliability through data flow control and error recovery methods. The Oracle Net foundation layer uses Oracle protocol support for the transport layer.
Two-Task Common (TTC)
A presentation layer type that is used in a typical Oracle Net connection to provide character set and data type conversion between different character sets or formats on the client and server.
virtual circuit
A piece of shared memory used by the dispatcher for client database connection requests and replies. The dispatcher places a virtual circuit on a common queue when a request arrives. An idle shared server picks up the virtual circuit from the common queue, services the request, and relinquishes the virtual circuit before attempting to retrieve another virtual circuit from the common queue.
WebDAV protocol
World Wide Web Distributed Authoring and Versioning. A protocol with a set of extensions to HTTP which allows users to manage files on remote Web servers.
The Oracle Database Net Services Reference contains a complete listing and description of the control utility commands and configuration file parameters available for managing components of Oracle Net Services.
This document describes the features of Oracle Database 12c that apply to the Microsoft Windows and UNIX operating systems.
This preface contains the following topics:
Oracle Database Net Services Reference is intended for network administrators who are responsible for configuring and administering network components.
To use this document, you should be familiar with the networking concepts and configuration tasks described in Oracle Database Net Services Administrator's Guide.
For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc
.
Access to Oracle Support
Oracle customers have access to electronic support through My Oracle Support. For information, visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info
or visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs
if you are hearing impaired.
For additional information, see the following Oracle resources:
Online Help for Oracle Net Services tools and utilities
Oracle Database 12c Release 1 (12.1) documentation set
Oracle Database Global Data Services Concepts and Administration Guide
A glossary of Oracle Net Services terms is available in Oracle Database Net Services Administrator's Guide.
Many books in the documentation set use the sample schemas of the seed database, which is installed by default when you install Oracle. Refer to Oracle Database Sample Schemas for additional information about how these schemas were created and how you can use them yourself.
To download free release notes, installation documentation, white papers, or other collateral, visit the Oracle Technology Network (OTN). You must register online before using OTN; registration is free and can be done at
http://www.oracle.com/technetwork/index.html
If you have a user name and password for OTN, then you can go directly to the documentation section of the OTN Web site at
http://docs.oracle.com
The examples for directories in the book are for Linux. Unless otherwise noted, Microsoft Windows directory paths are the same except that they use a backslash (\) instead of the slash (/).
The following text conventions are used in this document:
Convention | Meaning |
---|---|
boldface | Boldface type indicates graphical user interface elements associated with an action, or terms defined in text or the glossary. |
italic | Italic type indicates book titles, emphasis, or placeholder variables for which you supply particular values. |
monospace | Monospace type indicates commands within a paragraph, URLs, code in examples, text that appears on the screen, or text that you enter. |
This chapter describes the commands and syntax of the Oracle Connection Manager Control utility.
This chapter contains the following topics:
The Oracle Connection Manager Control utility enables you to administer Oracle Connection Managers. You can use its commands to perform basic management functions on one or more Oracle Connection Managers. Additionally, you can view and change parameter settings.
The basic syntax of the Oracle Connection Manager Control utility is as follows:
cmctl command [argument]
The Oracle Connection Manager Control utility supports the following types of commands:
Initialization and termination commands such as STARTUP and SHUTDOWN
Alter commands such as SET LOG_LEVEL and SET EVENT
Display commands, such as SHOW STATUS and SHOW RULES
Gateway commands such as SHOW GATEWAYS and RESUME GATEWAYS
Note: You can use SET commands to dynamically alter configuration parameters. The changes only remain in effect until Oracle Connection Manager is shut down. You cannot save them to thecman.ora file. The one exception is the Oracle Connection Manager password, which you can save using the command SAVE_PASSWD. |
You can use the Oracle Connection Manager Control utility in command mode, or batch mode.
Using command mode:
From the Oracle Connection Manager Control utility:
Enter cmctl
at the command line to obtain the program prompt, and then issue the command:
cmctl
CMCTL> command
From the operating system:
Enter the entire command from the operating system command prompt:
cmctl [command] [argument1 . . . argumentN] [-c instance_name]
Each command issued this way can have an Oracle Connection Manager instance name appended as an argument. If an Oracle Connection Manager instance name is not provided, then the default instance name is assumed. The default name is cman_
hostname
. You may be prompted for a password if one was set in a previous CMCTL session. Issuing commands from an Oracle Connection Manager Control utility session of Oracle Connection Manager requires that a password be entered once, at the beginning of the session, if one has been set.
Caution: There is an option to specify the password on the command line. However, doing so exposes the password on the screen, and is a potential security risk. Oracle recommends not using the password option (-p ) on the command line. |
Using batch mode:
You can combine commands in a standard text file, and then run them as a sequence of commands. To run in batch mode, use the following syntax:
cmctl @input_file
See Also: Oracle Database Net Services Administrator's Guide for an overview of the Oracle Connection Manager processes |
This section lists and describes the following commands for the Oracle Connection Manager Control utility:
Purpose
To select an Oracle Connection Manager instance.
Prerequisites
None
Syntax
From the Oracle Connection Manager Control utility:
CMCTL> ADMINISTER [-c] instance_name
Arguments
instance_name: The instance name of Oracle Connection Manager that you would like to administer. Instances are defined in the cman.ora
file.
Usage Notes
You can issue the ADMINISTER
command only within the utility. You cannot issue the command from the operating system.
ADMINISTER
enables you to choose which Oracle Connection Manager instance to administer. To start the Oracle Connection Manager instance, you must issue the STARTUP command.
When you omit the instance name from the command, the instance administered defaults to the local instance.
Use the -c
option when to administer an instance that is not the local instance.
A password is required only if one was provided at installation time or during a previous session of the Oracle Connection Manager.
Example
CMCTL> ADMINISTER cman_indl040ad
Enter CMAN password: password
Current instance cman_indl040ad is already started
Connections refer to (address=(protocol=TCP)(host=indl040ad)(port=1560)).
The command completed successfully
Purpose
To terminate connections, using specific qualifiers to select connections.
Prerequisites
Oracle Connection Manager must be running.
Syntax
From the operating system:
cmctl CLOSE CONNECTIONS [in state] [gt time] [from source] [to destination] [for service] [using gateway_process_id] [connect_identifier_list] [-c cman_name]
From the Oracle Connection Manager Control utility:
CMCTL> CLOSE CONNECTIONS [in state] [gt time] [from source] [to destination] [for service] [using gateway_process_id] [connect_identifier_list]
Arguments
state:
One of the following values to specify the connection state:
idle
: Connections that are inactive in the established state.
connecting
: Connections that are in the process of connecting.
established
: Connections that are connected and are transferring data.
terminating
: Connections that are disconnecting.
If no state is specified, then CLOSE CONNECTIONS
defaults to all possible states. If the time qualifier is included under these conditions, then the time specified is the amount of time that has elapsed since a client initiated a connection.
time: The time format. Use the following format to specify connections greater than the time indicated:
gt[
hh
:
mm
:]
ss
source: The source address. Use one of the following formats to specify the source address:
from
IP
from
hostname
from
subnet
destination: The destination address. Use one of the following formats to specify the destination address:
to
IP
to
hostname
to
subnet
service: The service name. Use the service_name
parameter to specify the service, such as sales.us.example.com
.
gateway_process_id: The gateway process identifier is a number. Use this number to specify connections that are proxied by the gateway process indicated. To determine the gateway process identifier, use the Oracle Connection Manager control utility show gateways
command.
connect_identifier_list: The connection identifiers. Use a space between multiple connection identifiers in a list.
Usage Notes
Because the CLOSE
CONNECTIONS
command terminates connections, it might generate error messages on both client and server sides.
The IDLE
state qualifier always requires a time qualifier.
Issuing CLOSE CONNECTIONS
without an argument closes all connections.
Examples
The following example shuts down connections in any state. The elapsed time of the connection must be greater than 1 hour and 30 minutes. The connection source is the specified subnet, and the destination is the specified host name.
CMCTL> CLOSE CONNECTIONS gt 1:30:00 from 192.0.2.32/24 to host1
The following example shuts down those connections proxied by gateway process 0
that have been in the idle state more than 30 minutes:
CMCTL> CLOSE idle CONNECTIONS gt 30:00 using 0
The following example shuts down connections that are connected to the service sales.us.example.com
:
CMCTL> CLOSE established CONNECTIONS for sales.us.example.com
Purpose
To exit from the Oracle Connection Manager Control utility.
Prerequisites
None
Syntax
From the operating system:
cmctl EXIT [-c instance_name]
From the Oracle Connection Manager Control utility:
CMCTL> EXIT
Usage Notes
This command is identical to the QUIT command.
Example
CMCTL> EXIT
Purpose
To provide a list of all commands for the Oracle Connection Manager Control utility or to provide help with the syntax of a particular command.
Prerequisites
None
Syntax
From the operating system:
cmctl HELP [command] [-c instance_name]
From the Oracle Connection Manager Control utility:
CMCTL> HELP [command]
Arguments
command: Specify a HELP
command. Commands are shown in the following sample output.
When you enter a command as an argument to HELP
, the Oracle Connection Manager Control utility displays information about how to use the command. When you enter HELP
without an argument, the Oracle Connection Manager Control utility displays a list of all the commands.
Example
CMCTL> HELP The following operations are available An asterisk (*) denotes a modifier or extended command: administer close* exit reload resume* save_passwd set* show* shutdown sleep startup suspend* show_version quit
Purpose
To exit the Oracle Connection Manager Control utility and return to the operating system prompt.
Prerequisites
None
Syntax
From the operating system:
cmctl QUIT
From the Oracle Connection Manager Control utility:
CMCTL> QUIT
Usage Notes
This command is identical to the EXIT command.
Example
CMCTL> QUIT
Purpose
To dynamically reread parameters and rules.
Prerequisites
Oracle Connection Manager must be running.
Syntax
From the operating system:
cmctl RELOAD [-c instance_name]
From the Oracle Connection Manager Control utility:
CMCTL> RELOAD
Usage Notes
Configuration information modified using the RELOAD
command applies only to new connections. Existing connections are unaffected. The SET RELOAD
command restores configurations set in cman.ora
, and override the SET
command.
RELOAD
reregisters gateways with the Oracle Connection Manager listener during which some new connections might be refused until the registration process is complete.
Example
CMCTL> RELOAD The command completed successfully
Purpose
To resume gateway processes that have been suspended.
Prerequisites
Oracle Connection Manager must be running.
Syntax
From the operating system:
cmctl RESUME GATEWAYS [gateway_process_id] [cman_name]
From the Oracle Connection Manager Control utility:
CMCTL> RESUME GATEWAYS [gateway_process_id]
Arguments
gateway_process_id: One or more gateway processes to reopen. Separate multiple gateway processes using a space between the process identifiers.
Usage Notes
Issuing RESUME GATEWAYS
without an argument reopens all gateway processes that have been closed.
Example
CMCTL> RESUME GATEWAYS 1 The command completed successfully
Purpose
To save the current password to the cman.ora
file, the configuration file for Oracle Connection Manager.
Prerequisites
Oracle Connection Manager must be running.
Syntax
From the operating system:
cmctl SAVE_PASSWD [-c instance_name]
From the Oracle Connection Manager Control utility:
CMCTL> SAVE_PASSWD
Usage Notes
If you run this command, then the next session of Oracle Connection Manager uses the password. The password is stored in an encrypted format in the cman.ora
file.
Example
CMCTL> SAVE_PASSWD
Purpose
To display a list of parameters that can be modified using this command.
Prerequisites
None
Syntax
From the operating system:
cmctl SET
From the Oracle Connection Manager Control utility:
CMCTL> SET
Example
CMCTL> SET The following operations are available after set An asterisk (*) denotes a modifier or extended command: aso_authentication_filter outbound_connect_timeout connection_statistics password event session_timeout idle_timeout trace_directory inbound_connect_timeout trace_level log_directory log_level
Purpose
To indicate whether the client must use Oracle Database security to authenticate.
Prerequisites
Oracle Connection Manager must be running.
Syntax
From the operating system:
cmctl SET ASO_AUTHENTICATION_FILTER {on | off}[-c instance_name]
From the Oracle Connection Manager Control utility:
CMCTL> SET ASO_AUTHENTICATION_FILTER {on | off}
Arguments
on
: To reject connections that are not using Secure Network Service (SNS) to perform client authentication. SNS is part of Oracle Database security.
off
: To specify whether no authentication is required for client connections. This is the default.
Example
CMCTL> set aso_authentication_filter ON CMAN_user.us.example.com parameter aso_authentication_filter set to ON The command completed successfully
Purpose
To specify whether gateway processes collect connection statistics.
Prerequisites
Oracle Connection Manager must be running.
Syntax
From the operating system:
cmctl SET CONNECTION_STATISTICS {yes | no}[-c instance_name]
From the Oracle Connection Manager Control utility:
CMCTL> SET CONNECTION_STATISTICS {yes | no}
Arguments
yes
: To have gateway processes collect connection statistics.
no
: To not have gateway processes collect connection statistics. This is the default.
Usage Notes
If SET CONNECTION_STATISTICS
is set to yes
, then you can obtain statistics by issuing the SHOW CONNECTIONS command.
Example
CMCTL> set connection_statistics ON CMAN_user.us.example.com parameter connection_statistics set to ON The command completed successfully
Purpose
To log information for a particular event.
Syntax
From the operating system:
cmctl SET EVENT event_group [-c instance_name]
From the Oracle Connection Manager Control utility:
CMCTL> SET EVENT event_group {on | off}
Arguments
event_group: Specify one of the following event groups:
init_and_term
: Initialization and termination event group.
memory_ops
: Memory operations event group.
conn_hdlg
: Connection handling event group.
proc_mgmt
: Process management event group.
reg_and_load
: Registration and load update event group.
wake_up
: Events related to Connection Manager Administration (CMADMIN) wakeup queue event group.
timer
: Gateway timeouts event group.
cmd_proc
: Command processing event group.
relay
: Events associated with connection control blocks event group.
on
: To turn an event group on.
off
: To turn an event group off.
Usage Notes
The SET EVENT
command accepts only one argument. To log multiple events, you must issue the command for each event separately.
Example
CMCTL> set event memory_ops off cman11 event memory_ops set to OFF. The command completed successfully
Purpose
To specify the amount of time a client can be idle without transmitting data.
Prerequisites
Oracle Connection Manager must be running.
Syntax
From the operating system:
cmctl SET IDLE_TIMEOUT [time] [-c instance_name]
From the From the Oracle Connection Manager Control utility:
CMCTL> SET IDLE_TIMEOUT [time]
Arguments
time: Specify the idle timeout in seconds. The default is 0 (zero), which disables this feature.
Example
CMCTL> SET IDLE_TIMEOUT 30 CMAN_user.us.example.com parameter idle_timeout set to 30 The command completed successfully
Purpose
To specify the maximum amount of time the Oracle Connection Manager listener waits for a valid connection request from the client before timing out.
Prerequisites
Oracle Connection Manager must be running.
Syntax
From the operating system:
cmctl SET INBOUND_CONNECT_TIMEOUT [time] [-c instance_name]
From the Oracle Connection Manager Control utility:
CMCTL> SET INBOUND_CONNECT_TIMEOUT [time]
Arguments
time: The inbound connect timeout in seconds. The default is 0 (zero), which disables this feature.
Example
CMCTL> SET INBOUND_CONNECT_TIMEOUT 30 CMAN_user.us.example.com parameter inbound_connect_timeout set to 30 The command completed successfully