使用UDEV在Oracle Linux 6上安装Oracle 11g RAC(11.2.0.3) (四)

使用UDEV在Oracle Linux 6上安装Oracle 11g RAC(11.2.0.3) (一)
使用UDEV在Oracle Linux 6上安装Oracle 11g RAC(11.2.0.3) (二)

使用UDEV在Oracle Linux 6上安装Oracle 11g RAC(11.2.0.3) (三)


将安装介质上传到node1,解压准备安装grid infrastructure


使用grid用户解压
p10404530_112030_Linux-x86-64_3of7.zip


使用Cluster Verification Utility检查CRS安装环境

  1. [grid@node1 grid]$ ./runcluvfy.sh stage -pre crsinst -n node1,node2 -fixup -verbose  
  2.   
  3. Performing pre-checks for cluster services setup   
  4.   
  5. Checking node reachability...  
  6.   
  7. Check: Node reachability from node "node1"  
  8.   Destination Node                      Reachable?                
  9.   ------------------------------------  ------------------------  
  10.   node1                                 yes                       
  11.   node2                                 yes                       
  12. Result: Node reachability check passed from node "node1"  
  13.   
  14.   
  15. Checking user equivalence...  
  16.   
  17. Check: User equivalence for user "grid"  
  18.   Node Name                             Status                    
  19.   ------------------------------------  ------------------------  
  20.   node2                                 passed                    
  21.   node1                                 passed                    
  22. Result: User equivalence check passed for user "grid"  
  23.   
  24. Checking node connectivity...  
  25.   
  26. Checking hosts config file...  
  27.   Node Name                             Status                    
  28.   ------------------------------------  ------------------------  
  29.   node2                                 passed                    
  30.   node1                                 passed                    
  31.   
  32. Verification of the hosts config file successful  
  33.   
  34.   
  35. Interface information for node "node2"  
  36.  Name   IP Address      Subnet          Gateway         Def. Gateway    HW Address        MTU     
  37.  ------ --------------- --------------- --------------- --------------- ----------------- ------  
  38.  eth0   192.168.1.52    192.168.0.0     0.0.0.0         192.168.1.254   00:0C:29:5C:FC:76 1500    
  39.  eth1   172.168.1.52    172.168.0.0     0.0.0.0         192.168.1.254   00:0C:29:5C:FC:80 1500    
  40.   
  41.   
  42. Interface information for node "node1"  
  43.  Name   IP Address      Subnet          Gateway         Def. Gateway    HW Address        MTU     
  44.  ------ --------------- --------------- --------------- --------------- ----------------- ------  
  45.  eth0   192.168.1.51    192.168.0.0     0.0.0.0         192.168.1.254   00:0C:29:79:33:95 1500    
  46.  eth1   172.168.1.51    172.168.0.0     0.0.0.0         192.168.1.254   00:0C:29:79:33:9F 1500    
  47.   
  48.   
  49. Check: Node connectivity of subnet "192.168.0.0"  
  50.   Source                          Destination                     Connected?        
  51.   ------------------------------  ------------------------------  ----------------  
  52.   node2[192.168.1.52]             node1[192.168.1.51]             yes               
  53. Result: Node connectivity passed for subnet "192.168.0.0" with node(s) node2,node1  
  54.   
  55.   
  56. Check: TCP connectivity of subnet "192.168.0.0"  
  57.   Source                          Destination                     Connected?        
  58.   ------------------------------  ------------------------------  ----------------  
  59.   node1:192.168.1.51              node2:192.168.1.52              passed            
  60. Result: TCP connectivity check passed for subnet "192.168.0.0"  
  61.   
  62.   
  63. Check: Node connectivity of subnet "172.168.0.0"  
  64.   Source                          Destination                     Connected?        
  65.   ------------------------------  ------------------------------  ----------------  
  66.   node2[172.168.1.52]             node1[172.168.1.51]             yes               
  67. Result: Node connectivity passed for subnet "172.168.0.0" with node(s) node2,node1  
  68.   
  69.   
  70. Check: TCP connectivity of subnet "172.168.0.0"  
  71.   Source                          Destination                     Connected?        
  72.   ------------------------------  ------------------------------  ----------------  
  73.   node1:172.168.1.51              node2:172.168.1.52              passed            
  74. Result: TCP connectivity check passed for subnet "172.168.0.0"  
  75.   
  76.   
  77. Interfaces found on subnet "192.168.0.0" that are likely candidates for VIP are:  
  78. node2 eth0:192.168.1.52  
  79. node1 eth0:192.168.1.51  
  80.   
  81. Interfaces found on subnet "172.168.0.0" that are likely candidates for VIP are:  
  82. node2 eth1:172.168.1.52  
  83. node1 eth1:172.168.1.51  
  84.   
  85. WARNING:   
  86. Could not find a suitable set of interfaces for the private interconnect  
  87. Checking subnet mask consistency...  
  88. Subnet mask consistency check passed for subnet "192.168.0.0".  
  89. Subnet mask consistency check passed for subnet "172.168.0.0".  
  90. Subnet mask consistency check passed.  
  91.   
  92. Result: Node connectivity check passed  
  93.   
  94. Checking multicast communication...  
  95.   
  96. Checking subnet "192.168.0.0" for multicast communication with multicast group "230.0.1.0"...  
  97. Check of subnet "192.168.0.0" for multicast communication with multicast group "230.0.1.0" passed.  
  98.   
  99. Checking subnet "172.168.0.0" for multicast communication with multicast group "230.0.1.0"...  
  100. Check of subnet "172.168.0.0" for multicast communication with multicast group "230.0.1.0" passed.  
  101.   
  102. Check of multicast communication passed.  
  103.   
  104. Checking ASMLib configuration.  
  105.   Node Name                             Status                    
  106.   ------------------------------------  ------------------------  
  107.   node2                                 passed                    
  108.   node1                                 passed                    
  109. Result: Check for ASMLib configuration passed.  
  110.   
  111. Check: Total memory   
  112.   Node Name     Available                 Required                  Status      
  113.   ------------  ------------------------  ------------------------  ----------  
  114.   node2         2.9462GB (3089356.0KB)    1.5GB (1572864.0KB)       passed      
  115.   node1         2.9462GB (3089356.0KB)    1.5GB (1572864.0KB)       passed      
  116. Result: Total memory check passed  
  117.   
  118. Check: Available memory   
  119.   Node Name     Available                 Required                  Status      
  120.   ------------  ------------------------  ------------------------  ----------  
  121.   node2         2.7915GB (2927064.0KB)    50MB (51200.0KB)          passed      
  122.   node1         2.6722GB (2801984.0KB)    50MB (51200.0KB)          passed      
  123. Result: Available memory check passed  
  124.   
  125. Check: Swap space   
  126.   Node Name     Available                 Required                  Status      
  127.   ------------  ------------------------  ------------------------  ----------  
  128.   node2         6GB (6291452.0KB)         2.9462GB (3089356.0KB)    passed      
  129.   node1         6GB (6291452.0KB)         2.9462GB (3089356.0KB)    passed      
  130. Result: Swap space check passed  
  131.   
  132. Check: Free disk space for "node2:/tmp"   
  133.   Path              Node Name     Mount point   Available     Required      Status        
  134.   ----------------  ------------  ------------  ------------  ------------  ------------  
  135.   /tmp              node2         /             88.7852GB     1GB           passed        
  136. Result: Free disk space check passed for "node2:/tmp"  
  137.   
  138. Check: Free disk space for "node1:/tmp"   
  139.   Path              Node Name     Mount point   Available     Required      Status        
  140.   ----------------  ------------  ------------  ------------  ------------  ------------  
  141.   /tmp              node1         /             81.6788GB     1GB           passed        
  142. Result: Free disk space check passed for "node1:/tmp"  
  143.   
  144. Check: User existence for "grid"   
  145.   Node Name     Status                    Comment                   
  146.   ------------  ------------------------  ------------------------  
  147.   node2         passed                    exists(1100)              
  148.   node1         passed                    exists(1100)              
  149.   
  150. Checking for multiple users with UID value 1100  
  151. Result: Check for multiple users with UID value 1100 passed   
  152. Result: User existence check passed for "grid"  
  153.   
  154. Check: Group existence for "oinstall"   
  155.   Node Name     Status                    Comment                   
  156.   ------------  ------------------------  ------------------------  
  157.   node2         passed                    exists                    
  158.   node1         passed                    exists                    
  159. Result: Group existence check passed for "oinstall"  
  160.   
  161. Check: Group existence for "dba"   
  162.   Node Name     Status                    Comment                   
  163.   ------------  ------------------------  ------------------------  
  164.   node2         passed                    exists                    
  165.   node1         passed                    exists                    
  166. Result: Group existence check passed for "dba"  
  167.   
  168. Check: Membership of user "grid" in group "oinstall" [as Primary]  
  169.   Node Name         User Exists   Group Exists  User in Group  Primary       Status        
  170.   ----------------  ------------  ------------  ------------  ------------  ------------  
  171.   node2             yes           yes           yes           yes           passed        
  172.   node1             yes           yes           yes           yes           passed        
  173. Result: Membership check for user "grid" in group "oinstall" [as Primary] passed  
  174.   
  175. Check: Membership of user "grid" in group "dba"   
  176.   Node Name         User Exists   Group Exists  User in Group  Status            
  177.   ----------------  ------------  ------------  ------------  ----------------  
  178.   node2             yes           yes           no            failed            
  179.   node1             yes           yes           no            failed            
  180. Result: Membership check for user "grid" in group "dba" failed  
  181.   
  182. Check: Run level   
  183.   Node Name     run level                 Required                  Status      
  184.   ------------  ------------------------  ------------------------  ----------  
  185.   node2         3                         3,5                       passed      
  186.   node1         5                         3,5                       passed      
  187. Result: Run level check passed  
  188.   
  189. Check: Hard limits for "maximum open file descriptors"   
  190.   Node Name         Type          Available     Required      Status            
  191.   ----------------  ------------  ------------  ------------  ----------------  
  192.   node2             hard          65536         65536         passed            
  193.   node1             hard          65536         65536         passed            
  194. Result: Hard limits check passed for "maximum open file descriptors"  
  195.   
  196. Check: Soft limits for "maximum open file descriptors"   
  197.   Node Name         Type          Available     Required      Status            
  198.   ----------------  ------------  ------------  ------------  ----------------  
  199.   node2             soft          1024          1024          passed            
  200.   node1             soft          1024          1024          passed            
  201. Result: Soft limits check passed for "maximum open file descriptors"  
  202.   
  203. Check: Hard limits for "maximum user processes"   
  204.   Node Name         Type          Available     Required      Status            
  205.   ----------------  ------------  ------------  ------------  ----------------  
  206.   node2             hard          16384         16384         passed            
  207.   node1             hard          16384         16384         passed            
  208. Result: Hard limits check passed for "maximum user processes"  
  209.   
  210. Check: Soft limits for "maximum user processes"   
  211.   Node Name         Type          Available     Required      Status            
  212.   ----------------  ------------  ------------  ------------  ----------------  
  213.   node2             soft          2047          2047          passed            
  214.   node1             soft          2047          2047          passed            
  215. Result: Soft limits check passed for "maximum user processes"  
  216.   
  217. Check: System architecture   
  218.   Node Name     Available                 Required                  Status      
  219.   ------------  ------------------------  ------------------------  ----------  
  220.   node2         x86_64                    x86_64                    passed      
  221.   node1         x86_64                    x86_64                    passed      
  222. Result: System architecture check passed  
  223.   
  224. Check: Kernel version   
  225.   Node Name     Available                 Required                  Status      
  226.   ------------  ------------------------  ------------------------  ----------  
  227.   node2         2.6.39-200.24.1.el6uek.x86_64  2.6.32                    passed      
  228.   node1         2.6.39-200.24.1.el6uek.x86_64  2.6.32                    passed      
  229. Result: Kernel version check passed  
  230.   
  231. Check: Kernel parameter for "semmsl"   
  232.   Node Name         Current       Configured    Required      Status        Comment       
  233.   ----------------  ------------  ------------  ------------  ------------  ------------  
  234.   node2             250           250           250           passed            
  235.   node1             250           250           250           passed            
  236. Result: Kernel parameter check passed for "semmsl"  
  237.   
  238. Check: Kernel parameter for "semmns"   
  239.   Node Name         Current       Configured    Required      Status        Comment       
  240.   ----------------  ------------  ------------  ------------  ------------  ------------  
  241.   node2             32000         32000         32000         passed            
  242.   node1             32000         32000         32000         passed            
  243. Result: Kernel parameter check passed for "semmns"  
  244.   
  245. Check: Kernel parameter for "semopm"   
  246.   Node Name         Current       Configured    Required      Status        Comment       
  247.   ----------------  ------------  ------------  ------------  ------------  ------------  
  248.   node2             100           100           100           passed            
  249.   node1             100           100           100           passed            
  250. Result: Kernel parameter check passed for "semopm"  
  251.   
  252. Check: Kernel parameter for "semmni"   
  253.   Node Name         Current       Configured    Required      Status        Comment       
  254.   ----------------  ------------  ------------  ------------  ------------  ------------  
  255.   node2             128           128           128           passed            
  256.   node1             128           128           128           passed            
  257. Result: Kernel parameter check passed for "semmni"  
  258.   
  259. Check: Kernel parameter for "shmmax"   
  260.   Node Name         Current       Configured    Required      Status        Comment       
  261.   ----------------  ------------  ------------  ------------  ------------  ------------  
  262.   node2             4398046511104  4398046511104  1581750272    passed            
  263.   node1             4398046511104  4398046511104  1581750272    passed            
  264. Result: Kernel parameter check passed for "shmmax"  
  265.   
  266. Check: Kernel parameter for "shmmni"   
  267.   Node Name         Current       Configured    Required      Status        Comment       
  268.   ----------------  ------------  ------------  ------------  ------------  ------------  
  269.   node2             4096          4096          4096          passed            
  270.   node1             4096          4096          4096          passed            
  271. Result: Kernel parameter check passed for "shmmni"  
  272.   
  273. Check: Kernel parameter for "shmall"   
  274.   Node Name         Current       Configured    Required      Status        Comment       
  275.   ----------------  ------------  ------------  ------------  ------------  ------------  
  276.   node2             1073741824    1073741824    2097152       passed            
  277.   node1             1073741824    1073741824    2097152       passed            
  278. Result: Kernel parameter check passed for "shmall"  
  279.   
  280. Check: Kernel parameter for "file-max"   
  281.   Node Name         Current       Configured    Required      Status        Comment       
  282.   ----------------  ------------  ------------  ------------  ------------  ------------  
  283.   node2             6815744       6815744       6815744       passed            
  284.   node1             6815744       6815744       6815744       passed            
  285. Result: Kernel parameter check passed for "file-max"  
  286.   
  287. Check: Kernel parameter for "ip_local_port_range"   
  288.   Node Name         Current       Configured    Required      Status        Comment       
  289.   ----------------  ------------  ------------  ------------  ------------  ------------  
  290.   node2             between 9000.0 & 65500.0  between 9000.0 & 65500.0  between 9000.0 & 65500.0  passed            
  291.   node1             between 9000.0 & 65500.0  between 9000.0 & 65500.0  between 9000.0 & 65500.0  passed            
  292. Result: Kernel parameter check passed for "ip_local_port_range"  
  293.   
  294. Check: Kernel parameter for "rmem_default"   
  295.   Node Name         Current       Configured    Required      Status        Comment       
  296.   ----------------  ------------  ------------  ------------  ------------  ------------  
  297.   node2             262144        262144        262144        passed            
  298.   node1             262144        262144        262144        passed            
  299. Result: Kernel parameter check passed for "rmem_default"  
  300.   
  301. Check: Kernel parameter for "rmem_max"   
  302.   Node Name         Current       Configured    Required      Status        Comment       
  303.   ----------------  ------------  ------------  ------------  ------------  ------------  
  304.   node2             4194304       4194304       4194304       passed            
  305.   node1             4194304       4194304       4194304       passed            
  306. Result: Kernel parameter check passed for "rmem_max"  
  307.   
  308. Check: Kernel parameter for "wmem_default"   
  309.   Node Name         Current       Configured    Required      Status        Comment       
  310.   ----------------  ------------  ------------  ------------  ------------  ------------  
  311.   node2             262144        262144        262144        passed            
  312.   node1             262144        262144        262144        passed            
  313. Result: Kernel parameter check passed for "wmem_default"  
  314.   
  315. Check: Kernel parameter for "wmem_max"   
  316.   Node Name         Current       Configured    Required      Status        Comment       
  317.   ----------------  ------------  ------------  ------------  ------------  ------------  
  318.   node2             1048576       1048576       1048576       passed            
  319.   node1             1048576       1048576       1048576       passed            
  320. Result: Kernel parameter check passed for "wmem_max"  
  321.   
  322. Check: Kernel parameter for "aio-max-nr"   
  323.   Node Name         Current       Configured    Required      Status        Comment       
  324.   ----------------  ------------  ------------  ------------  ------------  ------------  
  325.   node2             1048576       1048576       1048576       passed            
  326.   node1             1048576       1048576       1048576       passed            
  327. Result: Kernel parameter check passed for "aio-max-nr"  
  328.   
  329. Check: Package existence for "binutils"   
  330.   Node Name     Available                 Required                  Status      
  331.   ------------  ------------------------  ------------------------  ----------  
  332.   node2         binutils-2.20.51.0.2-5.34.el6  binutils-2.20.51.0.2      passed      
  333.   node1         binutils-2.20.51.0.2-5.34.el6  binutils-2.20.51.0.2      passed      
  334. Result: Package existence check passed for "binutils"  
  335.   
  336. Check: Package existence for "compat-libcap1"   
  337.   Node Name     Available                 Required                  Status      
  338.   ------------  ------------------------  ------------------------  ----------  
  339.   node2         compat-libcap1-1.10-1     compat-libcap1-1.10       passed      
  340.   node1         compat-libcap1-1.10-1     compat-libcap1-1.10       passed      
  341. Result: Package existence check passed for "compat-libcap1"  
  342.   
  343. Check: Package existence for "compat-libstdc++-33(x86_64)"   
  344.   Node Name     Available                 Required                  Status      
  345.   ------------  ------------------------  ------------------------  ----------  
  346.   node2         compat-libstdc++-33(x86_64)-3.2.3-69.el6  compat-libstdc++-33(x86_64)-3.2.3  passed      
  347.   node1         compat-libstdc++-33(x86_64)-3.2.3-69.el6  compat-libstdc++-33(x86_64)-3.2.3  passed      
  348. Result: Package existence check passed for "compat-libstdc++-33(x86_64)"  
  349.   
  350. Check: Package existence for "libgcc(x86_64)"   
  351.   Node Name     Available                 Required                  Status      
  352.   ------------  ------------------------  ------------------------  ----------  
  353.   node2         libgcc(x86_64)-4.4.6-4.el6  libgcc(x86_64)-4.4.4      passed      
  354.   node1         libgcc(x86_64)-4.4.6-4.el6  libgcc(x86_64)-4.4.4      passed      
  355. Result: Package existence check passed for "libgcc(x86_64)"  
  356.   
  357. Check: Package existence for "libstdc++(x86_64)"   
  358.   Node Name     Available                 Required                  Status      
  359.   ------------  ------------------------  ------------------------  ----------  
  360.   node2         libstdc++(x86_64)-4.4.6-4.el6  libstdc++(x86_64)-4.4.4   passed      
  361.   node1         libstdc++(x86_64)-4.4.6-4.el6  libstdc++(x86_64)-4.4.4   passed      
  362. Result: Package existence check passed for "libstdc++(x86_64)"  
  363.   
  364. Check: Package existence for "libstdc++-devel(x86_64)"   
  365.   Node Name     Available                 Required                  Status      
  366.   ------------  ------------------------  ------------------------  ----------  
  367.   node2         libstdc++-devel(x86_64)-4.4.6-4.el6  libstdc++-devel(x86_64)-4.4.4  passed      
  368.   node1         libstdc++-devel(x86_64)-4.4.6-4.el6  libstdc++-devel(x86_64)-4.4.4  passed      
  369. Result: Package existence check passed for "libstdc++-devel(x86_64)"  
  370.   
  371. Check: Package existence for "sysstat"   
  372.   Node Name     Available                 Required                  Status      
  373.   ------------  ------------------------  ------------------------  ----------  
  374.   node2         sysstat-9.0.4-20.el6      sysstat-9.0.4             passed      
  375.   node1         sysstat-9.0.4-20.el6      sysstat-9.0.4             passed      
  376. Result: Package existence check passed for "sysstat"  
  377.   
  378. Check: Package existence for "gcc"   
  379.   Node Name     Available                 Required                  Status      
  380.   ------------  ------------------------  ------------------------  ----------  
  381.   node2         gcc-4.4.6-4.el6           gcc-4.4.4                 passed      
  382.   node1         gcc-4.4.6-4.el6           gcc-4.4.4                 passed      
  383. Result: Package existence check passed for "gcc"  
  384.   
  385. Check: Package existence for "gcc-c++"   
  386.   Node Name     Available                 Required                  Status      
  387.   ------------  ------------------------  ------------------------  ----------  
  388.   node2         gcc-c++-4.4.6-4.el6       gcc-c++-4.4.4             passed      
  389.   node1         gcc-c++-4.4.6-4.el6       gcc-c++-4.4.4             passed      
  390. Result: Package existence check passed for "gcc-c++"  
  391.   
  392. Check: Package existence for "ksh"   
  393.   Node Name     Available                 Required                  Status      
  394.   ------------  ------------------------  ------------------------  ----------  
  395.   node2         ksh-20100621-16.el6       ksh-20100621              passed      
  396.   node1         ksh-20100621-16.el6       ksh-20100621              passed      
  397. Result: Package existence check passed for "ksh"  
  398.   
  399. Check: Package existence for "make"   
  400.   Node Name     Available                 Required                  Status      
  401.   ------------  ------------------------  ------------------------  ----------  
  402.   node2         make-3.81-20.el6          make-3.81                 passed      
  403.   node1         make-3.81-20.el6          make-3.81                 passed      
  404. Result: Package existence check passed for "make"  
  405.   
  406. Check: Package existence for "glibc(x86_64)"   
  407.   Node Name     Available                 Required                  Status      
  408.   ------------  ------------------------  ------------------------  ----------  
  409.   node2         glibc(x86_64)-2.12-1.80.el6_3.6  glibc(x86_64)-2.12        passed      
  410.   node1         glibc(x86_64)-2.12-1.80.el6_3.6  glibc(x86_64)-2.12        passed      
  411. Result: Package existence check passed for "glibc(x86_64)"  
  412.   
  413. Check: Package existence for "glibc-devel(x86_64)"   
  414.   Node Name     Available                 Required                  Status      
  415.   ------------  ------------------------  ------------------------  ----------  
  416.   node2         glibc-devel(x86_64)-2.12-1.80.el6_3.6  glibc-devel(x86_64)-2.12  passed      
  417.   node1         glibc-devel(x86_64)-2.12-1.80.el6_3.6  glibc-devel(x86_64)-2.12  passed      
  418. Result: Package existence check passed for "glibc-devel(x86_64)"  
  419.   
  420. Check: Package existence for "libaio(x86_64)"   
  421.   Node Name     Available                 Required                  Status      
  422.   ------------  ------------------------  ------------------------  ----------  
  423.   node2         libaio(x86_64)-0.3.107-10.el6  libaio(x86_64)-0.3.107    passed      
  424.   node1         libaio(x86_64)-0.3.107-10.el6  libaio(x86_64)-0.3.107    passed      
  425. Result: Package existence check passed for "libaio(x86_64)"  
  426.   
  427. Check: Package existence for "libaio-devel(x86_64)"   
  428.   Node Name     Available                 Required                  Status      
  429.   ------------  ------------------------  ------------------------  ----------  
  430.   node2         libaio-devel(x86_64)-0.3.107-10.el6  libaio-devel(x86_64)-0.3.107  passed      
  431.   node1         libaio-devel(x86_64)-0.3.107-10.el6  libaio-devel(x86_64)-0.3.107  passed      
  432. Result: Package existence check passed for "libaio-devel(x86_64)"  
  433.   
  434. Checking for multiple users with UID value 0  
  435. Result: Check for multiple users with UID value 0 passed   
  436.   
  437. Check: Current group ID   
  438. Result: Current group ID check passed  
  439.   
  440. Starting check for consistency of primary group of root user  
  441.   Node Name                             Status                    
  442.   ------------------------------------  ------------------------  
  443.   node2                                 passed                    
  444.   node1                                 passed                    
  445.   
  446. Check for consistency of root user's primary group passed  
  447.   
  448. Starting Clock synchronization checks using Network Time Protocol(NTP)...  
  449.   
  450. NTP Configuration file check started...  
  451. The NTP configuration file "/etc/ntp.conf" is available on all nodes  
  452. NTP Configuration file check passed  
  453. No NTP Daemons or Services were found to be running  
  454. PRVF-5507 : NTP daemon or service is not running on any node but NTP configuration file exists on the following node(s):  
  455. node2,node1  
  456. Result: Clock synchronization check using Network Time Protocol(NTP) failed  
  457.   
  458. Checking Core file name pattern consistency...  
  459. Core file name pattern consistency check passed.  
  460.   
  461. Checking to make sure user "grid" is not in "root" group  
  462.   Node Name     Status                    Comment                   
  463.   ------------  ------------------------  ------------------------  
  464.   node2         passed                    does not exist            
  465.   node1         passed                    does not exist            
  466. Result: User "grid" is not part of "root" group. Check passed  
  467.   
  468. Check default user file creation mask  
  469.   Node Name     Available                 Required                  Comment     
  470.   ------------  ------------------------  ------------------------  ----------  
  471.   node2         0022                      0022                      passed      
  472.   node1         0022                      0022                      passed      
  473. Result: Default user file creation mask check passed  
  474. Checking consistency of file "/etc/resolv.conf" across nodes  
  475.   
  476. Checking the file "/etc/resolv.conf" to make sure only one of domain and search entries is defined  
  477. File "/etc/resolv.conf" does not have both domain and search entries defined  
  478. Checking if domain entry in file "/etc/resolv.conf" is consistent across the nodes...  
  479. domain entry in file "/etc/resolv.conf" is consistent across nodes  
  480. Checking if search entry in file "/etc/resolv.conf" is consistent across the nodes...  
  481. search entry in file "/etc/resolv.conf" is consistent across nodes  
  482. Checking file "/etc/resolv.conf" to make sure that only one search entry is defined  
  483. All nodes have one search entry defined in file "/etc/resolv.conf"  
  484. Checking all nodes to make sure that search entry is "localdomain" as found on node "node2"  
  485. All nodes of the cluster have same value for 'search'  
  486. Checking DNS response time for an unreachable node  
  487.   Node Name                             Status                    
  488.   ------------------------------------  ------------------------  
  489.   node2                                 passed                    
  490.   node1                                 passed                    
  491. The DNS response time for an unreachable node is within acceptable limit on all nodes  
  492.   
  493. File "/etc/resolv.conf" is consistent across nodes  
  494.   
  495. Check: Time zone consistency   
  496. Result: Time zone consistency check passed  
  497. Fixup information has been generated for following node(s):  
  498. node2,node1  
  499. Please run the following script on each node as "root" user to execute the fixups:  
  500. '/tmp/CVU_11.2.0.3.0_grid/runfixup.sh'  
  501.   
  502. Pre-check for cluster services setup was unsuccessful on all the nodes.   

