千家信息网

Solaris 10(x86)构建Oracle 10g RAC之--安装CRS

发表于:2025-01-21 作者:千家信息网编辑
千家信息网最后更新 2025年01月21日,Solaris 10(x86)构建Oracle 10g RAC之--安装CRS系统环境:操作系统:Solaris 10(x86-64)Cluster: Oracle CRS 10.2.0.1.0Ora
千家信息网最后更新 2025年01月21日Solaris 10(x86)构建Oracle 10g RAC之--安装CRS

Solaris 10(x86)构建Oracle 10g RAC之--安装CRS

系统环境:

操作系统:Solaris 10(x86-64)

Cluster: Oracle CRS 10.2.0.1.0

Oracle: Oracle 10.2.0.1.0


如图所示:RAC 系统架构


二、CRS 安装

Cluster Ready Service是Oracle 构建RAC,负责集群资源管理的软件,在搭建RAC中必须首先安装.

安装需采用图形化方式,以Oracle用户的身份安装(在node1上):

解压CRS安装包:

[oracle@node1:/export/home/oracle]$ unzip 10201_clusterware_solx86_64.zip

跳过系统环境检测:

[oracle@node1:/export/home/oracle/clusterware]$ ./runInstaller -ignoreSysPrereps




注意:以上安装路径为CRS安装路径



添加node2信息



修改网络属性


指定OCR磁盘位置


指定VOTE磁盘位置



运行脚本:(所有node)

[root@node1:/]# /export/home/ora10/oraInventory/orainstRoot.sh Changing permissions of /export/home/ora10/oraInventory to 770.Changing groupname of /export/home/ora10/oraInventory to oinstall.The execution of the script is complete[root@node2:/]# /export/home/ora10/oraInventory/orainstRoot.sh Changing permissions of /export/home/ora10/oraInventory to 770.Changing groupname of /export/home/ora10/oraInventory to oinstall.The execution of the script is complete
[root@node1:/]# /export/home/crs_1/root.shChecking to see if Oracle CRS stack is already configuredSetting the permissions on OCR backup directorySetting up NS directoriesOracle Cluster Registry configuration upgraded successfullySuccessfully accumulated necessary OCR keys.Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.node :   node 1: node1 node1-priv node1node 2: node2 node2-priv node2Creating OCR keys for user 'root', privgrp 'root'..Operation successful.Now formatting voting device: /oracle/voteFormat of 1 voting devices complete.Startup will be queued to init within 30 seconds.Adding daemons to inittabExpecting the CRS daemons to be up within 600 seconds.CSS is active on these nodes.        node1CSS is inactive on these nodes.        node2Local node checking complete.Run root.sh on remaining nodes to start CRS daemons.[root@node2:/]# /export/home/crs_1/root.sh Checking to see if Oracle CRS stack is already configuredSetting the permissions on OCR backup directorySetting up NS directoriesOracle Cluster Registry configuration upgraded successfullyclscfg: EXISTING configuration version 3 detected.clscfg: version 3 is 10G Release 2.Successfully accumulated necessary OCR keys.Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.node :   node 1: node1 node1-priv node1node 2: node2 node2-priv node2clscfg: Arguments check out successfully.NO KEYS WERE WRITTEN. Supply -force parameter to override.-force is destructive and will destroy any previous clusterconfiguration.Oracle Cluster Registry for cluster has already been initializedStartup will be queued to init within 30 seconds.Adding daemons to inittabExpecting the CRS daemons to be up within 600 seconds.CSS is active on these nodes.        node1        node2CSS is active on all nodes.Waiting for the Oracle CRSD and EVMD to startOracle CRS stack installed and running under init(1M)Running vipca(silent) for configuring nodeappsCreating 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.

@脚本运行成功 !



查看CRS服务和资源信息:

[root@node2:/]# vi /etc/profileexport PATH=$PATH:/export/home/crs_1/bin[root@node1:/]# crsctl check crsCSS appears healthyCRS appears healthyEVM appears healthy[root@node1:/]# crs_stat -tName           Type           Target    State     Host        ------------------------------------------------------------ora.node1.gsd  application    ONLINE    ONLINE    node1       ora.node1.ons  application    ONLINE    ONLINE    node1       ora.node1.vip  application    ONLINE    ONLINE    node1       ora.node2.gsd  application    ONLINE    ONLINE    node2       ora.node2.ons  application    ONLINE    ONLINE    node2       ora.node2.vip  application    ONLINE    ONLINE    node2[root@node2:/]# crsctl check crsCSS appears healthyCRS appears healthyEVM appears healthy[root@node2:/]# crs_stat -tName           Type           Target    State     Host        ------------------------------------------------------------ora.node1.gsd  application    ONLINE    ONLINE    node1       ora.node1.ons  application    ONLINE    ONLINE    node1       ora.node1.vip  application    ONLINE    ONLINE    node1       ora.node2.gsd  application    ONLINE    ONLINE    node2       ora.node2.ons  application    ONLINE    ONLINE    node2       ora.node2.vip  application    ONLINE    ONLINE    node2



@至此,CRS安装成功!



系统 成功 位置 信息 环境 磁盘 脚本 资源 路径 运行 操作系统 图形 属性 方式 架构 环境检测 用户 网络 至此 资源管理 数据库的安全要保护哪些东西 数据库安全各自的含义是什么 生产安全数据库录入 数据库的安全性及管理 数据库安全策略包含哪些 海淀数据库安全审计系统 建立农村房屋安全信息数据库 易用的数据库客户端支持安全管理 连接数据库失败ssl安全错误 数据库的锁怎样保障安全 网络安全等级保护有几个等级 警校网络安全与监察专业 关于网络安全的街访问题 深圳网络技术工作 维护校园网络安全班会主题 三星服务器管理口ip 怎么将域名和服务器绑定起来 吉林pdu服务器电源价格怎么样 安徽吾即互联网科技有限公司 栾川im即时通讯软件开发 大连爱恋网络技术公司 黄岛区神庙子网络技术服务部 舟山软件开发地址 无线网络技术的是 网络安全问题不规范网络众筹 维科技术工业互联网合作 天津回收服务器价格行情 浙江美讯网络技术公司 济南安卓软件开发要多少钱 数据库中怎么打开数据库 傲鹰网络技术 根据网络安全法 大众传播 sql备份数据库失败364 网络安全关系你我他新闻稿 5g软件开发靠谱吗 mac里的数据库服务器 成都芭宗铎软件开发工作室 软件开发的小组长职位怎么样 非标设备工控软件开发 戴尔t630服务器加硬盘不显示
0