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.报错 信息

    1. [root@rac3 ~]# /u01/app/19c/grid/root.sh
    2. Performing root user operation.
    3. The following environment variables are set as:
    4. ORACLE_OWNER= grid
    5. ORACLE_HOME= /u01/app/19c/grid
    6. Enter the full pathname of the local bin directory: [/usr/local/bin]:
    7. The contents of "dbhome" have not changed. No need to overwrite.
    8. The contents of "oraenv" have not changed. No need to overwrite.
    9. The contents of "coraenv" have not changed. No need to overwrite.
    10. Entries will be added to the /etc/oratab file as needed by
    11. Database Configuration Assistant when a database is created
    12. Finished running generic part of root script.
    13. Now product-specific root actions will be performed.
    14. Relinking oracle with rac_on option
    15. Using configuration parameter file: /u01/app/19c/grid/crs/install/crsconfig_params
    16. The log of current session can be found at:
    17. /u01/app/grid/crsdata/rac3/crsconfig/rootcrs_rac3_2022-06-07_07-36-38AM.log
    18. 2022/06/07 07:36:47 CLSRSC-594: Executing installation step 1 of 19: 'SetupTFA'.
    19. 2022/06/07 07:36:47 CLSRSC-594: Executing installation step 2 of 19: 'ValidateEnv'.
    20. 2022/06/07 07:36:47 CLSRSC-594: Executing installation step 3 of 19: 'CheckFirstNode'.
    21. 2022/06/07 07:36:48 CLSRSC-594: Executing installation step 4 of 19: 'GenSiteGUIDs'.
    22. oracle.ops.mgmt.cluster.ClusterException: scp: /u01/app/19c/grid/crs/install/crsgenconfig_params: No such file or directory
    23. 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'
    24. 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
    25. Died at /u01/app/19c/grid/crs/install/crsutils.pm line 15905.
    26. [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
    image.png

    1. [grid@rac1 install]$ vi crsgenconfig_params
    2. EXTENDED_CLUSTER_SITE_GUIDS=rac-dg:7cdc685236c77f1eff3ec34e8aea4df9
    3. [root@olrac1 install]# ll crsgenconfig_params
    4. -rwxrwxrwx 1 grid oinstall 75 Mar 18 2020 crsgenconfig_params

    注意crsgenconfig_params 文件权限