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

wKiom1S_b-OSHjhcAAGktznT6W4920.jpg


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

wKiom1TAeirSJXpGAAPSM-GsYIM307.jpg


wKioL1TAewHxP-mNAATCv1E6GhQ483.jpg


wKiom1TAeiqAze0bAAP8k_HO52o146.jpg


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

wKioL1TAewHysKGzAASqp1f2q0o471.jpg


wKiom1TAeiugAYtIAAQ5ymWxIaQ318.jpg


添加node2信息

wKioL1TAewLiwOp_AARJPPDdFns160.jpg


wKioL1TAewKhcwpyAAOb0X3tkhg455.jpg


修改网络属性

wKiom1TAeiyCvjKUAATIjxju8GQ763.jpg


指定OCR磁盘位置

wKiom1TAeiyDZjvzAATyhRWpdaI009.jpg


指定VOTE磁盘位置

wKioL1TAewOCzjXhAAQN0Ha3t4U700.jpg


wKiom1TAei3DPuqDAAOnfYNDeWA620.jpg


运行脚本:(所有node)

1
2
3
4
5
6
7
8
9
[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
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[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 <nodenumber>: <nodename> < private  interconnect name> <hostname>
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 <nodenumber>: <nodename> < private  interconnect name> <hostname>
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.

@脚本运行成功 !

wKioL1TAewTQv11nAARisdm194U229.jpg


wKiom1TAei3i5sO9AAL94JIW1iY099.jpg


查看CRS服务和资源信息:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[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安装成功!










本文转自 客居天涯 51CTO博客,原文链接:http://blog.51cto.com/tiany/1606947,如需转载请自行联系原作者
目录
相关文章
|
Oracle 关系型数据库 MySQL
Oracle linux 8 二进制安装 MySQL 8.4企业版
Oracle linux 8 二进制安装 MySQL 8.4企业版
635 1
|
Oracle 关系型数据库 Linux
linux8安装oracle 11g遇到的问题记录
Oracle 11g在Linux 8上安装时会遇到link编译环节的问题。官方建议忽略安装中的链接错误,安装完成后应用DBPSU 11.2.0.4.240716补丁及一次性补丁33991024,再重新编译二进制文件,并配置监听器和数据库。但因11g已退出服务期,这些补丁需付费获取。网上信息显示22年1月的PSU补丁也可解决问题,找到该补丁后按常规方式打补丁即可。如有需求或疑问可咨询我。
903 20
|
存储 Oracle 关系型数据库
|
Oracle 关系型数据库 网络安全
Oracle 19c 安装教程学习
Oracle 19c 安装教程学习
6205 2
|
机器学习/深度学习 Oracle 关系型数据库
Oracle 19c单机一键安装脚本分享
Oracle 19c单机一键安装脚本分享
1095 2
|
运维 Oracle 前端开发
Oracle 11g RAC集群日常运维命令总结
Oracle 11g RAC集群日常运维命令总结
811 2
|
SQL Oracle 关系型数据库
Oracle数据库基础教程:从安装到基本操作的全面介绍
Oracle数据库基础教程:从安装到基本操作的全面介绍
1075 10
|
SQL Oracle 关系型数据库
MySQL、SQL Server和Oracle数据库安装部署教程
数据库的安装部署教程因不同的数据库管理系统(DBMS)而异,以下将以MySQL、SQL Server和Oracle为例,分别概述其安装部署的基本步骤。请注意,由于软件版本和操作系统的不同,具体步骤可能会有所变化。
1506 3
|
存储 负载均衡 Oracle
|
存储 Oracle 关系型数据库