After you have installed the Oracle Database 12c Release 1 (12.1) with Oracle Real Application Clusters (Oracle RAC) software, there are postinstallation tasks to complete.
Note:
This chapter describes only basic configurations. See also:Oracle Database Platform Guide for Microsoft Windows and the product administration and tuning guides for more detailed configuration and tuning information
Oracle Database Installation Guide for Microsoft Windows for additional postinstallation configuration information
Perform these tasks after completing your installation.
utlrp.sql
script recompiles all PL/SQL modules that might be in an invalid state, including packages, procedures, and types. Run this script immediately after creating or upgrading a database, not at a later date.If you did not choose to download software options during installation, then after installing Oracle RAC, verify if there are any patches needed for your system.
If the Windows Firewall feature is enabled on one or more nodes of your Oracle RAC cluster, then you must create exceptions for Oracle RAC applications and ports.
Oracle Services for Microsoft Transaction Server (OraMTS) permit Oracle databases to be used as resource managers in Microsoft application coordinated transactions.
On releases earlier than Oracle Database 12c, the OraMTS service was created as part of a software-only installation. Starting with Oracle Database 12c, you must use a configuration tool to create this service.
To create the OraMTS service after performing a software-only installation of Oracle RAC or after adding a node to an existing cluster, perform the following steps:
See Also:
Oracle Services for Microsoft Transaction Server Developer's Guide for Microsoft Windows for more information about OraMTSMany Oracle products and options must be configured before you use them for the first time.
Before using individual Oracle Database 12c Release 1 (12.1) products or options, refer to the appropriate manual in the product documentation library, which is available online at: http://docs.oracle.com.
Refer to the following topics for information about configuring various products and features after installation.
Oracle Universal Installer (OUI) installs Oracle Database Vault by default when you install the Oracle RAC software, but requires additional configuration steps.
After installation, you must configure Oracle Label Security in a database before you use it.
You can configure Oracle Label Security in two ways: with Oracle Internet Directory integration and without Oracle Internet Directory integration.
Table 4-1 Configuration Options and Requirements for Oracle Label Security
Configuration | Requirements |
---|---|
With Oracle Internet Directory integration |
To configure Oracle Label Security with Oracle Internet Directory integration, Oracle Internet Directory must be installed in your environment and the Oracle database must be registered in the directory. |
Without Oracle Internet Directory integration |
If you configure Oracle Label Security (OLS) without Oracle Internet Directory integration, then you cannot configure it to use Oracle Internet Directory at a later stage. To configure Oracle Label Security with Oracle Internet Directory on your database at a later time, you must remove the OLS option on the database and configure the OLS with Oracle Internet Directory integration option. |
Oracle Database Extentions (ODE) for .NET depends on a Windows service to operate properly. This service is called the OraClrAgnt service.
Oracle XML DB is a required component of the Oracle Database installation. However, you must manually configure the FTP and HTTP ports for Oracle XML DB.
The utlrp.sql
script recompiles all PL/SQL modules that might be in an invalid state, including packages, procedures, and types. Run this script immediately after creating or upgrading a database, not at a later date.
If your Oracle RAC database uses files that are external to the database, then the external files should be located on shared storage that is accessible to all nodes.
Note:
There is no checking of the contents of the external files or directory object specified as part of the external table to ensure that the directory contents are consistent on each node. To avoid unpredictable results, you must ensure that the same file is accessed from all nodes, or that the same file is used on all nodes.Oracle recommends that you complete these tasks after completing an Oracle RAC installation.
healthcheck
command to check your Oracle Clusterware and Oracle Database installations for their compliance with mandatory requirements and best practices guidelines, and to ensure that they are functioning properly.ORACLE_HOME
as a fixed environment variable when running Oracle Database on Windows operating systems. This is because the Oracle software determines where executable files reside at run time.You can use the CVU healthcheck
command to check your Oracle Clusterware and Oracle Database installations for their compliance with mandatory requirements and best practices guidelines, and to ensure that they are functioning properly.
Syntax
cluvfy comp healthcheck [-collect {cluster|database}] [-db db_unique_name] [-bestpractice|-mandatory] [-deviations] [-html] [-save [-savedir directory_path]
Options
Option | Description |
---|---|
-collect [cluster | database] |
Use this option to specify that you want to perform checks for Oracle Clusterware (cluster) or Oracle Database (database). If you do not use the collect flag with the |
-db db_unique_name |
Use this flag to specify checks on the database unique name that you enter after the CVU uses JDBC to connect to the database as the user CVUSYS to verify various database parameters. For this reason, if you want checks to be performed for the database you specify with the If you use the |
[-bestpractice | -mandatory] [-deviations] |
You can specify either the |
-html |
Use the If you specify the If you do not specify the |
-save [-savedir dir_path] |
Use the If you use the If you use the options |
Example 4-1 Running a Cluster Healthcheck After the Software Installation
To run a healthcheck for your Oracle Grid Infrastructure cluster, to check for any deviations from best practices, and display the results in HTML format, use the following command:
C:\> cd \app\oracle\product\12.1.0\dbhome_1\bin C:\..bin> cluvfy comp healthcheck -html
Example 4-2 Running a Healthcheck for Oracle RAC Database
To run a healthcheck for your Oracle RAC cluster, to check best practices recommendations and mandatory requirements, and display the results in HTML format, use the following command:
C:\> cd app\12.1.0\grid\bin C:\..bin> cluvfy comp healthcheck -html
Unlike on other platforms, do not set ORACLE_HOME
as a fixed environment variable when running Oracle Database on Windows operating systems. This is because the Oracle software determines where executable files reside at run time.
When you invoke an Oracle executable program on Windows, for example sqlplus.exe
, the ORACLE_HOME
, ORACLE_BASE
, and ORACLE_SID
variables are determined by the PATH
environment variable and the ___location of the executable program (which Oracle home it resides in). To use SQL*Plus to manage a different database or Oracle ASM instance, click the Windows Start button, select the correct Oracle Home for the instance you want to manage, and then select the SQL*Plus utility.
You can use Oracle Universal Installer (OUI) to specify an Oracle home as the default Oracle home and update the PATH environment variable to point to that Oracle home. Refer to "Multiple Oracle Home Directories on Windows" for detailed instructions on how to change the default Oracle home.
You can set up additional user accounts to manage your database.
Oracle Administration Assistant for Windows requires the Microsoft Management Console and HTML Help 1.2 or later to run.
See Also:
Microsoft documentation at: http://www.microsoft.com/
Under certain circumstances you may have to perform additional configuration steps for the Oracle Home user.
Creating an OCR wallet for Oracle Home user
Changing the password for the Oracle Home user
If you have installed Oracle Configuration Manager, then you must run a script to create a database account to collect database configuration collections.
See Also:
Oracle Configuration Manager Installation and Administration Guide for more informationWhen you install Oracle Database, some options are enabled and the others disabled. You can view the enabled Oracle Database options by querying the V$OPTION view using SQL*Plus.
See Also:
If you need to enable or disable a particular database feature for an Oracle home, then use the chopt
tool. The chopt
tool is a command-line utility that is located in the ORACLE_HOME
\bin
directory. The syntax for chopt
is as follows:
chopt [ enable | disable] db_option
The possible values for db_option
described in the following table.
Table 4-2 Database Options for Chopt Tool Command
Value | Description |
---|---|
|
Oracle Advanced Analytics |
|
Oracle OLAP |
|
Oracle Partitioning |
|
Oracle Real Application Testing |
|
Oracle Database Extensions for .NET |
Example 4-3 Running the Chopt Tool
Shut down the database with srvctl
or SQL*Plus:
srvctl stop database -d myDb
Stop the database service, OracleServiceSID
, using the Services program in Control Panel.
Run the following commands:
cd ORACLE_HOME/bin
chopt enable dm
Start the database service, OracleServiceSID
, using the Services program in Control Panel.
Start up the database:
srvctl start database -d myDb