首页 » ORACLE 9i-23ai » 11203 RAC addNode.sh 遇PRKC-PRCF-2015 PRCF-2023

11203 RAC addNode.sh 遇PRKC-PRCF-2015 PRCF-2023

在oel5.8 的系统中做的RAC11203,目前两个节点在手动增加第三个节点时遇错,下面是错误信息

 [grid@znode1 bin]$ ./addNode.sh -silent "CLUSTER_NEW_NODES={znode3}" "CLUSTER_NEW_VIRTUAL_HOSTNAMES={znode3-vip}"

Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 3927 MB    Passed
Oracle Universal Installer, Version 11.2.0.3.0 Production
Copyright (C) 1999, 2011, Oracle. All rights reserved.

Performing tests to see whether nodes znode2,znode3 are available
............................................................... 100% Done.

.
-----------------------------------------------------------------------------
Cluster Node Addition Summary
Global Settings
   Source: /u01/app/11.2.0/grid
   New Nodes
Space Requirements
   New Nodes
      znode3
         /: Required 4.14GB : Available 9.73GB
Installed Products
   Product Names
      Oracle Grid Infrastructure 11.2.0.3.0
      Sun JDK 1.5.0.30.03
      Installer SDK Component 11.2.0.3.0
      Oracle One-Off Patch Installer 11.2.0.1.7
      Oracle Universal Installer 11.2.0.3.0
      Oracle USM Deconfiguration 11.2.0.3.0
      Oracle Configuration Manager Deconfiguration 10.3.1.0.0
      Enterprise Manager Common Core Files 10.2.0.4.4
      Oracle DBCA Deconfiguration 11.2.0.3.0
      Oracle RAC Deconfiguration 11.2.0.3.0
      Oracle Quality of Service Management (Server) 11.2.0.3.0
      Installation Plugin Files 11.2.0.3.0
      Universal Storage Manager Files 11.2.0.3.0
      Oracle Text Required Support Files 11.2.0.3.0
      Automatic Storage Management Assistant 11.2.0.3.0
      Oracle Database 11g Multimedia Files 11.2.0.3.0
      Oracle Multimedia Java Advanced Imaging 11.2.0.3.0
      Oracle Globalization Support 11.2.0.3.0
      Oracle Multimedia Locator RDBMS Files 11.2.0.3.0
      Oracle Core Required Support Files 11.2.0.3.0
      Bali Share 1.1.18.0.0
      Oracle Database Deconfiguration 11.2.0.3.0
      Oracle Quality of Service Management (Client) 11.2.0.3.0
      Expat libraries 2.0.1.0.1
......
      Oracle Netca Client 11.2.0.3.0
      Oracle Net 11.2.0.3.0
      Oracle JVM 11.2.0.3.0
      Oracle Internet Directory Client 11.2.0.3.0
      Oracle Net Listener 11.2.0.3.0
      Cluster Ready Services Files 11.2.0.3.0
      Oracle Database 11g 11.2.0.3.0
-----------------------------------------------------------------------------

Instantiating scripts for add node (Tuesday, July 24, 2012 9:54:51 AM CST)
.                                                                 1% Done.
Instantiation of add node scripts complete

Copying to remote nodes (Tuesday, July 24, 2012 9:54:54 AM CST)
...........................................................WARNING:Error while copying directory /u01/app/11.2.0/grid with exclude file list '/temp/OraInstall2012-07-24_09-54-38AM/installExcludeFile.lst' to nodes 'znode3'. [PRKC-PRCF-2015 : One or more commands were not executed successfully on one or more nodes : ]
----------------------------------------------------------------------------------
znode3:
    PRCF-2023 : The following contents are not transferred as they are non-readable.
Directories:
   -
Files:
   1) /u01/app/11.2.0/grid/OCRDUMPFILE
   2) /u01/app/11.2.0/grid/locr.lst

----------------------------------------------------------------------------------

Refer to '/u01/app/oraInventory/logs/addNodeActions2012-07-24_09-54-38AM.log' for details. You may fix the errors on the required remote nodes. Refer to the install guide for error recovery.
      60% Done.
Home copied to new nodes
....................................WARNING:A new inventory has been created on one or more nodes in this session. However, it has not yet been registered as the central inventory of this system.
To register the new inventory please run the script at '/u01/app/oraInventory/orainstRoot.sh' with root privileges on nodes 'znode3'.
If you do not register the inventory, you may not be able to update or patch the products you installed.
The following configuration scripts need to be executed as the "root" user in each new cluster node. Each script in the list below is followed by a list of nodes.
/u01/app/oraInventory/orainstRoot.sh #On nodes znode3
To execute the configuration scripts:
    1. Open a terminal window
    2. Log in as "root"
    3. Run the scripts in each cluster node

