This chapter describes phase two of the installation procedures for installing Oracle Database 12c Release 1 (12.1) with Oracle Real Application Clusters (Oracle RAC). Phase one is the completion of the Oracle Clusterware installation, as described in Oracle Grid Infrastructure Installation Guide.
If a Windows Domain User is used as Oracle Home User, then both the user id and password should be specified during installation. For installations using Built-in Account as Oracle Home User, no user id or password for Oracle Home User is needed during the installation.
See Also:
Oracle Database Installation Guide for Microsoft Windows for additional information, such as how to open compressed installation files, and other information about setting up files for installation
During installation, click Help to find explanations of options and prompts for each installation screen, and click Details to see the log file.
During installation, you are asked in the Configure Security Updates screen to provide a security contact.
Oracle issues security alerts as needed for vulnerability fixes that are determined to be too critical to wait for distribution in the next Critical Patch Update.
See Also:
The Oracle Security Policies page, which is available from the following URL: http://www.oracle.com/us/support/assurance/fixing-policies/index.htmlYou must choose one of the installation options for installing the software.
See Also:
For the most recent updates and best practices about pre-upgrade, post-upgrade steps, compatibility, and interoperability discussions, see "Oracle 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
During installation, Oracle Universal Installer (OUI) detects if you have Oracle Grid Infrastructure for a cluster installed. If you do, then you must specify the type of database you plan to create.
See Also:
Oracle Database High Availability Overview for information about Oracle RAC One Node
Oracle Real Application Clusters Administration and Deployment Guide for information about how to convert single-instance databases to Oracle RAC
When creating an Oracle RAC database, you can choose one of two types of databases to create.
A policy-managed database: The database instances are automatically managed based on server pools for effective resource utilization.
An administrator-managed database: The database instances are tied to specific servers in the cluster.
See Also:
Oracle Real Application Clusters Administration and Deployment Guide for more information about server pools and the different cluster database management typesWhen you run Oracle Universal Installer (OUI) to install Oracle RAC, you can select the Typical or the Advanced installation type.
The Typical installation type installs a default configuration of Oracle Database, with basic configuration choices. Oracle recommends that most users select Typical as their installation type.
The Advanced installation type is for customized installations, and is necessary only when you have a specific requirement for it, such as adding specific components to your installation, requiring different passwords for the SYS, SYSTEM and DBSNMP accounts, using a different database character set than is in use on your servers, changing product languages, or other nonstandard configurations.
If you plan to use any of the following options during installation, then you should choose the Advanced Installation Type.
The General Purpose and Transaction Processing type and the Data Warehouse type use preconfigured database templates optimized for each type of database.
During installation, OUI starts Oracle Net Configuration Assistant (NETCA) and DBCA, and installs the preconfigured database without further input. During database installation, OUI displays a progress indicator.
DBCA processing for these two configuration types creates a starter database, and configures the Oracle network services.
You use the Advanced Database Configuration option when you have special requirements for your Oracle Database.
Advanced configuration options available using this installation type include Oracle RAC, Automatic Storage Management, backup and recovery configuration, integration with Oracle Enterprise Manager Cloud Control, more fine-grained memory tuning, and other options.
To use languages other than the default (English), either for the database or for applications running on the database, you must use the Advanced Installation method.
Tip:
By default, Oracle Universal Installer (OUI) configures the character set of a new database based on the language of the operating system.See Also:
Oracle Database Globalization Support Guide for detailed information about character set and language support
Oracle Database Installation Guide for Microsoft Windows for information about running OUI in different languages
When you choose the Advanced Installation option in OUI, then you can select the General Purpose/Transaction Processing, Data Warehouse, or Advanced database configuration type.
If you choose the Typical Installation Option, then the database configuration type defaults to General Purpose/Transaction Processing.
If you select Advanced configuration, then you can use Oracle Database Configuration Assistant (DBCA) to create the database as described in "Creating Oracle RAC Databases with DBCA". Oracle recommends that you use DBCA to create your database.
The database name is comprised of various strings and must contain only permitted characters.
The database name input field sets the following Oracle initialization parameter values:
DB_NAME
DB_UNIQUE_NAME
DB_DOMAIN
In Oracle RAC environments, the database name (DB_UNIQUE_NAME
) portion is a string of no more than 30 characters that can contain alphanumeric, underscore (_), dollar ($), and pound (#) characters, but must begin with an alphabetic character. No other special characters are permitted in a database name. The DB_NAME
parameter for a database is set to the first 8 characters of the database name.
The ___domain portion of the global database name (DB_DOMAIN
) can be no more than 128 characters. Domain names using underscores (_) are not allowed. The values for DB_UNIQUE_NAME.DB_DOMAIN
in its entirety must be unique within the enterprise.
Database Name and ORACLE_SID
The Oracle Service Identifier (SID) prefix is the first 8 characters of the database name. The SID prefix can contain only the characters a-z, A-Z, and 0-9. The SID prefix cannot contain operating system special characters, so if you use special characters in the first 8 characters of the database name, then these special characters are omitted in the SID prefix. There is a single SID prefix for every database. The SID prefix for a database must be unique within the cluster.
For an Oracle RAC database, each instance has a unique identifier, ORACLE_SID
, which consists of the SID prefix and an instance number. The ORACLE_SID
for Oracle RAC database instances is generated differently, depending on how you choose to manage the database. If you select a policy-managed database, then Oracle generates the SID in the format name_#, where name is the first eight alphanumeric characters of DB_UNIQUE_NAME, and # is the instance number. If you select an administator-managed database, then DBCA generates the default SID for the instance names, using the format name#, where name is the first eight alphanumeric characters of DB_UNIQUE_NAME
, and # is the instance number. However, during installation or database creation you can specify a nondefault value for the SID; the instance number is automatically added to the end of this string for each instance.
Example 2-1 Database Name and Related Initialization Parameters
If your database has a global database name of orl$racprod2551.example.com
which you supplied during installation, then the following values are used for initialization parameters:
Parameter | Value |
---|---|
|
|
|
|
|
|
Example 2-2 DB_UNIQUE_NAME and Related ORACLE_SID Values
If the DB_UNIQUE_NAME
for a database is orl$racprod2551
, then the following SID values are used:
Database or Instance Type | Value Used for ORACLE_SID |
---|---|
Single-instance Oracle database |
|
Policy-managed Oracle RAC instance |
|
Admin-managed Oracle RAC instance |
|
To secure your database, use passwords that satisfy the Oracle recommended password requirements, even the passwords for predefined user accounts.
Oracle Database provides a set of predefined user accounts. Create passwords in a secure fashion. If you have default passwords, change these passwords to secure passwords.
You can manage the security for Oracle Database users in various ways:
Enforce restrictions on the way that passwords are created
Create user profiles
Use user resource limits to further secure user accounts
See Also:
Oracle Database Security Guide for detailed information about creating secure passwords
Oracle Database Security Guide for details about how to locate accounts that use a default password
Starting with Oracle Database 12c Release 1 (12.1), Oracle Database supports the use of an Oracle Home User.
An Oracle Home User is a standard Windows User Account (not an Administrator account), specified during installation, that runs the Windows services required by Oracle Database for the Oracle home.
The Oracle Home User is associated with an Oracle Home and it cannot be changed post installation. Different Oracle Homes on a system can share the same Oracle Home User or use different Oracle Home User names. For Oracle RAC databases, the Windows user account for the Oracle Home must be a ___domain account and it has to be an existing account.
For Administrator-managed databases, you can store the password for the Oracle Home User in a secure wallet in the Oracle Cluster Registry (OCR). If such a wallet exists in the OCR, then Oracle Database administration tools automatically use the password from the wallet and do not require you to enter the password for the Oracle Home User during administrative operations.
For Policy-managed databases, you must store the password for the Oracle Home User in a secure wallet in the OCR. Oracle Database Configuration Assistant automatically creates the wallet (if one does not exist) when a Policy-managed database is created.
See Also:
Oracle Grid Infrastructure Installation Guide for Microsoft Windows x64 (64-Bit) for information on configuring the Oracle Installation User and Oracle Home User.
Oracle Database Platform Guide for Microsoft Windows for information about creating Oracle wallets for Oracle Database services
After installing Oracle Database, OUI runs DBCA to create your database, in accordance with Optimal Flexible Architecture (OFA) guidelines.
An installation created following OFA guidelines means that DBCA creates your database files, including the default server parameter file (SPFILE), using standard file naming and file placement practices.
You can also use DBCA in standalone mode to create or delete a database.
See Also:
Oracle Database Net Services Administrator's Guide if you experience problems (for example, with the listener configuration), and for more information about Lightweight Directory Access Protocol (LDAP) support
Oracle Universal Installer is the primary tool you use to install the Oracle RAC software.
Oracle Universal Installer is the primary tool you use to install Oracle RAC One Node software.
C:\Program Files\Oracle\Inventory\logs\installActionsdate_time.log
Caution:
The Oracle home name and path that you provide during database installation must be different from the home that you used for the Oracle Grid Infrastructure software. DO NOT install the Oracle Database with Oracle RAC software into the same home in which you installed Oracle Grid Infrastructure software.Note:
Because Oracle ASM is part of the Oracle Grid Infrastructure home, it cannot be upgraded during an Oracle RAC installation.Installing and configuring Oracle Database Vault requires actions during and after installation.
You must start the listener and database instance on all Oracle RAC nodes other than the one on which the installation is performed.
You can configure Oracle Database Vault during or after installation using DBCA.
See Also:
Oracle Database Vault Administrator's Guide for information about configuring and using Oracle Database VaultAfter you install the Oracle Database Vault option, you may be required to make additional changes to your database.
Changes made to registry and environment variables are not immediately visible to user sessions on remote notes.
ORACONFIG.exe - Unable to Locate Component
OCI.dll not found
You cannot use DBCA to manage database services for Oracle RAC databases.
Use the Server Control Utility (SRVCTL), Oracle Enterprise Manager Database Express, or Oracle Enterprise Manager Cloud Control for all administration and monitoring of database services for an Oracle RAC database.
Oracle Enterprise Manager Cloud Control documentation is available in the Oracle Help Center at the following website: http://docs.oracle.com
See Also:
Oracle Database 2 Day + Real Application Clusters Guide for service management using Oracle Enterprise Manager
Oracle Enterprise Manager Cloud Control Basic Installation Guide