非图形方式静默安装与配置 Oracle 11g RAC(7)——安装 grid 软件前的准备工作

非图形方式静默安装与配置 Oracle 11g RAC(7)——安装 grid 软件前的准备工作

一、创建相关目录并授予权限(两个节点同时操作)

## grid 用户的 oracle_base 目录:/u01/app/grid
mkdir -p /u01/app/grid
## grid 用户的 oracle_home 目录:/u01/app/11.2.0/grid
mkdir -p /u01/app/11.2.0/grid

## oracle 用户的 oracle_base 目录:/u01/app/oracle
## oracle 用户的 oracle_home 目录:/u01/app/oracle/product/11.2.0/db_1
mkdir -p /u01/app/oracle/product/11.2.0/db_1

chown -R grid:oinstall /u01
chown -R grid:oinstall /u01/app/11.2.0/grid
chown -R grid:oinstall /u01/app/grid
chown -R oracle:oinstall /u01/app/oracle

chmod -R 775 /u01/

在节点 rac1 和 rac2 上执行以下命令:

[oracle@rac1 .ssh]$ su - root
Password: 
[root@rac1 ~]# mkdir -p /u01/app/grid
[root@rac1 ~]# mkdir -p /u01/app/11.2.0/grid
[root@rac1 ~]# mkdir -p /u01/app/oracle/product/11.2.0/db_1
[root@rac1 ~]# chown -R grid:oinstall /u01
[root@rac1 ~]# chown -R grid:oinstall /u01/app/11.2.0/grid
[root@rac1 ~]# chown -R grid:oinstall /u01/app/grid
[root@rac1 ~]# chown -R oracle:oinstall /u01/app/oracle
[root@rac1 ~]# chmod -R 775 /u01/

二、安装所需要的依赖包(两个节点同时操作)

[root@rac1 ~]# yum install -y gcc* gcc-* gcc-c++-* glibc-devel-* glibc-headers-* compat-libstdc* libstdc* elfutils-libelf-devel* libaio-devel*

Setting up Install Process
Package gcc-4.4.7-23.el6.x86_64 already installed and latest version
Package gcc-4.4.7-23.el6.x86_64 already installed and latest version
Package glibc-devel-2.12-1.212.el6_10.3.x86_64 already installed and latest version
Package glibc-headers-2.12-1.212.el6_10.3.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package compat-libstdc++-296.i686 0:2.96-144.el6 will be installed
--> Processing Dependency: libm.so.6(GLIBC_2.0) for package: compat-libstdc++-296-2.96-144.el6.i686
--> Processing Dependency: libm.so.6 for package: compat-libstdc++-296-2.96-144.el6.i686
--> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: compat-libstdc++-296-2.96-144.el6.i686
--> Processing Dependency: libgcc_s.so.1 for package: compat-libstdc++-296-2.96-144.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.12) for package: compat-libstdc++-296-2.96-144.el6.i686
---> Package compat-libstdc++-33.x86_64 0:3.2.3-69.el6 will be installed
---> Package elfutils-libelf-devel.x86_64 0:0.164-2.el6 will be installed
--> Processing Dependency: elfutils-libelf(x86-64) = 0.164-2.el6 for package: elfutils-libelf-devel-0.164-2.el6.x86_64
---> Package elfutils-libelf-devel-static.x86_64 0:0.164-2.el6 will be installed
---> Package gcc-c++.x86_64 0:4.4.7-23.el6 will be installed
---> Package gcc-gfortran.x86_64 0:4.4.7-23.el6 will be installed
............

Installed:
  compat-libstdc++-296.i686 0:2.96-144.el6                       compat-libstdc++-33.x86_64 0:3.2.3-69.el6                            
  elfutils-libelf-devel.x86_64 0:0.164-2.el6                     elfutils-libelf-devel-static.x86_64 0:0.164-2.el6                    
  gcc-c++.x86_64 0:4.4.7-23.el6                                  gcc-gfortran.x86_64 0:4.4.7-23.el6                                   
  gcc-gnat.x86_64 0:4.4.7-23.el6                                 gcc-java.x86_64 0:4.4.7-23.el6                                       
  gcc-objc.x86_64 0:4.4.7-23.el6                                 gcc-objc++.x86_64 0:4.4.7-23.el6                                     
  libaio-devel.x86_64 0:0.3.107-10.el6                           libstdc++-devel.x86_64 0:4.4.7-23.el6                                
  libstdc++-docs.x86_64 0:4.4.7-23.el6                          

