Solaris 10(x86)构建Oracle 10g RAC之--安装CRS
admin
2023-05-11 07:21:52
0

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 系统架构

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


二、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

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


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


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


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

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


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


添加node2信息

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


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


修改网络属性

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


指定OCR磁盘位置

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


指定VOTE磁盘位置

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


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


运行脚本:(所有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.sh
Checking to see if Oracle CRS stack is already configured
Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node   
node 1: node1 node1-priv node1
node 2: node2 node2-priv node2
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Now formatting voting device: /oracle/vote
Format of 1 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.
CSS is active on these nodes.
        node1
CSS is inactive on these nodes.
        node2
Local 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 configured
Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
clscfg: 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 node1
node 2: node2 node2-priv node2
clscfg: Arguments check out successfully.
NO KEYS WERE WRITTEN. Supply -force parameter to override.
-force is destructive and will destroy any previous cluster
configuration.
Oracle Cluster Registry for cluster has already been initialized
Startup will be queued to init within 30 seconds.
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
        node1
        node2
CSS is active on all nodes.
Waiting for the Oracle CRSD and EVMD to start
Oracle CRS stack installed and running under init(1M)
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.

@脚本运行成功 !

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


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


查看CRS服务和资源信息:

[root@node2:/]# vi /etc/profile
export PATH=$PATH:/export/home/crs_1/bin

[root@node1:/]# crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthy

[root@node1:/]# crs_stat -t
Name           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 crs
CSS appears healthy
CRS appears healthy
EVM appears healthy

[root@node2:/]# crs_stat -t
Name           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安装成功!



相关内容

热门资讯

河南一企业每月给员工父母发“工... 近日,河南一企业每月1日给员工父母发“工资”一事在网上引热议,很多人点赞,更多也是好奇:咋发?发多少...
“90后夫妻同患罕见病瘫痪”引... 近日,一段“90后新婚夫妻同患罕见病瘫痪”的视频在网上流传,引发关注和热议。有网友对夫妻俩的遭遇表示...
北京:每年开放场景空间资源和场... 5月13日,北京市发展改革委、北京市科委、中关村管委会等部门联合发布了《北京市加快推动场景培育和开放...
DAA衡量智能体的时代,云服务... 今年以来,国内外头部云厂商相继上调部分核心产品价格,打破了行业近二十年“只降不升”的惯例。这背后,是...
2026年网络发稿平台权威测评... 引言:数字化浪潮下,网络发稿生态正在经历深刻变革 在信息爆炸的互联网时代,网络空间已成为企业品牌传播...
“小皮球,架脚踢,马兰开花二十... “二八二五六,二八二五七,二八二九三十一……”当短视频里的外国网友惊呼“这是什么暗号”时,有网友笑称...
房子重新装修需要多少钱(房子重... 像新房子装修后的使用寿命大概在15到20年的样子,之后的各种材料都因时间的关系会逐渐老化,看着越来越...
不锈钢橱柜多少一米 具体要看你使用的不锈钢是哪种型号的,因为市面上有很多种型号的不锈钢,当然价钱也有所不同。那么我们普通...
300-300的瓷砖是多少平方 我们在计算平方的时候,都是将长度乘以宽度,所以300×300的瓷砖,这些瓷砖的面积肯定是0.9个平方...
热水器是一直开着省电还是现用现... 一般情况下家用的热水器是现用现烧比较省电,当热水器一直开着时,热水器会一直持续进行烧水工作,这样会比...