Solaris 10(x86)构建Oracle 10g RAC之--配置系统环境(2)
发表于:2025-11-07 作者:千家信息网编辑
千家信息网最后更新 2025年11月07日,Solaris 10(x86)构建Oracle 10g RAC之--配置系统环境(2)系统环境:操作系统:Solaris 10(x86-64)Cluster: Oracle CRS 10.2.0.1.
千家信息网最后更新 2025年11月07日Solaris 10(x86)构建Oracle 10g RAC之--配置系统环境(2)
Solaris 10(x86)构建Oracle 10g RAC之--配置系统环境(2)
系统环境:
操作系统:Solaris 10(x86-64)
Cluster: Oracle CRS 10.2.0.1.0
Oracle: Oracle 10.2.0.1.0
如图所示:RAC 系统架构
一、建立主机之间的信任关系(在所有node)
1、配置主机hosts.equiv文件
[root@node1:/]# cat /etc/hosts.equiv node1 rootnode1 oraclenode1-vip rootnode1-vip oraclenode1-priv rootnode1-priv oraclenode2 rootnode2 oraclenode2-vip rootnode2-vip oraclenode2-priv rootnode2-priv oracle
2、配置Oracle用户.rhosts文件
[oracle@node1:/export/home/oracle]$ cat .rhosts node1 rootnode1 oraclenode1-vip rootnode1-vip oraclenode1-priv rootnode1-priv oraclenode2 rootnode2 oraclenode2-vip rootnode2-vip oraclenode2-priv rootnode2-priv oracle
3、启动相关的服务,验证
[root@node1:/]# svcs -a |grep rlogindisabled 10:05:17 svc:/network/login:rlogin[root@node1:/]# svcadm enable svc:/network/login:rlogin[root@node1:/]# svcadm enable svc:/network/rexec:default[root@node1:/]# svcadm enable svc:/network/shell:default[root@node1:/]# svcs -a |grep rloginonline 11:37:34 svc:/network/login:rlogin[root@node1:/]# su - oracleOracle Corporation SunOS 5.10 Generic Patch January 2005[oracle@node1:/export/home/oracle]$ rlogin node1Last login: Wed Jan 21 11:29:36 from node2-privOracle Corporation SunOS 5.10 Generic Patch January 2005
二、安装CRS前系统环境的检测(在node1)
[oracle@node1:/export/home/oracle]$ unzip 10201_clusterware_solx86_64.zip[oracle@node1:/export/home/oracle/clusterware/cluvfy]$ ./runcluvfy.sh USAGE:cluvfy [ -help ]cluvfy stage { -list | -help }cluvfy stage {-pre|-post} [-verbose]cluvfy comp { -list | -help }cluvfy comp [-verbose][oracle@node1:/export/home/oracle/clusterware/cluvfy]$ ./runcluvfy.sh stage -pre crsinst -n node1,node2 -verbosePerforming pre-checks for cluster services setup Checking node reachability...Check: Node reachability from node "node1" Destination Node Reachable? ------------------------------------ ------------------------ node1 yes node2 yes Result: Node reachability check passed from node "node1".Checking user equivalence...Check: User equivalence for user "oracle" Node Name Comment ------------------------------------ ------------------------ node2 passed node1 passed Result: User equivalence check passed for user "oracle".Checking administrative privileges...Check: Existence of user "oracle" Node Name User Exists Comment ------------ ------------------------ ------------------------ node2 yes passed node1 yes passed Result: User existence check passed for "oracle".Check: Existence of group "oinstall" Node Name Status Group ID ------------ ------------------------ ------------------------ node2 exists 200 node1 exists 200 Result: Group existence check passed for "oinstall".Check: Membership of user "oracle" in group "oinstall" [as Primary] Node Name User Exists Group Exists User in Group Primary Comment ---------------- ------------ ------------ ------------ ------------ ------------ node2 yes yes yes yes passed node1 yes yes yes yes passed Result: Membership check for user "oracle" in group "oinstall" [as Primary] passed.Administrative privileges check passed.Checking node connectivity...Interface information for node "node2" Interface Name IP Address Subnet ------------------------------ ------------------------------ ---------------- e1000g0 192.168.8.12 192.168.8.0 e1000g1 10.10.10.12 10.10.10.0 Interface information for node "node1" Interface Name IP Address Subnet ------------------------------ ------------------------------ ---------------- e1000g0 192.168.8.11 192.168.8.0 e1000g1 10.10.10.11 10.10.10.0 Check: Node connectivity of subnet "192.168.8.0" Source Destination Connected? ------------------------------ ------------------------------ ---------------- node2:e1000g0 node1:e1000g0 yes Result: Node connectivity check passed for subnet "192.168.8.0" with node(s) node2,node1.Check: Node connectivity of subnet "10.10.10.0" Source Destination Connected? ------------------------------ ------------------------------ ---------------- node2:e1000g1 node1:e1000g1 yes Result: Node connectivity check passed for subnet "10.10.10.0" with node(s) node2,node1.Suitable interfaces for the private interconnect on subnet "192.168.8.0":node2 e1000g0:192.168.8.12node1 e1000g0:192.168.8.11Suitable interfaces for the private interconnect on subnet "10.10.10.0":node2 e1000g1:10.10.10.12node1 e1000g1:10.10.10.11ERROR: Could not find a suitable set of interfaces for VIPs.Result: Node connectivity check failed.---vip 网络检测失败Checking system requirements for 'crs'...Check: Total memory Node Name Available Required Comment ------------ ------------------------ ------------------------ ---------- node2 1.76GB (1843200KB) 512MB (524288KB) passed node1 1.76GB (1843200KB) 512MB (524288KB) passed Result: Total memory check passed.Check: Free disk space in "/tmp" dir Node Name Available Required Comment ------------ ------------------------ ------------------------ ---------- node2 3GB (3150148KB) 400MB (409600KB) passed node1 2.74GB (2875128KB) 400MB (409600KB) passed Result: Free disk space check passed.Check: Swap space Node Name Available Required Comment ------------ ------------------------ ------------------------ ---------- node2 2GB (2096476KB) 512MB (524288KB) passed node1 2GB (2096476KB) 512MB (524288KB) passed Result: Swap space check passed.Check: System architecture Node Name Available Required Comment ------------ ------------------------ ------------------------ ---------- node2 64-bit 64-bit passed node1 64-bit 64-bit passed Result: System architecture check passed.Check: Operating system version Node Name Available Required Comment ------------ ------------------------ ------------------------ ---------- node2 SunOS 5.10 SunOS 5.10 passed node1 SunOS 5.10 SunOS 5.10 passed Result: Operating system version check passed.Check: Operating system patch for "118345-03" Node Name Applied Required Comment ------------ ------------------------ ------------------------ ---------- node2 unknown 118345-03 failed node1 unknown 118345-03 failed Result: Operating system patch check failed for "118345-03".Check: Operating system patch for "119961-01" Node Name Applied Required Comment ------------ ------------------------ ------------------------ ---------- node2 119961-06 119961-01 passed node1 119961-06 119961-01 passed Result: Operating system patch check passed for "119961-01".Check: Operating system patch for "117837-05" Node Name Applied Required Comment ------------ ------------------------ ------------------------ ---------- node2 unknown 117837-05 failed node1 unknown 117837-05 failed Result: Operating system patch check failed for "117837-05".Check: Operating system patch for "117846-08" Node Name Applied Required Comment ------------ ------------------------ ------------------------ ---------- node2 unknown 117846-08 failed node1 unknown 117846-08 failed Result: Operating system patch check failed for "117846-08".Check: Operating system patch for "118682-01" Node Name Applied Required Comment ------------ ------------------------ ------------------------ ---------- node2 unknown 118682-01 failed node1 unknown 118682-01 failed Result: Operating system patch check failed for "118682-01".---系统补丁检测失败Check: Group existence for "dba" Node Name Status Comment ------------ ------------------------ ------------------------ node2 exists passed node1 exists passed Result: Group existence check passed for "dba".Check: Group existence for "oinstall" Node Name Status Comment ------------ ------------------------ ------------------------ node2 exists passed node1 exists passed Result: Group existence check passed for "oinstall".Check: User existence for "oracle" Node Name Status Comment ------------ ------------------------ ------------------------ node2 exists passed node1 exists passed Result: User existence check passed for "oracle".Check: User existence for "nobody" Node Name Status Comment ------------ ------------------------ ------------------------ node2 exists passed node1 exists passed Result: User existence check passed for "nobody".System requirement failed for 'crs'Pre-check for cluster services setup was unsuccessful on all the nodes. ----在以上的系统环境检测中,VIP网络检查失败;
如果在检测前没有配置VIP网络,可以用一下方式进行配置;如果已经配置过,就不会检测失败。
配置vip network(node1):[root@node1:/]# ifconfig e1000g0:1 plumb up[root@node1:/]# ifconfig e1000g0:1 192.168.8.13 netmask 255.255.255.0[root@node1:/]# ifconfig -alo0: flags=2001000849 mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 e1000g0: flags=1000843 mtu 1500 index 2 inet 192.168.8.11 netmask ffffff00 broadcast 192.168.8.255 ether 8:0:27:28:b1:8c e1000g0:1: flags=4001000842 mtu 1500 index 2 inet 192.168.8.13 netmask ffffff00 broadcast 192.168.8.255e1000g1: flags=1000843 mtu 1500 index 3 inet 10.10.10.11 netmask ffffff00 broadcast 10.10.10.255 ether 8:0:27:6e:16:1 配置vip network(node2):[root@node2:/]# ifconfig e1000g0:1 plumb up[root@node2:/]# ifconfig e1000g0:1 192.168.8.14 netmask 255.255.255.0 [root@node2:/]# ifconfig -alo0: flags=2001000849 mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 e1000g0: flags=1000843 mtu 1500 index 2 inet 192.168.8.12 netmask ffffff00 broadcast 192.168.8.255 ether 8:0:27:1f:bf:4c e1000g0:1: flags=1000843 mtu 1500 index 2 inet 192.168.8.14 netmask ffffff00 broadcast 192.168.8.255e1000g1: flags=1000843 mtu 1500 index 3 inet 10.10.10.12 netmask ffffff00 broadcast 10.10.10.255 ether 8:0:27:a5:2c:db----在以上的系统环境检测中,部分补丁没有安装(可以通过Oracle官方网站下载,本机为测试环境暂不安装)
系统
配置
检测
环境
网络
主机
文件
环境检测
补丁
操作系统
之间
可以通过
官方
官方网站
方式
架构
用户
网站
部分
如图
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
朝阳区专业性软件开发价格信息
上海网络技术公司排名
软件开发工作量核定和收入
曙光服务器设置u盘启动
考试过程中的网络安全
如何获取苹果的位置数据库
医院网络安全项目论证意见
wow服务器贫瘠之地
数据库双色球编程
郴州物流软件开发
vcenter外链数据库
软件开发环境列表
c中向数据库中修改数据
长春理工大学网络安全专业
网络安全十二五规划
串口上位机软件开发
张博计算机网络技术与应用
新乡市至诚网络技术有限公司
移动服务器密码什么时候需要
对峙二私人服务器
服务器打补丁要重启几次
python脚本服务器部署
什么是数据库实现阶段的主要任务
笔记本电脑怎么装服务器
密码学与网络安全第6版答案
重新数据库指令
文件夹上传下载数据库
寻找软件开发工作
复方维生素u片药品广告数据库
关于成立网络安全