发现有两个failed,一个是ntp,一个是grid用户不在dba组中

oracle11gR2 RAC中使用Cluster Time Synchronization Service(CTSS)同步各节点的时间,当安装程序发现 NTP 协议处于非活动状态时,安装集群时间同步服务将以活动模式自动进行安装并通过所有节点的时间。如果发现配置了 NTP,则以观察者模式 启动集群时间同步服务,Oracle Clusterware 不会在集群中进行活动的时间同步。


使用root用户在node1,node2中执行以下操作,关闭ntp服务,mv配置文件

  1. [root@node2 ~]# service ntpd stop  
  2. Shutting down ntpd:                                        [FAILED]  
  3. [root@node2 ~]# chkconfig ntpd off  
  4. [root@node2 ~]# mv /etc/ntp.conf /etc/ntp.conf.original  
  5. [root@node2 ~]# rm -rf /var/run/ntpd.pid  
  6. [root@node2 ~]#   

将grid用户加入到dba组中

  1. [root@node1 ~]# id grid  
  2. uid=1100(grid) gid=1000(oinstall) groups=1000(oinstall),1200(asmadmin),1201(asmdba),1202(asmoper)  
  3. [root@node1 ~]# /tmp/CVU_11.2.0.3.0_grid/runfixup.sh  
  4. Response file being used is :/tmp/CVU_11.2.0.3.0_grid/fixup.response  
  5. Enable file being used is :/tmp/CVU_11.2.0.3.0_grid/fixup.enable  
  6. Log file location: /tmp/CVU_11.2.0.3.0_grid/orarun.log  
  7. uid=1100(grid) gid=1000(oinstall) groups=1000(oinstall),1200(asmadmin),1201(asmdba),1202(asmoper)  
  8. [root@node1 ~]# id grid  
  9. uid=1100(grid) gid=1000(oinstall) groups=1000(oinstall),1200(asmadmin),1201(asmdba),1202(asmoper),1300(dba)  
  10. [root@node1 ~]#   


