Oracle® Real Application Clusters Installation and Configuration Guide 10g Release 1 (10.1) for AIX-Based Systems, hp HP-UX PA-RISC (64-bit), hp Tru64 UNIX, Linux, Solaris Operating System (SPARC 64-bit), and Windows (32-bit) Platforms Part Number B10766-02 |
|
|
View PDF |
This chapter describes phase two of the installation procedures for installing the Oracle Database 10g with Real Application Clusters (RAC). This chapter also describes some of the Oracle Universal Installer (OUI) features. The procedures in this chapter apply to both UNIX- and Windows-based systems. This chapter contains the following topics:
Installation of Oracle Database 10g with RAC Using the Oracle Universal Installer
Installation on Windows-Based Systems with the Minimum Memory Requirements
This section describes OUI features that you should understand before beginning phase two of the RAC installation process. When you run the OUI and select the Oracle Database 10g, you can select the General Purpose, Transaction Processing, Data Warehouse, or Advanced database 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 the Database Configuration Assistant (DBCA) to create the database as described in Chapter 11. Oracle recommends that you use the DBCA to create your database.
You can also select the Advanced configuration, select a preconfigured template, customize the template, and use the DBCA 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 the DBCA 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 the DBCA to create your database. However, if you want to configure your environment and create your database manually, select the "Do not create a starter database" configuration option and refer to the manual database creation procedures posted at http://otn.oracle.com
.
The configuration type that you select, as described in Table 10-1, determines how you proceed.
Table 10-1 Oracle Universal Installer Database Configuration Types
If you select one of the first three configuration types on the OUI Database Configuration page, then complete one of the platform-specific procedures in this chapter under the heading "Installation Setup Procedures". These three configuration types use preconfigured templates. After you complete these procedures, the Oracle Net Configuration Assistant and the DBCA run without further input and the OUI displays a progress indicator during the installation.
The DBCA processing for these configuration types creates a starter database and configures the Oracle network services. If you do choose raw devices on the Storage Options page, then the DBCA verifies that you configured the raw devices for each tablespace.
If you select the Advanced configuration, then you must enter specific information as described in the next section.
When you select the Advanced configuration type, the OUI runs the DBCA which displays 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 also can customize these templates. The Advanced type, however, creates a database without using preconfigured options.
The following section provides more detail about OUI and DBCA processing when creating a RAC database.
After installation, the OUI starts the Oracle Net Configuration Assistant. After the Oracle Net Configuration Assistant completes its processing, the OUI runs the DBCA to create your database using the optimal flexible architecture (OFA). This means that the DBCA creates your database files, including the default server parameter file (spfile), using standard file naming and file placement practices. The primary phases of DBCA processing are:
Verify that you correctly configured the shared disks for each tablespace if you are using raw storage
Create the database
Configure the Oracle network services
Start the listeners and database instances
You can also use the DBCA in standalone mode to create a database.
See Also: The Oracle Net Services Administrator's Guide if you experience problems, for example, with the listener configuration, and for further information about LDAP support |
The remainder of this chapter explains how to use the OUI to install the Oracle Database 10g with RAC.
Complete one of the following platform-specific installation setup procedures:
If the user who installed Cluster Ready Services (CRS) is different from the user who installs RAC, then all of the user-level pre-install steps must be completed.
Verify user equivalence by executing the ssh
command on the local node with the date command argument using the following syntax:
ssh node_name date ssh node_name xclock
The output from these commands should be the timestamp of the remote node identified by the value that you use for node_name
. In additionally, the system should display the remote node's xclock. When you execute these commands, you should not see any other errors, warnings, or additional output. If ssh
is in the /usr/local/bin
directory, then use ssh
to configure user equivalence.
The OUI cannot use ssh
to verify user equivalence if ssh
is in another location in your PATH
. In this case, use rsh
to confirm user equivalence.
Note: When you test user equivalence by executing thessh or rsh commands, the system should not respond with questions nor should you see additional output, for example, besides the output of the date command and the xclock. You should also not have any echo messages in your .login or .cshrc files. |
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 your cluster.
Set directory and file creation permissions using the umask
command so that you can write as oracle
user to all of the Oracle homes in the RAC database environment in which you are performing this installation.
Create directories for the Oracle home and Oracle datafiles according to OFA standards.
Note: The Oracle home that you create for installing Oracle Database 10g with the RAC software cannot be the same Oracle home that you used during the CRS installation. |
Perform the following preparatory steps for your RAC installation:
Perform a network connectivity test to ensure that all the 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 your cluster.
Log on to one of the nodes in your cluster as a member of the Administrators group. Log on as a member of the Domain Administrators group if you are installing on a Primary Domain Controller (PDC) or a Backup Domain Controller (BDC).
Delete the ORACLE_HOME
environment variable if it exists. Refer to your Microsoft online help for more information about deleting environment variables.
Note: TheORACLE_HOME is automatically set in the registry. Manually setting this environment variable prevents installation. |
If you are installing in an existing Oracle Database 10g release 1 (10.1) home, then stop all Oracle services that are running from that existing home. These services will have names with names such as Oracle
homename
(this includes the Oracle listener, Oracle
homename
TNSListener)
, OracleService
SID
, or OracleASMService
SID
. Be careful not to stop services running from other homes, particularly OracleCSService, OracleEVMService, and OracleClusterVolumeService.
Refer to your Microsoft online help for more information about stopping services.
Perform the following procedures to install the Oracle Database 10g with RAC.
On UNIX-based systems, execute the runInstaller
command from the root
directory of the Oracle Database 10g Release 1 (10.1.0.2) CD-ROM.
On Windows-based systems, insert the Oracle Database 10g Release 1 (10.1.0.2) CD-ROM and the Autorun screen should appear. If the Autorun screen does not appear, then:
Click Start > Run
Enter the following command:
DRIVE_LETTER:\autorun\autorun.exe
If you are installing the software from a hard drive, navigate to the parent directory of the directory where the Oracle Database 10g product is stored and execute the setup.exe
program.
When the OUI displays the Welcome page, click Next, and the OUI displays the Specify File Locations page.
The Source field on the Specify File Locations page is pre-populated with the path to the file Oracle Database 10g 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 CRS installation in phase one. In other words, you must not install Oracle Database 10g with RAC software into the same home in which you installed the CRS software. |
If you enter a pre-existing Oracle home and the Oracle home is not registered with the OUI inventory, then the OUI displays a warning that the Oracle home that you selected is non-empty
. Click OK on this OUI warning dialog to continue installing on that directory. If the Oracle home exists, if the Oracle home is registered with the OUI inventory, and if the Oracle home was created with a cluster install, then the OUI displays the Selected Nodes page as described in Step 4. If you enter an Oracle home that does not exist, then the OUI displays the Specify Hardware Cluster Installation Mode page described in Step 5 of this procedure.
Note: If the OUI does not detect an inventory entry for a CRS installation, or if the Oracle home that you select is an existing non-RAC, single-node home, then the OUI assumes that you are performing a single-node, non-RAC installation. |
The Selected Nodes page is an informational page that displays the selected nodes that are associated with a cluster home. Click Next on this page and the OUI displays the Install Type page described in Step 6.
When you click Next on the Selected Nodes page, the OUI verifies that the Oracle home directory is writable on the remote nodes and that the remote nodes are operating. The OUI also re-validates user equivalence.
If the OUI detects a network or user equivalence problem on any node that you have included in this installation, then the OUI displays a warning on the Selected Nodes page. This warning appears next to the node and indicates that you should correct a problem on the affected node before proceeding. To resolve problems, examine the OUI actions recorded in the following file:
OraInventory\logs\installActionsdate_time.log
On the Specify Hardware Cluster Installation Mode page, select an installation mode. The Cluster Installation mode is selected by default when the OUI 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 the Oracle Database Installation Guide, 10g Release 1 (10.1) for UNIX Systems or to the Oracle Database Platform Guide for Windows to perform a single-node, non-RAC installation on a UNIX or Windows cluster, or to the appropriate platform-specific quick start guide. |
When you click Next on the Specify Hardware Cluster Installation page, the OUI verifies that the Oracle home directory is writable on the remote nodes and that the remote nodes are operating. The OUI also re-validates user equivalence.
If the OUI detects a network or user equivalence problem on any node that you have included in this installation, then the OUI displays a warning on the Specify Hardware Cluster Installation Selection page. This warning appears next to the node and indicates that you should correct a problem on the affected node before proceeding. To resolve problems, examine the OUI actions recorded in the installation log file. On UNIX-based systems, the installation log file is:
OraInventory/logs/installActionsdate_time.log
On Windows-based systems, the installation log file is:
system_drive:\Program Files\Oracle\Inventory\logs\installActionsdate_time.log
You can either make corrections and click Next, or you can deselect nodes that have errors and click Next and the OUI displays the Install Type page.
Note: Each node in a cluster must have a CRS home to enable the clusterware to operate on each node. However, the Oracle home can be on a subset of the nodes that are part of your installation. |
On the Install Type page you can select Enterprise Edition, Standard Edition, or Custom Install type. If you select Enterprise Edition or Standard Edition and click Next, then the OUI displays the Prerequisite Check page. The Custom install type enables you to select the individual components that you want to install from the list of available components. If you have purchased a Standard Edition license and you perform a Custom installation, then ensure that you only install the products covered by the Standard Edition license.
The Prerequisite Check page verifies the operating system kernel parameters or attributes and calculates the ORACLE_BASE
location. Click Next. If the OUI discovers a database to upgrade, then the OUI displays the Upgrading an Existing Database page that lists the databases that are available to upgrade. Select a database to upgrade as described in Step 8. If you do not select a database to upgrade and click Next, then the OUI displays the Create Starter Database page as described in Step 9. Additionally, if the OUI does not find any databases to upgrade, then the OUI displays the Create Starter Database Page as described in Step 9 if you choose Enterprise Edition or Standard Edition.
On the Upgrading an Existing Database page, select the check box labelled "Upgrade an Existing Database" and then select the databases to upgrade from the list provided. Click Next, and this by-passes the database creation process and the OUI displays the Summary page as described in Step 15.
On the Create a Starter Database Page select General Purpose, Transaction Processing, Data Warehouse, or Advanced. Choose to either create a database or to perform a software only installation, click Next, and the OUI displays the Database Configuration Options Page.
If you want to install only the software and not build a starter database at this time, select "Do not create a starter database". Click Next, and the OUI performs a software installation without performing any configuration tasks.
If you choose the "Custom Install Type", then the OUI performs a prerequisite check for the operating system kernel parameters or attributes and the OUI calculates the ORACLE_BASE
location.
After you make your selection on this page and click Next, the OUI displays the Database Configuration Options page (described in Step 10), unless you selected the "Custom Install Type". If you selected the "Custom Install Type", then the OUI bypasses the database creation process and displays the Summary page as described in Step 15.
On the Database Configuration Options page, enter a global database name. A global database name is a name that includes the database name and database domain, such as db.us.acme.com
. The name that you enter on this page must be unique among all the global database names used in your environment. Accept or change the common prefix for the Oracle sid
for each instance. Each instance has a sid
that comprises the common prefix that you enter in this step and an instance ID that is automatically generated. Note that a SID cannot exceed 5 characters on UNIX platforms and 61 characters on Windows platforms. Also select a database character set and, on UNIX-based systems only, select any database examples to install from the Sample Schemas.
Click Next and the OUI displays the Database Management Option for Database Control page. On UNIX-based systems, you can select either Grid or Local Database control. On Windows-based systems, Local Database control for database management is supported for RAC. When you use the local Database Control, you can choose the email option and enter the outgoing SMTP server name and email address. Click Next, and the OUI displays the Data Storage Option page.
Select a data storage option on the Data Storage Option Page.
If you select Automatic Storage Management (ASM)—Then the OUI displays an ASM Management Options page showing the disk partition locations from which you must select. These partitions appear in the default location as follows:
On UNIX-based systems, the default partitions dependent on the operating system, as follows:
Operating System | Default Search String |
---|---|
AIX | /dev/rhdisk/* |
HP-US PA-RISC | /dev/rdsk/* |
HP Tru64 | /dev/rdisk/* |
Linux | /dev/raw/* |
Solaris | /dev/rdsk/* |
On Windows-based systems, the default partitions for ASM are:
\\.\orcldisk*
Note: The only partitions that the OUI will display are logical drives that are on drives that do not contain a primary partition and have been stamped withasmtool . |
If you select File System—Then enter the full path of the location for the datafiles destination on your shared or cluster file system and click Next.
If you select raw devices—Then enter a location for the raw device mapping file and click Next. If the DBCA_RAW_CONFIG
environment variable is set, then the location already is set with the value for this variable.
When you click Next on the Data Storage Option page, the OUI displays the Backup and Recovery page.
If you enable backup on the Backup and Recovery page, then you can choose File System or ASM. You will also enter the user name and password. When you click Next on the Backup and Recovery page, the OUI displays the Schema Password page.
On the Schema Password page you can choose different passwords for SYS, SYSTEM, DBSNMP, and SYSMAN, or you can choose one password for all of the privileged accounts. When you click Next on the Schema Password page, the next page that the OUI displays depends on your operating system as follows:
The Operation System Group page is for UNIX systems only. On this page, you enter the group name for the SYSDBA
and SYSOPER
users. When you click Next on the Operation System Group page, the OUI displays the Summary page.
The Summary Page displays the software components that the OUI 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 details about the installation that appear on the Summary page and click Install or click Back to revise your installation.
During the installation, the OUI copies software to the local node and then copies the software to the remote nodes. On UNIX-based systems, the OUI then prompts you to run the root.sh
script on all the selected nodes to start the Virtual Internet Protocol Configuration Assistant (VIPCA) and display the VIPCA Welcome page. Before you run root.sh
, make sure that your display environment variables are properly set. On Windows-based systems, the VIPCA runs from OUI as a configuration assistant.
Review the information on the VIPCA Welcome page, click Next, and the VIPCA displays the Public Network Interfaces page.
On the Public Network Interfaces page determine the network interface cards (NICs) to which you want to assign your public VIP addresses, click Next, and the VIPCA displays the IP Address page.
On the IP Address page enter an unused (unassigned) public virtual IP address for each node displayed on this page and click Next. After you click Next, the VIPCA displays a Summary page. Review the information on this page and click Finish. A progress dialog appears while the VIPCA configures the virtual IP addresses with the network interfaces that you selected. The VIPCA then creates and starts the VIPs, GSD, and Oracle Notification Service (ONS) node applications. When the configuration completes, click OK to see the VIPCA session results. Review the information on the Configuration Results page, and click Exit to exit the VIPCA.
On UNIX-based systems, repeat the root.sh
procedure on all nodes that are part of this installation. The VIPCA will not run again on the remote node because the node applications for the remote node are already configured.
Click OK on the OUI dialog to continue the installation. This enables the remaining Oracle configuration assistants to run in the order shown in the following list so that the assistants can perform post-installation processing:
Net Configuration Assistant (NetCA)
Database Configuration Assistant (DBCA)
At the end of the database creation, DBCA starts Enterprise Manager in standalone mode. Database Control is immediately available to administer and monitor your newly installed Oracle Database 10g with Real Application Clusters environment.
On Windows-based systems only, ensure that the path name for your new Oracle home is defined across the cluster by completing the following procedure on each remote node that is part of your current cluster installation:
On each remote node, navigate to Start > Control Panel > System > Advanced > Environment Variables
In the "System variables" dialog, select the Path variable and ensure that the value for the Path variable contains oracle_home
\bin
, where oracle_home
is your new Oracle home. If the variable does not contain this value, then click Edit and add this value to the start of the path variable definition in the Edit System Variable dialog and click OK.
Click OK in the Environment Variables page, then click OK in the System Properties page, and then close the Control Panel
You have completed the second and final phase of the installation. Proceed to Chapter 12, " Real Application Clusters Post-Installation Procedures" to perform the post-installation tasks.
Notes:
|
Installations of RAC on nodes in Windows-based systems with 256 MB of RAM and 500 MB of virtual memory have the following limitations:
Computers with 256 MB of memory are not able to run Oracle Database Upgrade Assistant, Database Configuration Assistant, or Oracle Net Services Configuration Assistant during an Oracle Universal Installer installation session.
Depending on how many applications are running on the computer, you may need to further increase the paging file size or reduce the size of the System Global Area (SGA) if you run out of virtual memory. Note that if temporary files and the paging file are both stored on the same physical drive, then a situation can occur where the space requirements for one can limit the size of another. If your system has limited free space, then first install the Oracle Database software. After the installation is finished, run NetCA to configure listeners and then DBCA to create a database.
On computer systems that barely meet the minimum memory and virtual memory requirements, 256 MB and 500 MB respectively, do not install the database. Follow these guidelines:
Select Enterprise Edition Installation and deselect "Do not create a starter database"
Select Custom Installation, select "Do not create a starter database" from the Select Database Configuration screen.
Select Advanced Installation, select the Custom installation type from the Select Installation Type screen, and select No on the Create Database screen when prompted to create the database.
Cancel Database Configuration Assistant from the Configuration Assistants screen.
After installation, run the appropriate configuration assistant for your needs:
To create a new database, run Database Configuration Assistant from the Start Menu. Choose Start > Programs > Oracle - HOME_NAME Configuration and Migration Tools > Database Configuration Assistant.
To upgrade an existing database, run Oracle Database Upgrade Assistant from the Start Menu. Choose Start > Programs > Oracle - HOME_NAME Configuration and Migration Tools > Database Upgrade Configuration Assistant.
To ensure that all nodes in your cluster use the new Oracle home, ensure that the path name for the new Oracle home is defined on each node in the cluster by completing the following procedure:
On each node, navigate to Start > Control Panel > System > Advanced > Environment Variables
In the "System variables" dialog, select the Path variable and ensure that the value for the Path variable contains oracle_home
\bin
, where oracle_home
is your new Oracle home. If the variable does not contain this value, then click Edit and add this value to the start of the path variable definition in the Edit System Variable dialog and click OK.
Click OK in the Environment Variables page, then click OK in the System Properties page, and then close the Control Panel
Execute the following procedures to de-install Oracle Database 10g RAC software. On both UNIX- and Windows-based systems, you must first de-install the Oracle database software and then de-install the Cluster Ready Services (CRS) software. These procedures are described in the following sections:
See Also: Oracle Real Application Clusters Administrator's Guide for more information about using RAC scalability features of adding and deleting nodes and instances from RAC databases |
Execute the following procedures to de-install the Oracle Database 10g RAC software:
Remove the Oracle Database 10g with RAC by using the DBCA to drop the database.
If this is the Oracle home from which node's listener, named LISTENER_
nodename
runs, then use NetCA to remove this listener and its CRS resources. If necessary, re-create this listener in another home.
If this is the Oracle home which from which the ASM instance runs, then remove the ASM configuration by completing the following steps:
Execute the command srvctl stop asm -n
node
for all nodes on which this Oracle home exists, where node
is the name of a node on which you want to stop the ASM instance.
Execute the command srvctl remove asm -n
node
for all nodes on which this Oracle home exists, where node
is the name of a node from which you want to remove the ASM instance.
If you are using a cluster file system for your ASM Oracle home, then on UNIX-based systems execute the following commands on the local node:
rm -r $ORACLE_BASE/admin/+ASM rm -f $ORACLE_HOME/dbs/*ASM*
On Windows-based systems execute the following commands on the local node:
delete %ORACLE_BASE%\admin\+ASM delete %ORACLE_HOME%\database\*ASM*
If you are not using a cluster file system for your ASM Oracle home, then execute the commands from the previous step, Step c, on each node on which the Oracle home exists.
On UNIX-based systems, remove oratab
entries beginning with +ASM
. On Windows-based systems, execute the following command on each node that has an ASM instance:
oradim -delete -asmsid +ASMnode_number
where node_number
is the node identifier.
If VIP, ONS, and GSD node applications are created using this Oracle home, then you must stop and remove these node applications. To stop CRS node applications, execute the command srvctl stop nodeapps -n
node.
Repeat the same command for each node in the cluster. To remove CRS node applications, perform the following steps, depending on type of cluster you are using:
On UNIX-based systems:
Execute the command $ORACLE_HOME/install/rootdeletenode.sh
If other Oracle Database 10g RAC Oracle homes exist, then re-create the node applications by running the $ORACLE_HOME/root.sh
script in that Oracle home
On Windows-based system:
Execute the command svrctl remove nodeapps -n
node
, where node
is the node name, for each node in the cluster
If other Oracle Database 10g RAC Oracle homes exist, then re-create the node applications by executing the command %ORACLE_HOME%\bin\vipca in that Oracle home
See Also: Oracle Real Application Clusters Administrator's Guide for more information about using RAC scalability features of adding and deleting nodes and instances from RAC databases |
Run the OUI to delete the Oracle home.
Note: You cannot perform a RAC installation from the same OUI session in which you perform a RAC de-installation. In other words, if you de-install RAC with the OUI and want to perform another RAC installation. then you must start a new OUI session. |
On UNIX-based systems, remove the OCR by executing the script CRS Home
/install/rootdeinstall.sh
on a local node.
De-install each Oracle Database 10g RAC home by executing the procedures under the previous heading, "De-Installing Oracle Database 10g RAC Software". Then complete the de-installation by removing the CRS software using one of the following procedures, depending on your operating system:
Execute the following procedures to de-install the CRS software from a UNIX environment:
Execute the command CRSHome
/install/rootdelete.sh
to disable the CRS applications that are on running on the cluster node. The rootdelete.sh
script requires three arguments. If you are running this command on a remote node of the cluster then use remote
, otherwise use local
as the first argument. If the ocr.loc
file is on a shared file system, then use sharedvar
. Otherwise use nosharedvar
as the second argument. If the CRS 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 de-install CRS.
Execute the script CRS Home
/install/rootdeinstall.sh
on a local node to remove the OCR.
Run the OUI and in the Welcome page, click Deinstall Products to display the list of installed products on which you can select the CRS home to de-install.
Execute the following procedures to de-install Oracle 10g CRS software from a Windows environment:
De-install the Oracle CRS home by executing the CRS setup script CRS home
\bin\crssetup deconfig
.
Run the OUI and in the Welcome page, click Deinstall Products to display the list of installed products on which you can select the CRS home to de-install.