|
Oracle® Real Application Clusters Installation and Configuration Guide
10g Release 1 (10.1) for AIX-Based Systems, Apple Mac OS X, hp HP-UX, hp Tru64 UNIX, Linux, Solaris Operating System, and Windows Platforms Part No. B10766-08 |
|
![]() Previous |
![]() Next |
This chapter describes how to complete the post-installation tasks after you have installed the Oracle Database 10g with Real Application Clusters (RAC) software. It contains the following sections:
Recommended Post-Installation Tasks
|
Note: This chapter only describes basic configurations. Refer to the Oracle Database 10g Administrator's Guide for UNIX Systems, Oracle Database Platform Guide for Windows, and the product administration and tuning guides for more detailed configuration and tuning information. |
You must perform the following tasks after completing your installation:
After your Oracle Database 10g with RAC installation is complete and after you are sure that your system is functioning properly, make a backup of the contents of the voting disk. If your installation is on a UNIX system, then use the dd.exe utility. If your installation is on a Windows system, then use the command
copy <drive>:\cdata\<clustername>\votedsk c:\votedsk.bak
if the voting disk is on an Oracle Cluster File System (OCFS) or the following command if is not on an OCFS:
ocopy \\.\votedsk c:\votedsk.bak
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 OracleMetaLink Web site for required patches for your installation. To download required patches:
Use a Web browser to view the OracleMetaLink Web site:
http://metalink.oracle.com
Log in to OracleMetaLink.
|
Note: If you are not an OracleMetaLink registered user, then click Register for MetaLink and register. |
On the main OracleMetaLink page click Patches.
On the Select a Patch Search Area page click New MetaLink Patch Search.
On the Simple Search page click Advanced.
On the Advanced Search page click the search icon next to the Product or Product Family field.
In the Search and Select: Product Family field, enter RDBMS Server in the For field and click Go.
Select RDBMS Server under the Results heading and click Select.
RDBMS Server appears in the Product or Product Family field and the current release appears in the Release field.
Select your platform from the list in the Platform field and click Go.
Any available patches appear under the Results heading.
Click the number of the patch that you want to download.
On the Patch Set page, click View README and read the page that appears. The README page contains information about the patch set and how to apply the patches to your installation.
Return to the Patch Set page, click Download, and save the file on your system.
Use the unzip utility provided with Oracle Database 10g to uncompress the Oracle patches that you downloaded from OracleMetaLink. On UNIX systems, the unzip utility is located in the $ORACLE_HOME/bin directory and on Windows systems, the utility is located in the $ORACLE_HOME\BIN directory.
Many Oracle products and options must be configured before you use them for the first time. Before using individual Oracle Database 10g database products or options, refer to the manual in the product documentation library which is available on the documentation CD-ROM or on the OTN Web site.
If you installed RAC on an OCFS, then perform the following steps on each node of the cluster after installation:
On a UNIX-based system:
Stop the Oracle instance.
Move the $ORACLE_HOME/dbs/hc_*.dat files to a directory on a local file system.
Create symbolic links from the $ORACLE_HOME/dbs directory to the hc_*.dat files on the local file system.
Restart the Oracle instance.
On a Windows-based system:
Stop the Oracle instance.
Make the files node-specific by executing the command:
CRS_HOME\cfs\OcfsUtil.exe /c NodeSpecificFile /o create /m o: /p oracle\product\10.1.0\database\hc_<sid>.dat
Restart the Oracle instance.
If you are running Oracle9i RAC for Linux on the same cluster nodes as Oracle Real Application Clusters 10g, complete the following steps:
|
Note: These steps are required only if you installed Oracle Real Application Clusters 10g on the same cluster nodes as Oracle9i RAC. If you upgraded from Oracle9i RAC to Oracle Real Application Clusters 10g, do not complete these steps. |
Create the following directory:
$ mkdir -p /etc/ORCLcluster/oracm/lib
Change directory to this directory:
$ cd /etc/ORCLcluster/oracm/lib $
Copy the /oracle9i_home/lib/libcmdll.so file to the current directory:
$ cp /oracle9i_home/lib/libcmdll.so .
On any cluster node, enter commands similar to the following to restart the node applications on all cluster nodes:
$ORACLE_HOME/bin/svrctl stop nodeapps -n nodename $ORACLE_HOME/bin/svrctl start nodeapps -n nodename
In this example, $ORACLE_HOME is the Oracle Real Application Clusters 10g Oracle home and nodename is the name of the node. Repeat the commands for each node in the cluster.
On Windows clusters, all COM components must be manually registered on remote cluster nodes. COM components include:
Oracle Administration Assistant for Windows
Oracle Counters for Windows Performance Monitor
Oracle Data Provider for .NET
Oracle Objects for OLE
Oracle Provider for OLE DB
To register COM components on remote cluster nodes (the nodes where you did not run the Oracle Universal Installer), execute the following command on each of them:
ORACLE_BASE\ORACLE_HOME\bin\selecthome.bat
Ensure that the path name for your new Oracle home is defined across the cluster by completing the following procedure on each of your cluster nodes:
Navigate to Start > Settings > 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. Click OK in the Environment Variables page, then click OK in the System Properties page, and then close the Control Panel.
Click OK in the Environment Variables page, then click OK in the System Properties page, and then close the Control Panel.
This section explains the tasks that Oracle recommends you perform after completing an installation. There is one task recommended on all systems and additional tasks that apply only to UNIX-based or Windows-based systems (but not both), as follows:
On all systems, you should run the following command to verify the Enterprise Manager configuration in your newly installed Real Application Clusters environment:
srvctl config database -d db_name
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. Execute 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
If you are working on a UNIX-based system, then you should continue with the following section, "Recommended Post-Installation Tasks for UNIX". If you working on a Windows-based system, then you should continue with the section, "Recommended Post-Installation Task for Windows" . When you have completed these platform-specific tasks, you should proceed with the initial configuration tasks described in Part IV.
Oracle recommends that you complete the following tasks after installing Oracle RAC on a UNIX-based system:
Oracle recommends that you back up the root.sh script after you complete an installation. If you install other products in the same Oracle home directory, then the Oracle Universal Installer (OUI) updates the contents of the existing root.sh script during the installation. If you require information contained in the original root.sh script, then you can recover it from the root.sh file copy.
For information about setting up additional optional user accounts, refer to the Oracle Database 10g Administrator's Guide for UNIX Systems.
When you complete these procedures, you are ready to perform the initial configuration tasks described in Part IV.
Oracle recommends that you complete the following tasks after installing Oracle RAC on a Windows-based system:
If you wish to run iSQL*Plus on a remote node, you need to add a set of directories on each node where you installed a RAC Oracle home. You will not be able to connect to the iSQL*Plus URL prior to creating these directories. To complete this task, add the following directories to the isqlplus directory which you can find at Oracle base\Oracle home\oc4j\j2ee\isqlplus:
connectors
log
persistence
tldcache
After you create these directories, you can start iSQL*Plus from the Windows Control Panel or by entering isqlplusctl start at the command prompt.
You can use Oracle9i database language and territory definition files with Oracle Database 10g release 1 (10.1). To enable this functionality:
Run the cr9idata.pl script, by default located in ORACLE_BASE\ORACLE_HOME\nls\data\old.
Alternatively, before you install Oracle Database, you can run the Oracle Universal Installer setup command with the b_cr9idata variable set to true, as follows:
setup.exe oracle.rsf.nlsrtl_rsf:b_cr9idata=true
Set the ORA_NLS10 environment variable to point to the directory where you installed the new language and territory definition files, which by default are in ORACLE_BASE\ORACLE_HOME\nls\data.
Restart the Oracle database.