Dependency Installed:
  ecj.x86_64 1:4.5.2-3.el6               glibc.i686 0:2.12-1.212.el6_10.3               java-1.5.0-gcj.x86_64 0:1.5.0.0-29.1.el6     
  java_cup.x86_64 1:0.10k-5.el6          jpackage-utils.noarch 0:1.7.5-3.16.el6         libaio.x86_64 0:0.3.107-10.el6               
  libgcc.i686 0:4.4.7-23.el6             libgcj.x86_64 0:4.4.7-23.el6                   libgcj-devel.x86_64 0:4.4.7-23.el6           
  libgfortran.x86_64 0:4.4.7-23.el6      libgnat.x86_64 0:4.4.7-23.el6                  libgnat-devel.x86_64 0:4.4.7-23.el6          
  libobjc.x86_64 0:4.4.7-23.el6          nss-softokn-freebl.i686 0:3.44.0-6.el6_10      sinjdoc.x86_64 0:0.5-9.1.el6                 
  zip.x86_64 0:3.0-1.el6_7.1             zlib-devel.x86_64 0:1.2.3-29.el6              

Updated:
  libstdc++.x86_64 0:4.4.7-23.el6                                                                                                     

Dependency Updated:
  elfutils-libelf.x86_64 0:0.164-2.el6        nspr.x86_64 0:4.21.0-1.el6_10        nss-softokn-freebl.x86_64 0:3.44.0-6.el6_10       
  nss-util.x86_64 0:3.44.0-1.el6_10          

Complete!

需要单独安装 pdk 包:

[root@rac1 app]# cd /soft
[root@rac1 soft]# ls
grid  oracle  soft
[root@rac1 soft]# cd soft
[root@rac1 soft]# ls
readline-6.2  readline-6.2.tar.gz  rlwrap-0.37  rlwrap-0.37.tar.gz
[root@rac1 soft]# rz

[root@rac1 soft]# ls
pdksh-5.2.14-37.el5_8.1.x86_64.rpm  readline-6.2  readline-6.2.tar.gz  rlwrap-0.37  rlwrap-0.37.tar.gz

[root@rac1 soft]# rpm -ivh --nodeps pdksh-5.2.14-37.el5_8.1.x86_64.rpm
warning: pdksh-5.2.14-37.el5_8.1.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY
Preparing...                ########################################### [100%]
   1:pdksh                  ########################################### [100%]

三、将 grid 安装包上传到节点 rac1

## 将 grid 软件和 oracle 软件分别上传到 /soft/grid 目录与 /soft/oracle 目录中
[root@rac1 grid]# cd /soft/grid
[root@rac1 grid]# ll
总用量 1177008
-rwxr-xr-x. 1 grid oinstall 1205251894 17 2020 p13390677_112040_Linux-x86-64_3of7.zip
[root@rac1 grid]#  
[root@rac1 grid]# cd /soft/oracle
[root@rac1 oracle]# ll
总用量 2487208
-rwxr-xr-x. 1 oracle oinstall 1395582860 17 2020 p13390677_112040_Linux-x86-64_1of7.zip
-rwxr-xr-x. 1 oracle oinstall 1151304589 17 2020 p13390677_112040_Linux-x86-64_2of7.zip

四、解压缩 grid 软件包

[root@rac1 oracle]# su - grid

[grid@rac1 ~]$ cd /soft/grid                                

[root@rac1 grid]# ls
grid  p13390677_112040_Linux-x86-64_3of7.zip

[grid@rac1 grid]$ unzip p13390677_112040_Linux-x86-64_3of7.zip 

[grid@rac1 grid]$ ls
grid  p13390677_112040_Linux-x86-64_3of7.zip

五、在节点 rac1 和 rac2 上安装 cvuqdisk-1.0.9-1.rpm 包

1、在节点 rac1 上执行以下命令
[grid@rac1 rpm]$ su - root
Password: 

[root@rac1 ~]# cd /soft/grid/grid/rpm

[root@rac1 rpm]# ls cvuqdisk-1.0.9-1.rpm
cvuqdisk-1.0.9-1.rpm

[root@rac1 rpm]# scp cvuqdisk-1.0.9-1.rpm grid@192.168.1.12:/soft/grid/

The authenticity of host '192.168.1.12 (192.168.1.12)' can't be established.
RSA key fingerprint is ee:d3:dc:c9:4a:c2:c5:38:68:3a:bb:9d:37:78:6a:8b.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.12' (RSA) to the list of known hosts.
grid@192.168.1.12's password: 
cvuqdisk-1.0.9-1.rpm                                                                                100% 8288     8.1KB/s   00:00    

[root@rac1 rpm]# yum install -y smartmontools
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package smartmontools.x86_64 1:5.43-3.el6 will be installed
--> Processing Dependency: mailx for package: 1:smartmontools-5.43-3.el6.x86_64
--> Running transaction check
---> Package mailx.x86_64 0:12.4-10.el6_10 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================
 Package                 Arch            Version             Repository              Size
