Oracle系列:安装Oracle RAC数据库(二)

php中文网
发布: 2016-06-07 17:39:58
原创
954人浏览过

紧接着上面的文章:http://ixdba.blog.51cto.com/2895551/88051114:安装OracleClusterware(1)解压软件包这里假定数据库所有软件放在了/rac目录下,首先需要解

紧接着上面的文章:

14:安装Oracle Clusterware

(1)解压软件包
 这里假定数据库所有软件放在了/rac目录下,首先需要解压Oracle的两个软件包,操作如下:
[root@node-rac1 rac]#ls
linux_11gR1_database_1013.zip linux_x86_11gR1_clusterware.zip
[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身份登录系统,执行如下命令:
[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
接着就会弹出图形安装向导界面,安装过程非常简单,美国空间,香港空间,这里仅仅给出安装图解,所有操作内容以截图为准,不做描述。

Zen Cart
Zen Cart

Zen Cart是一款开源购物车系统,用于建立网上商店,源代码完全开放自由修改;功能强大,上千个免费插件;界面漂亮,大量免费模板;安全,十几万家在线商店应用。 Zen Cart v1.5.1 中文插件版包含以下内容预装15个免费模板图像管理模块 Image Handler多栏列表模块 Column Layout内置编辑器 CKEditor数据库备份模块 DB Backup快速更新模块 Quick

Zen Cart 0
查看详情 Zen Cart

 

 

 

 

 

 

 

 

 

 

 

根据安装向导提示,以root用户身份在所有节点上分别执行上述两个脚本,要一个节点一个节点地执行,在node-rac1执行root.sh时的信息如下:
[root@node-rac1 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
/etc/oracle does not exist. Creating it now.
……
node 1: node-rac1 node-priv1 node-rac1
node 2: node-rac2 node-priv2 node-rac2
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Now formatting voting device: /dev/raw/raw3
 Now formatting voting device: /dev/raw/raw4
Now formatting voting device: /dev/raw/raw5
 Format of 3 voting devices complete.
Startup will be queued to init within 30 seconds.
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
Cluster Synchronization Services is active on these nodes.
        node-rac1
Cluster Synchronization Services is inactive on these nodes.
        node-rac2
Local node checking complete. Run root.sh on remaining nodes to start CRS daemons.


继续在node-rac2执行root.sh脚本,输出如下:
[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
Checking to see if Oracle CRS stack is already configured
/etc/oracle does not exist. Creating it now.
………..
node 1: node-rac1 node-priv1 node-rac1
node 2: node-rac2 node-priv2 node-rac2
clscfg: Arguments check out successfully.
Cluster Synchronization Services is active on these nodes.
        node-rac1
        node-rac2
Cluster Synchronization Services is active on all the nodes.
Running vipca(silent) for configuring nodeapps
Creating VIP application resource on (2) nodes . ..
Creating GSD application resource on (2) nodes ...
Creating ONS application resource on (2) nodes . ..
Starting VIP application resource on (2) nodes ...
Starting GSD application resource on (2) nodes...
Starting ONS application resource on (2) nodes ...
Done.
 

最后,给出安装完成验证信息,显示如下:

 

 

未完待续!

本文出自 “技术成就梦想” 博客,请务必保留此出处

最佳 Windows 性能的顶级免费优化软件
最佳 Windows 性能的顶级免费优化软件

每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。

下载
来源:php中文网
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
开源免费商场系统广告
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号