ORACLE12CR2 RAC安装部署(REDHAT7.6)二、Grid软件安装

举报
Lucifer三思而后行 发表于 2021/10/25 17:57:48 2021/10/25
【摘要】 安装GRID软件 1、解压缩Grid软件chown -R grid:oinstall /softsu - grid -c "unzip /soft/linuxx64_12201_grid_home.zip -d /u01/app/12.2.0/grid" 2、RPM CVU 安装rpm -ivh /soft/compat-libstdc++-33-3.2.3-72.el7.x86_64.r...

安装GRID软件

1、解压缩Grid软件

chown -R grid:oinstall /soft
su - grid -c "unzip /soft/linuxx64_12201_grid_home.zip -d /u01/app/12.2.0/grid"

2、RPM CVU 安装

rpm -ivh /soft/compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm
rpm -ivh /soft/cvuqdisk-1.0.10-1.rpm

3、配置ssh互信

#SSH配置 (自root用户下执行)
/u01/app/12.2.0/grid/oui/prov/resources/scripts/sshUserSetup.sh -user oracle -hosts "fdcdb01 fdcdb02 fdcdb01-priv1 fdcdb01-priv2 fdcdb02-priv1 fdcdb02-priv2" -advanced -noPromptPassphrase -exverify -confirm
/u01/app/12.2.0/grid/oui/prov/resources/scripts/sshUserSetup.sh -user grid -hosts "fdcdb01 fdcdb02 fdcdb01-priv1 fdcdb01-priv2 fdcdb02-priv1 fdcdb02-priv2" -advanced -noPromptPassphrase -exverify -confirm

4、安装前runcluvfy检查

su - grid -c "/u01/app/12.2.0/grid/runcluvfy.sh stage -pre crsinst -n fdcdb01,fdcdb02 -fixup -verbose"


Pre-check for cluster services setup was unsuccessful on all the nodes. 


Failures were encountered during execution of CVU verification request "stage -pre crsinst".

Verifying Network Time Protocol (NTP) ...FAILED

CVU operation performed:      stage -pre crsinst
Date:                         Apr 2, 2021 5:27:37 AM
CVU home:                     /u01/app/12.2.0/grid/
User:                         grid

5、安装GRID软件

Notes:提前剧透下,一定要看:如果安装命令是执行./gridSetup.sh,执行root.sh时,__必然报错:CLSRSC-400: A system reboot is required to continue installing.需要卸载重新安装。

解决方案通过12C新特性 -applyPSU 提前打上最新PSU补丁修复该BUG,前提是需要更换OPatch包:

**How to Apply a Grid Infrastructure Patch Before Grid Infrastructure Configuration (before root.sh or rootupgrade.sh or gridsetup.bat) is Executed (Doc ID 1410202.1)    **

./gridSetup.sh -applyPSU /soft/32226491

以下是完整的安装以及填坑步骤:

**12.2: PRVG-0802 : Storage type for path “/dev/mapper/asm011p1” could not be determined (Doc ID 2251322.1)    **

[root@fdcdb02 dev]# ll /etc/multipath.conf 
-rw------- 1 root root 3209 Apr  1 14:22 /etc/multipath.conf
[root@fdcdb02 dev]# chmod 644 /etc/multipath.conf 
[root@fdcdb02 dev]# ll /etc/multipath.conf 
-rw-r--r-- 1 root root 3209 Apr  1 14:22 /etc/multipath.conf

【版权声明】本文为华为云社区用户原创内容,转载时必须标注文章的来源(华为云社区)、文章链接、文章作者等基本信息, 否则作者和本社区有权追究责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@huaweicloud.com
  • 点赞
  • 收藏
  • 关注作者

评论(0

0/1000
抱歉,系统识别当前为高风险访问,暂不支持该操作

全部回复

上滑加载中

设置昵称

在此一键设置昵称,即可参与社区互动!

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。