==========================================================================================
Installing:
 smartmontools         x86_64         1:5.43-3.el6             base          512 k
Installing for dependencies:
 mailx                x86_64          12.4-10.el6_10           updates       235 k

Transaction Summary
==============================================================================================
Install       2 Package(s)

Total download size: 747 k
Installed size: 2.0 M
Downloading Packages:
(1/2): mailx-12.4-10.el6_10.x86_64.rpm                              | 235 kB     00:00     
(2/2): smartmontools-5.43-3.el6.x86_64.rpm                          | 512 kB     00:00     
-------------------------------------------------------------------------------------------
Total                                                                                                 801 kB/s | 747 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : mailx-12.4-10.el6_10.x86_64                                      1/2 
  Installing : 1:smartmontools-5.43-3.el6.x86_64                                2/2 
  Verifying  : 1:smartmontools-5.43-3.el6.x86_64                                1/2 
  Verifying  : mailx-12.4-10.el6_10.x86_64                                      2/2 

Installed:
  smartmontools.x86_64 1:5.43-3.el6                                                                                                   

Dependency Installed:
  mailx.x86_64 0:12.4-10.el6_10                                                                                                       

Complete!


[root@rac1 rpm]# pwd
/soft/grid/grid/rpm

[root@rac1 rpm]# rpm -ivh cvuqdisk-1.0.9-1.rpm

Preparing...                ########################################### [100%]
Using default group oinstall to install package
   1:cvuqdisk               ########################################### [100%]
2、在节点 rac2 上执行以下命令
[root@rac2 soft]# su - root
[root@rac2 ~]# cd /soft/grid
[root@rac2 grid]# ls
cvuqdisk-1.0.9-1.rpm

[root@rac2 grid]# yum install -y smartmontools

Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package smartmontools.x86_64 1:5.43-3.el6 will be installed
--> Processing Dependency: mailx for package: 1:smartmontools-5.43-3.el6.x86_64
--> Running transaction check
---> Package mailx.x86_64 0:12.4-10.el6_10 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================
 Package               Arch          Version         Repository           Size
============================================================================================
Installing:
 smartmontools         x86_64        1:5.43-3.el6        base             512 k
Installing for dependencies:
 mailx                x86_64         12.4-10.el6_10      updates          235 k

Transaction Summary
==============================================================================================
Install       2 Package(s)

Total download size: 747 k
Installed size: 2.0 M
Downloading Packages:
(1/2): mailx-12.4-10.el6_10.x86_64.rpm                                | 235 kB     00:00     
(2/2): smartmontools-5.43-3.el6.x86_64.rpm                            | 512 kB     00:00     
---------------------------------------------------------------------------------------------
Total                                                                                                 1.6 MB/s | 747 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : mailx-12.4-10.el6_10.x86_64                                      1/2 
  Installing : 1:smartmontools-5.43-3.el6.x86_64                                2/2 
  Verifying  : 1:smartmontools-5.43-3.el6.x86_64                                1/2 
  Verifying  : mailx-12.4-10.el6_10.x86_64                                      2/2 

Installed:
  smartmontools.x86_64 1:5.43-3.el6                                                                                                   

Dependency Installed:
  mailx.x86_64 0:12.4-10.el6_10                                                                                                       

Complete!

[root@rac2 grid]# pwd
/soft/grid
[root@rac2 grid]# ls
cvuqdisk-1.0.9-1.rpm
[root@rac2 grid]# rpm -ivh cvuqdisk-1.0.9-1.rpm
Preparing...                ########################################### [100%]
Using default group oinstall to install package
   1:cvuqdisk               ########################################### [100%]

六、分别在两个节点上执行以下命令

[root@rac1 ~]# cd /lib64

[root@rac1 lib64]# ls -lrt libcap*
-rwxr-xr-x. 1 root root 18672 625 2011 libcap-ng.so.0.0.0
-rwxr-xr-x. 1 root root 16600 128 2011 libcap.so.2.16
lrwxrwxrwx. 1 root root    14 45 05:53 libcap.so.2 -> libcap.so.2.16
lrwxrwxrwx. 1 root root    18 45 05:53 libcap-ng.so.0 -> libcap-ng.so.0.0.0

[root@rac1 lib64]# ls -lrt libcap.so.2
lrwxrwxrwx. 1 root root 14 45 05:53 libcap.so.2 -> libcap.so.2.16

[root@rac1 lib64]# ln -s libcap.so.2.16 libcap.so.1

[root@rac1 lib64]# ls -lrt libcap*
-rwxr-xr-x. 1 root root 18672 625 2011 libcap-ng.so.0.0.0
-rwxr-xr-x. 1 root root 16600 128 2011 libcap.so.2.16
lrwxrwxrwx. 1 root root    14 45 05:53 libcap.so.2 -> libcap.so.2.16
lrwxrwxrwx. 1 root root    18 45 05:53 libcap-ng.so.0 -> libcap-ng.so.0.0.0
lrwxrwxrwx  1 root root    14 46 09:55 libcap.so.1 -> libcap.so.2.16