安装cvuqdisk-1.0.9-1.rpm

  1. [root@node1 ~]# rpm -ivh /home/grid/grid/rpm/cvuqdisk-1.0.9-1.rpm   
  2. Preparing...                ########################################### [100%]  
  3. Using default group oinstall to install package  
  4.    1:cvuqdisk               ########################################### [100%]  

再次使用Cluster Verification Utility检查CRS安装环境

  1. [grid@node1 grid]$ ./runcluvfy.sh stage -pre crsinst -n node1,node2 -fixup -verbose  
  2.   
  3. Performing pre-checks for cluster services setup   
  4.   
  5. Checking node reachability...  
  6.   
  7. Check: Node reachability from node "node1"  
  8.   Destination Node                      Reachable?                
  9.   ------------------------------------  ------------------------  
  10.   node1                                 yes                       
  11.   node2                                 yes                       
  12. Result: Node reachability check passed from node "node1"  
  13.   
  14.   
  15. Checking user equivalence...  
  16.   
  17. Check: User equivalence for user "grid"  
  18.   Node Name                             Status                    
  19.   ------------------------------------  ------------------------  
  20.   node2                                 passed                    
  21.   node1                                 passed                    
  22. Result: User equivalence check passed for user "grid"  
  23.   
  24. Checking node connectivity...  
  25.   
  26. Checking hosts config file...  
  27.   Node Name                             Status                    
  28.   ------------------------------------  ------------------------  
  29.   node2                                 passed                    
  30.   node1                                 passed                    
  31.   
  32. Verification of the hosts config file successful  
  33.   
  34.   
  35. Interface information for node "node2"  
  36.  Name   IP Address      Subnet          Gateway         Def. Gateway    HW Address        MTU     
  37.  ------ --------------- --------------- --------------- --------------- ----------------- ------  
  38.  eth0   192.168.1.52    192.168.0.0     0.0.0.0         192.168.1.254   00:0C:29:5C:FC:76 1500    
  39.  eth1   172.168.1.52    172.168.0.0     0.0.0.0         192.168.1.254   00:0C:29:5C:FC:80 1500    
  40.   
  41.   
  42. Interface information for node "node1"  
  43.  Name   IP Address      Subnet          Gateway         Def. Gateway    HW Address        MTU     
  44.  ------ --------------- --------------- --------------- --------------- ----------------- ------  
  45.  eth0   192.168.1.51    192.168.0.0     0.0.0.0         192.168.1.254   00:0C:29:79:33:95 1500    
  46.  eth1   172.168.1.51    172.168.0.0     0.0.0.0         192.168.1.254   00:0C:29:79:33:9F 1500    
  47.   
  48.   
  49. Check: Node connectivity of subnet "192.168.0.0"  
  50.   Source                          Destination                     Connected?        
  51.   ------------------------------  ------------------------------  ----------------  
  52.   node2[192.168.1.52]             node1[192.168.1.51]             yes               
  53. Result: Node connectivity passed for subnet "192.168.0.0" with node(s) node2,node1  
  54.   
  55.   
  56. Check: TCP connectivity of subnet "192.168.0.0"  
  57.   Source                          Destination                     Connected?        
  58.   ------------------------------  ------------------------------  ----------------  
  59.   node1:192.168.1.51              node2:192.168.1.52              passed            
  60. Result: TCP connectivity check passed for subnet "192.168.0.0"  
  61.   
  62.   
  63. Check: Node connectivity of subnet "172.168.0.0"  
  64.   Source                          Destination                     Connected?        
  65.   ------------------------------  ------------------------------  ----------------  
  66.   node2[172.168.1.52]             node1[172.168.1.51]             yes               
  67. Result: Node connectivity passed for subnet "172.168.0.0" with node(s) node2,node1  
  68.   
  69.   
  70. Check: TCP connectivity of subnet "172.168.0.0"  
  71.   Source                          Destination                     Connected?        
  72.   ------------------------------  ------------------------------  ----------------  
  73.   node1:172.168.1.51              node2:172.168.1.52              passed            
  74. Result: TCP connectivity check passed for subnet "172.168.0.0"  
  75.   
  76.   
  77. Interfaces found on subnet "192.168.0.0" that are likely candidates for VIP are:  
  78. node2 eth0:192.168.1.52  
  79. node1 eth0:192.168.1.51  
  80.   
  81. Interfaces found on subnet "172.168.0.0" that are likely candidates for VIP are:  
  82. node2 eth1:172.168.1.52  
  83. node1 eth1:172.168.1.51  
  84.   
  85. WARNING:   
  86. Could not find a suitable set of interfaces for the private interconnect  
  87. Checking subnet mask consistency...  
  88. Subnet mask consistency check passed for subnet "192.168.0.0".  
  89. Subnet mask consistency check passed for subnet "172.168.0.0".  
  90. Subnet mask consistency check passed.  
  91.   
  92. Result: Node connectivity check passed  
  93.   
  94. Checking multicast communication...  
  95.   
  96. Checking subnet "192.168.0.0" for multicast communication with multicast group "230.0.1.0"...  
  97. Check of subnet "192.168.0.0" for multicast communication with multicast group "230.0.1.0" passed.  
  98.   
  99. Checking subnet "172.168.0.0" for multicast communication with multicast group "230.0.1.0"...  
  100. Check of subnet "172.168.0.0" for multicast communication with multicast group "230.0.1.0" passed.  
  101.   
  102. Check of multicast communication passed.  
  103.   
  104. Checking ASMLib configuration.  
  105.   Node Name                             Status                    
  106.   ------------------------------------  ------------------------  
  107.   node2                                 passed                    
  108.   node1                                 passed                    
  109. Result: Check for ASMLib configuration passed.  
  110.   
  111. Check: Total memory   
  112.   Node Name     Available                 Required                  Status      
  113.   ------------  ------------------------  ------------------------  ----------  
  114.   node2         2.9462GB (3089356.0KB)    1.5GB (1572864.0KB)       passed      
  115.   node1         2.9462GB (3089356.0KB)    1.5GB (1572864.0KB)       passed      
  116. Result: Total memory check passed  
  117.   
  118. Check: Available memory   
  119.   Node Name     Available                 Required                  Status      
  120.   ------------  ------------------------  ------------------------  ----------  
  121.   node2         2.7901GB (2925668.0KB)    50MB (51200.0KB)          passed      
  122.   node1         2.649GB (2777688.0KB)     50MB (51200.0KB)          passed      
  123. Result: Available memory check passed  
  124.   
  125. Check: Swap space   
  126.   Node Name     Available                 Required                  Status      
  127.   ------------  ------------------------  ------------------------  ----------  
  128.   node2         6GB (6291452.0KB)         2.9462GB (3089356.0KB)    passed      
  129.   node1         6GB (6291452.0KB)         2.9462GB (3089356.0KB)    passed      
  130. Result: Swap space check passed  
  131.   
  132. Check: Free disk space for "node2:/tmp"   
  133.   Path              Node Name     Mount point   Available     Required      Status        
  134.   ----------------  ------------  ------------  ------------  ------------  ------------  
  135.   /tmp              node2         /             88.7832GB     1GB           passed        
  136. Result: Free disk space check passed for "node2:/tmp"  
  137.   
  138. Check: Free disk space for "node1:/tmp"   
  139.   Path              Node Name     Mount point   Available     Required      Status        
  140.   ----------------  ------------  ------------  ------------  ------------  ------------  
  141.   /tmp              node1         /             81.6679GB     1GB           passed        
  142. Result: Free disk space check passed for "node1:/tmp"  
  143.   
  144. Check: User existence for "grid"   
  145.   Node Name     Status                    Comment                   
  146.   ------------  ------------------------  ------------------------  
  147.   node2         passed                    exists(1100)              
  148.   node1         passed                    exists(1100)              
  149.   
  150. Checking for multiple users with UID value 1100  
  151. Result: Check for multiple users with UID value 1100 passed   
  152. Result: User existence check passed for "grid"  
  153.   
  154. Check: Group existence for "oinstall"   
  155.   Node Name     Status                    Comment                   
  156.   ------------  ------------------------  ------------------------  
  157.   node2         passed                    exists                    
  158.   node1         passed                    exists                    
  159. Result: Group existence check passed for "oinstall"  
  160.   
  161. Check: Group existence for "dba"   
  162.   Node Name     Status                    Comment                   
  163.   ------------  ------------------------  ------------------------  
  164.   node2         passed                    exists                    
  165.   node1         passed                    exists                    
  166. Result: Group existence check passed for "dba"  
  167.   
  168. Check: Membership of user "grid" in group "oinstall" [as Primary]  
  169.   Node Name         User Exists   Group Exists  User in Group  Primary       Status        
  170.   ----------------  ------------  ------------  ------------  ------------  ------------  
  171.   node2             yes           yes           yes           yes           passed        
  172.   node1             yes           yes           yes           yes           passed        
  173. Result: Membership check for user "grid" in group "oinstall" [as Primary] passed  
  174.   
  175. Check: Membership of user "grid" in group "dba"   
  176.   Node Name         User Exists   Group Exists  User in Group  Status            
  177.   ----------------  ------------  ------------  ------------  ----------------  
  178.   node2             yes           yes           yes           passed            
  179.   node1             yes           yes           yes           passed            
  180. Result: Membership check for user "grid" in group "dba" passed  
  181.   
  182. Check: Run level   
  183.   Node Name     run level                 Required                  Status      
  184.   ------------  ------------------------  ------------------------  ----------  
  185.   node2         3                         3,5                       passed      
  186.   node1         5                         3,5                       passed      
  187. Result: Run level check passed  
  188.   
  189. Check: Hard limits for "maximum open file descriptors"   
  190.   Node Name         Type          Available     Required      Status            
  191.   ----------------  ------------  ------------  ------------  ----------------  
  192.   node2             hard          65536         65536         passed            
  193.   node1             hard          65536         65536         passed            
  194. Result: Hard limits check passed for "maximum open file descriptors"  
  195.   
  196. Check: Soft limits for "maximum open file descriptors"   
  197.   Node Name         Type          Available     Required      Status            
  198.   ----------------  ------------  ------------  ------------  ----------------  
  199.   node2             soft          1024          1024          passed            
  200.   node1             soft          1024          1024          passed            
  201. Result: Soft limits check passed for "maximum open file descriptors"  
  202.   
  203. Check: Hard limits for "maximum user processes"   
  204.   Node Name         Type          Available     Required      Status            
  205.   ----------------  ------------  ------------  ------------  ----------------  
  206.   node2             hard          16384         16384         passed            
  207.   node1             hard          16384         16384         passed            
  208. Result: Hard limits check passed for "maximum user processes"  
  209.   
  210. Check: Soft limits for "maximum user processes"   
  211.   Node Name         Type          Available     Required      Status            
  212.   ----------------  ------------  ------------  ------------  ----------------  
  213.   node2             soft          2047          2047          passed            
  214.   node1             soft          2047          2047          passed            
  215. Result: Soft limits check passed for "maximum user processes"  
  216.   
  217. Check: System architecture   
  218.   Node Name     Available                 Required                  Status      
  219.   ------------  ------------------------  ------------------------  ----------  
  220.   node2         x86_64                    x86_64                    passed      
  221.   node1         x86_64                    x86_64                    passed      
  222. Result: System architecture check passed  
  223.   
  224. Check: Kernel version   
  225.   Node Name     Available                 Required                  Status      
  226.   ------------  ------------------------  ------------------------  ----------  
  227.   node2         2.6.39-200.24.1.el6uek.x86_64  2.6.32                    passed      
  228.   node1         2.6.39-200.24.1.el6uek.x86_64  2.6.32                    passed      
  229. Result: Kernel version check passed  
  230.   
  231. Check: Kernel parameter for "semmsl"   
  232.   Node Name         Current       Configured    Required      Status        Comment       
  233.   ----------------  ------------  ------------  ------------  ------------  ------------  
  234.   node2             250           250           250           passed            
  235.   node1             250           250           250           passed            
  236. Result: Kernel parameter check passed for "semmsl"  
  237.   
  238. Check: Kernel parameter for "semmns"   
  239.   Node Name         Current       Configured    Required      Status        Comment       
  240.   ----------------  ------------  ------------  ------------  ------------  ------------  
  241.   node2             32000         32000         32000         passed            
  242.   node1             32000         32000         32000         passed            
  243. Result: Kernel parameter check passed for "semmns"  
  244.   
  245. Check: Kernel parameter for "semopm"   
  246.   Node Name         Current       Configured    Required      Status        Comment       
  247.   ----------------  ------------  ------------  ------------  ------------  ------------  
  248.   node2             100           100           100           passed            
  249.   node1             100           100           100           passed            
  250. Result: Kernel parameter check passed for "semopm"  
  251.   
  252. Check: Kernel parameter for "semmni"   
  253.   Node Name         Current       Configured    Required      Status        Comment       
  254.   ----------------  ------------  ------------  ------------  ------------  ------------  
  255.   node2             128           128           128           passed            
  256.   node1             128           128           128           passed            
  257. Result: Kernel parameter check passed for "semmni"  
  258.   
  259. Check: Kernel parameter for "shmmax"   
  260.   Node Name         Current       Configured    Required      Status        Comment       
  261.   ----------------  ------------  ------------  ------------  ------------  ------------  
  262.   node2             4398046511104  4398046511104  1581750272    passed            
  263.   node1             4398046511104  4398046511104  1581750272    passed            
  264. Result: Kernel parameter check passed for "shmmax"  
  265.   
  266. Check: Kernel parameter for "shmmni"   
  267.   Node Name         Current       Configured    Required      Status        Comment       
  268.   ----------------  ------------  ------------  ------------  ------------  ------------  
  269.   node2             4096          4096          4096          passed            
  270.   node1             4096          4096          4096          passed            
  271. Result: Kernel parameter check passed for "shmmni"  
  272.   
  273. Check: Kernel parameter for "shmall"   
  274.   Node Name         Current       Configured    Required      Status        Comment       
  275.   ----------------  ------------  ------------  ------------  ------------  ------------  
  276.   node2             1073741824    1073741824    2097152       passed            
  277.   node1             1073741824    1073741824    2097152       passed            
  278. Result: Kernel parameter check passed for "shmall"  
  279.   
  280. Check: Kernel parameter for "file-max"   
  281.   Node Name         Current       Configured    Required      Status        Comment       
  282.   ----------------  ------------  ------------  ------------  ------------  ------------  
  283.   node2             6815744       6815744       6815744       passed            
  284.   node1             6815744       6815744       6815744       passed            
  285. Result: Kernel parameter check passed for "file-max"  
  286.   
  287. Check: Kernel parameter for "ip_local_port_range"   
  288.   Node Name         Current       Configured    Required      Status        Comment       
  289.   ----------------  ------------  ------------  ------------  ------------  ------------  
  290.   node2             between 9000.0 & 65500.0  between 9000.0 & 65500.0  between 9000.0 & 65500.0  passed            
  291.   node1             between 9000.0 & 65500.0  between 9000.0 & 65500.0  between 9000.0 & 65500.0  passed            
  292. Result: Kernel parameter check passed for "ip_local_port_range"  
  293.   
  294. Check: Kernel parameter for "rmem_default"   
  295.   Node Name         Current       Configured    Required      Status        Comment       
  296.   ----------------  ------------  ------------  ------------  ------------  ------------  
  297.   node2             262144        262144        262144        passed            
  298.   node1             262144        262144        262144        passed            
  299. Result: Kernel parameter check passed for "rmem_default"  
  300.   
  301. Check: Kernel parameter for "rmem_max"   
  302.   Node Name         Current       Configured    Required      Status        Comment       
  303.   ----------------  ------------  ------------  ------------  ------------  ------------  
  304.   node2             4194304       4194304       4194304       passed            
  305.   node1             4194304       4194304       4194304       passed            
  306. Result: Kernel parameter check passed for "rmem_max"  
  307.   
  308. Check: Kernel parameter for "wmem_default"   
  309.   Node Name         Current       Configured    Required      Status        Comment       
  310.   ----------------  ------------  ------------  ------------  ------------  ------------  
  311.   node2             262144        262144        262144        passed            
  312.   node1             262144        262144        262144        passed            
  313. Result: Kernel parameter check passed for "wmem_default"  
  314.   
  315. Check: Kernel parameter for "wmem_max"   
  316.   Node Name         Current       Configured    Required      Status        Comment       
  317.   ----------------  ------------  ------------  ------------  ------------  ------------  
  318.   node2             1048576       1048576       1048576       passed            
  319.   node1             1048576       1048576       1048576       passed            
  320. Result: Kernel parameter check passed for "wmem_max"  
  321.   
  322. Check: Kernel parameter for "aio-max-nr"   
  323.   Node Name         Current       Configured    Required      Status        Comment       
  324.   ----------------  ------------  ------------  ------------  ------------  ------------  
  325.   node2             1048576       1048576       1048576       passed            
  326.   node1             1048576       1048576       1048576       passed            
  327. Result: Kernel parameter check passed for "aio-max-nr"  
  328.   
  329. Check: Package existence for "binutils"   
  330.   Node Name     Available                 Required                  Status      
  331.   ------------  ------------------------  ------------------------  ----------  
  332.   node2         binutils-2.20.51.0.2-5.34.el6  binutils-2.20.51.0.2      passed      
  333.   node1         binutils-2.20.51.0.2-5.34.el6  binutils-2.20.51.0.2      passed      
  334. Result: Package existence check passed for "binutils"  
  335.   
  336. Check: Package existence for "compat-libcap1"   
  337.   Node Name     Available                 Required                  Status      
  338.   ------------  ------------------------  ------------------------  ----------  
  339.   node2         compat-libcap1-1.10-1     compat-libcap1-1.10       passed      
  340.   node1         compat-libcap1-1.10-1     compat-libcap1-1.10       passed      
  341. Result: Package existence check passed for "compat-libcap1"  
  342.   
  343. Check: Package existence for "compat-libstdc++-33(x86_64)"   
  344.   Node Name     Available                 Required                  Status      
  345.   ------------  ------------------------  ------------------------  ----------  
  346.   node2         compat-libstdc++-33(x86_64)-3.2.3-69.el6  compat-libstdc++-33(x86_64)-3.2.3  passed      
  347.   node1         compat-libstdc++-33(x86_64)-3.2.3-69.el6  compat-libstdc++-33(x86_64)-3.2.3  passed      
  348. Result: Package existence check passed for "compat-libstdc++-33(x86_64)"  
  349.   
  350. Check: Package existence for "libgcc(x86_64)"   
  351.   Node Name     Available                 Required                  Status      
  352.   ------------  ------------------------  ------------------------  ----------  
  353.   node2         libgcc(x86_64)-4.4.6-4.el6  libgcc(x86_64)-4.4.4      passed      
  354.   node1         libgcc(x86_64)-4.4.6-4.el6  libgcc(x86_64)-4.4.4      passed      
  355. Result: Package existence check passed for "libgcc(x86_64)"  
  356.   
  357. Check: Package existence for "libstdc++(x86_64)"   
  358.   Node Name     Available                 Required                  Status      
  359.   ------------  ------------------------  ------------------------  ----------  
  360.   node2         libstdc++(x86_64)-4.4.6-4.el6  libstdc++(x86_64)-4.4.4   passed      
  361.   node1         libstdc++(x86_64)-4.4.6-4.el6  libstdc++(x86_64)-4.4.4   passed      
  362. Result: Package existence check passed for "libstdc++(x86_64)"  
  363.   
  364. Check: Package existence for "libstdc++-devel(x86_64)"   
  365.   Node Name     Available                 Required                  Status      
  366.   ------------  ------------------------  ------------------------  ----------  
  367.   node2         libstdc++-devel(x86_64)-4.4.6-4.el6  libstdc++-devel(x86_64)-4.4.4  passed      
  368.   node1         libstdc++-devel(x86_64)-4.4.6-4.el6  libstdc++-devel(x86_64)-4.4.4  passed      
  369. Result: Package existence check passed for "libstdc++-devel(x86_64)"  
  370.   
  371. Check: Package existence for "sysstat"   
  372.   Node Name     Available                 Required                  Status      
  373.   ------------  ------------------------  ------------------------  ----------  
  374.   node2         sysstat-9.0.4-20.el6      sysstat-9.0.4             passed      
  375.   node1         sysstat-9.0.4-20.el6      sysstat-9.0.4             passed      
  376. Result: Package existence check passed for "sysstat"  
  377.   
  378. Check: Package existence for "gcc"   
  379.   Node Name     Available                 Required                  Status      
  380.   ------------  ------------------------  ------------------------  ----------  
  381.   node2         gcc-4.4.6-4.el6           gcc-4.4.4                 passed      
  382.   node1         gcc-4.4.6-4.el6           gcc-4.4.4                 passed      
  383. Result: Package existence check passed for "gcc"  
  384.   
  385. Check: Package existence for "gcc-c++"   
  386.   Node Name     Available                 Required                  Status      
  387.   ------------  ------------------------  ------------------------  ----------  
  388.   node2         gcc-c++-4.4.6-4.el6       gcc-c++-4.4.4             passed      
  389.   node1         gcc-c++-4.4.6-4.el6       gcc-c++-4.4.4             passed      
  390. Result: Package existence check passed for "gcc-c++"  
  391.   
  392. Check: Package existence for "ksh"   
  393.   Node Name     Available                 Required                  Status      
  394.   ------------  ------------------------  ------------------------  ----------  
  395.   node2         ksh-20100621-16.el6       ksh-20100621              passed      
  396.   node1         ksh-20100621-16.el6       ksh-20100621              passed      
  397. Result: Package existence check passed for "ksh"  
  398.   
  399. Check: Package existence for "make"   
  400.   Node Name     Available                 Required                  Status      
  401.   ------------  ------------------------  ------------------------  ----------  
  402.   node2         make-3.81-20.el6          make-3.81                 passed      
  403.   node1         make-3.81-20.el6          make-3.81                 passed      
  404. Result: Package existence check passed for "make"  
  405.   
  406. Check: Package existence for "glibc(x86_64)"   
  407.   Node Name     Available                 Required                  Status      
  408.   ------------  ------------------------  ------------------------  ----------  
  409.   node2         glibc(x86_64)-2.12-1.80.el6_3.6  glibc(x86_64)-2.12        passed      
  410.   node1         glibc(x86_64)-2.12-1.80.el6_3.6  glibc(x86_64)-2.12        passed      
  411. Result: Package existence check passed for "glibc(x86_64)"  
  412.   
  413. Check: Package existence for "glibc-devel(x86_64)"   
  414.   Node Name     Available                 Required                  Status      
  415.   ------------  ------------------------  ------------------------  ----------  
  416.   node2         glibc-devel(x86_64)-2.12-1.80.el6_3.6  glibc-devel(x86_64)-2.12  passed      
  417.   node1         glibc-devel(x86_64)-2.12-1.80.el6_3.6  glibc-devel(x86_64)-2.12  passed      
  418. Result: Package existence check passed for "glibc-devel(x86_64)"  
  419.   
  420. Check: Package existence for "libaio(x86_64)"   
  421.   Node Name     Available                 Required                  Status      
  422.   ------------  ------------------------  ------------------------  ----------  
  423.   node2         libaio(x86_64)-0.3.107-10.el6  libaio(x86_64)-0.3.107    passed      
  424.   node1         libaio(x86_64)-0.3.107-10.el6  libaio(x86_64)-0.3.107    passed      
  425. Result: Package existence check passed for "libaio(x86_64)"  
  426.   
  427. Check: Package existence for "libaio-devel(x86_64)"   
  428.   Node Name     Available                 Required                  Status      
  429.   ------------  ------------------------  ------------------------  ----------  
  430.   node2         libaio-devel(x86_64)-0.3.107-10.el6  libaio-devel(x86_64)-0.3.107  passed      
  431.   node1         libaio-devel(x86_64)-0.3.107-10.el6  libaio-devel(x86_64)-0.3.107  passed      
  432. Result: Package existence check passed for "libaio-devel(x86_64)"  
  433.   
  434. Checking for multiple users with UID value 0  
  435. Result: Check for multiple users with UID value 0 passed   
  436.   
  437. Check: Current group ID   
  438. Result: Current group ID check passed  
  439.   
  440. Starting check for consistency of primary group of root user  
  441.   Node Name                             Status                    
  442.   ------------------------------------  ------------------------  
  443.   node2                                 passed                    
  444.   node1                                 passed                    
  445.   
  446. Check for consistency of root user's primary group passed  
  447.   
  448. Starting Clock synchronization checks using Network Time Protocol(NTP)...  
  449.   
  450. NTP Configuration file check started...  
  451. Network Time Protocol(NTP) configuration file not found on any of the nodes. Oracle Cluster Time Synchronization Service(CTSS) can be used instead of NTP for time synchronization on the cluster nodes  
  452. No NTP Daemons or Services were found to be running  
  453.   
  454. Result: Clock synchronization check using Network Time Protocol(NTP) passed  
  455.   
  456. Checking Core file name pattern consistency...  
  457. Core file name pattern consistency check passed.  
  458.   
  459. Checking to make sure user "grid" is not in "root" group  
  460.   Node Name     Status                    Comment                   
  461.   ------------  ------------------------  ------------------------  
  462.   node2         passed                    does not exist            
  463.   node1         passed                    does not exist            
  464. Result: User "grid" is not part of "root" group. Check passed  
  465.   
  466. Check default user file creation mask  
  467.   Node Name     Available                 Required                  Comment     
  468.   ------------  ------------------------  ------------------------  ----------  
  469.   node2         0022                      0022                      passed      
  470.   node1         0022                      0022                      passed      
  471. Result: Default user file creation mask check passed  
  472. Checking consistency of file "/etc/resolv.conf" across nodes  
  473.   
  474. Checking the file "/etc/resolv.conf" to make sure only one of domain and search entries is defined  
  475. File "/etc/resolv.conf" does not have both domain and search entries defined  
  476. Checking if domain entry in file "/etc/resolv.conf" is consistent across the nodes...  
  477. domain entry in file "/etc/resolv.conf" is consistent across nodes  
  478. Checking if search entry in file "/etc/resolv.conf" is consistent across the nodes...  
  479. search entry in file "/etc/resolv.conf" is consistent across nodes  
  480. Checking file "/etc/resolv.conf" to make sure that only one search entry is defined  
  481. All nodes have one search entry defined in file "/etc/resolv.conf"  
  482. Checking all nodes to make sure that search entry is "localdomain" as found on node "node2"  
  483. All nodes of the cluster have same value for 'search'  
  484. Checking DNS response time for an unreachable node  
  485.   Node Name                             Status                    
  486.   ------------------------------------  ------------------------  
  487.   node2                                 passed                    
  488.   node1                                 passed                    
  489. The DNS response time for an unreachable node is within acceptable limit on all nodes  
  490.   
  491. File "/etc/resolv.conf" is consistent across nodes  
  492.   
  493. Check: Time zone consistency   
  494. Result: Time zone consistency check passed  
  495.   
  496. Pre-check for cluster services setup was successful.   