The Cluster Node Addition of /u01/app/11.2.0/grid was unsuccessful.
Please check '/temp/silentInstall.log' for more details.

来检查一下这个文件/u01/app/11.2.0/grid/OCRDUMPFILE 权限,看为什么没传过来?
通常有些人的是手动scp传过去,但是我发现node2上也同样没有。

[grid@znode1 oui]$ cd $ORACLE_HOME
[grid@znode1 grid]$ ll


-rw——- 1 root root 172628 Jul 18 17:22 locr.lst
drwxrwxr-x 5 grid oinstall 4096 Jul 6 12:11 log
drwxr-xr-x 5 grid oinstall 4096 Jul 6 12:03 md
drwxr-x— 3 grid oinstall 4096 Jul 6 12:11 mdns
drwxr-xr-x 2 grid oinstall 4096 Jul 6 12:03 mesg
drwxr-xr-x 11 grid oinstall 4096 Jul 6 12:06 network
drwxr-xr-x 6 grid oinstall 4096 Jul 6 12:03 nls
drwxr-xr-x 20 grid oinstall 4096 Jul 6 12:04 oc4j
-rw——- 1 root root 196927 Jul 18 17:21 OCRDUMPFILE

发现这两个文件为root 所有,所以用grid是不可以传过去,担心还会有其它的文件没有传过去现在把root的权限改正一下。

[root@znode1 /]# ll
total 174
drwxr-xr-x 2 root root 4096 Jul 2 19:27 bin
drwxr-xr-x 4 root root 1024 Jul 2 23:07 boot
drwxr-xr-x 12 root root 5200 Jul 9 15:05 dev
drwxr-xr-x 107 root root 12288 Jul 24 04:03 etc
drwxr-xr-x 5 root root 4096 Jul 2 16:24 home
drwxr-xr-x 15 root root 12288 Jul 2 19:27 lib
drwx—— 2 root root 16384 Jul 2 23:00 lost+found
drwxr-xr-x 2 root root 4096 Jul 9 15:05 media
drwxr-xr-x 2 root root 0 Jul 9 15:05 misc
drwxr-xr-x 4 root root 4096 Jul 4 10:50 mnt
drwxr-xr-x 2 root root 0 Jul 9 15:05 net
drwxr-xr-x 3 root root 4096 Jul 4 13:43 opt
dr-xr-xr-x 264 root root 0 Jul 9 15:04 proc
drwxr-x— 22 root root 4096 Jul 24 09:35 root
drwxr-xr-x 2 root root 12288 Jul 5 04:03 sbin
drwxr-xr-x 2 root root 4096 Jul 2 23:00 selinux
drwxrwxr-x 5 oracle oinstall 4096 Jul 24 11:46 soft
drwxr-xr-x 2 root root 4096 Feb 17 2010 srv
drwxr-xr-x 13 root root 0 Jul 9 15:04 sys
drwxrwxrwx 5 root root 4096 Jul 24 13:51 temp
drwxr-xr-x 3 root root 4096 Jul 2 23:06 tftpboot
drwxrwxrwt 14 root root 4096 Jul 24 11:33 tmp
drwxr-xr-x 3 root oinstall 4096 Jul 6 11:35 u01
drwxr-xr-x 14 root root 4096 Jul 2 23:02 usr
drwxr-xr-x 23 root root 4096 Jul 2 17:32 var

[root@znode1 /]# chown grid.oinstall u01
[root@znode1 /]# chmod 775 u01
[root@znode1 /]# cd u01

[root@znode1 u01]# ll
drwxr-xr-x 6 root oinstall 4096 Jul 6 11:59 app
[root@znode1 u01]# chown grid.oinstall app
[root@znode1 u01]# chmod 775 app
[root@znode1 u01]# cd app

[root@znode1 app]# ll
total 16
drwxr-xr-x 3 root oinstall 4096 Jul 6 11:35 11.2.0
drwxrwxr-x 8 grid oinstall 4096 Jul 19 18:34 grid
drwxrwxr-x 7 oracle oinstall 4096 Jul 6 13:47 oracle
drwxrwx— 7 grid oinstall 4096 Jul 24 11:58 oraInventory
[root@znode1 app]# chown -R grid.oinstall 11.2.0/