七、校验集群安装的可行性

在节点 rac1 上执行以下命令:

[root@rac1 lib64]# su - grid

[grid@rac1 ~]$ cd /soft/grid

[grid@rac1 grid]$ cd grid

[grid@rac1 grid]$ ls
install  readme.html  response  rpm  runcluvfy.sh  runInstaller  sshsetup  stage  welcome.html


[grid@rac1 grid]$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -fixup -verbose

#################################################################
#######  检测失败,发现缺少 sysstat 安装包。
[grid@rac1 grid]$ su - root
Password: 
[root@rac1 ~]# yum install -y sysstat
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package sysstat.x86_64 0:9.0.4-33.el6_9.1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================================
 Package                       Arch                         Version                                  Repository                  Size
===============================================================================================
Installing:
 sysstat                       x86_64                       9.0.4-33.el6_9.1                         base                       234 k

Transaction Summary
================================================================================================
Install       1 Package(s)

Total download size: 234 k
Installed size: 826 k
Is this ok [y/N]: y
Downloading Packages:
sysstat-9.0.4-33.el6_9.1.x86_64.rpm                                  | 234 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : sysstat-9.0.4-33.el6_9.1.x86_64                                     1/1 
  Verifying  : sysstat-9.0.4-33.el6_9.1.x86_64                                     1/1 

Installed:
  sysstat.x86_64 0:9.0.4-33.el6_9.1                                                                                                   

Complete!

重新检测:

[root@rac1 ~]# su - grid

[grid@rac1 ~]$ cd /soft/grid/grid/

[grid@rac1 grid]$ ls
install  readme.html  response  rpm  runcluvfy.sh  runInstaller  sshsetup  stage  welcome.html

[grid@rac1 grid]$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -fixup -verbose



Performing pre-checks for cluster services setup 

Checking node reachability...

Check: Node reachability from node "rac1"
  Destination Node                      Reachable?              
  ------------------------------------  ------------------------
  rac2                                  yes                     
  rac1                                  yes                     
Result: Node reachability check passed from node "rac1"


Checking user equivalence...

Check: User equivalence for user "grid"
  Node Name                             Status                  
  ------------------------------------  ------------------------
  rac2                                  passed                  
  rac1                                  passed                  
Result: User equivalence check passed for user "grid"

Checking node connectivity...

Checking hosts config file...
  Node Name                             Status                  
  ------------------------------------  ------------------------
  rac2                                  passed                  
  rac1                                  passed                  

Verification of the hosts config file successful


Interface information for node "rac2"
 Name   IP Address      Subnet          Gateway         Def. Gateway    HW Address        MTU   
 ------ --------------- --------------- --------------- --------------- ----------------- ------
 eth0   192.168.1.12    192.168.1.0     0.0.0.0         192.168.1.1     00:0C:29:C3:70:1D 1500  
 eth1   10.1.0.12       10.1.0.0        0.0.0.0         192.168.1.1     00:0C:29:C3:70:27 1500  


Interface information for node "rac1"
 Name   IP Address      Subnet          Gateway         Def. Gateway    HW Address        MTU   
 ------ --------------- --------------- --------------- --------------- ----------------- ------
 eth0   192.168.1.11    192.168.1.0     0.0.0.0         192.168.1.1     00:0C:29:D0:1C:1B 1500  
 eth1   10.1.0.11       10.1.0.0        0.0.0.0         192.168.1.1     00:0C:29:D0:1C:25 1500  


Check: Node connectivity of subnet "192.168.1.0"
  Source                          Destination                     Connected?      
  ------------------------------  ------------------------------  ----------------
  rac2[192.168.1.12]              rac1[192.168.1.11]              yes             
Result: Node connectivity passed for subnet "192.168.1.0" with node(s) rac2,rac1


Check: TCP connectivity of subnet "192.168.1.0"
  Source                          Destination                     Connected?      
  ------------------------------  ------------------------------  ----------------
  rac1:192.168.1.11               rac2:192.168.1.12               passed          
Result: TCP connectivity check passed for subnet "192.168.1.0"


Check: Node connectivity of subnet "10.1.0.0"
  Source                          Destination                     Connected?      
  ------------------------------  ------------------------------  ----------------
  rac2[10.1.0.12]                 rac1[10.1.0.11]                 yes             
Result: Node connectivity passed for subnet "10.1.0.0" with node(s) rac2,rac1


