Oracle® Database Installation Guide 10g Release 2 (10.2) for HP OpenVMS Part Number B25414-04 |
|
|
PDF · Mobi · ePub |
This chapter provides an overview of the procedure for installing Oracle RAC 10g Release 2 (10.2).
You may also need to refer to the following Oracle documents for detailed information about installing and administrating Oracle RAC on an HP OpenVMS system:
Oracle Real Application Clusters Installation and Configuration Guide
Oracle Real Application Clusters Deployment and Performance Guide
Oracle RAC configuration is described in Chapter 6, "Configuring Oracle RAC".
This chapter contains the following topics:
Section 5.3, "Cluster Setup and Preinstallation Configuration Tasks"
Section 5.4, "Preinstallation, Installation, and Postinstallation Overview"
Section 5.5, "Oracle Universal Installer and Oracle Real Application Clusters"
Section 5.7, "Oracle Database and Oracle Real Application Clusters Components"
Section 5.8, "Oracle Real Application Clusters Version Compatibility"
Section 5.10, "Installation Tasks for Oracle Real Application Clusters"
Section 5.13, "Installing Oracle Database with Oracle Real Application Clusters"
Section 5.14, "Postinstallation Procedures for Oracle Real Application Clusters"
Section 5.15, "Uninstalling Oracle Real Application Clusters Software"
This section describes the Oracle RAC documentation set. The platform-specific Oracle Database 10g installation media contains a copy of Oracle Database Installation Guide for HP OpenVMS in both HTML and PDF format. This chapter contains the preinstallation, installation, and postinstallation information for Oracle RAC. Additional information for this release may be available in the Oracle Database 10g README
file or Release Notes.
The Server Documentation installation media contains the following additional documentation about Oracle Real Application Clusters administration and deployment:
Section 5.1.1, "Oracle Real Application Clusters Administrator's Guide"
Section 5.1.2, "Oracle Real Application Clusters Deployment and Performance Guide"
Oracle Real Application Clusters Administrator's Guide provides Oracle Real Application Clusters-specific administration information. Some of the topics described in this book include the use of Oracle Enterprise Manager in Oracle Real Application Clusters environments. This book describes how to administer services and storage and how to use Oracle Real Application Clusters scalability features to add and delete instances and nodes in Oracle Real Application Clusters environments. This book also discusses how to use Recovery Manager (RMAN) and how to perform backup and recovery in Oracle Real Application Clusters.
In addition, Oracle Real Application Clusters Administrator's Guide describes how to use the Server Control (SRVCTL
) utility to start and stop the database and instances, manage configuration information, and to delete or move instances and services. The appendix describes how you can resolve various Oracle Real Application Clusters tools messages. A troubleshooting section describes how to interpret the content of Oracle Real Application Clusters-specific log files.
The Oracle Real Application Clusters Deployment and Performance Guide highlights the main deployment topics for Oracle Real Application Clusters by briefly describing Oracle Clusterware, storage, database creation, and services deployment in Oracle Real Application Clusters. Design and deployment topics in this reference book describe service topologies and workload management in Oracle Real Application Clusters. Specifically, the book describes how the Automatic Workload Repository tracks and reports service levels and how you can use service level thresholds and alerts to ensure high-availability in an Oracle Real Application Clusters environment. A services deployment example is also available in the appendix of the book, and you can use it to learn more about how to deploy and to manage services in Oracle Real Application Clusters environments.
The Oracle Real Application Clusters Deployment and Performance Guide provides a high-level description of interconnect protocols, and information about how to monitor and tune performance in Oracle Real Application Clusters environments using both Oracle Enterprise Manager and using information in the Automated Workload Repository and Oracle performance views. The book highlights some application-specific deployment techniques for online transaction processing (OLTP) and data warehousing environments.
The information in this chapter is meant to supplement the detailed information you can find in Oracle Real Application Clusters Administrator's Guide. Refer to that document as necessary when reading through this chapter.
In addition, you will find important HP OpenVMS-specific installation and configuration information pertaining to Oracle Real Application Clusters in Chapter 5, "Installing Oracle RAC" and Chapter 6, "Configuring Oracle RAC".
For more general information about configuring and using Oracle Real Application Clusters, refer to the Oracle Real Application Clusters Installation and Configuration Guide.
Oracle Real Application Clusters is a completely redesigned feature from the Parallel Server Option in versions prior to Oracle Database 10g. Oracle Database includes a portable Distributed Lock Manager (DLM) internal to the database server.
Because of this, the usage of the ENQLM
quota by the Oracle Real Application Clusters Option has been greatly reduced. Large ENQLM
boosts for background processes are no longer necessary in the Oracle Database environment.
The Process Quota estimation functions of the Oracle Database attempt to make reasonable calculations for the various background processes started during server operations. You can change the quota that is allocated to a background process by defining certain system logical names before the instance is started.
To affect the process quota given to all background processes in an instance, define the following:
$ DEFINE/SYSTEM ORA_sid_PQL$_quota quota_value
If you have a SID
named TOM1
, and if you want to boost the BYTLM
quota to 2 MB, then use the following:
$ DEFINE/SYSTEM ORA_TOM1_PQL$_BYTLM 2000000
Alternatively, you could effect the process quota of a particular background by defining the following:
$ DEFINE/SYSTEM ORA_sid_process_PQL$_quota quota_value
If you want the LMD0
process of the TOM1
SID
to get 3 MB of BYTLM
, then you would use the following:
$ DEFINE/SYSTEM ORA_TOM1_LMD0_PQL$_BYTLM 3000000
Before installing Oracle Real Application Clusters, perform the following steps:
Ensure that you have a certified combination of operating system and Oracle software version by referring to My Oracle Support (formerly OracleMetaLink) certification information at
On this Web site, click Certify and Availability, and then select 1. View Certifications by Product.
Configure a high-speed interconnect that uses a private network. Configure a second interconnect for redundancy to avoid making the interconnect a potential single point of failure. Some platforms support automatic failover to the alternate interconnect. To enable this, you must configure the operating system-provided failover mechanism.
The following sections describes the installation procedures that are covered in detail in this chapter:
The preinstallation procedures explain how to verify user equivalence, perform network connectivity tests, and how to set directory and file permissions. Complete all of the preinstallation procedures and verify that the system meets all of the preinstallation requirements before proceeding to the install phase.
Oracle Real Application Clusters installation is a two-phase installation. In phase one, use Oracle Universal Installer to install Oracle Clusterware as described in Section 5.7.1, "Oracle Clusterware". Note that the Oracle home that you use in phase one is a home for the Oracle Clusterware software. This Oracle home must be different from the Oracle home that you use in phase two for the installation of Oracle Database software with Oracle Real Application Clusters components. The Oracle Clusterware preinstallation starts the Oracle Clusterware processes in preparation for installing Oracle Database with Oracle Real Application Clusters as described in Section 5.13, "Installing Oracle Database with Oracle Real Application Clusters".
After the installation is complete, Oracle Universal Installer starts the Oracle assistants, such as Database Configuration Assistant, to configure the environment and create the Oracle Real Application Clusters database. You can later use Database Configuration Assistant Instance Management feature to add or modify services and instances as described in Section 6.6, "Creating the Oracle RAC Database".
After you create the database, download and install the most recent patch sets for Oracle Database as described in Section 5.14.2, "Downloading and Installing Patches". If you are using other Oracle products with the Oracle Real Application Clusters database, then you must also configure them.
You must perform several postinstallation configuration tasks to use certain Oracle Database products such as the Sample Schema, Oracle Net Services, or Oracle Messaging Gateway. You must also configure Oracle precompilers, and if required, configure Oracle Advanced Security.
Use the installation media to install additional Oracle Database software that may improve performance or extend database capabilities, such as Oracle JVM, Oracle interMedia or Oracle Text.
See Also:
Oracle Database Oracle Clusterware and Oracle Real Application Clusters Administration and Deployment Guide for more information about using Oracle Real Application Clusters scalability features of adding and deleting nodes and instances from Oracle Real Application Clusters databasesOracle Universal Installer facilitates the installation of Oracle Clusterware and Oracle Database software. In most cases, you must use the graphical user interface (GUI) provided by Oracle Universal Installer to install the software. However, you can also use Oracle Universal Installer to complete scripted installations without using the GUI. Refer to Appendix B for information about scripted installations.
When Oracle Universal Installer installs the Oracle software, Oracle recommends that you select a preconfigured database or use Database Configuration Assistant interactively to create the cluster database. You can also manually create the database as described in procedures posted at
http://www.oracle.com/technetwork/index.html
You can configure Enterprise Manager Grid Control to manage multiple databases and application servers from a single console. To manage Oracle Real Application Clusters databases in Grid Control, you must install a Grid Control agent on each of the nodes of the cluster. The Agent installation is clusterized, which means you need to perform the install on only one of the cluster nodes.
See Also:
Oracle Universal Installer and OPatch User's Guide for Windows and UNIX for details about Oracle Universal Installer
Oracle Database Oracle Clusterware and Oracle Real Application Clusters Administration and Deployment Guide for information about using Enterprise Manager to administer Oracle Real Application Clusters environments
Following are some additional considerations for using Oracle Database 10g features in Oracle Real Application Clusters. Oracle recommends using the following Oracle Database features to simplify Oracle Real Application Clusters database management:
Enterprise Manager
Use Enterprise Manager to administer the entire processing environment, not just the Oracle Real Application Clusters database. Enterprise Manager enables you to manage an Oracle Real Application Clusters database with its instance targets, listener targets, host targets, and a cluster target.
Automatic undo management
This feature automatically manages undo processing.
Automatic segment space management
This feature automatically manages segment freelists and freelist groups.
Locally managed tablespaces
These enhance space management performance.
See Also:
Oracle Database Oracle Clusterware and Oracle Real Application Clusters Administration and Deployment Guide for more information about features available in Oracle Real Application Clusters environmentsOracle Database provides single-instance database software and additional components to operate Oracle Real Application Clusters databases. Some of the Oracle Real Application Clusters-specific components include:
Oracle Clusterware must be installed only on one node. However, you must configure and start the Oracle Clusterware on each node where you intend to install or run the Oracle Real Application Clusters-enabled database. The home that you select for Oracle Clusterware must be different from the Oracle Real Application Clusters-enabled Oracle home.
All instances in Oracle Real Application Clusters environments share the control file, server parameter file, redo log files, and all data files. These are accessed by all the cluster database instances. Each instance also has its own set of redo log files. During failures, shared access to redo log files enables surviving instances to perform recovery.
You can install and operate multiple Oracle homes and different versions of Oracle cluster database software on the same computer as described in the following points:
You can install multiple Oracle Database 10g Oracle Real Application Clusters homes on the same node. The multiple homes feature enables you to install one or more releases on the same computer in multiple Oracle home directories. However, each node can have only one Oracle Clusterware home.
If you run Oracle Universal Installer to install Oracle Real Application Clusters on a system that already has an Oracle Database 10g Oracle Real Application Clusters installation in the same home, then Oracle Universal Installer prompts you to install additional Oracle Database 10g products if you have not already installed all of them.
You can use Oracle Universal Installer to complete some of the steps involved in removing and reinstalling Oracle Real Application Clusters if required.
Note:
Do not move Oracle binaries from one Oracle home to another because this causes dynamic link failures.The following sections describe the procedure for installing Oracle Clusterware. This is the first phase of installing Oracle Database with Oracle Real Application Clusters. These sections also explain how to create Oracle Real Application Clusters databases, and describe the postinstallation tasks.
In addition to the public IP address of the host computer, obtain two more IP addresses for each node that is going to be part of the installation. During the installation, enter the IP addresses into the DNS. One of the IP addresses must be a public IP address for the virtual IP address of the node. Virtual IP addresses are used for client-to-database connections. Therefore, the virtual IP address must be publicly accessible. The other address must be a private IP address for internode, or instance-to-instance Cache Fusion traffic. Using public interfaces for Cache Fusion can cause performance problems. Refer to Section 2.3.2 for further Oracle Clusterware IP address requirements.
This section describes the procedure for using Oracle Universal Installer to install Oracle Clusterware. Note that the Oracle Clusterware home that you identify in this phase of the installation is only for Oracle Clusterware software. This home cannot be the same home as the home that you use in phase two to install Oracle Database software with Oracle Real Application Clusters.
Start a new terminal session.
Set up display using the $ SET DISPLAY
command.
Define logical ORA_BATCH_QUEUE_
nodename
to point to an existing batch queue (For more information about batch queue, refer to Appendix E).
Note:
Oracle recommends that you use a dedicated batch queue.Create a file, CLUSTER_NODES.DAT
, in the SYS$LOGIN
directory with the list of nodes that are to comprise the Oracle Real Application Clusters cluster. This file displays each node on a separate line with the primary node listed first.
Run the following command:
$ SET NOVERIFY
Run the $ SET PROCESS/PRIV=ALL
command.
Start the RUNINSTALLER
script located in the [CLUSTERWARE]
directory on the installation medium.
If you are performing this installation in an environment where Oracle Universal Installer inventory is already set up, then Oracle Universal Installer displays the Specify File Locations screen. If the Specify File Locations screen is displayed, then proceed to Step 9.
The Specify File Locations screen contains predetermined information for the source of the installation files and the target destination information. Enter the Oracle Clusterware home name and its location in the target destination, click Next, and Oracle Universal Installer displays the Language Selection screen.
Note:
The Oracle Clusterware home that you identify in this step must be different from the Oracle home that you will use in phase two of the installation.In the Language Selection screen, select the languages that you want Oracle Clusterware to use, click Next, and Oracle Universal Installer displays the Cluster Configuration screen.
The Cluster Configuration screen contains predefined node information if Oracle Universal Installer retrieved the nodes specified in CLUSTER_NODES.DAT
. Otherwise, Oracle Universal Installer displays the Cluster Configuration screen without predefined node information.
Enter a public node name and a private node name for each node. When you enter the public node name, use the primary host name of each node. This node name can be either the permanent or the virtual host name.
In addition, the cluster name that you use must be globally unique throughout the enterprise and the allowable character set for the cluster name is the same as that for host names, that is, underscores (_), hyphens (-), and single-byte alphanumeric characters (a to z, A to Z, and 0 to 9). Ensure that you also enter a private node name or private IP address for each node. This is an address that is only accessible by the other nodes in this cluster. Oracle uses the private IP addresses for Cache Fusion processing. Click Next after you have entered the cluster configuration information, and Oracle Universal Installer performs validation checks such as node availability and remote Oracle home permissions verifications. These verifications may require some time to complete. When Oracle Universal Installer completes the verifications, it displays the Specify Network Interface Usage screen.
Note:
The IP addresses that you use for all of the nodes in the current installation process must be from the same subnet.On the Specify Network Interface Usage screen Oracle Universal Installer displays a list of clusterwide interfaces. Use the lists on this screen to classify each interface as Public
, Private
, or Do Not Use
. The default setting for each interface is Do Not Use
. You must classify at least one interconnect as Public
and one as Private
.s
When you click Next on the Specify Network Interface Usage screen, Oracle Universal Installer will look for the OCR.LOC
file. Oracle Universal Installer will look for the file in the logindisk:[logindir.nodename]
directory. If the OCR.LOC
file exists, and if the OCR.LOC
file has a valid entry for the Oracle Cluster Registry (OCR) location, then the Voting Disk Location screen is displayed and you should proceed to Step 14.
Otherwise, the Oracle Cluster Registry Location Information screen is displayed. Enter a complete path for the shared file system file for the Oracle Cluster Registry, click Next, and the Voting Disk Information screen is displayed.
On the Voting Disk Information screen, enter a complete path and file name for the file in which you want to store the voting disk, and then click Next.
Note:
The path for OCR and the voting disk location must be in UNIX style.For example : /disk/dir/ocr.dat
Note:
The storage size for the OCR should be at least 100 MB and the storage size for the voting disk should be at least 20 MB. In addition, Oracle recommends that you use a RAID array for storing the OCR and the voting disk to ensure the continuous availability of the partitions.Oracle Universal Installer displays the list of components that are installed on the Summary screen. Review the list of components and click Install.
You will be prompted to run CRSSETUP.COM
on each node. After you have done so, click Yes in the dialog box.
Oracle Universal Installer runs the Oracle Private Interconnect Configuration Assistant. This assistant runs without your intervention.
Note:
If one or more of the configuration assistants fails, then you can manually rerun the script created by Oracle Universal Installer to determine the cause of the failure. You can find this script in theORA_ROOT:[CFGTOOLLOGS]
directory. You may need to edit the script to replace placeholders for passwords, to remove steps that completed successfully, and so on.When Oracle Universal Installer displays the End of Installation screen, click Exit to exit Oracle Universal Installer.
Run the ORAUSER.COM
command procedure.
Verify the Oracle Clusterware installation by running the following OLSNODES
command:
$ OLSNODES
The output from this command should be a listing of the nodes on which Oracle Clusterware was installed as shown in the following example:
$ OLSNODES -N racserver1 1 racserver1 2
At this point, you have completed phase one, the installation of Oracle Clusterware, and are ready to install Oracle Database 10g with Oracle Real Application Clusters as described in Section 5.10, "Installation Tasks for Oracle Real Application Clusters".
Oracle Clusterware Background Processes
The following processes must be running in the environment after the Oracle Clusterware installation for Oracle Clusterware to function:
Event manager daemon that starts the racgevt
process to manage callouts.
Manages cluster node membership and runs in the Oracle Database account.
ORA_HAS_CRSDREB
(ORA_HAS_CRSDRES
if the Clusterware has been restarted and the node has not)
Performs high-availability recovery and management operations such as maintaining the OCR.
ORA_EVMLOGGabcd
Event Logger (abcd will be hexadecimal digits)
ORA_HAS_OCLSVMO
Vendor Clusterware Monitor
ORA_HAS_OCLSOMO
Clusterware Monitor
The following sections describe phase two of the installation procedures for installing Oracle Database with Oracle Real Application Clusters. They also describe some of Oracle Universal Installer features.
This section describes Oracle Universal Installer features that you should understand before beginning phase two of the Oracle Real Application Clusters installation process. When you run Oracle Universal Installer and select Oracle Database 10g, you can select the General Purpose, Transaction Processing, Data Warehouse, or Advanced configuration type.
For the first three configuration types, you can complete additional procedures that are described later in this chapter. If you select the fourth type, or the Advanced configuration, then you can use Database Configuration Assistant to create the database as described in Section 6.2, "Using Database Configuration Assistant for Oracle RAC". Oracle recommends that you use Database Configuration Assistant to create the database.
You can also select the Advanced configuration, select a preconfigured template, customize the template, and use Database Configuration Assistant to create a database using the template. These templates correspond to the General Purpose, Transaction Processing, and Data Warehouse configuration types. You can also use Database Configuration Assistant with the Advanced template to create a database.
Oracle recommends that you use one of the preconfigured database options or use the Advanced option and Database Configuration Assistant to create the database. However, if you want to configure the environment and create the database manually, then select the Do not create a starter database configuration option and refer to the manual database creation procedures posted at
http://www.oracle.com/technetwork/index.html
This section discusses the following topics:
The configuration type that you select, as described in Table 5-1, determines how you proceed.
Table 5-1 Oracle Universal Installer Database Configuration Types
Configuration Type | Description | Advantages |
---|---|---|
Installs a preconfigured starter database, licensable Oracle options (including Oracle Database with Oracle Real Application Clusters), networking services, Oracle Database utilities, and online documentation. At the end of the installation, Database Configuration Assistant creates and configures the Oracle Real Application Clusters database. |
Minimal input required. You can create the database more quickly than with the Advanced type. |
|
Enables you to customize the database options and storage components. |
Enables you to create arbitrary tablespaces and data files and customize all aspects of the database. |
|
Installs only the software. Does not configure the listeners, network infrastructure, and does not create a database. |
If you select one of the first three configuration types on Select Database Configuration screen of Oracle Universal Installer, then complete the procedure described in "Procedure for Installation Setup". These three configuration types use preconfigured templates. After you complete these procedures, the Oracle Network Configuration Assistant and Database Configuration Assistant run without further input and Oracle Universal Installer displays a progress indicator during the installation. Database Configuration Assistant processing for these configuration types creates a starter database and configures the network services.
When you select the Advanced configuration type, Oracle Universal Installer runs Database Configuration Assistant which displays the following four preconfigured database template choices:
General Purpose
Transaction Processing
Data Warehouse
Advanced
The first three templates create a database that is optimized for that environment. You can also customize these templates. The Advanced type, however, creates a database without using preconfigured options.
The following section provides more detail about Oracle Universal Installer and Database Configuration Assistant processing when creating an Oracle Real Application Clusters database.
After installation, Oracle Universal Installer starts the Oracle Network Configuration Assistant. After the Oracle Network Configuration Assistant completes its processing, Oracle Universal Installer runs Database Configuration Assistant to create the database. This means that Database Configuration Assistant creates the database files, including the default server parameter file (SPFILE
), using standard file naming and file placement practices. The primary phases of Database Configuration Assistant processing are:
Verifying that you correctly configure the shared disks for each tablespace if you use raw storage
Creating the database
Configuring Oracle network services
Starting the listeners and database instances
You can also use Database Configuration Assistant in standalone mode to create a database.
See Also:
The Oracle Database Net Services Administrator's Guide for more information about troubleshooting and LDAP supportThe remainder of this chapter explains how to use Oracle Universal Installer to install Oracle Database with Oracle Real Application Clusters.
If the user who installed Oracle Clusterware is the same as the user who installs Oracle Real Application Clusters, then all of the user-level preinstallation steps must be completed.
Perform a network connectivity test to ensure that all nodes on which you want to perform this installation can communicate with each other. Ensure that the public and private network interfaces have the same interface names on each node of the cluster.
Set directory and file creation permissions so that you can write as oracle
user to all the Oracle homes in the Real Application Clusters database environment in which you are performing this installation.
Create directories for the Oracle home and Oracle data files.
Note:
The Oracle home that you create for installing Oracle Database 10g with Oracle Real Application Clusters software cannot be the same Oracle home that you used during the Oracle Clusterware installation. However, you must use the same inventory location as the one used for the Clusterware installation.You can use the Oracle9i Database language and territory definition files with Oracle Database 10g that you are about to install. To enable this functionality, you must run Oracle Universal Installer from a command line, described in Step 0 in Section 5.13, "Installing Oracle Database with Oracle Real Application Clusters", and use the following statement to set the b_cr9idata
variable to true
:
$ @RUNINSTALLER ORACLE.RSF.NLSRTL_RSF:B_CR9IDATA=TRUE
Perform the following procedure to install Oracle Database software with Real Application Clusters:
Run the RUNINSTALLER
command from the [DATABASE]
directory of the Oracle Database 10g Release 2 installation media.
When Oracle Universal Installer displays the Welcome screen, click Next, and Oracle Universal Installer displays the Specify File Locations screen.
The Source field on the Specify File Locations screen is pre-populated with the path to the file PRODUCTS.XML
. Enter the Oracle home name and location in the target destination and click Next.
Note:
The Oracle home name and path that you use in this step must be different from the home that you used during the Oracle Clusterware installation in phase one. In other words, you must not install Oracle Database 10g with Oracle Real Application Clusters software into the same home in which you installed the Oracle Clusterware software.If you enter a preexisting Oracle home and the Oracle home is not registered with Oracle Universal Installer inventory, then Oracle Universal Installer displays a warning that the Oracle home that you selected is not empty. Click OK on this Oracle Universal Installer warning dialog box to continue installing in that directory. If the Oracle home exists and is registered with Oracle Universal Installer inventory, and if the Oracle home was created with a cluster install, then Oracle Universal Installer displays the Selected Nodes screen.
If you enter an Oracle home that does not exist, then Oracle Universal Installer displays the Specify Hardware Cluster Installation Mode screen.
Note:
If Oracle Universal Installer does not detect an Oracle Clusterware installation, then the Installer assumes that you are performing a single-node, non-Oracle Real Application Clusters installation. If Oracle Clusterware has been installed, you can force the Installer to perform a single-node, non-Oracle Real Application Clusters installation by defining the logical nameORA_DB_NONRAC_INSTALL
with the value TRUE.The Selected Nodes screen is an informational screen that displays the selected nodes that are associated with a cluster home. Click Select all to select all nodes,then click Next on this screen and Oracle Universal Installer displays the Select Installation Type screen.
When you click Next on the Selected Nodes screen, Oracle Universal Installer verifies that the Oracle home directory is writable on the remote nodes and that the remote nodes are operating. Oracle Universal Installer also revalidates user equivalence.
If Oracle Universal Installer detects a network or user equivalence problem on any node that you have included in this installation, then the Installer displays a warning on the Selected Nodes screen. This warning is displayed next to the node and indicates that you should correct a problem on the affected node before proceeding. To resolve problems, examine Oracle Universal Installer actions recorded in the file INSTALLACTIONSdate_time.LOG
in the LOGS
subdirectory of the Inventory directory.
On the Specify Hardware Cluster Installation Mode screen, select an installation mode. The Cluster Installation mode is selected by default when Oracle Universal Installer detects that you are performing this installation on a cluster. In addition, the local node is always selected for the installation. Select additional nodes that are to be part of this installation session and click Next.
See Also:
If you select Local Installation, then refer to Oracle Database Installation Guide for HP OpenVMS to perform a single-node, non-Oracle Real Application Clusters installationWhen you click Next on the Specify Hardware Cluster Installation screen, Oracle Universal Installer verifies that the Oracle home directory is writable on the remote nodes and that the remote nodes are operational. Oracle Universal Installer also revalidates user equivalence.
You can either make corrections and click Next, or you can deselect nodes that have errors and click Next. When you click Next, Oracle Universal Installer displays the Select Installation Type screen.
On the Select Installation Type screen, you can select Enterprise Edition, or Custom Install type. If you select Enterprise Edition, then the installation will include the components related to the chosen edition. If you select the Custom install, then select the individual components that you want to install from the list of available components.
After you make the selection and click Next on the Select Installation Type screen, Oracle Universal Installer displays the Database Configuration screen depending on the configuration and selections.This screen is displayed if no previous release of the database exists.
When you click Next, the screen that Oracle Universal Installer displays depends on the configuration and selection options as follows:
Available Products Components screen: This screen is displayed if you selected a Custom install.
Select Database Configuration screen: This screen is displayed if you did not select a Custom install and there is no database to upgrade.
Note:
Database Upgrade Assistant is not supported on this release of Oracle on HP OpenVMS Alpha. To upgrade a database, refer to the steps for manually upgrading a database in Oracle Database Upgrade Guide.On the Available Products Components screen, select the components you want to install and click Next. This opens the Component Locations screen in some cases, such as when insufficient disk space is available. Specify a location for the installation and click Next. Oracle Universal Installer will display the Privileged Operating System Groups screen described in Step 14.
The Select Database Configuration screen, provides options for you to create a preconfigured database as part of the installation process or to install the software without creating a database. If you want to create a database as part of the installation, then select General Purpose, Transaction Processing, Data Warehouse, or Advanced. If you only want to install the software, then select Do not create a starter database. Click Help for more information about these choices.
If you choose to create a General Purpose, Transaction Processing, or a Data Warehouse database, then when you click Next, Oracle Universal Installer displays the Specify Database Configuration Options screen. If you select the Advanced option or select Do not create a starter database, then when you click Next, Oracle Universal Installer displays the Privileged Operating System Groups screen.
On the Specify Database Configuration Options screen, enter a global database name. A global database name is a name that includes the database name and database domain, such as db.us.example.com.
The name that you enter on this screen must be unique among all the global database names used in the environment. Accept or change the common prefix for the Oracle SID for each instance. Each instance has an SID that comprises the common prefix that you enter in this step and an instance ID that is automatically generated. Note that an SID prefix cannot exceed five characters. Also select a database character set, select any database examples to install from the Sample Schemas.
When you click Next on the Specify Database Configuration Options screen, Oracle Universal Installer displays the Select Database Management Option screen.
Select a data storage option on the Specify Database File Storage Option screen.
Enter the full path of the location for the data files destination on the file system and click Next. Oracle Universal Installer displays the Specify Backup and Recovery Options screen.
If you enable backup on the Specify Backup and Recovery Options screen, then you can select File System. You must also enter the user name and password.
On the Specify Database Schema Passwords screen, you can select different passwords for the SYS
, SYSTEM
, DBSNMP
, and SYSMAN
accounts, or you can select one password for all of the privileged accounts. When you click Next on the Specify Database Schema Passwords screen, the next screen that Oracle Universal Installer displays depends on the configuration and selection options as follows:
If the user does not have ORA_DBA
right identifier, then the next screen is the Privileged Operating System Groups screen.
If the user has ORA_DBA
right identifier, then the next screen is the Summary screen.
On the Privileged Operating System Groups screen, you enter the group name for the SYSDBA
and SYSOPER
users. When you click Next on the Privileged Operating System Groups screen, Oracle Universal Installer displays the Create Database screen. Finally, Oracle Universal Installer proceeds to the Summary screen.
The Summary screen displays the software components that Oracle Universal Installer will install and the space available in the Oracle home with a list of the nodes that are part of the installation session. Verify the installation details that are displayed on the Summary screen, and then click Install to continue with the installation or click Back to revise the installation.
At the end of the software install, the Oracle Universal Installer will automatically run the following two configuration assistants to complete the post-installation processing:
With this you complete the second and final phase of the installation. Proceed to Section 5.14, "Postinstallation Procedures for Oracle Real Application Clusters" to perform the postinstallation tasks.
Note:
If you need to change the virtual IP address on an Oracle Real Application Clusters node, then you should use the following command:
SRVCTL MODIFY NODEAPPS -A new_address
where new_address
is defined in Appendix B of the Oracle Database Oracle Clusterware and Oracle Real Application Clusters Administration and Deployment Guide.
Use Database Configuration Assistant and Oracle Universal Installer to uninstall Oracle Real Application Clusters.
The following sections describe how to complete the postinstallation tasks after you have installed Oracle Database with Oracle Real Application Clusters software.
Note:
This chapter only describes postinstallation tasks for basic configurations. Refer to the Oracle Database Administrator's Reference for HP OpenVMS, and the product administration and tuning guides for more detailed configuration and tuning information.You must perform the following tasks after completing the installation:
Section 5.14.1, "Backing Up the Voting Disk After Installation"
Section 5.14.5, "Setting Up Users Accounts After Installation"
After the Oracle Database with Oracle Real Application Clusters installation is complete and after you are sure that the system is functioning properly, make a backup of the contents of the voting disk. Also make a backup of the voting disk contents after you complete any node additions or node deletions and after running any deinstallation procedures.
Refer to the My Oracle Support (formerly OracleMetaLink) for required patches for the installation. To download required patches:
Use a Web browser to view My Oracle Support:
Log on to My Oracle Support (formerly OracleMetaLink).
Note:
If you are not an My Oracle Support (formerly OracleMetaLink) registered user, then click Register and register for the account.On the main My Oracle Support (formerly OracleMetaLink) screen, click Patches & Updates.
On the Patch Search screen, click the Search tab.
On the Search tab, click Product or Family (Advanced).
In the Product is field, enter RDBMS Server
.
In the Release is field, enter the current release number.
Select the platform from the list in the Platform field and click Search.
All available patches are displayed under the Results heading. Click the number of the patch that you want to download.
On the Patch Set screen, click README and read the contents of the screen that is displayed. The README screen contains information about the patch set and how to apply the patches to the installation.
Return to the Patch Set screen, click Download, and save the file on the system.
Use the unzip utility provided with Oracle Database 10g to uncompress the Oracle patches that you downloaded from My Oracle Support (formerly OracleMetaLink).
Note:
If you have downloaded the patch to a PC, you must copy or ftp the file from the PC to HP OpenVMS in BINARY mode before unzipping.Many Oracle products and options must be configured before you use them for the first time. Before using individual Oracle Database 10g products or options, refer to the manual in the product documentation library which is available on the documentation installation media or on the Oracle Technology Network Web site at
On all systems, you must run the following command to verify the Enterprise Manager configuration in the newly installed Oracle Real Application Clusters environment:
$SRVCTL CONFIG DATABASE -D db_name
This command (SRVCTL
) displays the name of the node and the instance for the node. The following example shows a node named db1-server
running an instance named db1
. Run the following command:
$SRVCTL CONFIG DATABASE "-d" DB
The output should be similar to:
db1-server db1 /private/system/db db2-server db2 /private/system/db
Oracle recommends that you complete this task after installing Oracle Real Application Clusters.
See Also:
For information about setting up additional optional user accounts, refer to the Oracle Database Administrator's Reference for HP OpenVMSWhen you complete these procedures, proceed with the initial configuration tasks described in Section 6.8, "Configuring Oracle RAC".
A successful uninstallation of Oracle software from a cluster requires you to run Oracle Universal Installer from the same node that was used for the initial installation. This is required for the Oracle Real Application Clusters and for the Oracle Clusterware software uninstallations. To determine the node used for the installation, perform the following steps:
Navigate to the Oracle home directory if you are uninstalling Oracle Real Application Clusters software or to the Oracle Clusterware home directory if you are uninstalling Oracle Clusterware software.
Start Oracle Universal Installer as follows:
$ @ORA_ROOT:[OUI.BIN]RUNINSTALLER.COM
Click Installed Products...
Expand the navigation tree for the Oracle home or the Oracle Clusterware home you want to uninstall.
In the cluster node tree that lists the nodes on which this home is installed, the first node listed is the node on which the install was performed. This is the node where you should run Oracle Universal Installer in the following procedures.
Once you have identified the node where the software was installed, perform the following procedures to uninstall Oracle Real Application Clusters and Oracle Clusterware software. You must uninstall Oracle Database software first before uninstalling the Oracle Clusterware software. The steps to complete these uninstallation tasks are described in the following sections:
Section 5.15.1, "Procedure for Removing Oracle Real Application Clusters Software"
Section 5.15.2, "Uninstalling Oracle Clusterware"
Note:
The following sections describe a complete uninstallation of the Oracle Real Application Clusters, and Oracle Clusterware software.If you have multiple Oracle homes on the cluster, then check for any dependencies that may affect the other databases. Such dependencies can include listeners that run in the Oracle home to be deleted. To identify dependencies, review the ORATAB
file to identify common Oracle homes.
See Also:
Oracle Database Oracle Clusterware and Oracle Real Application Clusters Administration and Deployment Guide for more information about using Oracle Real Application Clusters scalability features, adding and deleting nodes and instances from Oracle Real Application Clusters databases, and viewing OCR contentThis section describes the procedure to uninstall Oracle Real Application Clusters. Before you perform these steps, consider making a backup of any databases that run from the Oracle home you are about to delete. You should then stop any instances and processes on all nodes, that depend on the software being uninstalled.
Delete all of the databases that are dependent on the Oracle home that you are deleting by using Database Configuration Assistant Delete a database option.
If the listener runs from this Oracle home, then use the Oracle Network Configuration Assistant to remove the listener and its configuration.
If the Oracle Clusterware node applications for virtual IP address, ONS, and GSD were created in this Oracle home, then you can remove them and re-create them in another Oracle Database 10g Oracle home, or you can modify the Oracle home for these applications so that they use an alternate Oracle Database 10g Oracle home. Both of these alternative procedures are described in the following two points.
Perform one of the following procedures:
You can stop and remove the Oracle Clusterware node applications on each node that is associated with the Oracle home by running the following command:
$ srvctl stop nodeapps -n node_name
Do this, for all of the nodes that are affected by the deletion of the Oracle home. Then remove the Oracle Clusterware node applications by running the following command:
$ @ORA_ROOT:[INSTALL]ROOTDELETENODE.COM
Respond to any operating system prompts to confirm your operations for each node. If other Oracle Real Application Clusters Oracle homes exist, then re-create the node applications in that Oracle home by running the following command:
$srvctl create nodeapps
Alternatively, you can modify the Oracle Clusterware node application Oracle home by running the following command:
$ SRVCTL MODIFY NODEAPPS "-o" oracle_home
See Also:
Oracle Database Oracle Clusterware and Oracle Real Application Clusters Administration and Deployment Guide for more information about using Oracle Real Application Clusters scalability features of adding and deleting nodes and instances from Oracle Real Application Clusters databases and for details of theSRVCTL
command syntaxAfter you complete the previous steps in this procedure, run Oracle Universal Installer and on the Welcome screen, click Deinstall Products to display the list of installed products on which you can select the Oracle home to uninstall.
Note:
You cannot perform an Oracle Real Application Clusters installation from the same Oracle Universal Installer session in which you perform an Oracle Real Application Clusters uninstallation. In other words, if you uninstall Oracle Real Application Clusters with Oracle Universal Installer and want to perform another Oracle Real Application Clusters installation, then you must start a new Oracle Universal Installer session.Uninstall each Oracle Real Application Clusters home by running the procedure in Section 5.15.1, "Procedure for Removing Oracle Real Application Clusters Software". Then complete the procedure by removing the Oracle Clusterware software.
To uninstall the Oracle Clusterware software from an HP OpenVMS environment:
To disable the Oracle Clusterware applications that are running on the cluster node, run the following command from Oracle Clusterware home:
$ @ORA_ROOT:[INSTALL]ROOTDELETE
The ROOTDELETE.COM
procedure requires three arguments. If you are running this command on a remote node of the cluster, then use REMOTE
as the first argument. Otherwise, use LOCAL
as the first argument. For the second argument, if the OCR.LOC file
is on a shared file system, then use SHAREDVAR,
otherwise use NOSHAREDVAR
as the second argument. If the Oracle Clusterware home is on a shared file system, then use SHAREDHOME,
otherwise use NOSHAREDHOME
as the third argument. Repeat this step on each node of the cluster from which you want to uninstall Oracle Clusterware.
Run the following procedure on a local node from the Oracle Clusterware home to remove the OCR:
$ @ORA_ROOT:[INSTALL]ROOTDEINSTALL
Run Oracle Universal Installer and in the Welcome screen, click Deinstall Products to display the list of installed products on which you can select the Oracle Clusterware home to uninstall.