ok,把znode3上的u01目录全删了再重建一份,从znode1重复执行


[grid@znode1 bin]$ ./addNode.sh -silent "CLUSTER_NEW_NODES={znode3}" "CLUSTER_NEW_VIRTUAL_HOSTNAMES={znode3-vip}"

Performing pre-checks for node addition

Checking node reachability...
Node reachability check passed from node "znode1"

Checking user equivalence...
User equivalence check passed for user "grid"

WARNING:
Node "znode3" already appears to be part of cluster

Pre-check for node addition was successful.
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB. Actual 3537 MB Passed
Oracle Universal Installer, Version 11.2.0.3.0 Production
Copyright (C) 1999, 2011, Oracle. All rights reserved.

Performing tests to see whether nodes znode2,znode3 are available
............................................................... 100% Done.

.
-----------------------------------------------------------------------------
Cluster Node Addition Summary
Global Settings
Source: /u01/app/11.2.0/grid
New Nodes
Space Requirements
New Nodes
znode3
/: Required 4.16GB : Available 9.52GB
Installed Products
Product Names
Oracle Grid Infrastructure 11.2.0.3.0
Sun JDK 1.5.0.30.03
Installer SDK Component 11.2.0.3.0
Oracle One-Off Patch Installer 11.2.0.1.7
Oracle Universal Installer 11.2.0.3.0
Oracle USM Deconfiguration 11.2.0.3.0
Oracle Configuration Manager Deconfiguration 10.3.1.0.0
Enterprise Manager Common Core Files 10.2.0.4.4
Oracle DBCA Deconfiguration 11.2.0.3.0
Oracle RAC Deconfiguration 11.2.0.3.0
Oracle Quality of Service Management (Server) 11.2.0.3.0
Installation Plugin Files 11.2.0.3.0
Universal Storage Manager Files 11.2.0.3.0
Oracle Text Required Support Files 11.2.0.3.0
Automatic Storage Management Assistant 11.2.0.3.0
Oracle Database 11g Multimedia Files 11.2.0.3.0
Oracle Multimedia Java Advanced Imaging 11.2.0.3.0
Oracle Globalization Support 11.2.0.3.0
Oracle Multimedia Locator RDBMS Files 11.2.0.3.0
Oracle Core Required Support Files 11.2.0.3.0
...
PL/SQL 11.2.0.3.0
HAS Files for DB 11.2.0.3.0
Oracle Recovery Manager 11.2.0.3.0
Oracle Database Utilities 11.2.0.3.0
Oracle Notification Service 11.2.0.3.0
SQL*Plus 11.2.0.3.0
Oracle Netca Client 11.2.0.3.0
Oracle Net 11.2.0.3.0
Oracle JVM 11.2.0.3.0
Oracle Internet Directory Client 11.2.0.3.0
Oracle Net Listener 11.2.0.3.0
Cluster Ready Services Files 11.2.0.3.0
Oracle Database 11g 11.2.0.3.0
-----------------------------------------------------------------------------

Instantiating scripts for add node (Tuesday, July 24, 2012 2:08:38 PM CST)
. 1% Done.
Instantiation of add node scripts complete

Copying to remote nodes (Tuesday, July 24, 2012 2:08:41 PM CST)
............................................................................................... 96% Done.
Home copied to new nodes

Saving inventory on nodes (Tuesday, July 24, 2012 2:12:44 PM CST)
. 100% Done.
Save inventory complete
WARNING:
The following configuration scripts need to be executed as the "root" user in each new cluster node. Each script in the list below is followed by a list of nodes.
/u01/app/11.2.0/grid/root.sh #On nodes znode3
To execute the configuration scripts:
1. Open a terminal window
2. Log in as "root"
3. Run the scripts in each cluster node

The Cluster Node Addition of /u01/app/11.2.0/grid was successful.
Please check '/soft/temp/silentInstall.log' for more details.

成功通过,注意刚才因为我在znode3上执行过/u01/app/oraInventory/orainstRoot.sh,所以没有再提示。

打赏

,

目前这篇文章有1条评论(Rss)评论关闭。

  1. admin | #1
    2012-07-26 at 13:52

    chown -R grid.oinstall 11.2.0/

    请注意有可能会带来新的问题

    这时候就要执行完上面的再执行一下
    chmod 6755 /u01/app/11.2.0/grid/bin/oracle
    一定要!