CRS 安装完毕。检查crs状态 # su - oracle
$ /opt/app/oracle/crs/bin/crs_stat -t Name Type Target State Host
------------------------------------------------------------ ora.db01.gsd application ONLINE ONLINE db01 ora.db01.ons application ONLINE ONLINE db01 ora.db01.vip application ONLINE ONLINE db01 ora.db02.gsd application ONLINE ONLINE db02 ora.db02.ons application ONLINE ONLINE db02 ora.db02.vip application ONLINE ONLINE db02
安装rdbms
1.在两个节点设置环境变量 # su - oracle # vi .profile
export ORACLE_BASE=/opt/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
$./database/runInstaller
**************************************************************************
Your platform requires the root user to perform certain pre-installation OS preparation. The root user should run the shell script 'rootpre.sh' before you proceed with Oracle installation. rootpre.sh can be found at the top level of the CD or the stage area. Answer 'y' if root has run 'rootpre.sh' so you can proceed with Oracle installation.
Answer 'n' to abort installation and then ask root to run 'rootpre.sh'.
************************************************************************** Has 'rootpre.sh' been run by root? [y/n] (n) y
Starting Oracle Universal Installer...
No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed. Preparing to launch Oracle Universal Installer from /tmp/OraInstall2007-03-15_04-54-25PM. Please wait ...
启动安装界面,点击下一步
选择安装类型,选择企业版,另外在 product languages,可以将中文加入
设置 oracle 主目录,按默认即可
选择 cluster installation,选择所有的节点。
进行先决条件检查
选择只安装数据库软件,然后我们单独建库。
现实统计信息