Check: TCP connectivity of subnet "10.1.0.0"
  Source                          Destination                     Connected?      
  ------------------------------  ------------------------------  ----------------
  rac1:10.1.0.11                  rac2:10.1.0.12                  passed          
Result: TCP connectivity check passed for subnet "10.1.0.0"


Interfaces found on subnet "192.168.1.0" that are likely candidates for VIP are:
rac2 eth0:192.168.1.12
rac1 eth0:192.168.1.11

Interfaces found on subnet "10.1.0.0" that are likely candidates for a private interconnect are:
rac2 eth1:10.1.0.12
rac1 eth1:10.1.0.11
Checking subnet mask consistency...
Subnet mask consistency check passed for subnet "192.168.1.0".
Subnet mask consistency check passed for subnet "10.1.0.0".
Subnet mask consistency check passed.

Result: Node connectivity check passed

Checking multicast communication...

Checking subnet "192.168.1.0" for multicast communication with multicast group "230.0.1.0"...
Check of subnet "192.168.1.0" for multicast communication with multicast group "230.0.1.0" passed.

Checking subnet "10.1.0.0" for multicast communication with multicast group "230.0.1.0"...
Check of subnet "10.1.0.0" for multicast communication with multicast group "230.0.1.0" passed.

Check of multicast communication passed.

Checking ASMLib configuration.
  Node Name                             Status                  
  ------------------------------------  ------------------------
  rac2                                  passed                  
  rac1                                  passed                  
Result: Check for ASMLib configuration passed.

Check: Total memory 
  Node Name     Available                 Required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          1.8182GB (1906556.0KB)    1.5GB (1572864.0KB)       passed    
  rac1          1.8182GB (1906556.0KB)    1.5GB (1572864.0KB)       passed    
Result: Total memory check passed

Check: Available memory 
  Node Name     Available                 Required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          1.7115GB (1794600.0KB)    50MB (51200.0KB)          passed    
  rac1          1.6287GB (1707792.0KB)    50MB (51200.0KB)          passed    
Result: Available memory check passed

Check: Swap space 
  Node Name     Available                 Required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          4.1172GB (4317176.0KB)    2.7274GB (2859834.0KB)    passed    
  rac1          4.1172GB (4317176.0KB)    2.7274GB (2859834.0KB)    passed    
Result: Swap space check passed

Check: Free disk space for "rac2:/tmp" 
  Path              Node Name     Mount point   Available     Required      Status      
  ----------------  ------------  ------------  ------------  ------------  ------------
  /tmp              rac2          /             23.0918GB     1GB           passed      
Result: Free disk space check passed for "rac2:/tmp"

Check: Free disk space for "rac1:/tmp" 
  Path              Node Name     Mount point   Available     Required      Status      
  ----------------  ------------  ------------  ------------  ------------  ------------
  /tmp              rac1          /             18.1158GB     1GB           passed      
Result: Free disk space check passed for "rac1:/tmp"

Check: User existence for "grid" 
  Node Name     Status                    Comment                 
  ------------  ------------------------  ------------------------
  rac2          passed                    exists(502)             
  rac1          passed                    exists(502)             

Checking for multiple users with UID value 502
Result: Check for multiple users with UID value 502 passed 
Result: User existence check passed for "grid"

Check: Group existence for "oinstall" 
  Node Name     Status                    Comment                 
  ------------  ------------------------  ------------------------
  rac2          passed                    exists                  
  rac1          passed                    exists                  
Result: Group existence check passed for "oinstall"

Check: Group existence for "dba" 
  Node Name     Status                    Comment                 
  ------------  ------------------------  ------------------------
  rac2          passed                    exists                  
  rac1          passed                    exists                  
Result: Group existence check passed for "dba"

Check: Membership of user "grid" in group "oinstall" [as Primary]
  Node Name         User Exists   Group Exists  User in Group  Primary       Status      
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac2              yes           yes           yes           yes           passed      
  rac1              yes           yes           yes           yes           passed      
Result: Membership check for user "grid" in group "oinstall" [as Primary] passed

Check: Membership of user "grid" in group "dba" 
  Node Name         User Exists   Group Exists  User in Group  Status          
  ----------------  ------------  ------------  ------------  ----------------
  rac2              yes           yes           yes           passed          
  rac1              yes           yes           yes           passed          
Result: Membership check for user "grid" in group "dba" passed

Check: Run level 
  Node Name     run level                 Required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          3                         3,5                       passed    
  rac1          3                         3,5                       passed    
Result: Run level check passed

Check: Hard limits for "maximum open file descriptors" 
  Node Name         Type          Available     Required      Status          
  ----------------  ------------  ------------  ------------  ----------------
  rac2              hard          65536         65536         passed          
  rac1              hard          65536         65536         passed          
Result: Hard limits check passed for "maximum open file descriptors"

