Oracle 11gR2构建RAC之(3)--安装grid前环境检测
发表于:2025-11-08 作者:千家信息网编辑
千家信息网最后更新 2025年11月08日,Oracle 11gR2构建RAC之(3)--安装grid前环境检测系统环境:操作系统:RedHat EL5Cluster: Oracle GI(Grid Infrastructure)Oracle:
千家信息网最后更新 2025年11月08日Oracle 11gR2构建RAC之(3)--安装grid前环境检测
Oracle 11gR2构建RAC之(3)--安装grid前环境检测
系统环境:
操作系统:RedHat EL5
Cluster: Oracle GI(Grid Infrastructure)
Oracle: Oracle 11.2.0.1.0
如图所示:RAC 系统架构
三、安装GI之前,可以以grid用户的身份对环境进行检测。
以grid 用户的身份校验安装环境(在grid的安装软件包目录下)
[grid@node1 grid]$ ./runcluvfy.sh stage -pre crsinst -n node1,node2 -fixup -verbose ---在检测中会提示,"failed"的位置,需要fixup.1、需要安装的软件包(all nodes)配置yum安装环境:[root@node1 yum.repos.d]# cp rhel-debuginfo.repo yum.repo[root@node1 yum.repos.d]# lsrhel-debuginfo.repo yum.repo[root@node1 yum.repos.d]# cat yum.repo [Base]name=Red Hat Enterprise Linux baseurl=file:///media/Serverenabled=1gpgcheck=0gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release挂载linux ISO 光盘:[root@node1 yum.repos.d]#mount /dev/hdc /media 安装软件:libaio-devel.i386 0:0.3.106-5 sysstat.i386 0:7.0.2-3.el5 unixODBC-2.2.11-7.1unixODBC-devel-2.2.11-7.1unixODBC-kde-2.2.11-7.12、配置用户之间的信任关系(oracle和grid)建立节点之间oracle 、grid 用户之间的信任(通过ssh 建立公钥和私钥)=====Oracle==========1)生成密钥对(all nodes)[oracle@node1 ~]$ ssh-keygen -t rsaGenerating public/private rsa key pair.Enter file in which to save the key (/home/oracle/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/oracle/.ssh/id_rsa.Your public key has been saved in /home/oracle/.ssh/id_rsa.pub.The key fingerprint is:64:a6:4a:77:db:33:a4:aa:6e:ca:8f:5f:2f:77:0f:40 oracle@node1[oracle@node1 ~]$ ssh-keygen -t dsaGenerating public/private dsa key pair.Enter file in which to save the key (/home/oracle/.ssh/id_dsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/oracle/.ssh/id_dsa.Your public key has been saved in /home/oracle/.ssh/id_dsa.pub.The key fingerprint is:7c:41:b5:0f:81:06:ad:30:07:4f:8b:1a:9b:94:68:14 oracle@node12)配置信任关系[oracle@node1 ~]$ ls .sshid_dsa id_dsa.pub id_rsa id_rsa.pub known_hosts[oracle@node1 ~]$ cat .ssh/id_rsa.pub >>.ssh/authorized_keys[oracle@node1 ~]$ cat .ssh/id_dsa.pub >>.ssh/authorized_keys[oracle@node1 ~]$ ssh node2 cat .ssh/id_rsa.pub >>.ssh/authorized_keysoracle@node2's password: [oracle@node1 ~]$ ssh node2 cat .ssh/id_dsa.pub >>.ssh/authorized_keysoracle@node2's password: [oracle@node1 ~]$ scp .ssh/authorized_keys node2:~/.sshoracle@node2's password: authorized_keys 100% 1992 2.0KB/s 00:00 3)验证信任关系 (all nodes)[oracle@node1 ~]$ ssh node2 dateThu May 2 14:46:30 CST 2013[oracle@node1 ~]$ ssh node2-priv dateThe authenticity of host 'node2-priv (10.10.10.2)' can't be established.RSA key fingerprint is 16:28:88:50:27:30:92:cb:49:be:55:61:f6:c2:a1:3f.Are you sure you want to continue connecting (yes/no)? yesWarning: Permanently added 'node2-priv,10.10.10.2' (RSA) to the list of known hosts.Thu May 2 14:47:03 CST 2013[oracle@node1 ~]$ ssh node1 dateThu May 2 14:48:19 CST 2013[oracle@node1 ~]$ ssh node1-priv dateThe authenticity of host 'node1-priv (10.10.10.1)' can't be established.RSA key fingerprint is 39:04:88:3b:54:34:3c:34:d2:df:74:37:fe:5f:92:2d.Are you sure you want to continue connecting (yes/no)? yesWarning: Permanently added 'node1-priv,10.10.10.1' (RSA) to the list of known hosts.Thu May 2 14:48:35 CST 2013=========grid===========步骤同oracle 一样@至此,GI安装之前的准备工作基本完成。
环境
用户
检测
之间
系统
软件
配置
身份
软件包
操作系统
位置
光盘
公钥
密钥
架构
检测系统
步骤
目录
至此
节点
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
wps数据库检索
新型经济与网络安全
服务器地址发生变更是什么意思
东莞网络安全工程师
hive元数据库是什么
软件开发营业执照办理
原神云服务器怎么充值
网络安全人民手抄报简笔画
天熠服务器开机报警
sql附加数据库时出错
软件开发毕业作品要求
华为服务器000告警什么意思
新美大软件开发工作室
我的世界进入服务器无法回到游戏
云计算提供服务器的服务
网络技术岗视频
军团要塞2不安全服务器
苹果 服务器
软件开发一般怎么接单
数据库 左对齐 补充
应用 数据库集群
郴州市网络安全演习
数据库中修改表结构的sql
执行云计算的服务器是什么
数据通信与网络技术教材
湖南专业软件开发品质保障
胡莱三国各种服务器
和平区网络安全宣传
郑州中奥网络技术公司
网易数据库技术