在node1上使用grid用户安装grid infrastructure

  1. [grid@node1 grid]$ ./runInstaller   
  2. Starting Oracle Universal Installer...  
  3.   
  4. Checking Temp space: must be greater than 120 MB.   Actual 79780 MB    Passed  
  5. Checking swap space: must be greater than 150 MB.   Actual 6143 MB    Passed  
  6. Checking monitor: must be configured to display at least 256 colors.    Actual 16777216    Passed  
  7. Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-12-29_09-28-08AM. Please wait ...[grid@node1 grid]$  


Skip software updates



Install any Configure Oracle Grid Infrastructure for a Cluster



Advanced Installation



add Simplified Chinese



不配置GNS,填写scan名称



add node2



如果之前没有配置ssh用户等效,也可以在这里配置



Validating remote binaries..
Remote binaries check succeeded



指定用于Public网络和Private网络的网络接口。进行所需更改以与下表中各值保持一致



配置ASM存储



+CRS



 Use same passwords for these accounts

这里警告密码过于简单



Do not use Intelligent Platform Management Interface (IPMI)









ASM使用的是UDEV绑定设备,没有使用asmlib,忽略这个警告



Install





使用root用户在node1,node2上执行以下脚本,这里使用 one by one方式



node1

  1. [root@node1 ~]# /u01/app/oraInventory/orainstRoot.sh  
  2. Changing permissions of /u01/app/oraInventory.  
  3. Adding read,write permissions for group.  
  4. Removing read,write,execute permissions for world.  
  5.   
  6. Changing groupname of /u01/app/oraInventory to oinstall.  
  7. The execution of the script is complete.  
  8. [root@node1 ~]# /u01/app/11.2.0/grid/root.sh  
  9. Performing root user operation for Oracle 11g   
  10.   
  11. The following environment variables are set as:  
  12.     ORACLE_OWNER= grid  
  13.     ORACLE_HOME=  /u01/app/11.2.0/grid  
  14.   
  15. Enter the full pathname of the local bin directory: [/usr/local/bin]:   
  16.    Copying dbhome to /usr/local/bin ...  
  17.    Copying oraenv to /usr/local/bin ...  
  18.    Copying coraenv to /usr/local/bin ...  
  19.   
  20.   
  21. Creating /etc/oratab file...  
  22. Entries will be added to the /etc/oratab file as needed by  
  23. Database Configuration Assistant when a database is created  
  24. Finished running generic part of root script.  
  25. Now product-specific root actions will be performed.  
  26. Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params  
  27. Creating trace directory  
  28. User ignored Prerequisites during installation  
  29. OLR initialization - successful  
  30.   root wallet  
  31.   root wallet cert  
  32.   root cert export  
  33.   peer wallet  
  34.   profile reader wallet  
  35.   pa wallet  
  36.   peer wallet keys  
  37.   pa wallet keys  
  38.   peer cert request  
  39.   pa cert request  
  40.   peer cert  
  41.   pa cert  
  42.   peer root cert TP  
  43.   profile reader root cert TP  
  44.   pa root cert TP  
  45.   peer pa cert TP  
  46.   pa peer cert TP  
  47.   profile reader pa cert TP  
  48.   profile reader peer cert TP  
  49.   peer user cert  
  50.   pa user cert  
  51. Adding Clusterware entries to upstart  
  52. CRS-2672: Attempting to start 'ora.mdnsd' on 'node1'  
  53. CRS-2676: Start of 'ora.mdnsd' on 'node1' succeeded  
  54. CRS-2672: Attempting to start 'ora.gpnpd' on 'node1'  
  55. CRS-2676: Start of 'ora.gpnpd' on 'node1' succeeded  
  56. CRS-2672: Attempting to start 'ora.cssdmonitor' on 'node1'  
  57. CRS-2672: Attempting to start 'ora.gipcd' on 'node1'  
  58. CRS-2676: Start of 'ora.cssdmonitor' on 'node1' succeeded  
  59. CRS-2676: Start of 'ora.gipcd' on 'node1' succeeded  
  60. CRS-2672: Attempting to start 'ora.cssd' on 'node1'  
  61. CRS-2672: Attempting to start 'ora.diskmon' on 'node1'  
  62. CRS-2676: Start of 'ora.diskmon' on 'node1' succeeded  
  63. CRS-2676: Start of 'ora.cssd' on 'node1' succeeded  
  64.   
  65. ASM created and started successfully.  
  66.   
  67. Disk Group CRS created successfully.  
  68.   
  69. clscfg: -install mode specified  
  70. Successfully accumulated necessary OCR keys.  
  71. Creating OCR keys for user 'root', privgrp 'root'..  
  72. Operation successful.  
  73. CRS-4256: Updating the profile  
  74. Successful addition of voting disk 4b4ef03676d84facbf55c02b8c058a07.  
  75. Successfully replaced voting disk group with +CRS.  
  76. CRS-4256: Updating the profile  
  77. CRS-4266: Voting file(s) successfully replaced  
  78. ##  STATE    File Universal Id                File Name Disk group  
  79. --  -----    -----------------                --------- ---------  
  80.  1. ONLINE   4b4ef03676d84facbf55c02b8c058a07 (/dev/asm-diskb) [CRS]  
  81. Located 1 voting disk(s).  
  82. CRS-2672: Attempting to start 'ora.asm' on 'node1'  
  83. CRS-2676: Start of 'ora.asm' on 'node1' succeeded  
  84. CRS-2672: Attempting to start 'ora.CRS.dg' on 'node1'  
  85. CRS-2676: Start of 'ora.CRS.dg' on 'node1' succeeded  
  86. Configure Oracle Grid Infrastructure for a Cluster ... succeeded  
  87. [root@node1 ~]#   

