Oracle® Database Oracle Clusterware and Oracle Real Application Clusters Installation Guide 10g Release 2 (10.2) for hp Tru64 Part Number B14206-03 |
|
|
View PDF |
This chapter describes how to complete the post-installation tasks after you have installed the Oracle Database 10g with Oracle Real Application Clusters (RAC) software. It contains the following sections:
Note:
This chapter describes only basic configurations. Refer to Oracle Database 10g Administrator's Guide for UNIX Systems, 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. Use the dd
utility.
Also, make a backup copy 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 patch updates for your installation. To download required patch updates:
Use a Web browser to view the OracleMetaLink Web site:
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. The current release appears in the Release field.
Select your platform from the list in the Platform field, and click Go.
Any available patch updates 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 patch updates that you downloaded from OracleMetaLink. The unzip 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 in the DOC directory on the 10g Release 2 (10.2) installation media, or on the OTN Web site.
If you install RAC on a standard local file system, then this section does not concern you.
If your RAC database is created on Oracle Cluster File System version 1 (OCFS1), and the memory-mapped files hc_*.dat
(which typically reside in the path $ORACLE_HOME/dbs
) are placed on an OCFS1 file system, then you must relocate the memory-mapped files to a standard local file system on each node of the cluster after installation. This is because OCFS1 is not a general purpose file system, and cannot hold these memory-mapped instance files.
To relocate the files:
Stop the Oracle Database 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 Database instance
This section explains the tasks that Oracle recommends you perform after completing an installation.
Run the following command to verify the Oracle Enterprise Manager configuration in your newly-installed Oracle 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
. Run the following command:
srvctl config database -d db
The output should be similar to the following:
db1-server db1 /private/system/db db2-server db2 /private/system/db
Continue with the following section, "Recommended Post-Installation Tasks". When you have completed these tasks, you should proceed with the initial configuration tasks described in Part IV.
Oracle recommends that you complete the following tasks after installing RAC:
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.
To ensure that you can use Oracle tools such as SQL*Plus to connect to the database, Oracle recommends that you set the ORACLE_HOME
and ORACLE_SID
environment variables to the correct Oracle home and Oracle SID that you configured during installation.
If you configure Oracle Enterprise Manager Database Control during installation, then you can use it to manage your database. Alternatively, you can use Oracle Enterprise Manager Grid Control to manage your database.
To use Database Control, you must access it on the node where you installed the database. If you want to log into Database Control from another cluster node, then you need to reconfigure Enterprise Manager to start the Database Control interface on that other node.
See Also:
the emca command line help for instructions to perform reconfigurationUse the following instructions to log in to Database Control:
On the node from which you installed the database, open a Web browser to access the Database Control URL, and use the following URL syntax:
http://host:port/em
In the preceding example:
host is the name of the computer on which you installed Oracle Database
port is the port number reserved for the Database Control or Grid Control during installation
If you do not know the correct port number to use, then look for the following line in the file $ORACLE_HOME/install/portlist.ini
, which lists the assigned port:
Enterprise Manager Console HTTP Port (db_name) = 1158
The installation reserves the first available port from the range 5500 to 5519.
For example, if you install Oracle Database on host mgmt42
, and the Database Control uses port 1158, then use the following URL:
http://mgmt42:1158/em
Oracle Enterprise Manager displays the Database Control login page.
Log in to the database using the user name SYS and connect as SYSDBA.
Use the password that you specified for the SYS account during the installation.
Note:
You can also log in to the Database Control using the SYSTEM or SYSMAN accounts, or you can grant login privileges to other database users.After installation, to create or add additional raw partitions, use the following procedures.
To create a new partition, from SQL*Plus enter the following command:
Note:
The size of an Oracle datafile created in a raw partition must be at least 64 KB plus one Oracle block size smaller than the size of the raw partition.SQL> CREATE DATABASE sid 2 LOGFILE '/oracle_data/log1.dbf' SIZE 100K 3 '/oracle_data/log2.dbf' SIZE 100K 3 DATAFILE '/oracle_data/datafile.dbf' SIZE 10000K REUSE;