Check: Soft limits for "maximum open file descriptors" 
  Node Name         Type          Available     Required      Status          
  ----------------  ------------  ------------  ------------  ----------------
  rac2              soft          65536         1024          passed          
  rac1              soft          65536         1024          passed          
Result: Soft limits check passed for "maximum open file descriptors"

Check: Hard limits for "maximum user processes" 
  Node Name         Type          Available     Required      Status          
  ----------------  ------------  ------------  ------------  ----------------
  rac2              hard          16384         16384         passed          
  rac1              hard          16384         16384         passed          
Result: Hard limits check passed for "maximum user processes"

Check: Soft limits for "maximum user processes" 
  Node Name         Type          Available     Required      Status          
  ----------------  ------------  ------------  ------------  ----------------
  rac2              soft          16384         2047          passed          
  rac1              soft          16384         2047          passed          
Result: Soft limits check passed for "maximum user processes"

Check: System architecture 
  Node Name     Available                 Required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          x86_64                    x86_64                    passed    
  rac1          x86_64                    x86_64                    passed    
Result: System architecture check passed

Check: Kernel version 
  Node Name     Available                 Required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          2.6.32-431.el6.x86_64     2.6.9                     passed    
  rac1          2.6.32-431.el6.x86_64     2.6.9                     passed    
Result: Kernel version check passed

Check: Kernel parameter for "semmsl" 
  Node Name         Current       Configured    Required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac2              250           250           250           passed          
  rac1              250           250           250           passed          
Result: Kernel parameter check passed for "semmsl"

Check: Kernel parameter for "semmns" 
  Node Name         Current       Configured    Required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac2              32000         32000         32000         passed          
  rac1              32000         32000         32000         passed          
Result: Kernel parameter check passed for "semmns"

Check: Kernel parameter for "semopm" 
  Node Name         Current       Configured    Required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac2              100           100           100           passed          
  rac1              100           100           100           passed          
Result: Kernel parameter check passed for "semopm"

Check: Kernel parameter for "semmni" 
  Node Name         Current       Configured    Required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac2              128           128           128           passed          
  rac1              128           128           128           passed          
Result: Kernel parameter check passed for "semmni"

Check: Kernel parameter for "shmmax" 
  Node Name         Current       Configured    Required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac2              4294967296    4294967296    976156672     passed          
  rac1              4294967296    4294967296    976156672     passed          
Result: Kernel parameter check passed for "shmmax"

Check: Kernel parameter for "shmmni" 
  Node Name         Current       Configured    Required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac2              4096          4096          4096          passed          
  rac1              4096          4096          4096          passed          
Result: Kernel parameter check passed for "shmmni"

Check: Kernel parameter for "shmall" 
  Node Name         Current       Configured    Required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac2              2097152       2097152       2097152       passed          
  rac1              2097152       2097152       2097152       passed          
Result: Kernel parameter check passed for "shmall"

Check: Kernel parameter for "file-max" 
  Node Name         Current       Configured    Required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac2              6815744       6815744       6815744       passed          
  rac1              6815744       6815744       6815744       passed          
Result: Kernel parameter check passed for "file-max"

Check: Kernel parameter for "ip_local_port_range" 
  Node Name         Current       Configured    Required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac2              between 9000.0 & 65500.0  between 9000.0 & 65500.0  between 9000.0 & 65500.0  passed          
  rac1              between 9000.0 & 65500.0  between 9000.0 & 65500.0  between 9000.0 & 65500.0  passed          
Result: Kernel parameter check passed for "ip_local_port_range"

Check: Kernel parameter for "rmem_default" 
  Node Name         Current       Configured    Required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac2              262144        262144        262144        passed          
  rac1              262144        262144        262144        passed          
Result: Kernel parameter check passed for "rmem_default"

Check: Kernel parameter for "rmem_max" 
  Node Name         Current       Configured    Required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac2              4194304       4194304       4194304       passed          
  rac1              4194304       4194304       4194304       passed          
Result: Kernel parameter check passed for "rmem_max"

Check: Kernel parameter for "wmem_default" 
  Node Name         Current       Configured    Required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac2              262144        262144        262144        passed          
  rac1              262144        262144        262144        passed          
Result: Kernel parameter check passed for "wmem_default"

Check: Kernel parameter for "wmem_max" 
  Node Name         Current       Configured    Required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac2              1048576       1048576       1048576       passed          
  rac1              1048576       1048576       1048576       passed          
Result: Kernel parameter check passed for "wmem_max"

Check: Kernel parameter for "aio-max-nr" 
  Node Name         Current       Configured    Required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac2              1048576       1048576       1048576       passed          
  rac1              1048576       1048576       1048576       passed          
Result: Kernel parameter check passed for "aio-max-nr"