node2

  1. [root@node2 ~]# /u01/app/oraInventory/orainstRoot.sh  
  2. Changing permissions of /u01/app/oraInventory.  
  3. Adding read,write permissions for group.  
  4. Removing read,write,execute permissions for world.  
  5.   
  6. Changing groupname of /u01/app/oraInventory to oinstall.  
  7. The execution of the script is complete.  
  8. [root@node2 ~]# /u01/app/11.2.0/grid/root.sh  
  9. Performing root user operation for Oracle 11g   
  10.   
  11. The following environment variables are set as:  
  12.     ORACLE_OWNER= grid  
  13.     ORACLE_HOME=  /u01/app/11.2.0/grid  
  14.   
  15. Enter the full pathname of the local bin directory: [/usr/local/bin]:   
  16.    Copying dbhome to /usr/local/bin ...  
  17.    Copying oraenv to /usr/local/bin ...  
  18.    Copying coraenv to /usr/local/bin ...  
  19.   
  20.   
  21. Creating /etc/oratab file...  
  22. Entries will be added to the /etc/oratab file as needed by  
  23. Database Configuration Assistant when a database is created  
  24. Finished running generic part of root script.  
  25. Now product-specific root actions will be performed.  
  26. Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params  
  27. Creating trace directory  
  28. User ignored Prerequisites during installation  
  29. OLR initialization - successful  
  30. Adding Clusterware entries to upstart  
  31. CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node node1, number 1, and is terminating  
  32. An active cluster was found during exclusive startup, restarting to join the cluster  
  33. Configure Oracle Grid Infrastructure for a Cluster ... succeeded  
  34. [root@node2 ~]#   

