当前位置:Gxlcms > 数据库问题 > Oracle 学习之RAC(八) 向集群中添加节点

Oracle 学习之RAC(八) 向集群中添加节点

时间:2021-07-01 10:21:17 帮助过:6人阅读

  我们前面安装了两个节点的RAC。 我们现在将第三个节点11grac3,添加到我们集群中。第三个节点一定要按照集群环境准备一文描述,准备环境。请参考 http://lqding.blog.51cto.com/9123978/1684159 

  1. 安装前检查

  1. 11grac1-> pwd
  2. /u01/app/11.2.0/grid/bin
  3. 11grac1-> ./cluvfy stage -pre nodeadd -n 11grac3 -fixup -verbose

检查结果

  1. Performing pre-checks for node addition 
  2. Checking node reachability...
  3. Check: Node reachability from node "11grac1"
  4.   Destination Node                      Reachable?              
  5.   ------------------------------------  ------------------------
  6.   11grac3                               yes                     
  7. Result: Node reachability check passed from node "11grac1"
  8. Checking user equivalence...
  9. Check: User equivalence for user "grid"
  10.   Node Name                             Status                  
  11.   ------------------------------------  ------------------------
  12.   11grac3                               passed                  
  13. Result: User equivalence check passed for user "grid"
  14. Checking node connectivity...
  15. Checking hosts config file...
  16.   Node Name                             Status                  
  17.   ------------------------------------  ------------------------
  18.   11grac1                               passed                  
  19.   11grac2                               passed                  
  20.   11grac3                               passed                  
  21. Verification of the hosts config file successful
  22. Interface information for node "11grac1"
  23.  Name   IP Address      Subnet          Gateway         Def. Gateway    HW Address        MTU   
  24.  ------ --------------- --------------- --------------- --------------- ----------------- ------
  25.  eth0   192.168.199.10  192.168.199.0   0.0.0.0         192.168.199.1   00:0C:29:53:75:BC 1500  
  26.  eth0   192.168.199.30  192.168.199.0   0.0.0.0         192.168.199.1   00:0C:29:53:75:BC 1500  
  27.  eth0   192.168.199.20  192.168.199.0   0.0.0.0         192.168.199.1   00:0C:29:53:75:BC 1500  
  28.  eth1   192.168.10.10   192.168.10.0    0.0.0.0         192.168.199.1   00:0C:29:53:75:C6 1500  
  29.  eth1   169.254.67.6    169.254.0.0     0.0.0.0         192.168.199.1   00:0C:29:53:75:C6 1500  
  30. Interface information for node "11grac2"
  31.  Name   IP Address      Subnet          Gateway         Def. Gateway    HW Address        MTU   
  32.  ------ --------------- --------------- --------------- --------------- ----------------- ------
  33.  eth0   192.168.199.11  192.168.199.0   0.0.0.0         192.168.199.1   00:0C:29:5A:86:53 1500  
  34.  eth0   192.168.199.21  192.168.199.0   0.0.0.0         192.168.199.1   00:0C:29:5A:86:53 1500  
  35.  eth1   192.168.10.11   192.168.10.0    0.0.0.0         192.168.199.1   00:0C:29:5A:86:5D 1500  
  36.  eth1   169.254.72.43   169.254.0.0     0.0.0.0         192.168.199.1   00:0C:29:5A:86:5D 1500  
  37. Interface information for node "11grac3"
  38.  Name   IP Address      Subnet          Gateway         Def. Gateway    HW Address        MTU   
  39.  ------ --------------- --------------- --------------- --------------- ----------------- ------
  40.  eth0   192.168.199.12  192.168.199.0   0.0.0.0         192.168.199.1   00:0C:29:8A:12:9A 1500  
  41.  eth1   192.168.10.12   192.168.10.0    0.0.0.0         192.168.199.1   00:0C:29:8A:12:A4 1500  
  42. Check: Node connectivity for interface "eth0"
  43.   Source                          Destination                     Connected?      
  44.   ------------------------------  ------------------------------  ----------------
  45.   11grac1[192.168.199.10]         11grac1[192.168.199.30]         yes             
  46.   11grac1[192.168.199.10]         11grac1[192.168.199.20]         yes             
  47.   11grac1[192.168.199.10]         11grac2[192.168.199.11]         yes             
  48.   11grac1[192.168.199.10]         11grac2[192.168.199.21]         yes             
  49.   11grac1[192.168.199.10]         11grac3[192.168.199.12]         yes             
  50.   11grac1[192.168.199.30]         11grac1[192.168.199.20]         yes             
  51.   11grac1[192.168.199.30]         11grac2[192.168.199.11]         yes             
  52.   11grac1[192.168.199.30]         11grac2[192.168.199.21]         yes             
  53.   11grac1[192.168.199.30]         11grac3[192.168.199.12]         yes             
  54.   11grac1[192.168.199.20]         11grac2[192.168.199.11]         yes             
  55.   11grac1[192.168.199.20]         11grac2[192.168.199.21]         yes             
  56.   11grac1[192.168.199.20]         11grac3[192.168.199.12]         yes             
  57.   11grac2[192.168.199.11]         11grac2[192.168.199.21]         yes             
  58.   11grac2[192.168.199.11]         11grac3[192.168.199.12]         yes             
  59.   11grac2[192.168.199.21]         11grac3[192.168.199.12]         yes             
  60. Result: Node connectivity passed for interface "eth0"
  61. Check: TCP connectivity of subnet "192.168.199.0"
  62.   Source                          Destination                     Connected?      
  63.   ------------------------------  ------------------------------  ----------------
  64.   11grac1:192.168.199.10          11grac1:192.168.199.30          passed          
  65.   11grac1:192.168.199.10          11grac1:192.168.199.20          passed          
  66.   11grac1:192.168.199.10          11grac2:192.168.199.11          passed          
  67.   11grac1:192.168.199.10          11grac2:192.168.199.21          passed          
  68.   11grac1:192.168.199.10          11grac3:192.168.199.12          passed          
  69. Result: TCP connectivity check passed for subnet "192.168.199.0"
  70. Checking subnet mask consistency...
  71. Subnet mask consistency check passed for subnet "192.168.199.0".
  72. Subnet mask consistency check passed.
  73. Result: Node connectivity check passed
  74. Checking multicast communication...
  75. Checking subnet "192.168.199.0" for multicast communication with multicast group "230.0.1.0"...
  76. Check of subnet "192.168.199.0" for multicast communication with multicast group "230.0.1.0" passed.
  77. Check of multicast communication passed.
  78. Checking CRS integrity...
  79. Clusterware version consistency passed
  80. The Oracle Clusterware is healthy on node "11grac1"
  81. The Oracle Clusterware is healthy on node "11grac2"
  82. CRS integrity check passed
  83. Checking shared resources...
  84. Checking CRS home location...
  85. "/u01/app/11.2.0/grid" is shared
  86. Result: Shared resources check for node addition passed
  87. Checking node connectivity...
  88. Checking hosts config file...
  89.   Node Name                             Status                  
  90.   ------------------------------------  ------------------------
  91.   11grac1                               passed                  
  92.   11grac2                               passed                  
  93.   11grac3                               passed                  
  94. Verification of the hosts config file successful
  95. Interface information for node "11grac1"
  96.  Name   IP Address      Subnet          Gateway         Def. Gateway    HW Address        MTU   
  97.  ------ --------------- --------------- --------------- --------------- ----------------- ------
  98.  eth0   192.168.199.10  192.168.199.0   0.0.0.0         192.168.199.1   00:0C:29:53:75:BC 1500  
  99.  eth0   192.168.199.30  192.168.199.0   0.0.0.0         192.168.199.1   00:0C:29:53:75:BC 1500  
  100.  eth0   192.168.199.20  192.168.199.0   0.0.0.0         192.168.199.1   00:0C:29:53:75:BC 1500  
  101.  eth1   192.168.10.10   192.168.10.0    0.0.0.0         192.168.199.1   00:0C:29:53:75:C6 1500  
  102.  eth1   169.254.67.6    169.254.0.0     0.0.0.0         192.168.199.1   00:0C:29:53:75:C6 1500  
  103. Interface information for node "11grac2"
  104.  Name   IP Address      Subnet          Gateway         Def. Gateway    HW Address        MTU   
  105.  ------ --------------- --------------- --------------- --------------- ----------------- ------
  106.  eth0   192.168.199.11  192.168.199.0   0.0.0.0         192.168.199.1   00:0C:29:5A:86:53 1500  
  107.  eth0   192.168.199.21  192.168.199.0   0.0.0.0         192.168.199.1   00:0C:29:5A:86:53 1500  
  108.  eth1   192.168.10.11   192.168.10.0    0.0.0.0         192.168.199.1   00:0C:29:5A:86:5D 1500  
  109.  eth1   169.254.72.43   169.254.0.0     0.0.0.0         192.168.199.1   00:0C:29:5A:86:5D 1500  
  110. Interface information for node "11grac3"
  111.  Name   IP Address      Subnet          Gateway         Def. Gateway    HW Address        MTU   
  112.  ------ --------------- --------------- --------------- --------------- ----------------- ------
  113.  eth0   192.168.199.12  192.168.199.0   0.0.0.0         192.168.199.1   00:0C:29:8A:12:9A 1500  
  114.  eth1   192.168.10.12   192.168.10.0    0.0.0.0         192.168.199.1   00:0C:29:8A:12:A4 1500  
  115. Check: Node connectivity for interface "eth0"
  116.   Source                          Destination                     Connected?      
  117.   ------------------------------  ------------------------------  ----------------
  118.   11grac1[192.168.199.10]         11grac1[192.168.199.30]         yes             
  119.   11grac1[192.168.199.10]         11grac1[192.168.199.20]         yes             
  120.   11grac1[192.168.199.10]         11grac2[192.168.199.11]         yes             
  121.   11grac1[192.168.199.10]         11grac2[192.168.199.21]         yes             
  122.   11grac1[192.168.199.10]         11grac3[192.168.199.12]         yes             
  123.   11grac1[192.168.199.30]         11grac1[192.168.199.20]         yes             
  124.   11grac1[192.168.199.30]         11grac2[192.168.199.11]         yes             
  125.   11grac1[192.168.199.30]         11grac2[192.168.199.21]         yes             
  126.   11grac1[192.168.199.30]         11grac3[192.168.199.12]         yes             
  127.   11grac1[192.168.199.20]         11grac2[192.168.199.11]         yes             
  128.   11grac1[192.168.199.20]         11grac2[192.168.199.21]         yes             
  129.   11grac1[192.168.199.20]         11grac3[192.168.199.12]         yes             
  130.   11grac2[192.168.199.11]         11grac2[192.168.199.21]         yes             
  131.   11grac2[192.168.199.11]         11grac3[192.168.199.12]         yes             
  132.   11grac2[192.168.199.21]         11grac3[192.168.199.12]         yes             
  133. Result: Node connectivity passed for interface "eth0"
  134. Check: TCP connectivity of subnet "192.168.199.0"
  135.   Source                          Destination                     Connected?      
  136.   ------------------------------  ------------------------------  ----------------
  137.   11grac1:192.168.199.10          11grac1:192.168.199.30          passed          
  138.   11grac1:192.168.199.10          11grac1:192.168.199.20          passed          
  139.   11grac1:192.168.199.10          11grac2:192.168.199.11          passed          
  140.   11grac1:192.168.199.10          11grac2:192.168.199.21          passed          
  141.   11grac1:192.168.199.10          11grac3:192.168.199.12          passed          
  142. Result: TCP connectivity check passed for subnet "192.168.199.0"
  143. Check: Node connectivity for interface "eth1"
  144.   Source                          Destination                     Connected?      
  145.   ------------------------------  ------------------------------  ----------------
  146.   11grac1[192.168.10.10]          11grac2[192.168.10.11]          yes             
  147.   11grac1[192.168.10.10]          11grac3[192.168.10.12]          yes             
  148.   11grac2[192.168.10.11]          11grac3[192.168.10.12]          yes             
  149. Result: Node connectivity passed for interface "eth1"
  150. Check: TCP connectivity of subnet "192.168.10.0"
  151.   Source                          Destination                     Connected?      
  152.   ------------------------------  ------------------------------  ----------------
  153.   11grac1:192.168.10.10           11grac2:192.168.10.11           passed          
  154.   11grac1:192.168.10.10           11grac3:192.168.10.12           passed          
  155. Result: TCP connectivity check passed for subnet "192.168.10.0"
  156. Checking subnet mask consistency...
  157. Subnet mask consistency check passed for subnet "192.168.199.0".
  158. Subnet mask consistency check passed for subnet "192.168.10.0".
  159. Subnet mask consistency check passed.
  160. Result: Node connectivity check passed
  161. Checking multicast communication...
  162. Checking subnet "192.168.199.0" for multicast communication with multicast group "230.0.1.0"...
  163. Check of subnet "192.168.199.0" for multicast communication with multicast group "230.0.1.0" passed.
  164. Checking subnet "192.168.10.0" for multicast communication with multicast group "230.0.1.0"...
  165. Check of subnet "192.168.10.0" for multicast communication with multicast group "230.0.1.0" passed.
  166. Check of multicast communication passed.
  167. Check: Total memory 
  168.   Node Name     Available                 Required                  Status    
  169.   ------------  ------------------------  ------------------------  ----------
  170.   11grac3       1.9535GB (2048424.0KB)    1.5GB (1572864.0KB)       passed    
  171.   11grac1       1.9535GB (2048424.0KB)    1.5GB (1572864.0KB)       passed    
  172. Result: Total memory check passed
  173. Check: Available memory 
  174.   Node Name     Available                 Required                  Status    
  175.   ------------  ------------------------  ------------------------  ----------
  176.   11grac3       1.7724GB (1858504.0KB)    50MB (51200.0KB)          passed    
  177.   11grac1       671.7305MB (687852.0KB)   50MB (51200.0KB)          passed    
  178. Result: Available memory check passed
  179. Check: Swap space 
  180.   Node Name     Available                 Required                  Status    
  181.   ------------  ------------------------  ------------------------  ----------
  182.   11grac3       1.9531GB (2047996.0KB)    2.9303GB (3072636.0KB)    failed    
  183.   11grac1       1.9531GB (2047996.0KB)    2.9303GB (3072636.0KB)    failed    
  184. Result: Swap space check failed
  185. Check: Free disk space for "11grac3:/u01/app/11.2.0/grid,11grac3:/tmp" 
  186.   Path              Node Name     Mount point   Available     Required      Status      
  187.   ----------------  ------------  ------------  ------------  ------------  ------------
  188.   /u01/app/11.2.0/grid  11grac3       /             14.1611GB     7.5GB         passed      
  189.   /tmp              11grac3       /             14.1611GB     7.5GB         passed      
  190. Result: Free disk space check passed for "11grac3:/u01/app/11.2.0/grid,11grac3:/tmp"
  191. Check: Free disk space for "11grac1:/u01/app/11.2.0/grid,11grac1:/tmp" 
  192.   Path              Node Name     Mount point   Available     Required      Status      
  193.   ----------------  ------------  ------------  ------------  ------------  ------------
  194.   /u01/app/11.2.0/grid  11grac1       /             3.9131GB      7.5GB         failed      
  195.   /tmp              11grac1       /             3.9131GB      7.5GB         failed      
  196. Result: Free disk space check failed for "11grac1:/u01/app/11.2.0/grid,11grac1:/tmp"
  197. Check: User existence for "grid" 
  198.   Node Name     Status                    Comment                 
  199.   ------------  ------------------------  ------------------------
  200.   11grac3       passed                    exists(1100)            
  201.   11grac1       passed                    exists(1100)            
  202. Checking for multiple users with UID value 1100
  203. Result: Check for multiple users with UID value 1100 passed 
  204. Result: User existence check passed for "grid"
  205. Check: Run level 
  206.   Node Name     run level                 Required                  Status    
  207.   ------------  ------------------------  ------------------------  ----------
  208.   11grac3       5                         3,5                       passed    
  209.   11grac1       5                         3,5                       passed    
  210. Result: Run level check passed
  211. Check: Hard limits for "maximum open file descriptors" 
  212.   Node Name         Type          Available     Required      Status          
  213.   ----------------  ------------  ------------  ------------  ----------------
  214.   11grac1           hard          65536         65536         passed          
  215.   11grac3           hard          65536         65536         passed          
  216. Result: Hard limits check passed for "maximum open file descriptors"
  217. Check: Soft limits for "maximum open file descriptors" 
  218.   Node Name         Type          Available     Required      Status          
  219.   ----------------  ------------  ------------  ------------  ----------------
  220.   11grac1           soft          1024          1024          passed          
  221.   11grac3           soft          1024          1024          passed          
  222. Result: Soft limits check passed for "maximum open file descriptors"
  223. Check: Hard limits for "maximum user processes" 
  224.   Node Name         Type          Available     Required      Status          
  225.   ----------------  ------------  ------------  ------------  ----------------
  226.   11grac1           hard          16384         16384         passed          
  227.   11grac3           hard          16384         16384         passed          
  228. Result: Hard limits check passed for "maximum user processes"
  229. Check: Soft limits for "maximum user processes" 
  230.   Node Name         Type          Available     Required      Status          
  231.   ----------------  ------------  ------------  ------------  ----------------
  232.   11grac1           soft          2047          2047          passed          
  233.   11grac3           soft          2047          2047          passed          
  234. Result: Soft limits check passed for "maximum user processes"
  235. Check: System architecture 
  236.   Node Name     Available                 Required                  Status    
  237.   ------------  ------------------------  ------------------------  ----------
  238.   11grac3       x86_64                    x86_64                    passed    
  239.   11grac1       x86_64                    x86_64                    passed    
  240. Result: System architecture check passed
  241. Check: Kernel version 
  242.   Node Name     Available                 Required                  Status    
  243.   ------------  ------------------------  ------------------------  ----------
  244.   11grac3       2.6.39-400.17.1.el6uek.x86_64  2.6.32                    passed    
  245.   11grac1       2.6.39-400.17.1.el6uek.x86_64  2.6.32                    passed    
  246. Result: Kernel version check passed
  247. Check: Kernel parameter for "semmsl" 
  248.   Node Name         Current       Configured    Required      Status        Comment     
  249.   ----------------  ------------  ------------  ------------  ------------  ------------
  250.   11grac1           250           250           250           passed          
  251.   11grac3           250           250           250           passed          
  252. Result: Kernel parameter check passed for "semmsl"
  253. Check: Kernel parameter for "semmns" 
  254.   Node Name         Current       Configured    Required      Status        Comment     
  255.   ----------------  ------------  ------------  ------------  ------------  ------------
  256.   11grac1           32000         32000         32000         passed          
  257.   11grac3           32000         32000         32000         passed          
  258. Result: Kernel parameter check passed for "semmns"
  259. Check: Kernel parameter for "semopm" 
  260.   Node Name         Current       Configured    Required      Status        Comment     
  261.   ----------------  ------------  ------------  ------------  ------------  ------------
  262.   11grac1           100           100           100           passed          
  263.   11grac3           100           100           100           passed          
  264. Result: Kernel parameter check passed for "semopm"
  265. Check: Kernel parameter for "semmni" 
  266.   Node Name         Current       Configured    Required      Status        Comment     
  267.   ----------------  ------------  ------------  ------------  ------------  ------------
  268.   11grac1           128           128           128           passed          
  269.   11grac3           128           128           128           passed          
  270. Result: Kernel parameter check passed for "semmni"
  271. Check: Kernel parameter for "shmmax" 
  272.   Node Name         Current       Configured    Required      Status        Comment     
  273.   ----------------  ------------  ------------  ------------  ------------  ------------
  274.   11grac1           1054472192    1054472192    1048793088    passed          
  275.   11grac3           1054472192    1054472192    1048793088    passed          
  276. Result: Kernel parameter check passed for "shmmax"
  277. Check: Kernel parameter for "shmmni" 
  278.   Node Name         Current       Configured    Required      Status        Comment     
  279.   ----------------  ------------  ------------  ------------  ------------  ------------
  280.   11grac1           4096          4096          4096          passed          
  281.   11grac3           4096          4096          4096          passed          
  282. Result: Kernel parameter check passed for "shmmni"
  283. Check: Kernel parameter for "shmall" 
  284.   Node Name         Current       Configured    Required      Status        Comment     
  285.   ----------------  ------------  ------------  ------------  ------------  ------------
  286.   11grac1           2097152       2097152       2097152       passed          
  287.   11grac3           2097152       2097152       2097152       passed          
  288. Result: Kernel parameter check passed for "shmall"
  289. Check: Kernel parameter for "file-max" 
  290.   Node Name         Current       Configured    Required      Status        Comment     
  291.   ----------------  ------------  ------------  ------------  ------------  ------------
  292.   11grac1           6815744       6815744       6815744       passed          
  293.   11grac3           6815744       6815744       6815744       passed          
  294. Result: Kernel parameter check passed for "file-max"
  295. Check: Kernel parameter for "ip_local_port_range" 
  296.   Node Name         Current       Configured    Required      Status        Comment     
  297.   ----------------  ------------  ------------  ------------  ------------  ------------
  298.   11grac1           between 9000.0 & 65500.0  between 9000.0 & 65500.0  between 9000.0 & 65500.0  passed          
  299.   11grac3           between 9000.0 & 65500.0  between 9000.0 & 65500.0  between 9000.0 & 65500.0  passed          
  300. Result: Kernel parameter check passed for "ip_local_port_range"
  301. Check: Kernel parameter for "rmem_default" 
  302.   Node Name         Current       Configured    Required      Status        Comment     
  303.   ----------------  ------------  ------------  ------------  ------------  ------------
  304.   11grac1           262144        262144        262144        passed          
  305.   11grac3           262144        262144        262144        passed          
  306. Result: Kernel parameter check passed for "rmem_default"
  307. Check: Kernel parameter for "rmem_max" 
  308.   Node Name         Current       Configured    Required      Status        Comment     
  309.   ----------------  ------------  ------------  ------------  ------------  ------------
  310.   11grac1           4194304       4194304       4194304       passed          
  311.   11grac3           4194304       4194304       4194304       passed          
  312. Result: Kernel parameter check passed for "rmem_max"
  313. Check: Kernel parameter for "wmem_default" 
  314.   Node Name         Current       Configured    Required      Status        Comment     
  315.   ----------------  ------------  ------------  ------------  ------------  ------------
  316.   11grac1           262144        262144        262144        passed          
  317.   11grac3           262144        262144        262144        passed          
  318. Result: Kernel parameter check passed for "wmem_default"
  319. Check: Kernel parameter for "wmem_max" 
  320.   Node Name         Current       Configured    Required      Status        Comment     
  321.   ----------------  ------------  ------------  ------------  ------------  ------------
  322.   11grac1           1048586       1048586       1048576       passed          
  323.   11grac3           1048586       1048586       1048576       passed          
  324. Result: Kernel parameter check passed for "wmem_max"
  325. Check: Kernel parameter for "aio-max-nr" 
  326.   Node Name         Current       Configured    Required      Status        Comment     
  327.   ----------------  ------------  ------------  ------------  ------------  ------------
  328.   11grac1           1048576       1048576       1048576       passed          
  329.   11grac3           1048576       1048576       1048576       passed          
  330. Result: Kernel parameter check passed for "aio-max-nr"
  331. Check: Package existence for "binutils" 
  332.   Node Name     Available                 Required                  Status    
  333.   ------------  ------------------------  ------------------------  ----------
  334.   11grac3       binutils-2.20.51.0.2-5.36.el6  binutils-2.20.51.0.2      passed    
  335.   11grac1       binutils-2.20.51.0.2-5.36.el6  binutils-2.20.51.0.2      passed    
  336. Result: Package existence check passed for "binutils"
  337. Check: Package existence for "compat-libcap1" 
  338.   Node Name     Available                 Required                  Status    
  339.   ------------  ------------------------  ------------------------  ----------
  340.   11grac3       compat-libcap1-1.10-1     compat-libcap1-1.10       passed    
  341.   11grac1       compat-libcap1-1.10-1     compat-libcap1-1.10       passed    

人气教程排行