failed to copy file ‘/u01/app/19c/grid/crs/install/crsgenconfig_params’ from node ‘rac1,rac2’ to file ‘/u01/app/19c/grid/crs/install/crsgenconfig_params’ on local node
Died at /u01/app/19c/grid/crs/install/crsutils.pm line 15905
oracle 19.10 集群升级到19.14 后添加新的节点执行root.sh脚本报错
1.报错 信息
[root@rac3 ~]# /u01/app/19c/grid/root.sh
Performing root user operation.
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /u01/app/19c/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Relinking oracle with rac_on option
Using configuration parameter file: /u01/app/19c/grid/crs/install/crsconfig_params
The log of current session can be found at:
/u01/app/grid/crsdata/rac3/crsconfig/rootcrs_rac3_2022-06-07_07-36-38AM.log
2022/06/07 07:36:47 CLSRSC-594: Executing installation step 1 of 19: 'SetupTFA'.
2022/06/07 07:36:47 CLSRSC-594: Executing installation step 2 of 19: 'ValidateEnv'.
2022/06/07 07:36:47 CLSRSC-594: Executing installation step 3 of 19: 'CheckFirstNode'.
2022/06/07 07:36:48 CLSRSC-594: Executing installation step 4 of 19: 'GenSiteGUIDs'.
oracle.ops.mgmt.cluster.ClusterException: scp: /u01/app/19c/grid/crs/install/crsgenconfig_params: No such file or directory
2022/06/07 07:36:50 CLSRSC-180: An error occurred while executing the command '/u01/app/19c/grid/bin/cluutil -copy -sourcefile /u01/app/19c/grid/crs/install/crsgenconfig_params -fromnodesfile /tmp/cydACsRKeD -destfile /u01/app/19c/grid/crs/install/crsgenconfig_params -nodelist rac3'
2022/06/07 07:36:50 CLSRSC-571: failed to copy file '/u01/app/19c/grid/crs/install/crsgenconfig_params' from node 'rac1,rac2' to file '/u01/app/19c/grid/crs/install/crsgenconfig_params' on local node
Died at /u01/app/19c/grid/crs/install/crsutils.pm line 15905.
[root@rac3 ~]# CLSRSC-1802022/06/07 07:37:24 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.
2.处理方式
手动在rac1或者rac2 节点添加crsgenconfig_params 文件从新执行root.sh脚本
EXTENDED_CLUSTER_SITE_GUIDS参数信息可以查看执行addnode 节点的crsconfig_addparams文件
因为是在rac2执行的addnode所以crsconfig_addparams文件只存在于rac2
[grid@rac1 install]$ vi crsgenconfig_params
EXTENDED_CLUSTER_SITE_GUIDS=rac-dg:7cdc685236c77f1eff3ec34e8aea4df9
[root@olrac1 install]# ll crsgenconfig_params
-rwxrwxrwx 1 grid oinstall 75 Mar 18 2020 crsgenconfig_params
注意crsgenconfig_params 文件权限