安装程序将运行 Oracle 网络服务 (NETCA)、自动存储管理 (ASMCA) 和 Oracle 专用互连 (VIPCA) 的配置助手。OUI 执行的最后一步是运行集群验证实用程序 (CVU)。如果配置助手和 CVU 运行成功,可单击 [Next] 然后单击 [Close] 退出 OUI。如果 CVU 只报告了此错误,可放心忽略此检查并继续。



close



测试GI的安装

node1

  1. [root@node1 ~]# ifconfig  
  2. eth0      Link encap:Ethernet  HWaddr 00:0C:29:79:33:95    
  3.           inet addr:192.168.1.51  Bcast:192.168.255.255  Mask:255.255.0.0  
  4.           inet6 addr: fe80::20c:29ff:fe79:3395/64 Scope:Link  
  5.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1  
  6.           RX packets:977978 errors:0 dropped:1345 overruns:0 frame:0  
  7.           TX packets:2525875 errors:0 dropped:0 overruns:0 carrier:0  
  8.           collisions:0 txqueuelen:1000   
  9.           RX bytes:106995897 (102.0 MiB)  TX bytes:3573509233 (3.3 GiB)  
  10.   
  11. eth0:1    Link encap:Ethernet  HWaddr 00:0C:29:79:33:95    
  12.           inet addr:192.168.1.151  Bcast:192.168.255.255  Mask:255.255.0.0  
  13.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1  
  14.   
  15. eth0:3    Link encap:Ethernet  HWaddr 00:0C:29:79:33:95    
  16.           inet addr:192.168.1.58  Bcast:192.168.255.255  Mask:255.255.0.0  
  17.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1  
  18.   
  19. eth0:4    Link encap:Ethernet  HWaddr 00:0C:29:79:33:95    
  20.           inet addr:192.168.1.59  Bcast:192.168.255.255  Mask:255.255.0.0  
  21.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1  
  22.   
  23. eth1      Link encap:Ethernet  HWaddr 00:0C:29:79:33:9F    
  24.           inet addr:172.168.1.51  Bcast:172.168.255.255  Mask:255.255.0.0  
  25.           inet6 addr: fe80::20c:29ff:fe79:339f/64 Scope:Link  
  26.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1  
  27.           RX packets:728960 errors:0 dropped:1345 overruns:0 frame:0  
  28.           TX packets:13833 errors:0 dropped:0 overruns:0 carrier:0  
  29.           collisions:0 txqueuelen:1000   
  30.           RX bytes:54104908 (51.5 MiB)  TX bytes:7561084 (7.2 MiB)  
  31.   
  32. eth1:1    Link encap:Ethernet  HWaddr 00:0C:29:79:33:9F    
  33.           inet addr:169.254.201.146  Bcast:169.254.255.255  Mask:255.255.0.0  
  34.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1  
  35.   
  36. lo        Link encap:Local Loopback    
  37.           inet addr:127.0.0.1  Mask:255.0.0.0  
  38.           inet6 addr: ::1/128 Scope:Host  
  39.           UP LOOPBACK RUNNING  MTU:16436  Metric:1  
  40.           RX packets:13162 errors:0 dropped:0 overruns:0 frame:0  
  41.           TX packets:13162 errors:0 dropped:0 overruns:0 carrier:0  
  42.           collisions:0 txqueuelen:0   
  43.           RX bytes:7783412 (7.4 MiB)  TX bytes:7783412 (7.4 MiB)  
  44.   
  45. [root@node1 ~]# ps -ef|egrep -i "asm|listener"  
  46. grid     24390     1  0 10:03 ?        00:00:00 asm_pmon_+ASM1  
  47. grid     24392     1  0 10:03 ?        00:00:00 asm_psp0_+ASM1  
  48. grid     24394     1  1 10:03 ?        00:00:18 asm_vktm_+ASM1  
  49. grid     24398     1  0 10:03 ?        00:00:00 asm_gen0_+ASM1  
  50. grid     24400     1  0 10:03 ?        00:00:00 asm_diag_+ASM1  
  51. grid     24402     1  0 10:03 ?        00:00:00 asm_ping_+ASM1  
  52. grid     24404     1  0 10:03 ?        00:00:02 asm_dia0_+ASM1  
  53. grid     24406     1  0 10:03 ?        00:00:02 asm_lmon_+ASM1  
  54. grid     24408     1  0 10:03 ?        00:00:01 asm_lmd0_+ASM1  
  55. grid     24410     1  0 10:03 ?        00:00:02 asm_lms0_+ASM1  
  56. grid     24414     1  0 10:03 ?        00:00:00 asm_lmhb_+ASM1  
  57. grid     24416     1  0 10:03 ?        00:00:00 asm_mman_+ASM1  
  58. grid     24418     1  0 10:03 ?        00:00:00 asm_dbw0_+ASM1  
  59. grid     24420     1  0 10:03 ?        00:00:00 asm_lgwr_+ASM1  
  60. grid     24422     1  0 10:03 ?        00:00:00 asm_ckpt_+ASM1  
  61. grid     24424     1  0 10:03 ?        00:00:00 asm_smon_+ASM1  
  62. grid     24426     1  0 10:03 ?        00:00:00 asm_rbal_+ASM1  
  63. grid     24428     1  0 10:03 ?        00:00:00 asm_gmon_+ASM1  
  64. grid     24430     1  0 10:03 ?        00:00:00 asm_mmon_+ASM1  
  65. grid     24432     1  0 10:03 ?        00:00:00 asm_mmnl_+ASM1  
  66. grid     24434     1  0 10:03 ?        00:00:00 asm_lck0_+ASM1  
  67. grid     24436     1  0 10:03 ?        00:00:00 oracle+ASM1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))  
  68. grid     24466     1  0 10:03 ?        00:00:01 oracle+ASM1_ocr (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))  
  69. grid     24471     1  0 10:03 ?        00:00:00 asm_asmb_+ASM1  
  70. grid     24473     1  0 10:03 ?        00:00:00 oracle+ASM1_asmb_+asm1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))  
  71. grid     24876     1  0 10:04 ?        00:00:00 oracle+ASM1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))  
  72. grid     25269     1  0 10:05 ?        00:00:00 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER_SCAN2 -inherit  
  73. grid     25283     1  0 10:05 ?        00:00:00 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER_SCAN3 -inherit  
  74. grid     26105     1  0 10:15 ?        00:00:00 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER -inherit  
  75. grid     28183 28182  0 10:21 ?        00:00:00 oracle+ASM1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))  
  76. root     28263  2146  0 10:26 pts/2    00:00:00 egrep -i asm|listener  