Check: Package existence for "make" 
  Node Name     Available                 Required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          make-3.81-20.el6          make-3.80                 passed    
  rac1          make-3.81-20.el6          make-3.80                 passed    
Result: Package existence check passed for "make"

Check: Package existence for "binutils" 
  Node Name     Available                 Required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          binutils-2.20.51.0.2-5.36.el6  binutils-2.15.92.0.2      passed    
  rac1          binutils-2.20.51.0.2-5.36.el6  binutils-2.15.92.0.2      passed    
Result: Package existence check passed for "binutils"

Check: Package existence for "gcc(x86_64)" 
  Node Name     Available                 Required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          gcc(x86_64)-4.4.7-23.el6  gcc(x86_64)-3.4.6         passed    
  rac1          gcc(x86_64)-4.4.7-23.el6  gcc(x86_64)-3.4.6         passed    
Result: Package existence check passed for "gcc(x86_64)"

Check: Package existence for "libaio(x86_64)" 
  Node Name     Available                 Required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          libaio(x86_64)-0.3.107-10.el6  libaio(x86_64)-0.3.105    passed    
  rac1          libaio(x86_64)-0.3.107-10.el6  libaio(x86_64)-0.3.105    passed    
Result: Package existence check passed for "libaio(x86_64)"

Check: Package existence for "glibc(x86_64)" 
  Node Name     Available                 Required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          glibc(x86_64)-2.12-1.212.el6_10.3  glibc(x86_64)-2.3.4-2.41  passed    
  rac1          glibc(x86_64)-2.12-1.212.el6_10.3  glibc(x86_64)-2.3.4-2.41  passed    
Result: Package existence check passed for "glibc(x86_64)"

Check: Package existence for "compat-libstdc++-33(x86_64)" 
  Node Name     Available                 Required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          compat-libstdc++-33(x86_64)-3.2.3-69.el6  compat-libstdc++-33(x86_64)-3.2.3  passed    
  rac1          compat-libstdc++-33(x86_64)-3.2.3-69.el6  compat-libstdc++-33(x86_64)-3.2.3  passed    
Result: Package existence check passed for "compat-libstdc++-33(x86_64)"

Check: Package existence for "elfutils-libelf(x86_64)" 
  Node Name     Available                 Required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          elfutils-libelf(x86_64)-0.164-2.el6  elfutils-libelf(x86_64)-0.97  passed    
  rac1          elfutils-libelf(x86_64)-0.164-2.el6  elfutils-libelf(x86_64)-0.97  passed    
Result: Package existence check passed for "elfutils-libelf(x86_64)"

Check: Package existence for "elfutils-libelf-devel" 
  Node Name     Available                 Required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          elfutils-libelf-devel-0.164-2.el6  elfutils-libelf-devel-0.97  passed    
  rac1          elfutils-libelf-devel-0.164-2.el6  elfutils-libelf-devel-0.97  passed    
Result: Package existence check passed for "elfutils-libelf-devel"

Check: Package existence for "glibc-common" 
  Node Name     Available                 Required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          glibc-common-2.12-1.212.el6_10.3  glibc-common-2.3.4        passed    
  rac1          glibc-common-2.12-1.212.el6_10.3  glibc-common-2.3.4        passed    
Result: Package existence check passed for "glibc-common"

Check: Package existence for "glibc-devel(x86_64)" 
  Node Name     Available                 Required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          glibc-devel(x86_64)-2.12-1.212.el6_10.3  glibc-devel(x86_64)-2.3.4  passed    
  rac1          glibc-devel(x86_64)-2.12-1.212.el6_10.3  glibc-devel(x86_64)-2.3.4  passed    
Result: Package existence check passed for "glibc-devel(x86_64)"

Check: Package existence for "glibc-headers" 
  Node Name     Available                 Required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          glibc-headers-2.12-1.212.el6_10.3  glibc-headers-2.3.4       passed    
  rac1          glibc-headers-2.12-1.212.el6_10.3  glibc-headers-2.3.4       passed    
Result: Package existence check passed for "glibc-headers"

Check: Package existence for "gcc-c++(x86_64)" 
  Node Name     Available                 Required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          gcc-c++(x86_64)-4.4.7-23.el6  gcc-c++(x86_64)-3.4.6     passed    
  rac1          gcc-c++(x86_64)-4.4.7-23.el6  gcc-c++(x86_64)-3.4.6     passed    
Result: Package existence check passed for "gcc-c++(x86_64)"

Check: Package existence for "libaio-devel(x86_64)" 
  Node Name     Available                 Required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          libaio-devel(x86_64)-0.3.107-10.el6  libaio-devel(x86_64)-0.3.105  passed    
  rac1          libaio-devel(x86_64)-0.3.107-10.el6  libaio-devel(x86_64)-0.3.105  passed    
