本文共 1617 字,大约阅读时间需要 5 分钟。
安装Oracle Clusterware
14:安装Oracle Clusterware
(1)解压软件包
假设数据库所有软件位于/rac 目录下,首先需要解压Oracle的两个软件包。操作步骤如下: 列出当前目录中的软件包:
[root@node-rac1 rac]# ls 输出: linux_11gR1_database_1013.zip linux_x86_11gR1_clusterware.zip 解压Clusterware软件包:
[root@node-rac1 rac]# unzip linux_x86_11gR1_clusterware.zip [root@node-rac1 rac]# unzip linux_11gR1_database_1013.zip (2)安装补丁包
解压完成后,需要安装补丁包。操作步骤如下:[root@node-rac1 rac]# /rac/clusterware/rpm [root@node-rac1 rac]# rpm -Uvh cvuqdisk-1.0.1-1.rpm在节点 node-rac1 安装完成后,继续在 node-rac2 进行补丁安装。
(3)验证安装环境
在开始安装之前,可以使用Oracle提供的一个检测脚本验证系统环境是否符合要求。操作步骤如下:[oracle@node-rac1 ~]$/rac/clusterware/runcluvfy.sh stage -pre crsinst -n node-rac1,node-rac2 -verbose(4)开始安装
以Oracle用户登录Linux图形界面,执行安装脚本:[oracle@node-rac1 ~]# cd /rac/clusterware/[oracle@node-rac1 clusterware]# ./runInstaller安装过程会弹出图形安装向导界面,步骤简单,具体操作内容以截图为准,不做详细描述。
继续在 node-rac2 执行 root.sh 脚本,输出如下:
node-rac2 执行: [root@node-rac2 crs]# ./root.sh输出信息:
WARNING: directory '/app/oracrs/product/11.0.6' is not owned by root
WARNING: directory '/app/oracrs/product' is not owned by root
WARNING: directory '/app/oracrs' is not owned by root
WARNING: directory '/app' is not owned by root
创建 /etc/oracle 目录:
/etc/oracle does not exist. Creating it now. 格式化投票设备:
/dev/raw/raw3 /dev/raw/raw4 /dev/raw/raw5 启动CRS daemons:
Startup will be queued to init within 30 seconds. Cluster Synchronization Services is active on these nodes. Cluster Synchronization Services is inactive on these nodes. 在所有节点上运行 root.sh 后,CRS daemons应已启动并运行正常。
安装完成后,验证信息显示如下:
未完待续!
转载地址:http://vrpfk.baihongyu.com/