node2
  1. [root@node2 ~]# ifconfig  
  2. eth0      Link encap:Ethernet  HWaddr 00:0C:29:5C:FC:76    
  3.           inet addr:192.168.1.52  Bcast:192.168.255.255  Mask:255.255.0.0  
  4.           inet6 addr: fe80::20c:29ff:fe5c:fc76/64 Scope:Link  
  5.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1  
  6.           RX packets:3068626 errors:0 dropped:1348 overruns:0 frame:0  
  7.           TX packets:185731 errors:0 dropped:0 overruns:0 carrier:0  
  8.           collisions:0 txqueuelen:1000   
  9.           RX bytes:3505670277 (3.2 GiB)  TX bytes:39520990 (37.6 MiB)  
  10.   
  11. eth0:1    Link encap:Ethernet  HWaddr 00:0C:29:5C:FC:76    
  12.           inet addr:192.168.1.57  Bcast:192.168.255.255  Mask:255.255.0.0  
  13.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1  
  14.   
  15. eth0:2    Link encap:Ethernet  HWaddr 00:0C:29:5C:FC:76    
  16.           inet addr:192.168.1.152  Bcast:192.168.255.255  Mask:255.255.0.0  
  17.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1  
  18.   
  19. eth1      Link encap:Ethernet  HWaddr 00:0C:29:5C:FC:80    
  20.           inet addr:172.168.1.52  Bcast:172.168.255.255  Mask:255.255.0.0  
  21.           inet6 addr: fe80::20c:29ff:fe5c:fc80/64 Scope:Link  
  22.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1  
  23.           RX packets:729233 errors:0 dropped:1348 overruns:0 frame:0  
  24.           TX packets:15630 errors:0 dropped:0 overruns:0 carrier:0  
  25.           collisions:0 txqueuelen:1000   
  26.           RX bytes:53620798 (51.1 MiB)  TX bytes:8883597 (8.4 MiB)  
  27.   
  28. eth1:1    Link encap:Ethernet  HWaddr 00:0C:29:5C:FC:80    
  29.           inet addr:169.254.30.23  Bcast:169.254.255.255  Mask:255.255.0.0  
  30.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1  
  31.   
  32. lo        Link encap:Local Loopback    
  33.           inet addr:127.0.0.1  Mask:255.0.0.0  
  34.           inet6 addr: ::1/128 Scope:Host  
  35.           UP LOOPBACK RUNNING  MTU:16436  Metric:1  
  36.           RX packets:6049 errors:0 dropped:0 overruns:0 frame:0  
  37.           TX packets:6049 errors:0 dropped:0 overruns:0 carrier:0  
  38.           collisions:0 txqueuelen:0   
  39.           RX bytes:2377782 (2.2 MiB)  TX bytes:2377782 (2.2 MiB)  
  40.   
  41. [root@node2 ~]# ps -ef|egrep -i "asm|listener"  
  42. grid     21049     1  0 10:09 ?        00:00:00 asm_pmon_+ASM2  
  43. grid     21051     1  0 10:09 ?        00:00:00 asm_psp0_+ASM2  
  44. grid     21053     1  1 10:09 ?        00:00:14 asm_vktm_+ASM2  
  45. grid     21057     1  0 10:09 ?        00:00:00 asm_gen0_+ASM2  
  46. grid     21059     1  0 10:09 ?        00:00:00 asm_diag_+ASM2  
  47. grid     21061     1  0 10:09 ?        00:00:00 asm_ping_+ASM2  
  48. grid     21063     1  0 10:09 ?        00:00:01 asm_dia0_+ASM2  
  49. grid     21065     1  0 10:09 ?        00:00:01 asm_lmon_+ASM2  
  50. grid     21067     1  0 10:09 ?        00:00:00 asm_lmd0_+ASM2  
  51. grid     21069     1  0 10:09 ?        00:00:02 asm_lms0_+ASM2  
  52. grid     21073     1  0 10:09 ?        00:00:00 asm_lmhb_+ASM2  
  53. grid     21075     1  0 10:09 ?        00:00:00 asm_mman_+ASM2  
  54. grid     21077     1  0 10:09 ?        00:00:00 asm_dbw0_+ASM2  
  55. grid     21079     1  0 10:09 ?        00:00:00 asm_lgwr_+ASM2  
  56. grid     21081     1  0 10:09 ?        00:00:00 asm_ckpt_+ASM2  
  57. grid     21083     1  0 10:09 ?        00:00:00 asm_smon_+ASM2  
  58. grid     21085     1  0 10:09 ?        00:00:00 asm_rbal_+ASM2  
  59. grid     21087     1  0 10:09 ?        00:00:00 asm_gmon_+ASM2  
  60. grid     21089     1  0 10:09 ?        00:00:00 asm_mmon_+ASM2  
  61. grid     21091     1  0 10:09 ?        00:00:00 asm_mmnl_+ASM2  
  62. grid     21093     1  0 10:09 ?        00:00:00 asm_lck0_+ASM2  
  63. grid     21095     1  0 10:09 ?        00:00:00 oracle+ASM2 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))  
  64. grid     21128     1  0 10:09 ?        00:00:00 oracle+ASM2_ocr (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))  
  65. grid     21130     1  0 10:09 ?        00:00:00 asm_asmb_+ASM2  
  66. grid     21132     1  0 10:09 ?        00:00:00 oracle+ASM2_asmb_+asm2 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))  
  67. grid     21271     1  0 10:09 ?        00:00:00 oracle+ASM2 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))  
  68. grid     21326     1  0 10:09 ?        00:00:00 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER_SCAN1 -inherit  
  69. grid     22068     1  0 10:15 ?        00:00:00 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER -inherit  
  70. root     23551  1979  0 10:26 pts/2    00:00:00 egrep -i asm|listener  