Result: Package existence check passed for "libaio-devel(x86_64)"

Check: Package existence for "libgcc(x86_64)" 
  Node Name     Available                 Required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          libgcc(x86_64)-4.4.7-23.el6  libgcc(x86_64)-3.4.6      passed    
  rac1          libgcc(x86_64)-4.4.7-23.el6  libgcc(x86_64)-3.4.6      passed    
Result: Package existence check passed for "libgcc(x86_64)"

Check: Package existence for "libstdc++(x86_64)" 
  Node Name     Available                 Required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          libstdc++(x86_64)-4.4.7-23.el6  libstdc++(x86_64)-3.4.6   passed    
  rac1          libstdc++(x86_64)-4.4.7-23.el6  libstdc++(x86_64)-3.4.6   passed    
Result: Package existence check passed for "libstdc++(x86_64)"

Check: Package existence for "libstdc++-devel(x86_64)" 
  Node Name     Available                 Required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          libstdc++-devel(x86_64)-4.4.7-23.el6  libstdc++-devel(x86_64)-3.4.6  passed    
  rac1          libstdc++-devel(x86_64)-4.4.7-23.el6  libstdc++-devel(x86_64)-3.4.6  passed    
Result: Package existence check passed for "libstdc++-devel(x86_64)"

Check: Package existence for "sysstat" 
  Node Name     Available                 Required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          sysstat-9.0.4-33.el6_9.1  sysstat-5.0.5             passed    
  rac1          sysstat-9.0.4-33.el6_9.1  sysstat-5.0.5             passed    
Result: Package existence check passed for "sysstat"

Check: Package existence for "pdksh" 
  Node Name     Available                 Required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          pdksh-5.2.14-37.el5_8.1   pdksh-5.2.14              passed    
  rac1          pdksh-5.2.14-37.el5_8.1   pdksh-5.2.14              passed    
Result: Package existence check passed for "pdksh"

Check: Package existence for "expat(x86_64)" 
  Node Name     Available                 Required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          expat(x86_64)-2.0.1-11.el6_2  expat(x86_64)-1.95.7      passed    
  rac1          expat(x86_64)-2.0.1-11.el6_2  expat(x86_64)-1.95.7      passed    
Result: Package existence check passed for "expat(x86_64)"

Checking for multiple users with UID value 0
Result: Check for multiple users with UID value 0 passed 

Check: Current group ID 
Result: Current group ID check passed

Starting check for consistency of primary group of root user
  Node Name                             Status                  
  ------------------------------------  ------------------------
  rac2                                  passed                  
  rac1                                  passed                  

Check for consistency of root user's primary group passed

Starting Clock synchronization checks using Network Time Protocol(NTP)...

NTP Configuration file check started...
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 nodesNo NTP Daemons or Services were found to be running

Result: Clock synchronization check using Network Time Protocol(NTP) passed

Checking Core file name pattern consistency...
Core file name pattern consistency check passed.

Checking to make sure user "grid" is not in "root" group
  Node Name     Status                    Comment                 
  ------------  ------------------------  ------------------------
  rac2          passed                    does not exist          
  rac1          passed                    does not exist          
Result: User "grid" is not part of "root" group. Check passed

Check default user file creation mask
  Node Name     Available                 Required                  Comment   
  ------------  ------------------------  ------------------------  ----------
  rac2          0022                      0022                      passed    
  rac1          0022                      0022                      passed    
Result: Default user file creation mask check passed
Checking consistency of file "/etc/resolv.conf" across nodes

Checking the file "/etc/resolv.conf" to make sure only one of domain and search entries is defined
File "/etc/resolv.conf" does not have both domain and search entries defined
Checking if domain entry in file "/etc/resolv.conf" is consistent across the nodes...
domain entry in file "/etc/resolv.conf" is consistent across nodes
Checking if search entry in file "/etc/resolv.conf" is consistent across the nodes...
search entry in file "/etc/resolv.conf" is consistent across nodes
Checking file "/etc/resolv.conf" to make sure that only one search entry is defined
All nodes have one search entry defined in file "/etc/resolv.conf"
Checking all nodes to make sure that search entry is "oracle.com" as found on node "rac2"
All nodes of the cluster have same value for 'search'
Checking DNS response time for an unreachable node
  Node Name                             Status                  
  ------------------------------------  ------------------------
  rac2                                  passed                  
  rac1                                  passed                  
The DNS response time for an unreachable node is within acceptable limit on all nodes

File "/etc/resolv.conf" is consistent across nodes

Check: Time zone consistency 
Result: Time zone consistency check passed

Pre-check for cluster services setup was successful. 

检测成功!!!
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

睿思达DBA_WGX

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值