PK
[=Aoa, mimetypeapplication/epub+zipPK [=A iTunesMetadata.plist|
This appendix describes the steps for noninteractive installations during which you can create Oracle Real Application Clusters (Oracle RAC) databases using scripts.
Note: The scripts generated by Oracle Database Configuration Assistant (DBCA) are for reference purposes only. Oracle strongly recommends that you use DBCA to create a database. |
See Also: Oracle Universal Installer and OPatch User's Guide for Windows and UNIX for detailed information about generating installation scripts |
This appendix contains the following topics:
About DBCA Noninteractive (Silent) Configuration for Oracle RAC
Using DBCA Noninteractive (Silent) Configuration for Oracle RAC
Understanding How Response Files are Used During Installation
To generate scripts to create an Oracle RAC database, create a database using the generated scripts, and prepare the database for use, complete the following steps:
Start DBCA and select your preferred options to build the Oracle RAC database.
On the Creation Options page of your DBCA session, deselect Create Database and select Generate Database Creation Scripts before you click Finish. You can accept the default destination directory for the scripts, or browse for a different location. In either case, you should note the path name for use in the next step.
See Also: Chapter 3, "Creating Oracle Real Application Clusters Databases with Oracle Database Configuration Assistant" for additional information about running a DBCA session |
Go to the directory where DBCA created the scripts, and review the SQL scripts to ensure that they contain the statements to build a database with the characteristics you require. If they do not, then Oracle recommends that you rerun DBCA to create scripts with the desired configuration rather than editing the scripts yourself.
On each cluster node you identified during your DBCA session, run the script sid
.bat
, where sid
is the SID prefix that you entered on the DBCA Database Name page.
Set the initialization parameter, cluster_database
, to the value TRUE
in your SPFILE
by entering an ALTER SYSTEM
statement in SQL*Plus, or by uncommenting the parameter in the PFILE
for each instance.
Configure Oracle Net Services to support your new database and instances as described in Chapter 7, "Understanding the Oracle Real Application Clusters Installed Configuration".
Set the REMOTE_LISTENER
parameter to the SCAN (using the Easy Connect Naming syntax scanname:scanport) in your SPFILE
by entering an ALTER SYSTEM
statement in SQL*Plus, or by uncommenting the parameter in the PFILE
for each instance.
Run the Server Control Utility (SRVCTL) to configure and start database and instance applications as described in Oracle Real Application Clusters Administration and Deployment Guide.
See Also: Oracle Universal Installer and OPatch User's Guide for Windows and UNIX for additional information about creating and using scripts to install Oracle software with OUI |
You can perform a noninteractive, or silent configuration of Oracle RAC using DBCA. To perform a silent configuration, you must have completed an Oracle Grid Infrastructure (Oracle Clusterware and Oracle Automatic Storage Management) installation and defined the Oracle home directory environment variable
You can use DBCA to create a database from templates supplied by Oracle, or from templates that you create. The templates contain settings optimized for a particular type of workload.
Oracle provides templates for the following two workload types:
General purpose or transaction processing
Data warehouse
For more complex environments, you can select the Custom Database option. This option does not use templates and results in a more extensive installation interview, which means that it takes longer to create your database.
The following command creates an Oracle RAC database using the general purpose template, placing the data files in an existing Oracle ASM disk group. The clusters on which an Oracle RAC database instance are created are nodes node1
and node2
, the disk group name is +ASMgrp1
, and password is a placeholder for a password. The passwords can be all the same password or different passwords each time:
%ORACLE_HOME%\bin\dbca -silent -createDatabase -templateName General_Purpose.dbc -gdbName %DBNAME% -sid %ORACLE_SID% -sysPassword password -systemPassword password -sysmanPassword password -dbsnmpPassword password -emConfiguration LOCAL -storageType ASM -diskGroupName +ASMgrp1 -datafileJarLocation %ORACLE_HOME%\ assistants\dbca\templates -nodeinfo node1,node2 -characterset WE8MSWIN1252 -obfuscatedPasswords false -sampleSchema false -asmSysPassword password
When you start OUI, you can use a response file to automate the installation and configuration of Oracle software, either fully or partially. OUI uses the values contained in the response file to provide answers to some or all installation prompts.
Typically, the installer runs in interactive mode, which means that it prompts you to provide information in graphical user interface (GUI) screens. When you use response files to provide this information, you run the installer from a command prompt using either of the following modes:
If you include responses for all of the prompts in the response file and specify the -silent
option when starting the installer, then it runs in silent mode. During a silent mode installation, the installer does not display any screens. Instead, it displays progress information in the terminal that you used to start it.
If you include responses for some or all of the prompts in the response file and omit the -silent
option, then the installer runs in response file mode. During a response file mode installation, the installer displays all the screens, screens for which you specified information in the response file, and also screens for which you did not specify the required information in the response file.
You define the settings for a silent or response file installation by entering values for the variables listed in the response file. For example, to specify the Oracle home name, supply the appropriate value for the ORACLE_HOME
variable:
ORACLE_HOME="OraDBHome1"
Another way of specifying the response file variable settings is to pass them as command-line arguments when you run the installer. For example:
-silent "ORACLE_HOME=OraDBHome1" ...
This method is particularly useful if you do not want to embed sensitive information, such as passwords, in the response file. For example:
-silent "s_dlgRBOPassword=binks342" ...
Enclose the variable name and its value in double quotation marks.
See Also: Oracle Universal Installer and OPatch User's Guide for Windows and UNIX for more information about response files |
The following table provides reasons for running the installer in silent mode or response file mode:
The following are the general steps to install and configure Oracle products using the installer in silent or response file mode:
Note: You must complete all required preinstallation tasks on a system before running the installer in silent or response file mode. |
Prepare a response file.
Run OUI in silent or response file mode.
If you completed a software-only installation, then run Oracle Net Configuration Assistant (NETCA) and DBCA in silent or response file mode.
These steps are described in the following sections.
The following are methods you can use to prepare response files for silent mode or response file mode installations:
Oracle provides response file templates for each product and installation type and for each configuration tool. For Oracle Database, these files are located in the database\response
directory on the installation media or in the Oracle_home
\inventory\response
directory after the software has been installed.
Note: If you copied the installation media to a directory on a local disk (referred to as thestaging_dir directory), then the response files are located in the directory staging_dir \database\response . |
Table B-1 lists the response files provided with the Oracle RAC software.
Table B-1 Response Files for Oracle Database
Response File | Used For |
---|---|
Silent installation of Oracle Database 11g | |
Silent creation and configuration of an Oracle database using DBCA | |
Silent configuration of Oracle Net using NETCA |
Caution: When you modify a response file template and save a file for use, the response file may contain plain text passwords. Oracle strongly recommends that database administrators or other administrators delete or secure the response files when they are not in use. |
To copy and modify a response file:
Copy the response file from the response file directory to a directory on your system.
If you have copied the installation media to a hard drive, then you can edit the file in the staging_dir
\database\response
directory.
Open the response file in a text editor.
During installation, you can specify sensitive information, such as passwords, at the command line rather than within the response file. The section Section B.4, "Understanding How Response Files are Used During Installation" explains this method.
See Also: Oracle Universal Installer and OPatch User's Guide for Windows and UNIX for detailed information about creating response files |
Follow the instructions in the file to edit it.
Note: OUI or the configuration assistants fail if you do not correctly configure the response file. |
Secure the response file.
Ensure that only the user that installed the Oracle software can view or modify response files. Consider deleting the modified response file after the installation succeeds.
You can use OUI in interactive mode to record response files, which you can then edit and use to complete silent mode or response file mode installations. This method is useful for Advanced or software-only installations.
Starting with Oracle Database 11g release 2 (11.2), you can save all the installation steps into a response file during installation by clicking Save Response File on the Summary page. You can use the generated response file for a silent installation later.
When you record the response file, you can either complete the installation, or you can exit from OUI before OUI starts to copy the software to the local disk.
If you use record mode during a response file mode installation, then OUI records the variable values that were specified in the original source response file into the new response file.
Note: You cannot save passwords while recording the response file. |
To record a response file:
Complete preinstallation tasks as for a standard installation.
When you use OUI to record a response file, it checks the system to verify that it meets the requirements to install the software. For this reason, Oracle recommends that you complete all of the required preinstallation tasks and record the response file while completing an installation.
Log in as a user that is a member of the local Administrators group and start OUI.
On each installation screen, specify the required information.
When OUI displays the Summary screen, perform the following:
Click Save Response File. In the pop up window, specify a file name and location for the new response file. Click Save to write the settings you have entered to the file.
Click Finish to continue with the installation.
Click Cancel if you do not want to continue with the installation. The installation stops, but the recorded response file is retained.
If you do not complete the installation, then delete the Oracle home directory that the installer created using the path you specified in the Specify File Locations screen.
Before you use the saved response file on another system, edit the file and make any required changes. Use the instructions in the file as a guide when editing it.
Now, you are ready to run OUI at the command line, specifying the response file you created, to install the Oracle Database software. The OUI executable file, setup.exe
, provides several options.
For information about all the available options for OUI, run the setup.exe
command with the -help
option. For example, if the installation software is accessed through a DVD disk drive mounted as E:
, then you would use the following commands:
C:\> E: E:\> database\setup.exe -help
If the installation software has been extracted from a downloaded ZIP file to the directory X
:\staging_dir
, where X
: is a drive on your system, then you would use the following command:
C:\> X: X:\> staging_dir\database\setup.exe -help
The help information appears in your session window after a brief delay.
To use OUI with a response file to install the Oracle Database software, complete the following steps:
Complete the preinstallation tasks as for a typical installation.
Log in as a user with Administrator privileges.
Start OUI in silent or response file mode, by entering a command similar to the following:
X:\staging_dir> database\setup.exe [-silent] [-noconfig] \ -responseFile responsefilename
Note: Do not specify a relative path to the response file. If you specify a relative path, then OUI fails. Use the full path location for the response file. |
In this example:
X:staging_dir
is either the location of the installation media (for example, a DVD drive) or the path of staging directory on the local node.
-noconfig
suppresses running the configuration assistants during installation, and a software-only installation is performed instead.
responsefilename
is the full path and file name of the installation response file that you configured previously. See Section B.5.1, "Editing a Response File Template."
You can run configuration assistants in response file or silent mode to configure and start Oracle software after it is installed on your system. To run configuration assistants in response file or silent mode, you must first copy and edit a response file template.
Note: If you copied the software to a hard disk, then the response file template is located in the directoryX :\ staging_dir \database\ response |
This section contains the following topics:
Running Oracle Database Configuration Assistant in Response File or Silent Mode
Running Oracle Net Configuration Assistant Using Response Files
Performing Postinstallation Configuration Using a Response File
To run Oracle Database Configuration Assistant (DBCA) in response file or silent mode:
Oracle provides a response file template named dbca.rsp
in the response
directory on the installation media. Copy the dbca.rsp
response file template from the response
file directory to a directory on your system.
If you have copied the software to a hard drive, you can edit the file in the X:\staging_dir
\database
\response
directory if you prefer.
Note: As an alternative to editing the response file template, you can also create a database by specifying all required information as command-line options when you run DBCA. For information about the list of options supported, enter the following command:C:\> %ORACLE_HOME%\bin\dbca -help |
Log in as a user that is a member of the local Administrators group. Set the %ORACLE_HOME%
environment variable to the correct Oracle home directory. See Section 7.3, "Working with Multiple Oracle Home Directories on Windows."
Open the response file in a text editor.
Edit the file, following the instructions in the file.
In response file mode, DBCA uses values that you specify in the response file or as command-line options, to create a database.
Note: DBCA fails if you do not correctly configure the response file. |
Open a command-line window. Change directories to the location of the Oracle home directory.
Use a command similar to the following example to run DBCA in silent or response file mode using a response file:
C:\> %ORACLE_HOME%\bin\dbca {-progressOnly | -silent} -responseFile \
local_dir\dbca.rsp
In this example:
The -silent
option runs DBCA in silent mode, suppressing user prompts.
The -progressOnly
option runs DBCA in response file mode.
local_dir
is the full path of the directory where the dbca.rsp
response file is located.
As DBCA configures and starts the database, it displays a window that contains status messages and a progress bar. The window that DBCA displays is the same window that is displayed when you choose to create a preconfigured database during an Oracle Database Enterprise Edition or Standard Edition installation.
You can run Oracle Net Configuration Assistant (NETCA) in silent mode to configure and start an Oracle Net listener on the system, configure naming methods, and configure Oracle Net service names. To run NETCA in silent mode, you must copy and edit a response file template. Oracle provides a response file template named netca.rsp
in the response
subdirectory of:
The Oracle_home
\inventory\response
directory after a software-only installation
The database\response
directory on the installation media or staging area
To run NETCA using a response file:
Copy the netca.rsp
response file template from the response file directory on the installation media to a directory on your system.
If the software is staged on a hard drive, or has already been installed, then you can edit the file in the response
directory located on the local disk instead.
Open the response file in a text editor.
Follow the instructions in the file to edit it.
Note: NETCA fails if you do not correctly configure the response file. |
Log in as a user that is a member of the local Administrators group. Set the %ORACLE_HOME%
environment variable to the correct Oracle home directory. See Section 7.3, "Working with Multiple Oracle Home Directories on Windows."
Enter a command similar to the following to run NETCA in silent mode:
C:\> Oracle_home\bin\netca -silent -responsefile X:\local_dir\netca.rsp
In this command:
The -silent
option runs NETCA in silent mode.
X:\local_dir
is the full path of the directory where you copied the netca.rsp
response file template, where X
is the drive on which the file is located and local_dir
is the folder on that drive.
When you perform an installation using silent more or response file mode, you provide information about your servers in a response file that you otherwise provide manually using a graphical user interface. However, the response file does not contain passwords for user accounts that configuration assistants require after software installation is complete. To run the configuration assistants after the installation completes in silent mode, you must provide the passwords used by the assistants in a password file.
The configuration assistants are started with a script called configToolAllCommands
. You can run this script in silent mode by using a password response file. The script uses the passwords in the file to run the configuration tools in succession to complete the software configuration. If you keep the password file to use when cloning installations, then Oracle strongly recommends that you store the password file in a secure location.
You can also use the password file to restart a failed installation. If you have to stop an installation to fix an error, then you can rerun the configuration assistants using configToolAllCommands
and a password response file.
The configToolAllCommands
password response file has the following options:
internal_component_name is the name of the component that the configuration assistant configures.
variable_name is the name of the configuration file variable.
value is the desired value to use for configuration.
The command syntax is as follows:
internal_component_name|variable_name=value
For example, to set the password for the SYS user of Oracle ASM:
oracle.assistants.asm|S_ASMPASSWORD=myPassWord
Oracle Database configuration assistants require the SYS, SYSTEM, SYSMAN, and DBSNMP passwords for use with DBCA. You might need to specify the following additional passwords, depending on your system configuration:
If the database is using Oracle ASM for storage, then you need to specify a password for the S_ASMSNMPPASSWORD
variable. If you are not using Oracle ASM, then leave the value for this password variable blank.
If you selected to configure Oracle Enterprise Manager, then you must set the value of the S_HOSTUSERPASSWORD
variable to the password of the Oracle software installation owner. If you do not want to enable Oracle Enterprise Manager, the leave the value for this password variable blank.
Example B-1 Sample Password Response File for Oracle RAC Databases
This example provides a template for a password response file to use with the database configuration assistants.
oracle.assistants.server|S_SYSPASSWORD=password oracle.assistants.server|S_SYSTEMPASSWORD=password oracle.assistants.server|S_SYSMANPASSWORD=password oracle.assistants.server|S_DBSNMPPASSWORD=password oracle.assistants.server|S_HOSTUSERPASSWORD=password oracle.assistants.server|S_ASMSNMPPASSWORD=password
To create a password response file to use with the configuration assistants, perform the following steps:
Create a response file that has a name of the format filename
.properties
.
Open the file with a text editor, and cut and paste the sample password file contents, as shown in Example B-1, "Sample Password Response File for Oracle RAC Databases", modifying as needed.
If the file is stored on a volume formatted for Windows New Technology File System (NTFS), then modify the security permissions to secure the file.
To run configuration assistants with the configToolAllCommands
script in silent mode or response file mode, perform the following steps:
Change directory to %ORACLE_HOME%\cfgtoollogs
.
Run the configuration script using the following syntax:
configToolAllCommands RESPONSE_FILE=\path\name.properties
Example B-2 Running Configuration Assistants in Response File Mode
Assume you created a password response file in the C:\users\oracle\db
directory with a name of cfg_db.properties
. To run the configuration assistants in response file mode to configure the Oracle software after installation, enter commands similar to the following:
C:\> cd %ORACLE_HOME%\cfgtoollogs C:\..\cfgtoollogs> configToolAllCommands RESPONSE_FILE=C:\users\oracle\db\cfg _db.properties
This chapter describes the configuration of an Oracle Real Application Clusters (Oracle RAC) installation.
This chapter contains the following topics:
Oracle Net Configuration Assistant (NETCA) and Oracle Database Configuration Assistant (DBCA) configure your environment to meet the requirements for database creation and to enable discovery of Oracle RAC databases by Oracle Enterprise Manager.
Note: Configuration files are created on each node of your cluster database. |
Avoid changing host names after you complete the Oracle RAC installation, including adding or deleting domain qualifications. Node names are created from the host names during an Oracle Clusterware installation and are used extensively with database processes. Nodes with changed host names must be deleted from the cluster and added back with the new host names.
Oracle RAC requires that all cluster nodes have the same time zone setting. During an Oracle Clusterware installation, the installation process determines the time zone setting of the owner of the Oracle Grid Infrastructure installation on the node where Oracle Universal Installer (OUI) runs, and uses that time zone value on all of the nodes as the default time zone setting for all processes that Oracle Clusterware manages. This default setting is used for databases, Oracle Automatic Storage Management (Oracle ASM), and any other managed processes.
If you use SQL*Plus to start an instance, then you must ensure that the time zone value used by Oracle RAC is the same as the time zone value configured in Oracle Clusterware for the database. You can change the time zone that Oracle Clusterware uses for a database by running the following command:
srvctl setenv database -T 'TZ=time zone
Each Oracle product should be installed in its own Oracle home. In other words, each product should be installed into a different directory structure from other Oracle products. The value for %ORACLE_BASE%
is stored in the registry (for example, in HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME0
). The values for ORACLE_HOME
and ORACLE_SID
are also stored in the registry. Symbolic links for these directories, like those used on UNIX platforms, are not supported on Windows platforms.
See Also: Oracle Database Platform Guide for Microsoft Windows for more information about the registry keys |
Oracle Universal Installer (OUI) records the values for environment variables such as ORACLE_BASE
, ORACLE_HOME
, and ORACLE_SID
in the registry and also updates the value for the PATH
environment variable for the user performing the installation. In Linux and UNIX systems, you must manually set these environment variables in the user session or user profile.
To change the current setting for %ORACLE_HOME%
(the default Oracle home), perform the following steps:
Run OUI, release 10.n or later.
Click the Installed Products button.
Click the Environment tab at the top of the window.
Move the Oracle home directory that you want as your default to the top of the list.
Apply the changes, and exit the installer.
This procedure changes the value of the default ORACLE_HOME
variable in the registry to the value you selected. It also ensures that the %ORACLE_HOME%\bin
directories for each product are listed in the correct order in your PATH
environment variable.
The database components that DBCA creates include:
In both single-instance and cluster database environments, an Oracle database is divided into smaller logical areas of space known as tablespaces. Each tablespace corresponds to one or more data files on the shared storage. Table 7-1 shows the tablespace names used by an Oracle RAC database and the types of data they contain.
Table 7-1 Tablespace Names Used with Oracle Real Application Clusters Databases
Tablespace Name | Contents |
---|---|
A mandatory tablespace that consists of the data dictionary, including definitions of tables, views, and stored procedures needed by the database. Oracle Database automatically maintains information in this tablespace. | |
A mandatory, auxiliary system tablespace that is used by many Oracle Database features and products. This tablespace contains content that was previously stored in the | |
An user-created tablespace that consists of application data. As you create and enter data into tables, Oracle Database fills this space with your data. | |
A mandatory tablespace that contains temporary tables and indexes created during SQL statement processing. You may have to expand this tablespace if you run SQL statements that involve significant sorting, such as | |
System-managed tablespaces that contain undo data for each instance. Each Oracle RAC instance uses a different value for n in the tablespace name. These tablespaces are used for automatic undo management. | |
A system tablespace that contains rollback segments. If you do not use automatic undo management, then you must configure the |
See Also: Oracle Database Administrator's Guide for more information about theSYSTEM , SYSAUX , and other tablespaces |
You cannot alter these tablespace names if you select a preconfigured database templates, or database configuration type when installing Oracle RAC. However, you can change the names of the tablespaces if you select the Advanced database configuration type during the Oracle RAC installation. See "Selecting an Oracle Database Configuration Type" for more information about database configuration types.
As mentioned, each tablespace has one or more data files. The data file names created by the preconfigured database configuration types vary by storage type such as Oracle Automatic Storage Management (Oracle ASM), or a file system.
Windows platforms use symbolic link names for the data files and other database files as shown in Table 7-2. You can specify different symbolic link names when you select the Advanced database configuration type during installation.
Table 7-2 Symbolic Link Names for Database Files on Windows Platforms
The database is configured with two control files that must be stored on shared storage. Every database must has one unique control file; any additional control files configured for the database are identical copies of the original control file.
If a control file becomes unusable, then the database instance fails when it attempts to access the damaged control file. By multiplexing (creating multiple copies of) a control file on different disks, the database can achieve redundancy and thereby avoid a single point of failure.
Each database instance must have at least two online redo log files. The online redo log files for a database instance are called the redo thread. Each Oracle RAC database instance has its own redo thread to avoid contention for a single set of online redo log files. In case of instance failure, the online redo log files must be accessible by the surviving instances. Therefore, the online redo log files for an Oracle RAC database must be placed on shared storage or Oracle ASM. If you use a file system for storage, then the file system must be a shared or cluster file system.
The generated file names created by the preconfigured database configuration types for the online redo log files can vary depending on the type of storage used. Unless you are using a cluster file system or Oracle ASM, during installation or database creation, you must specify a raw device name for the storage location of each online redo log file.
See Also:
|
Oracle Database stores rollback or undo information in undo tablespaces. To manage undo tablespaces, Oracle recommends that you use automatic undo management, which is an automated management mode for the undo tablespace that makes the undo tablespace easier to administer.
When Oracle ASM and Oracle Managed Files (OMF) are used along with automatic undo management, an instance that is started for the first time, and thus does not have an undo tablespace, has its undo tablespace created for it by another instance automatically. The same is also true for online redo logs.
See Also:
|
Oracle recommends that you use a server parameter file (SPFILE) for storing Oracle Database initialization parameters. Oracle recommends that you store all SPFILEs on Oracle ASM, including the Oracle ASM SPFILE. SPFILEs must be located on shared storage so that all instances in a cluster database can access this parameter file.
See Also: Chapter 5, " Configuring the Server Parameter File in Oracle Real Application Clusters Environments" for more information about the creation and use of parameter files |
Oracle Database Vault installs a baseline database auditing policy. This policy covers the access control configuration information stored in Oracle Database Vault tables, information stored in the Oracle data dictionary (rollback segments, tablespaces, and so on), the use of system privileges, and Oracle Label Security configuration. When you install Oracle Database Vault, the security specific database initialization parameters are initialized with default values.
See Also: Oracle Database Vault Administrator's Guide for more information about how installing Oracle Database Vault affects the Oracle RAC database configuration |
Networking elements for the Oracle Database server and clients are preconfigured for most environments. The Easy Connect naming method is enabled by default and does not require a repository. If you use a naming method other than Easy Connect, then additional configuration of Oracle Net Services may be required.
The following sections the Oracle Net Services configuration for an Oracle RAC database:
Each database is represented by one or more services. A service is identified by a service name, for example, sales.example.com
. A client uses a service name to identify the database it must access. The information about the database service and its location in the network is transparent to the client.
The information needed to use a service name to create a database connection is stored in a repository, which is represented by one or more naming methods. A naming method is a resolution method used by a client application to resolve a connect identifier (such as the service name) to a connect descriptor when attempting to connect to a database service. Oracle Net Services offers several types of naming methods that support localized configuration on each client, or centralized configuration that can be accessed by all clients in the network.
An Oracle Database 11g release 2 (11.2) database service automatically registers with the listeners specified in the LOCAL_LISTENER
and REMOTE_LISTENER
parameters. During registration, PMON sends information such as the service name, instance names, and workload information to the listeners. This feature is called service registration
Services coordinate their sessions by registering their workload, or the amount of work they are currently handling, with the local listener and the SCAN listeners. Clients are redirected by the SCAN listener to a local listener on the least-loaded node that is running the instance for a particular service. This feature is called load balancing. The local listener either directs the client to a dispatcher process (if the database was configured for shared server), or directs the client to a dedicated server process.
When a listener starts after the Oracle instance starts, and the listener is available for service registration, registration does not occur until the next time the Oracle Database process monitor (PMON) starts its discovery routine. By default, the PMON discovery routine is started every 60 seconds. To override the 60-second delay, use the SQL statement ALTER SYSTEM REGISTER
. This statement forces PMON to register the service immediately.
Note: Oracle recommends that you create a script to run this statement immediately after starting the listener. If you run this statement when the instance is registered are services are currently registered, or while the listener is down, then the statement has no effect. |
See Also: Oracle Database Net Services Administrator's Guide for more information about service registration |