合 在CentOS7.8上安装Oracle 集群rac 21c详细完整版
Tags: Oracle高可用安装部署rac静默静默安装静默建库图形界面安装
五、安装前预检查
5.1、安装补丁包(cvuqdisk)
在安装RAC之前,经常会需要运行集群验证工具CVU(Cluster Verification Utility),该工具执行系统检查,确认当前的配置是否满足要求。
首先判断是否安装了cvuqdisk包:
1 | rpm -qa cvuqdisk |
如果没有安装,那么在2个节点上都执行如下命令进行安装该包:
1 2 3 | export CVUQDISK_GRP=oinstall cd /u01/app/21.3.0/grid/cv/rpm rpm -ivh cvuqdisk-1.0.10-1.rpm |
传输到第2个节点上进行安装:
1 2 3 4 5 | scp cvuqdisk-1.0.10-1.rpm root@raclhr-21c-n2:/soft -- 节点2安装cvuqdisk包 export CVUQDISK_GRP=oinstall rpm -ivh /soft/cvuqdisk-1.0.10-1.rpm |
5.2、配SSH互信,建立ssh等效性
sshUserSetup.sh在GI安装介质解压缩后的sshsetup目录下。下面两条命令在节点1上执行即可,在root用户下执行:
1 2 | /u01/app/21.3.0/grid/oui/prov/resources/scripts/sshUserSetup.sh -user grid -hosts "raclhr-21c-n1 raclhr-21c-n2" -advanced exverify -confirm /u01/app/21.3.0/grid/oui/prov/resources/scripts/sshUserSetup.sh -user oracle -hosts "raclhr-21c-n1 raclhr-21c-n2" -advanced exverify -confirm |
输入yes及密码一路回车即可。
以oracle和grid用户在2个节点上都测试两节点连通性:
1 2 3 4 | ssh raclhr-21c-n1 date ssh raclhr-21c-n2 date ssh raclhr-21c-n1-priv date ssh raclhr-21c-n2-priv date |
第二次执行时不再提示输入口令,并且可以成功执行命令,则表示SSH对等性配置成功。
5.3、cluster硬件检测--安装前预检查配置信息
Use Cluster Verification Utility (cvu)
Before installing Oracle Clusterware, use CVU to ensure that your cluster is prepared for an installation:
Oracle provides CVU to perform system checks in preparation for an installation, patch updates, or other system changes. In addition, CVU can generate fixup scripts that can change many kernel parameters to at lease the minimum settings required for a successful installation.
Using CVU can help system administrators, storage administrators, and DBA to ensure that everyone has completed the system configuration and preinstallation steps.
本人提供Oracle(OCP、OCM)、MySQL(OCP)、PostgreSQL(PGCA、PGCE、PGCM)等数据库的培训和考证业务,私聊QQ646634621或微信dbaup66,谢谢!
dfs的地方
支持Markdown