检查 CRS 状态

  1. [grid@node2 ~]$ crsctl check crs  
  2. CRS-4638: Oracle High Availability Services is online  
  3. CRS-4537: Cluster Ready Services is online  
  4. CRS-4529: Cluster Synchronization Services is online  
  5. CRS-4533: Event Manager is online  


检查 Clusterware 资源 ,crs_stat命令在11gR2中不再推荐使用,推荐使用crsctl stat res -t

  1. [grid@node2 ~]$ crs_stat -t  
  2. Name           Type           Target    State     Host          
  3. ------------------------------------------------------------  
  4. ora.CRS.dg     ora....up.type ONLINE    ONLINE    node1         
  5. ora....ER.lsnr ora....er.type ONLINE    ONLINE    node1         
  6. ora....N1.lsnr ora....er.type ONLINE    ONLINE    node2         
  7. ora....N2.lsnr ora....er.type ONLINE    ONLINE    node1         
  8. ora....N3.lsnr ora....er.type ONLINE    ONLINE    node1         
  9. ora.asm        ora.asm.type   ONLINE    ONLINE    node1         
  10. ora.cvu        ora.cvu.type   ONLINE    ONLINE    node1         
  11. ora.gsd        ora.gsd.type   OFFLINE   OFFLINE                 
  12. ora....network ora....rk.type ONLINE    ONLINE    node1         
  13. ora....SM1.asm application    ONLINE    ONLINE    node1         
  14. ora....E1.lsnr application    ONLINE    ONLINE    node1         
  15. ora.node1.gsd  application    OFFLINE   OFFLINE                 
  16. ora.node1.ons  application    ONLINE    ONLINE    node1         
  17. ora.node1.vip  ora....t1.type ONLINE    ONLINE    node1         
  18. ora....SM2.asm application    ONLINE    ONLINE    node2         
  19. ora....E2.lsnr application    ONLINE    ONLINE    node2         
  20. ora.node2.gsd  application    OFFLINE   OFFLINE                 
  21. ora.node2.ons  application    ONLINE    ONLINE    node2         
  22. ora.node2.vip  ora....t1.type ONLINE    ONLINE    node2         
  23. ora.oc4j       ora.oc4j.type  ONLINE    ONLINE    node1         
  24. ora.ons        ora.ons.type   ONLINE    ONLINE    node1         
  25. ora.scan1.vip  ora....ip.type ONLINE    ONLINE    node2         
  26. ora.scan2.vip  ora....ip.type ONLINE    ONLINE    node1         
  27. ora.scan3.vip  ora....ip.type ONLINE    ONLINE    node1  
  1. [grid@node2 ~]$ crsctl stat res -t  
  2. --------------------------------------------------------------------------------  
  3. NAME           TARGET  STATE        SERVER                   STATE_DETAILS         
  4. --------------------------------------------------------------------------------  
  5. Local Resources  
  6. --------------------------------------------------------------------------------  
  7. ora.CRS.dg  
  8.                ONLINE  ONLINE       node1                                          
  9.                ONLINE  ONLINE       node2                                          
  10. ora.LISTENER.lsnr  
  11.                ONLINE  ONLINE       node1                                          
  12.                ONLINE  ONLINE       node2                                          
  13. ora.asm  
  14.                ONLINE  ONLINE       node1                    Started               
  15.                ONLINE  ONLINE       node2                    Started               
  16. ora.gsd  
  17.                OFFLINE OFFLINE      node1                                          
  18.                OFFLINE OFFLINE      node2                                          
  19. ora.net1.network  
  20.                ONLINE  ONLINE       node1                                          
  21.                ONLINE  ONLINE       node2                                          
  22. ora.ons  
  23.                ONLINE  ONLINE       node1                                          
  24.                ONLINE  ONLINE       node2                                          
  25. --------------------------------------------------------------------------------  
  26. Cluster Resources  
  27. --------------------------------------------------------------------------------  
  28. ora.LISTENER_SCAN1.lsnr  
  29.       1        ONLINE  ONLINE       node2                                          
  30. ora.LISTENER_SCAN2.lsnr  
  31.       1        ONLINE  ONLINE       node1                                          
  32. ora.LISTENER_SCAN3.lsnr  
  33.       1        ONLINE  ONLINE       node1                                          
  34. ora.cvu  
  35.       1        ONLINE  ONLINE       node1                                          
  36. ora.node1.vip  
  37.       1        ONLINE  ONLINE       node1                                          
  38. ora.node2.vip  
  39.       1        ONLINE  ONLINE       node2                                          
  40. ora.oc4j  
  41.       1        ONLINE  ONLINE       node1                                          
  42. ora.scan1.vip  
  43.       1        ONLINE  ONLINE       node2                                          
  44. ora.scan2.vip  
  45.       1        ONLINE  ONLINE       node1                                          
  46. ora.scan3.vip  
  47.       1        ONLINE  ONLINE       node1                        

检查集群节点

  1. [grid@node2 ~]$ olsnodes -n   
  2. node1   1  
  3. node2   2  

检测CRS版本

  1. [grid@node2 ~]$ crsctl query crs activeversion  
  2. Oracle Clusterware active version on the cluster is [11.2.0.3.0]  

检查 Oracle 集群注册表 (OCR)

  1. [grid@node2 ~]$ ocrcheck  
  2. Status of Oracle Cluster Registry is as follows :  
  3.      Version                  :          3  
  4.      Total space (kbytes)     :     262120  
  5.      Used space (kbytes)      :       2588  
  6.      Available space (kbytes) :     259532  
  7.      ID                       : 1606856820  
  8.      Device/File Name         :       +CRS  
  9.                                     Device/File integrity check succeeded  
  10.   
  11.                                     Device/File not configured  
  12.   
  13.                                     Device/File not configured  
  14.   
  15.                                     Device/File not configured  
  16.   
  17.                                     Device/File not configured  
  18.   
  19.      Cluster registry integrity check succeeded  
  20.   
  21.      Logical corruption check bypassed due to non-privileged user  

检查votedisk

  1. [grid@node2 ~]$ crsctl query css votedisk  
  2. ##  STATE    File Universal Id                File Name Disk group  
  3. --  -----    -----------------                --------- ---------  
  4.  1. ONLINE   4b4ef03676d84facbf55c02b8c058a07 (/dev/asm-diskc) [CRS]  
  5. Located 1 voting disk(s).  

检查asm

  1. [grid@node2 ~]$ srvctl config asm -a   
  2. ASM home: /u01/app/11.2.0/grid  
  3. ASM listener: LISTENER  
  4. ASM is enabled.  
  5. [grid@node2 ~]$ srvctl status asm   
  6. ASM is running on node2,node1  

  1. [grid@node2 ~]$ uname -p  
  2. x86_64  
  3. [grid@node2 ~]$ sqlplus / as sysdba  
  4.   
  5. SQL*Plus: Release 11.2.0.3.0 Production on Sat Dec 29 10:45:13 2012  
  6.   
  7. Copyright (c) 1982, 2011, Oracle.  All rights reserved.  
  8.   
  9.   
  10. Connected to:  
  11. Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production  
  12. With the Real Application Clusters and Automatic Storage Management options  
  13.   
  14. SQL> set linesize 100  
  15. SQL> show parameter spfile  
  16.   
  17. NAME                     TYPE           VALUE  
  18. ------------------------------------ ---------------------- ------------------------------  
  19. spfile                   string         +CRS/cluster-scan/asmparameter  
  20.                                 file/registry.253.803296901  
  21. SQL> select path from v$asm_disk;  
  22.   
  23. PATH  
  24. ----------------------------------------------------------------------------------------------------  
  25. /dev/asm-diskg  
  26. /dev/asm-diskf  
  27. /dev/asm-diske  
  28. /dev/asm-diskb  
  29. /dev/asm-diskc  
  30. /dev/asm-diskd  
  31.   
  32. 6 rows selected.  


至此GI安装完毕
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值