Complete the postinstallation tasks after you have installed the Oracle Grid Infrastructure software.
You are required to complete some configuration tasks after Oracle Grid Infrastructure is installed. In addition, Oracle recommends that you complete additional tasks immediately after installation. You must also complete product-specific configuration tasks before you use those products.
Note:
This chapter describes basic configuration only. Refer to product-specific administration and tuning guides for more detailed configuration and tuning information.Certain postinstallation tasks are critical for your newly installed software.
Note:
Backing up a voting file is no longer required.On a regular basis Oracle provides patch sets that include generic and port specific fixes encountered by customers since the base product was released. Patch sets increment the 4th digit of the release number e.g. 11.2.0.1.0 to 11.2.0.3.0, these patch sets are fully regression tested in the same way that the base release is (for example, 11.2.0.1.0). Customers are encouraged to apply these fixes.
If a customer encounters a critical problem that requires a fix prior to the next patch set becoming available, they can request that a one off fix is made available on top of the latest patch set. This delivery mechanism is similar to the Microsoft Hot Fixes and is known as an Oracle patch set exception (or interim patch). Unlike Unix platforms these patch set exceptions are delivered in a patch set exception bundle (cumulative patch bundle), which includes all fixes since the current patch set. For example, bug 12393432 is a patch set exception bundle, Patch 12, for Oracle Database Release 11.2.0.1 for Microsoft Windows (x64). You should always apply the latest patch bundle available for your release.
The patch set exception bundles also include the fixes for the CPU (Critical Patch Update), DST (Daylight Saving Time), PSU (Patch Set Update) and Recommended Patch Bundles. It is not required to have the previous security patches applied before applying the patch set exception bundle. However, you must be on the stated patch set level for a given product home before applying the patch set exception bundle for that release.
Refer to "How to Upgrade to Oracle Grid Infrastructure 12c Release 1" for information about how to stop database processes in preparation for installing patches.
Oracle Grid Infrastructure on Windows Server 2008 or Windows Server 2008 R2 requires the Oracle Address Resolution Protocol (ARP) driver.
Note:
The Oracle ARP driver is not needed for IPv6 connections, or for IPv4 connections when the operating system is Windows Server 2012 or Windows Server 2012 R2.If the Windows Firewall feature is enabled on one or more of the nodes in your cluster, then virtually all transmission control protocol (TCP) network ports are blocked to incoming connections. As a result, any Oracle product that listens for incoming connections on a TCP port will not receive any of those connection requests and the clients making those connections will report errors.
You must configure exceptions for the Windows Firewall if your system meets all of the following conditions:
Oracle server-side components are installed on a computer running a supported version of Microsoft Windows. The list of components includes the Oracle Database, Oracle Grid Infrastructure, Oracle Real Application Clusters (Oracle RAC), network listeners, or any web servers or services.
The Windows computer in question accepts connections from other computers over the network. If no other computers connect to the Windows computer to access the Oracle software, then no post-installation configuration steps are required and the Oracle software functions as expected.
The Windows computer in question is configured to run the Windows Firewall. If the Windows Firewall is not enabled, then no post-installation configuration steps are required.
If all of the above conditions are met, then the Windows Firewall must be configured to allow successful incoming connections to the Oracle software. To enable Oracle software to accept connection requests, Windows Firewall must be configured by either opening up specific static TCP ports in the firewall or by creating exceptions for specific executable files so they can receive connection requests on any ports they choose.
oracle.exe
, multiple times, once for each Oracle home from which that executable file loads.Related Topics
For basic database operation and connectivity from remote clients, such as SQL*Plus, Oracle Call Interface (OCI), Open Database Connectivity (ODBC), and so on, you must add executable files to the Windows Firewall exception list.
The following executable files must be added to the Windows Firewall exception list:
Oracle_home\bin\oracle.exe
- Oracle Database executable
Oracle_home\bin\tnslsnr.exe
- Oracle Listener
If you use remote monitoring capabilities for your database, the following executable files must be added to the Windows Firewall exception list:
Oracle_home\bin\emagent.exe
- Oracle Enterprise Manager
Oracle_home\jdk\bin\java.exe
- Java Virtual Machine (JVM) for Oracle Enterprise Manager
After installing the Oracle Database Companion CD, you must add executable files to the Windows Firewall exception list.,
The following executable files must be added to the Windows Firewall exception list:
Oracle_home\opmn\bin\opmn.exe
- Oracle Process Manager
Oracle_home\jdk\bin\java.exe
- JVM
If your Oracle database interacts with non-Oracle software through a gateway, then you must add the gateway executable file to the Windows Firewall exception list. The following table lists the gateway executable files used to access non-Oracle software.
Table 8-1 Oracle Executables Used to Access Non-Oracle Software
Executable Name | Description |
---|---|
|
Oracle Services for Microsoft Transaction Server |
|
Oracle Database Gateway for Sybase |
|
Oracle Database Gateway for Teradata |
|
Oracle Database Gateway for SQL Server |
|
Oracle Database Gateway for Distributed Relational Database Architecture (DRDA) |
|
Oracle Database Gateway for Advanced Program to Program Communication (APPC) |
|
Oracle Database Gateway for APPC |
|
Oracle Database Gateway for WebSphere MQ |
|
Oracle Database Gateway for WebSphere MQ |
|
Oracle Database Gateway for ODBC |
If you installed the Oracle Grid Infrastructure software on the nodes in your cluster, then you can enable the Windows Firewall only after adding certain executable files and ports to the Firewall exception list.
The Firewall exception list must be updated on each node.
Grid_home\bin\gpnpd.exe
- Grid Plug and Play daemon
Grid_home\bin\oracle.exe
- Oracle Automatic Storage Management (Oracle ASM) executable file (if using Oracle ASM for storage)
Grid_home\bin\racgvip.exe
- Virtual Internet Protocol Configuration Assistant
Grid_home\bin\evmd.exe
- OracleEVMService
Grid_home\bin\crsd.exe
- OracleCRService
Grid_home\bin\ocssd.exe
- OracleCSService
Grid_home\bin\octssd.exe
- Cluster Time Synchronization Service daemon
Grid_home\bin\mDNSResponder.exe
- multicast-___domain name system (DNS) Responder Daemon
Grid_home\bin\gipcd.exe
- Grid inter-process communication (IPC) daemon
Grid_home\bin\gnsd.exe
- Grid Naming Service (GNS) daemon
Grid_home\bin\ohasd.exe
- OracleOHService
Grid_home\bin\TNSLSNR.EXE
- single client access name (SCAN) listener and local listener for Oracle RAC database and Oracle ASM
Grid_home\opmn\bin\ons.exe
- Oracle Notification Service (ONS)
Grid_home\jdk\jre\bin\java.exe
- JVM
After installing the Oracle Real Application Clusters (Oracle RAC), you must add executable files to the Windows Firewall exception list.
For the Oracle RAC database, the executable file that require exceptions are:
Oracle_home\bin\oracle.exe
- Oracle RAC database instance
Oracle_home\bin\emagent.exe
- Oracle Enterprise Manager agent
Oracle_home\jdk\bin\java.exe
- For the Oracle Enterprise Manager Database Console
In addition, the following ports should be added to the Windows Firewall exception list:
Microsoft file sharing system management bus (SMB)
TCP ports from 135 through 139
Direct-hosted SMB traffic without a network basic I/O system (NetBIOS)
port 445 (TCP)
In additional to all the previously listed exceptions, if you use any of the Oracle software listed in, then you must create an exception for Windows Firewall for the associated executable file.
Table 8-2 Other Oracle Software Products Requiring Windows Firewall Exceptions
Oracle Software Product | Executable Name |
---|---|
Data Guard Manager |
|
Oracle Internet Directory lightweight directory access protocol (LDAP) Server |
|
External Procedural Calls |
|
Oracle recommends that you complete these tasks as needed after installing Oracle Grid Infrastructure.
cluvfy comp scan
(located in Grid_home\bin
) to confirm that the DNS is correctly associating the SCAN with the addresses.The Windows operating system should be optimized for Memory Usage of 'Programs' instead of 'System Caching'.
You should create a separate disk group for the fast recovery area.
During installation of Oracle Grid Infrastructure, if you select Oracle ASM for storage, a single disk group is created to store the Oracle Clusterware files. If you plan to create a single-instance database, an Oracle RAC database, or an Oracle RAC One Node database, then this disk group can also be used to store the data files for the database. However, Oracle recommends that you create a separate disk group for the fast recovery area.
The fast recovery area is a unified storage ___location for all Oracle Database files related to recovery.
Database administrators can define the DB_RECOVERY_FILE_DEST
parameter to the path for the fast recovery area to enable on-disk backups, and rapid recovery of data. Enabling rapid backups for recent data can reduce requests to system administrators to retrieve backup tapes for recovery operations.
When you enable the fast recovery area in the database initialization parameter file, all RMAN backups, archive logs, control file automatic backups, and database copies are written to the fast recovery area. RMAN automatically manages files in the fast recovery area by deleting obsolete backups and archive files that are no longer required for recovery.
To use a fast recovery area in Oracle RAC, you must place it on an Oracle ASM disk group, a cluster file system, or on a shared directory that is configured through Direct network file system (NFS) for each Oracle RAC instance. In other words, the fast recovery area must be shared among all of the instances of an Oracle RAC database. Oracle Clusterware files and Oracle Database files can be placed on the same disk group as fast recovery area files. However, Oracle recommends that you create a separate fast recovery area disk group to reduce storage device contention.
The fast recovery area is enabled by setting the parameter DB_RECOVERY_FILE_DEST
to the same value on all instances. The size of the fast recovery area is set with the parameter DB_RECOVERY_FILE_DEST_SIZE
. As a general rule, the larger the fast recovery area, the more useful it becomes. For ease of use, Oracle recommends that you create a fast recovery area disk group on storage devices that can contain at least three days of recovery information. Ideally, the fast recovery area should be large enough to hold a copy of all of your data files and control files, the online redo logs, and the archived redo log files needed to recover your database using the data file backups kept under your retention policy.
Multiple databases can use the same fast recovery area. For example, assume you have created one fast recovery area disk group on disks with 150 gigabyte (GB) of storage, shared by three different databases. You can set the size of the fast recovery area for each database depending on the importance of each database. For example, if test1
is your least important database, products
is of greater importance and orders
is of greatest importance, then you can set different DB_RECOVERY_FILE_DEST_SIZE
settings for each database to meet your retention target for each database: 30 GB for test1
, 50 GB for products
, and 70 GB for orders
.
The SCAN is a name that provides service access for clients to the cluster. You can use the command cluvfy comp scan
(located in Grid_home\bin
) to confirm that the DNS is correctly associating the SCAN with the addresses.
Because the SCAN is associated with the cluster as a whole, rather than to a particular node, the SCAN makes it possible to add or remove nodes from the cluster without needing to reconfigure clients. It also adds ___location independence for the databases, so that client configuration does not have to depend on which nodes run a particular database instance. Clients can continue to access the cluster in the same way as with earlier releases, but Oracle recommends that clients accessing the cluster use the SCAN.
After installation, when a client sends a request to the cluster, the Oracle Clusterware SCAN listeners redirect client requests to servers in the cluster.
Example 8-1 Using CLUVFY to Confirm DNS is Correctly Associating the SCAN Addresses
This example shows the output from the cluvfy comp scan
command for a cluster node named node1.example.com
.
C:\> cluvfy comp scan Verifying scan Checking Single Client Access Name (SCAN)... Checking TCP connectivity to SCAN Listeners... TCP connectivity to SCAN Listeners exists on all cluster nodes Checking name resolution setup for "node1.example.com"... Verification of SCAN VIP and Listener setup passed Verification of scan was successful.
If you are managing Oracle Clusterware as target from Database Control or Cloud Control, you might notice that the Oracle ASM targets have a status of Down, even if the services and instances are running.
Review the following sections for information about using earlier Oracle Database releases with Oracle Grid Infrastructure 12c Release 1 (12.1) installations
lsnrctl
programs from Oracle home locations for earlier releases because they cannot be used with the new release.You can use Oracle Database 10g and Oracle Database 11g with Oracle Clusterware and Oracle ASM 12c Release 1 (12.1).
If you upgrade an existing release of Oracle Clusterware and Oracle ASM to Oracle Grid Infrastructure 11g Release 2 (11.2) (which includes Oracle Clusterware and Oracle ASM), and you also plan to upgrade your Oracle RAC database to Oracle Database 12c Release 1 (12.1), then the required configuration of the existing databases is completed automatically when you complete the Oracle RAC upgrade, and this section does not concern you.
However, if you upgrade to Oracle Grid Infrastructure 12c Release 1 (12.1), and you have existing Oracle RAC installations that you do not plan to upgrade, or if you install an earlier release of Oracle RAC (11.2) on a cluster running Oracle Grid Infrastructure 12c Release 1 (12.1), then you must complete additional configuration tasks or apply patches, or both, before the earlier database releases will work correctly with Oracle Grid Infrastructure.
Oracle Database homes can only be stored on Oracle ACFS if the database release is Oracle Database 11g Release 2 or higher. Earlier releases of Oracle Database cannot be installed on Oracle ACFS because these releases were not designed to use Oracle ACFS.
Note:
Before you start an Oracle RAC or Oracle Database install on an Oracle Clusterware 12c Release 1 (12.1) installation, if you are upgrading from Oracle Clusterware 11g Release 1 or Oracle Clusterware 10g Release 2, you must first upgrade to Oracle Clusterware 11g Release 2. Then, you must move the OCR and voting files to Oracle ASM storage before upgrading to Oracle Clusterware 12c.See Also:
"Oracle 12c Upgrade Companion," which is available through Note 1462240.1 on My Oracle Support: https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=1462240.1
Starting with Oracle Grid Infrastructure 11g Release 2, Oracle ASM is installed as part of an Oracle Grid Infrastructure installation, with Oracle Clusterware.
You can no longer use Database Configuration Assistant (DBCA) to perform administrative tasks on Oracle ASM.
See Also:
Oracle Automatic Storage Management Administrator's Guide for details on configuring disk group compatibility for databases using Oracle Database 11g Release 2 with Oracle Grid Infrastructure 12c Release 1 (12.1)Do not attempt to use the lsnrctl
programs from Oracle home locations for earlier releases because they cannot be used with the new release.
lsnrctl
, located in the Oracle Grid Infrastructure 12c home to administer local and SCAN listeners for Oracle Clusterware and Oracle ASM 11g Release 2.Before shutting down Oracle Clusterware 12c Release 1 (12.1), if you have an Oracle Database 11g Release 2 (11.2) database registered with Oracle Clusterware 12c, then you must perform additional steps to ensure the resources are stopped.
crsctl stop crs -f
command to shut down the Oracle Clusterware stack and ignore any errors that are raisedcrsctl stop crs
command to shut down the Oracle Clusterware stackshutdown -r
.After installation, if you must modify the software installed in your Grid home, then you must first stop the Oracle Clusterware stack.
Caution:
To put the changes you make to the Oracle Grid Infrastructure home into effect, you must shut down all executable files that run in the Grid home directory and then restart them. In addition, shut down any applications that use Oracle shared libraries or DLL files in the Grid home.Note:
Do not delete directories in the Grid home. For example, do not delete the directoryGrid_home/Opatch
. If you delete the directory, then the Grid infrastructure installation owner cannot use Opatch to patch the Grid home, and Opatch displays the error message "checkdir error: cannot create Grid_home/OPatch".