Oracle 11gR2 RAC 添加节点

Posted 工匠精神

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Oracle 11gR2 RAC 添加节点相关的知识,希望对你有一定的参考价值。

1. 概述

生产,测试数据库添加节点。

2. 安装前准备

1、首先,物理链路的准备。这过程包括对db3进行存储映射、心跳互联等物理环境的准备;

2、根据db1、db2的操作系统配置,安装、配置db3的操作系统;注意此处需要配置的操作系统内容较多。大致包括确认RAC需要的系统安装包、系统核心参数配置、ASMLIB的配置、/etc/hosts配置等等。详细可参考官方的安装指导手册。

3、根据db1、db2的操作系统组、用户的信息,在db3上创建相应的组、用户;创建对于的目录信息;注意:创建的组、用户,其ID要与db1、db2上的一致!

4、确保每个节点均配置ssh互信;

5、采用CVU,验证db3与db1、db2的连通性等。注意:以下操作指令在db1或者db2上执行:

2.1 创建用户和组

#/usr/sbin/groupadd -g 501 oinstall

#/usr/sbin/groupadd -g 502 dba

#/usr/sbin/groupadd -g 504 asmadmin

#/usr/sbin/groupadd -g 506 asmdba

#/usr/sbin/groupadd -g 507 asmoper

#/usr/sbin/useradd -u 501 -g oinstall -G asmadmin,asmdba,asmoper grid

#/usr/sbin/useradd -u 502 -g oinstall -G dba,asmdba oracle

Changing password for user oracle.

New UNIX password: password

retype new UNIX password: password

passwd: all authentication tokens updated successfully.

passwd grid

Changing password for user oracle.

New UNIX password: password

retype new UNIX password: password

passwd: all authentication tokens updated successfully.

备注:Oracle,grid 用户创建完成后,对照其他节点检查是否一样的。

2.2 配置时间服务器

节点1编辑ntp服务配置时间服务

service xinetd start

service ntpd start

chkconfig time on

chkconfig ntpd on

chkconfig xinetd on

其他节点操作,建立一个每分钟的同步

crontab -e

0-59/1 * * * * /usr/bin/rdate -s 192.168.8.177 >/dev/null 2>&1

0-59/1 * * * * /usr/sbin/ntpdate 192.168.8.177 >/dev/null 2>&1

2.3 网络配置

vi /etc/hosts

# Do not remove the following line, or various programs

# that require network functionality will fail.

127.0.0.1 localhost

--host ip

192.168.150.33 node1-11gr2

192.168.150.34 node2-11gr2

192.168.150.35 node3-11gr2

192.168.150.36 node4-11gr2

--host vip

192.168.150.133 node1-11gr2-vip

192.168.150.134 node2-11gr2-vip

192.168.150.136 node3-11gr2-vip

192.168.150.137 node4-11gr2-vip

--host priv ip

10.1.1.10 node1-11gr2-priv

10.1.1.11 node2-11gr2-priv

10.1.1.12 node3-11gr2-priv

10.1.1.13 node4-11gr2-priv

--cluster vip

192.168.150.135 scan-cluster

备注:根据其他节点参照配置

2.4 修改内核参数

vi /etc/sysctl.conf

kernel.shmmni = 4096

kernel.sem = 250 32000 100 128

fs.file-max = 512 x processes (for example 6815744 for 13312 processes)

net.ipv4.ip_local_port_range = 9000 65500

net.core.rmem_default = 262144

net.core.rmem_max = 4194304

net.core.wmem_default = 262144

net.core.wmem_max = 1048576

#/sbin/sysctl -p

备注:根据其他节点修改

2.5 Oracle用户配置

vi /etc/security/limits.conf

grid soft nproc 2047

grid hard nproc 16384

grid soft nofile 1024

grid hard nofile 65536

oracle soft nproc 2047

oracle hard nproc 16384

oracle soft nofile 1024

oracle hard nofile 65536

vi /etc/pam.d/login

session required pam_limits.so

vi /etc/profile

if [ $USER = "oracle" ] || [ $USER = "grid" ]; then

if [ $SHELL = "/bin/ksh" ]; then

ulimit -p 16384

ulimit -n 65536

else

ulimit -u 16384 -n 65536

fi

umask 022

fi

2.6 创建文件目录

--Create the Oracle Inventory Directory

To create the Oracle Inventory directory, enter the following commands as the root user:

# mkdir -p /u01/app/oraInventory

# chown -R grid:oinstall /u01/app/oraInventory

# chmod -R 775 /u01/app/oraInventory

--Creating the Oracle Grid Infrastructure Home Directory

To create the Grid Infrastructure home directory, enter the following commands as the root user:

# mkdir -p /u01/11.2.0/grid

# chown -R grid:oinstall /u01/11.2.0/grid

# chmod -R 775 /u01/11.2.0/grid

--Creating the Oracle Base Directory

To create the Oracle Base directory, enter the following commands as the root user:

# mkdir -p /u01/app/oracle

# mkdir /u01/app/oracle/cfgtoollogs

# chown -R oracle:oinstall /u01/app/oracle

# chmod -R 775 /u01/app/oracle

--Creating the Oracle RDBMS Home Directory

To create the Oracle RDBMS Home directory, enter the following commands as the root user:

# mkdir -p /u01/app/oracle/product/11.2.0/db_1

# chown -R oracle:oinstall /u01/app/oracle/product/11.2.0/db_1

# chmod -R 775 /u01/app/oracle/product/11.2.0/db_1

2.7 用户环境配置

--grid 用户

export EDITOR=vi

export ORACLE_SID=+ASM1

export ORACLE_BASE=/u01/app/oracle

export ORACLE_HOME=/u01/11.2.0/grid

export LD_LIBRARY_PATH=$ORACLE_HOME/lib

export PATH=$ORACLE_HOME/bin:$ORA_CRS_HOME/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin

export NLS_LANG="AMERICAN_AMERICA.ZHS16GBK"

umask 022

stty erase ^h

ulimit -s 32768

ulimit -n 65536

--Oracle用户

export EDITOR=vi

export ORACLE_SID=prod1

export ORACLE_BASE=/u01/app/oracle

export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1

export LD_LIBRARY_PATH=$ORACLE_HOME/lib

export PATH=$ORACLE_HOME/bin:/u01/11.2.0/grid/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin:/u01/11.2.0/grid/bin

export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK

umask 022

stty erase ^h

ulimit -s 32768

ulimit -n 65536

2.8 互信配置

--新加入节点node2 grid,oracle 用户配置

su - grid

$ mkdir ~/.ssh

$ chmod 700 ~/.ssh

$ /usr/bin/ssh-keygen -t rsa

$ /usr/bin/ssh-keygen -t dsa

$ touch ~/.ssh/authorized_keys

$ cd ~/.ssh

$ ls

su - oracle

$ mkdir ~/.ssh

$ chmod 700 ~/.ssh

$ /usr/bin/ssh-keygen -t rsa

$ /usr/bin/ssh-keygen -t dsa

$ touch ~/.ssh/authorized_keys

$ cd ~/.ssh

$ ls

--node2,oracle 用户(其中一个节点执行)

[oracle@node2 .ssh]$cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys

[oracle@node2 .ssh]$cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys

[oracle@node2 .ssh$ ssh node1 cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys

oracle@node2s password:

[oracle@node2 .ssh$ ssh node1 cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys

oracle@node2s password:

--node1,oracle 远程拷贝

[oracle@node2 .ssh]scp ~/.ssh/authorized_keys node1:~/.ssh/authorized_keys

--node1,node2

$ chmod 600 ~/.ssh/authorized_keys

ssh node1-11gr2 cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys

ssh node3-11gr2 cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys

ssh node4-11gr2 cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys

ssh node1-11gr2 cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys

ssh node3-11gr2 cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys

ssh node4-11gr2 cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys

scp ~/.ssh/authorized_keys node1-11gr2:~/.ssh/authorized_keys

scp ~/.ssh/authorized_keys node3-11gr2:~/.ssh/authorized_keys

scp ~/.ssh/authorized_keys node4-11gr2:~/.ssh/authorized_keys

--测试

ssh rac1 date

ssh rac2 date

ssh rac1-priv date

ssh rac2-priv date

ssh scan-cluster date

--执行脚本测试

ssh node1-11gr2-priv date;ssh node2-11gr2-priv date;ssh node3-11gr2-priv date;ssh node4-11gr2-priv date;ssh scan-cluster date

ssh node1-11gr2 date;ssh node2-11gr2 date;ssh node3-11gr2 date;ssh node4-11gr2 date;

2.9 OracleRPM包检查

32位系统rpm 包

libXp-1.0.0-8.i386.rpm

openmotif22-2.2.3-18.i386.rpm

compat-db-4.2.52-5.1.i386.rpm

compat-db42.i686 0:4.2.52-15.el6

compat-db43.i686 0:4.3.29-15.el6

kernel-headers-2.6.18-92.el5.i386.rpm

glibc-headers-2.5-24.i386.rpm

compat-gcc-34-3.4.6-4.i386.rpm

compat-gcc-34-c++-3.4.6-4.i386.rpm

compat-libstdc++-33-3.2.3-61.i386.rpm

libaio-0.3.106-3.2.i386.rpm

libgomp-4.1.2-42.el5.i386.rpm

gcc-4.1.2-42.el5.i386.rpm

binutils-2.15.92.0.2-22

64位系统 rpm 包

libXp-1.0.0-8.i386.rpm
openmotif22-2.2.3-18.i386.rpm
binutils-2.15.92.0.2-22  (x86_64)
compat-db-4.1.25-9  (i386)
compat-db-4.1.25-9  (x86_64)
compat-libstdc++-33-3.2.3-47.3.i386.rpm
control-center-2.8.0-12.rhel4.5  (x86_64)
kernel-headers-2.6.18-194.el5.x86_64.rpm
glibc-headers-2.5-49.x86_64.rpm
glibc-common-2.3.4-2.36  (x86_64)
glibc-devel-2.3.4-2.36  (x86_64)
glibc-devel-2.3.4-2.36  (i386)  
glibc-2.3.4-2.36  (i686)
glibc-2.3.4-2.36  (x86_64)
libstdc++-3.4.6-8  (i386)
libstdc++-3.4.6-8  (x86_64)
libstdc++-devel-4.1.2-48.el5.x86_64.rpm
make-3.81-3.el5.x86_64.rpm
pdksh-5.2.14-36.el5.x86_64.rpm
sysstat-7.0.2-3.el5.x86_64.rpm
libaio-0.3.105-2  (i386)
libgomp-4.1.2-42.el5.i386.rpm
gcc-4.1.2-48.el5  (x86_64)
gcc-c++-4.1.2-48.el5  (x86_64)
elfutils-libelf-devel-0.137-3.el5.x86_64
elfutils-libelf-devel-0.137-3.el5.i386
libaio-devel-0.3.106-5.i386
libaio-devel-0.3.106-5.x86_64
unixODBC.i386 0:2.2.11-10.el5
unixODBC-devel

yum安装

yum install binutils -y

yum install compat-libcap1 -y

yum install compat-libstdc++-33 -y

yum install compat-libstdc++-33.i686 -y

yum install gcc -y

yum install gcc-c++ -y

yum install glibc -y

yum install glibc.i686 -y

yum install glibc-devel -y

yum install glibc-devel.i686 -y

yum install ksh -y

yum install libgcc -y

yum install libgcc.i686 -y

yum install libstdc++ -y

yum install libstdc++.i686 -y

yum install libstdc++-devel -y

yum install libstdc++-devel.i686 -y

yum install libaio -y

yum install libaio.i686 -y

yum install libaio-devel -y

yum install libaio-devel.i686 -y

yum install libXext -y

yum install libXext.i686 -y

yum install libXtst -y

yum install libXtst.i686 -y

yum install libX11 -y

yum install libX11.i686 -y

yum install libXau -y

yum install libXau.i686 -y

yum install libxcb -y

yum install libxcb.i686 -y

yum install libXi -y

yum install libXi.i686 -y

yum install make -y

yum install sysstat -y

yum install unixODBC -y

yum install unixODBC-devel -y

安装脚本检查

rpm -q --qf \'%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\\n\' binutils \\

binutils \\

compat-libcap1 \\

compat-libstdc++-33 \\

gcc \\

gcc-c++ \\

glibc \\

glibc-common \\

glibc-devel \\

glibc-headers \\

ksh \\

libgcc \\

libaio \\

libaio-devel \\

libstdc++ \\

libstdc++-devel \\

libXext \\

libXtst \\

libX11 \\

libXau \\

libxcb \\

libXi \\

make \\

sysstat \\

elfutils-libelf \\

elfutils-libelf-devel \\

unixODBC \\

unixODBC-devel

--本地yun源配置

虚拟机挂着 ISO光盘

mount /dev/cdrom /mnt

修改yum源文件

[root@cafhxdb1 yum.repos.d]# cat my.repo

[c6-media]

name=CentOS-$releasever - Media

baseurl=file:///mnt/Server

gpgcheck=0

enabled=1

2.10 UDEV共享磁盘配置

[root@node1-11gr2 rules.d]# cat 99-oracle-asmdevices.rules

ACTION=="add", KERNEL=="/dev/sdb1",RUN+="/bin/raw /dev/raw/raw1 %N"

ACTION=="add", ENV{MAJOR}=="8",ENV{MINOR}=="17",RUN+="/bin/raw /dev/raw/raw1 %M %m"

ACTION=="add", KERNEL=="/dev/sdc1",RUN+="/bin/raw /dev/raw/raw2 %N"

ACTION=="add", ENV{MAJOR}=="8",ENV{MINOR}=="33",RUN+="/bin/raw /dev/raw/raw2 %M %m"

ACTION=="add", KERNEL=="/dev/sdd1",RUN+="/bin/raw /dev/raw/raw3 %N"

ACTION=="add", ENV{MAJOR}=="8",ENV{MINOR}=="49",RUN+="/bin/raw /dev/raw/raw3 %M %m"

ACTION=="add", KERNEL=="/dev/sde1",RUN+="/bin/raw /dev/raw/raw4 %N"

ACTION=="add", ENV{MAJOR}=="8",ENV{MINOR}=="65",RUN+="/bin/raw /dev/raw/raw4 %M %m"

ACTION=="add", KERNEL=="/dev/sdf1",RUN+="/bin/raw /dev/raw/raw5 %N"

ACTION=="add", ENV{MAJOR}=="8",ENV{MINOR}=="81",RUN+="/bin/raw /dev/raw/raw5 %M %m"

KERNEL=="raw[1-5]", OWNER="grid", GROUP="asmadmin", MODE="660"

在所有节点上启动udev服务,或者重启服务器即可

[root@node2-11gr2 rules.d]# /sbin/udevcontrol reload_rules

[root@rh2 rules.d]# /sbin/start_udev

Starting udev: [ OK ]

检查设备是否到位

[root@node2-11gr2 rules.d]# raw -qa

/dev/raw/raw1: bound to major 8, minor 17

/dev/raw/raw2: bound to major 8, minor 33

/dev/raw/raw3: bound to major 8, minor 49

/dev/raw/raw4: bound to major 8, minor 65

/dev/raw/raw5: bound to major 8, minor 81

[root@node2-11gr2 raw]# ls -lhtr

total 0

crw-rw---- 1 grid asmadmin 162, 1 Feb 16 14:07 raw1

crw-rw---- 1 grid asmadmin 162, 3 Feb 16 14:07 raw3

crw-rw---- 1 grid asmadmin 162, 4 Feb 16 14:07 raw4

crw-rw---- 1 grid asmadmin 162, 2 Feb 16 14:07 raw2

crw-rw---- 1 grid asmadmin 162, 5 Feb 16 14:07 raw5

[root@rh2 rules.d]# cd /dev

[root@rh2 dev]# ls -l ocr*

brw-rw---- 1 grid asmadmin 8, 32 Jul 10 17:31 ocr1

brw-rw---- 1 grid asmadmin 8, 48 Jul 10 17:31 ocr2

[root@rh2 dev]# ls -l asm-disk*

brw-rw---- 1 grid asmadmin 8, 64 Jul 10 17:31 asm-disk1

brw-rw---- 1 grid asmadmin 8, 208 Jul 10 17:31 asm-disk10

brw-rw---- 1 grid asmadmin 8, 224 Jul 10 17:31 asm-disk11

brw-rw---- 1 grid asmadmin 8, 240 Jul 10 17:31 asm-disk12

brw-rw---- 1 grid asmadmin 8, 80 Jul 10 17:31 asm-disk2

brw-rw---- 1 grid asmadmin 8, 96 Jul 10 17:31 asm-disk3

brw-rw---- 1 grid asmadmin 8, 112 Jul 10 17:31 asm-disk4

brw-rw---- 1 grid asmadmin 8, 128 Jul 10 17:31 asm-disk5

brw-rw---- 1 grid asmadmin 8, 144 Jul 10 17:31 asm-disk6

brw-rw---- 1 grid asmadmin 8, 160 Jul 10 17:31 asm-disk7

brw-rw---- 1 grid asmadmin 8, 176 Jul 10 17:31 asm-disk8

brw-rw---- 1 grid asmadmin 8, 192 Jul 10 17:31 asm-disk9

2.11 安装检查

--node1 grid 用户执行每个节点执行

[grid@node1-11gr2 ~]$ cluvfy stage -post hwos -n node2-11gr2 -verbose

--备注 node3 需要 安装 以下工具

[root@node3-11gr2 grid]# rpm -ivh cvuqdisk-1.0.9-1.rpm

Preparing... ########################################### [100%]

Using default group oinstall to install package

1:cvuqdisk ########################################### [100%]

当然,还可以通过以下命令将db3与db1、db2的系统配置进行比较。一致的,显示为“matched”、不一致的显示为“mismatched”

--安装检查脚本

cluvfy comp peer -refnode node1-11gr2 -n node2-11gr2 -orainv oinstall -osdba asmdba -verbose

cluvfy stage -pre nodeadd -n node2-11gr2 -fixup -verbose

cluvfy stage -post hwos -n node2-11gr2 -verbose

检查执行结果,以节点1 检查结果为例

[grid@node1-11gr2 ~]$ cluvfy stage -post hwos -n node2-11gr2 -verbose

Performing post-checks for hardware and operating system setup

Checking node reachability...

Check: Node reachability from node "node1-11gr2"

Destination Node Reachable?

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

node2-11gr2 yes

Result: Node reachability check passed from node "node1-11gr2"

Checking user equivalence...

Check: User equivalence for user "grid"

Node Name Status

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

node2-11gr2 passed

Result: User equivalence check passed for user "grid"

Checking node connectivity...

Checking hosts config file...

Node Name Status

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

node2-11gr2 passed

Verification of the hosts config file successful

Interface information for node "node2-11gr2"

Name IP Address Subnet Gateway Def. Gateway HW Address MTU

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

eth0 192.168.150.34 192.168.150.0 0.0.0.0 192.168.150.254 00:0C:29:05:36:7F 1500

eth1 10.1.1.11 10.0.0.0 0.0.0.0 192.168.150.254 00:0C:29:05:36:89 1500

Check: Node connectivity for interface "eth0"

Result: Node connectivity passed for interface "eth0"

Check: TCP connectivity of subnet "192.168.150.0"

Source Destination Connected?

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

node1-11gr2:192.168.150.33 node2-11gr2:192.168.150.34 passed

Result: TCP connectivity check passed for subnet "192.168.150.0"

Check: Node connectivity for interface "eth1"

Result: Node connectivity passed for interface "eth1"

Check: TCP connectivity of subnet "10.0.0.0"

Source Destination Connected?

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

node1-11gr2:192.168.150.33 node2-11gr2:10.1.1.11 passed

Result: TCP connectivity check passed for subnet "10.0.0.0"

Result: Node connectivity check passed

Checking multicast communication...

Checking subnet "192.168.150.0" for multicast communication with multicast group "230.0.1.0"...

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

Checking subnet "10.0.0.0" for multicast communication with multicast group "230.0.1.0"...

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

Check of multicast communication passed.

Checking for multiple users with UID value 0

Result: Check for multiple users with UID value 0 passed

Check: Time zone consistency

Result: Time zone consistency check passed

Checking shared storage accessibility...

Disk Sharing Nodes (1 in count)

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

/dev/sda node2-11gr2

/dev/sdb node2-11gr2

/dev/sdc node2-11gr2

/dev/sde node2-11gr2

/dev/sdd node2-11gr2

/dev/sdf node2-11gr2

/dev/sdg node2-11gr2

/dev/sdh node2-11gr2

Shared storage check was successful on nodes "node2-11gr2"

Checking integrity of name service switch configuration file "/etc/nsswitch.conf" ...

Checking if "hosts" entry in file "/etc/nsswitch.conf" is consistent across nodes...

Checking file "/etc/nsswitch.conf" to make sure that only one "hosts" entry is defined

More than one "hosts" entry does not exist in any "/etc/nsswitch.conf" file

Check for integrity of name service switch configuration file "/etc/nsswitch.conf" passed

Post-check for hardware and operating system setup was successful.

[grid@node1-11gr2 ~]$ cluvfy comp peer -refnode node1-11gr2 -n node2-11gr2 -orainv oinstall -osdba asmdba -verbose

Verifying peer compatibility

Checking peer compatibility...

Compatibility check: Physical memory [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 1.9521GB (2046916.0KB) 1.9521GB (2046916.0KB) matched

Physical memory check passed

Compatibility check: Available memory [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 1.7782GB (1864620.0KB) 711.3242MB (728396.0KB) mismatched

Available memory check failed

Compatibility check: Swap space [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 7.9974GB (8385920.0KB) 7.9974GB (8385920.0KB) matched

Swap space check passed

Compatibility check: Free disk space for "/u01/11.2.0/grid" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 35.1064GB (3.6811776E7KB) 13.1348GB (1.37728E7KB) mismatched

Free disk space check failed

Compatibility check: Free disk space for "/tmp" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 35.1064GB (3.6811776E7KB) 13.1348GB (1.37728E7KB) mismatched

Free disk space check failed

Compatibility check: User existence for "grid" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 grid(501) grid(501) matched

User existence for "grid" check passed

Compatibility check: Group existence for "oinstall" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 oinstall(501) oinstall(501) matched

Group existence for "oinstall" check passed

Compatibility check: Group existence for "asmdba" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 asmdba(506) asmdba(506) matched

Group existence for "asmdba" check passed

Compatibility check: Group membership for "grid" in "oinstall (Primary)" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 yes yes matched

Group membership for "grid" in "oinstall (Primary)" check passed

Compatibility check: Group membership for "grid" in "asmdba" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 yes yes matched

Group membership for "grid" in "asmdba" check passed

Compatibility check: Run level [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 5 5 matched

Run level check passed

Compatibility check: System architecture [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 x86_64 x86_64 matched

System architecture check passed

Compatibility check: Kernel version [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 2.6.32-300.10.1.el5uek 2.6.32-300.10.1.el5uek matched

Kernel version check passed

Compatibility check: Kernel param "semmsl" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 250 250 matched

Kernel param "semmsl" check passed

Compatibility check: Kernel param "semmns" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 32000 32000 matched

Kernel param "semmns" check passed

Compatibility check: Kernel param "semopm" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 100 100 matched

Kernel param "semopm" check passed

Compatibility check: Kernel param "semmni" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 128 128 matched

Kernel param "semmni" check passed

Compatibility check: Kernel param "shmmax" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 68719476736 68719476736 matched

Kernel param "shmmax" check passed

Compatibility check: Kernel param "shmmni" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 4096 4096 matched

Kernel param "shmmni" check passed

Compatibility check: Kernel param "shmall" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 4294967296 4294967296 matched

Kernel param "shmall" check passed

Compatibility check: Kernel param "file-max" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 6815744 6815744 matched

Kernel param "file-max" check passed

Compatibility check: Kernel param "ip_local_port_range" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 between 9000.0 & 65500.0 between 9000.0 & 65500.0 matched

Kernel param "ip_local_port_range" check passed

Compatibility check: Kernel param "rmem_default" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 262144 262144 matched

Kernel param "rmem_default" check passed

Compatibility check: Kernel param "rmem_max" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 4194304 4194304 matched

Kernel param "rmem_max" check passed

Compatibility check: Kernel param "wmem_default" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 262144 262144 matched

Kernel param "wmem_default" check passed

Compatibility check: Kernel param "wmem_max" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 1048576 1048576 matched

Kernel param "wmem_max" check passed

Compatibility check: Kernel param "aio-max-nr" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 1048576 1048576 matched

Kernel param "aio-max-nr" check passed

Compatibility check: Package existence for "make" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 make-3.81-3.el5 make-3.81-3.el5 matched

Package existence for "make" check passed

Compatibility check: Package existence for "binutils" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 binutils-2.17.50.0.6-20.el5 binutils-2.17.50.0.6-20.el5 matched

Package existence for "binutils" check passed

Compatibility check: Package existence for "gcc (x86_64)" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 gcc-4.1.2-52.el5 (x86_64) gcc-4.1.2-52.el5 (x86_64) matched

Package existence for "gcc (x86_64)" check passed

Compatibility check: Package existence for "libaio (x86_64)" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 libaio-0.3.106-5 (x86_64),libaio-0.3.106-5 (i386) libaio-0.3.106-5 (x86_64),libaio-0.3.106-5 (i386) matched

Package existence for "libaio (x86_64)" check passed

Compatibility check: Package existence for "glibc (x86_64)" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 glibc-2.5-81 (x86_64),glibc-2.5-81 (i686) glibc-2.5-81 (x86_64),glibc-2.5-81 (i686) matched

Package existence for "glibc (x86_64)" check passed

Compatibility check: Package existence for "compat-libstdc++-33 (x86_64)" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 compat-libstdc++-33-3.2.3-61 (x86_64),compat-libstdc++-33-3.2.3-61 (i386) compat-libstdc++-33-3.2.3-61 (x86_64),compat-libstdc++-33-3.2.3-61 (i386) matched

Package existence for "compat-libstdc++-33 (x86_64)" check passed

Compatibility check: Package existence for "elfutils-libelf (x86_64)" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 elfutils-libelf-0.137-3.el5 (x86_64),elfutils-libelf-0.137-3.el5 (i386) elfutils-libelf-0.137-3.el5 (x86_64),elfutils-libelf-0.137-3.el5 (i386) matched

Package existence for "elfutils-libelf (x86_64)" check passed

Compatibility check: Package existence for "elfutils-libelf-devel" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 elfutils-libelf-devel-0.137-3.el5 elfutils-libelf-devel-0.137-3.el5 matched

Package existence for "elfutils-libelf-devel" check passed

Compatibility check: Package existence for "glibc-common" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 glibc-common-2.5-81 glibc-common-2.5-81 matched

Package existence for "glibc-common" check passed

Compatibility check: Package existence for "glibc-devel (x86_64)" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 glibc-devel-2.5-81 (x86_64),glibc-devel-2.5-81 (i386) glibc-devel-2.5-81 (x86_64),glibc-devel-2.5-81 (i386) matched

Package existence for "glibc-devel (x86_64)" check passed

Compatibility check: Package existence for "glibc-headers" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 glibc-headers-2.5-81 glibc-headers-2.5-81 matched

Package existence for "glibc-headers" check passed

Compatibility check: Package existence for "gcc-c++ (x86_64)" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 gcc-c++-4.1.2-52.el5 (x86_64) gcc-c++-4.1.2-52.el5 (x86_64) matched

Package existence for "gcc-c++ (x86_64)" check passed

Compatibility check: Package existence for "libaio-devel (x86_64)" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 libaio-devel-0.3.106-5 (i386),libaio-devel-0.3.106-5 (x86_64) libaio-devel-0.3.106-5 (i386),libaio-devel-0.3.106-5 (x86_64) matched

Package existence for "libaio-devel (x86_64)" check passed

Compatibility check: Package existence for "libgcc (x86_64)" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 libgcc-4.1.2-52.el5 (x86_64),libgcc-4.1.2-52.el5 (i386) libgcc-4.1.2-52.el5 (x86_64),libgcc-4.1.2-52.el5 (i386) matched

Package existence for "libgcc (x86_64)" check passed

Compatibility check: Package existence for "libstdc++ (x86_64)" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 libstdc++-4.1.2-52.el5 (x86_64),libstdc++-4.1.2-52.el5 (i386) libstdc++-4.1.2-52.el5 (x86_64),libstdc++-4.1.2-52.el5 (i386) matched

Package existence for "libstdc++ (x86_64)" check passed

Compatibility check: Package existence for "libstdc++-devel (x86_64)" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 libstdc++-devel-4.1.2-52.el5 (x86_64) libstdc++-devel-4.1.2-52.el5 (x86_64) matched

Package existence for "libstdc++-devel (x86_64)" check passed

Compatibility check: Package existence for "sysstat" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 sysstat-7.0.2-11.el5 sysstat-7.0.2-11.el5 matched

Package existence for "sysstat" check passed

Compatibility check: Package existence for "ksh" [reference node: node1-11gr2]

Node Name Status Ref. node status Comment

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

node2-11gr2 ksh-20100621-5.el5 ksh-20100621-5.el5 matched

Package existence for "ksh" check passed

Verification of peer compatibility was unsuccessful.

Checks did not pass for the following node(s):

node2-11gr2

[grid@node1-11gr2 ~]$ cluvfy stage -pre nodeadd -n node2-11gr2 -fixup -verbose

CRS integrity check passed

Checking shared resources...

Checking CRS home location...

PRVG-1013 : The path "/u01/11.2.0/grid" does not exist or cannot be created on the nodes to be added

Result: Shared resources check for node addition failed

Checking node connectivity...

Checking hosts config file...

Node Name Status

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

node1-11gr2 passed

node2-11gr2 passed

node3-11gr2 passed

node4-11gr2 passed

Verification of the hosts config file successful

Interface information for node "node1-11gr2"

Name IP Address Subnet Gateway Def. Gateway HW Address MTU

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

eth0 192.168.150.33 192.168.150.0 0.0.0.0 192.168.150.254 00:0C:29:07:E6:BF 1500

eth0 192.168.150.135 192.168.150.0 0.0.0.0 192.168.150.254 00:0C:29:07:E6:BF 1500

eth0 192.168.150.133 192.168.150.0 0.0.0.0 192.168.150.254 00:0C:29:07:E6:BF 1500

eth1 10.1.1.10 10.0.0.0 0.0.0.0 192.168.150.254 00:0C:29:07:E6:C9 1500

eth1 169.254.25.123 169.254.0.0 0.0.0.0 192.168.150.254 00:0C:29:07:E6:C9 1500

Interface information for node "node2-11gr2"

Name IP Address Subnet Gateway Def. Gateway HW Address MTU

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

eth0 192.168.150.34 192.168.150.0 0.0.0.0 192.168.150.254 00:0C:29:05:36:7F 1500

eth1 10.1.1.11 10.0.0.0 0.0.0.0 192.168.150.254 00:0C:29:05:36:89 1500

Interface information for node "node3-11gr2"

Name IP Address Subnet Gateway Def. Gateway HW Address MTU

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

eth0 192.168.150.35 192.168.150.0 0.0.0.0 192.168.150.254 00:0C:29:86:50:14 1500

eth0 192.168.150.136 192.168.150.0 0.0.0.0 192.168.150.254 00:0C:29:86:50:14 1500

eth1 10.1.1.12 10.0.0.0 0.0.0.0 192.168.150.254 00:0C:29:86:50:1E 1500

eth1 169.254.115.161 169.254.0.0 0.0.0.0 192.168.150.254 00:0C:29:86:50:1E 1500

Interface information for node "node4-11gr2"

Name IP Address Subnet Gateway Def. Gateway HW Address MTU

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

eth0 192.168.150.36 192.168.150.0 0.0.0.0 192.168.150.254 00:0C:29:B5:C9:F6 1500

eth0 192.168.150.137 192.168.150.0 0.0.0.0 192.168.150.254 00:0C:29:B5:C9:F6 1500

eth1 10.1.1.13 10.0.0.0 0.0.0.0 192.168.150.254 00:0C:29:B5:C9:00 1500

eth1 169.254.18.246 169.254.0.0 0.0.0.0 192.168.150.254 00:0C:29:B5:C9:00 1500

Check: Node connectivity for interface "eth0"

Source Destination Connected?

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

node1-11gr2[192.168.150.33] node1-11gr2[192.168.150.135] yes

node1-11gr2[192.168.150.33] node1-11gr2[192.168.150.133] yes

node1-11gr2[192.168.150.33] node2-11gr2[192.168.150.34] yes

node1-11gr2[192.168.150.33] node3-11gr2[192.168.150.35] yes

node1-11gr2[192.168.150.33] node3-11gr2[192.168.150.136] yes

node1-11gr2[192.168.150.33] node4-11gr2[192.168.150.36] yes

node1-11gr2[192.168.150.33] node4-11gr2[192.168.150.137] yes

node1-11gr2[192.168.150.135] node1-11gr2[192.168.150.133] yes

node1-11gr2[192.168.150.135] node2-11gr2[192.168.150.34] yes

node1-11gr2[192.168.150.135] node3-11gr2[192.168.150.35] yes

node1-11gr2[192.168.150.135] node3-11gr2[192.168.150.136] yes

node1-11gr2[192.168.150.135] node4-11gr2[192.168.150.36] yes

node1-11gr2[192.168.150.135] node4-11gr2[192.168.150.137] yes

node1-11gr2[192.168.150.133] node2-11gr2[192.168.150.34] yes

node1-11gr2[192.168.150.133] node3-11gr2[192.168.150.35] yes

node1-11gr2[192.168.150.133] node3-11gr2[192.168.150.136] yes

node1-11gr2[192.168.150.133] node4-11gr2[192.168.150.36] yes

node1-11gr2[192.168.150.133] node4-11gr2[192.168.150.137] yes

node2-11gr2[192.168.150.34] node3-11gr2[192.168.150.35] yes

node2-11gr2[192.168.150.34] node3-11gr2[192.168.150.136] yes

node2-11gr2[192.168.150.34] node4-11gr2[192.168.150.36] yes

node2-11gr2[192.168.150.34] node4-11gr2[192.168.150.137] yes

node3-11gr2[192.168.150.35] node3-11gr2[192.168.150.136] yes

node3-11gr2[192.168.150.35] node4-11gr2[192.168.150.36] yes

node3-11gr2[192.168.150.35] node4-11gr2[192.168.150.137] yes

node3-11gr2[192.168.150.136] node4-11gr2[192.168.150.36] yes

node3-11gr2[192.168.150.136] node4-11gr2[192.168.150.137] yes

node4-11gr2[192.168.150.36] node4-11gr2[192.168.150.137] yes

Result: Node connectivity passed for interface "eth0"

Check: TCP connectivity of subnet "192.168.150.0"

Source Destination Connected?

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

node1-11gr2:192.168.150.33 node1-11gr2:192.168.150.135 passed

node1-11gr2:192.168.150.33 node1-11gr2:192.168.150.133 passed

node1-11gr2:192.168.150.33 node2-11gr2:192.168.150.34 passed

node1-11gr2:192.168.150.33 node3-11gr2:192.168.150.35 passed

node1-11gr2:192.168.150.33 node3-11gr2:192.168.150.136 passed

node1-11gr2:192.168.150.33 node4-11gr2:192.168.150.36 passed

node1-11gr2:192.168.150.33 node4-11gr2:192.168.150.137 passed

Result: TCP connectivity check passed for subnet "192.168.150.0"

Check: Node connectivity for interface "eth1"

Source Destination Connected?

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

node1-11gr2[10.1.1.10] node2-11gr2[10.1.1.11] yes

node1-11gr2[10.1.1.10] node3-11gr2[10.1.1.12] yes

node1-11gr2[10.1.1.10] node4-11gr2[10.1.1.13] yes

node2-11gr2[10.1.1.11] node3-11gr2[10.1.1.12] yes

node2-11gr2[10.1.1.11] node4-11gr2[10.1.1.13] yes

node3-11gr2[10.1.1.12] node4-11gr2[10.1.1.13] yes

Result: Node connectivity passed for interface "eth1"

Check: TCP connectivity of subnet "10.0.0.0"

Source Destination Connected?

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

node1-11gr2:10.1.1.10 node2-11gr2:10.1.1.11 passed

node1-11gr2:10.1.1.10 node3-11gr2:10.1.1.12 passed

node1-11gr2:10.1.1.10 node4-11gr2:10.1.1.13 passed

Result: TCP connectivity check passed for subnet "10.0.0.0"

Checking subnet mask consistency...

Subnet mask consistency check passed for subnet "192.168.150.0".

Subnet mask consistency check passed for subnet "10.0.0.0".

Subnet mask consistency check passed.

Result: Node connectivity check passed

Checking multicast communication...

Checking subnet "192.168.150.0" for multicast communication with multicast group "230.0.1.0"...

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

Checking subnet "10.0.0.0" for multicast communication with multicast group "230.0.1.0"...

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

Check of multicast communication passed.

Check: Total memory

Node Name Available Required Status

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

node1-11gr2 1.9521GB (2046916.0KB) 1.5GB (1572864.0KB) passed

node2-11gr2 1.9521GB (2046916.0KB) 1.5GB (1572864.0KB) passed

Result: Total memory check passed

Check: Available memory

Node Name Available Required Status

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

node1-11gr2 671.4023MB (687516.0KB) 50MB (51200.0KB) passed

node2-11gr2 1.6711GB (1752280.0KB) 50MB (51200.0KB) passed

Result: Available memory check passed

Check: Swap space

Node Name Available Required Status

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

node1-11gr2 7.9974GB (8385920.0KB) 2.9281GB (3070374.0KB) passed

node2-11gr2 7.9974GB (8385920.0KB) 2.9281GB (3070374.0KB) passed

Result: Swap space check passed

Check: Free disk space for "node1-11gr2:/u01/11.2.0/grid,node1-11gr2:/tmp"

Path Node Name Mount point Available Required Status

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

/u01/11.2.0/grid node1-11gr2 / 13.123GB 7.5GB passed

/tmp node1-11gr2 / 13.123GB 7.5GB passed

Result: Free disk space check passed for "node1-11gr2:/u01/11.2.0/grid,node1-11gr2:/tmp"

Check: Free disk space for "node2-11gr2:/u01/11.2.0/grid,node2-11gr2:/tmp"

Path Node Name Mount point Available Required Status

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

/u01/11.2.0/grid node2-11gr2 / 35.1113GB 7.5GB passed

/tmp node2-11gr2 / 35.1113GB 7.5GB passed

Result: Free disk space check passed for "node2-11gr2:/u01/11.2.0/grid,node2-11gr2:/tmp"

Check: User existence for "grid"

Node Name Status Comment

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

node1-11gr2 passed exists(501)

node2-11gr2 passed exists(501)

Checking for multiple users with UID value 501

Result: Check for multiple users with UID value 501 passed

Result: User existence check passed for "grid"

Check: Run level

Node Name run level Required Status

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

node1-11gr2 5 3,5 passed

node2-11gr2 5 3,5 passed

Result: Run level check passed

Check: Hard limits for "maximum open file descriptors"

Node Name Type Available Required Status

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

node1-11gr2 hard 65536 65536 passed

node2-11gr2 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

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

node1-11gr2 soft 1024 1024 passed

node2-11gr2 soft 1024 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

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

node1-11gr2 hard 16384 16384 passed

node2-11gr2 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

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

node1-11gr2 soft 2047 2047 passed

node2-11gr2 soft 2047 2047 passed

Result: Soft limits check passed for "maximum user processes"

Check: System architecture

Node Name Available Required Status

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

node1-11gr2 x86_64 x86_64 passed

node2-11gr2 x86_64 x86_64 passed

Result: System architecture check passed

Check: Kernel version

Node Name Available Required Status

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

node1-11gr2 2.6.32-300.10.1.el5uek 2.6.18 passed

node2-11gr2 2.6.32-300.10.1.el5uek 2.6.18 passed

Result: Kernel version check passed

Check: Kernel parameter for "semmsl"

Node Name Current Configured Required Status Comment

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

node1-11gr2 250 250 250 passed

node2-11gr2 250 250 250 passed

Result: Kernel parameter check passed for "semmsl"

Check: Kernel parameter for "semmns"

Node Name Current Configured Required Status Comment

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

node1-11gr2 32000 32000 32000 passed

node2-11gr2 32000 32000 32000 passed

Result: Kernel parameter check passed for "semmns"

Check: Kernel parameter for "semopm"

Node Name Current Configured Required Status Comment

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

node1-11gr2 100 100 100 passed

node2-11gr2 100 100 100 passed

Result: Kernel parameter check passed for "semopm"

Check: Kernel parameter for "semmni"

Node Name Current Configured Required Status Comment

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

node1-11gr2 128 128 128 passed

node2-11gr2 128 128 128 passed

Result: Kernel parameter check passed for "semmni"

Check: Kernel parameter for "shmmax"

Node Name Current Configured Required Status Comment

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

node1-11gr2 68719476736 68719476736 1048020992 passed

node2-11gr2 68719476736 68719476736 1048020992 passed

Result: Kernel parameter check passed for "shmmax"

Check: Kernel parameter for "shmmni"

Node Name Current Configured Required Status Comment

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

node1-11gr2 4096 4096 4096 passed

node2-11gr2 4096 4096 4096 passed

Result: Kernel parameter check passed for "shmmni"

Check: Kernel parameter for "shmall"

Node Name Current Configured Required Status Comment

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

node1-11gr2 4294967296 4294967296 2097152 passed

node2-11gr2 4294967296 4294967296 2097152 passed

Result: Kernel parameter check passed for "shmall"

Check: Kernel parameter for "file-max"

Node Name Current Configured Required Status Comment

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

node1-11gr2 6815744 6815744 6815744 passed

node2-11gr2 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

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

node1-11gr2 between 9000.0 & 65500.0 between 9000.0 & 65500.0 between 9000.0 & 65500.0 passed

node2-11gr2 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

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

node1-11gr2 262144 262144 262144 passed

node2-11gr2 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

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

node1-11gr2 4194304 4194304 4194304 passed

node2-11gr2 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

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

node1-11gr2 262144 262144 262144 passed

node2-11gr2 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

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

node1-11gr2 1048576 1048576 1048576 passed

node2-11gr2 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

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

node1-11gr2 1048576 1048576 1048576 passed

node2-11gr2 1048576 1048576 1048576 passed

Result: Kernel parameter check passed for "aio-max-nr"

Check: Package existence for "make"

Node Name Available Required Status

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

node1-11gr2 make-3.81-3.el5 make-3.81 passed

node2-11gr2 make-3.81-3.el5 make-3.81 passed

Result: Package existence check passed for "make"

Check: Package existence for "binutils"

Node Name Available Required Status

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

node1-11gr2 binutils-2.17.50.0.6-20.el5 binutils-2.17.50.0.6 passed

node2-11gr2 binutils-2.17.50.0.6-20.el5 binutils-2.17.50.0.6 passed

Result: Package existence check passed for "binutils"

Check: Package existence for "gcc(x86_64)"

Node Name Available Required Status

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

node1-11gr2 gcc(x86_64)-4.1.2-52.el5 gcc(x86_64)-4.1.2 passed

node2-11gr2 gcc(x86_64)-4.1.2-52.el5 gcc(x86_64)-4.1.2 passed

Result: Package existence check passed for "gcc(x86_64)"

Check: Package existence for "libaio(x86_64)"

Node Name Available Required Status

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

node1-11gr2 libaio(x86_64)-0.3.106-5 libaio(x86_64)-0.3.106 passed

node2-11gr2 libaio(x86_64)-0.3.106-5 libaio(x86_64)-0.3.106 passed

Result: Package existence check passed for "libaio(x86_64)"

Check: Package existence for "glibc(x86_64)"

Node Name Available Required Status

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

node1-11gr2 glibc(x86_64)-2.5-81 glibc(x86_64)-2.5-24 passed

node2-11gr2 glibc(x86_64)-2.5-81 glibc(x86_64)-2.5-24 passed

Result: Package existence check passed for "glibc(x86_64)"

Check: Package existence for "compat-libstdc++-33(x86_64)"

Node Name Available Required Status

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

node1-11gr2 compat-libstdc++-33(x86_64)-3.2.3-61 compat-libstdc++-33(x86_64)-3.2.3 passed

node2-11gr2 compat-libstdc++-33(x86_64)-3.2.3-61 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

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

node1-11gr2 elfutils-libelf(x86_64)-0.137-3.el5 elfutils-libelf(x86_64)-0.125 passed

node2-11gr2 elfutils-libelf(x86_64)-0.137-3.el5 elfutils-libelf(x86_64)-0.125 passed

Result: Package existence check passed for "elfutils-libelf(x86_64)"

Check: Package existence for "elfutils-libelf-devel"

Node Name Available Required Status

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

node1-11gr2 elfutils-libelf-devel-0.137-3.el5 elfutils-libelf-devel-0.125 passed

node2-11gr2 elfutils-libelf-devel-0.137-3.el5 elfutils-libelf-devel-0.125 passed

Result: Package existence check passed for "elfutils-libelf-devel"

Check: Package existence for "glibc-common"

Node Name Available Required Status

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

node1-11gr2 glibc-common-2.5-81 glibc-common-2.5 passed

node2-11gr2 glibc-common-2.5-81 glibc-common-2.5 passed

Result: Package existence check passed for "glibc-common"

Check: Package existence for "glibc-devel(x86_64)"

Node Name Available Required Status

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

node1-11gr2 glibc-devel(x86_64)-2.5-81 glibc-devel(x86_64)-2.5 passed

node2-11gr2 glibc-devel(x86_64)-2.5-81 glibc-devel(x86_64)-2.5 passed

Result: Package existence check passed for "glibc-devel(x86_64)"

Check: Package existence for "glibc-headers"

Node Name Available Required Status

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

node1-11gr2 glibc-headers-2.5-81 glibc-headers-2.5 passed

node2-11gr2 glibc-headers-2.5-81 glibc-headers-2.5 passed

Result: Package existence check passed for "glibc-headers"

Check: Package existence for "gcc-c++(x86_64)"

Node Name Available Required Status

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

node1-11gr2 gcc-c++(x86_64)-4.1.2-52.el5 gcc-c++(x86_64)-4.1.2 passed

node2-11gr2 gcc-c++(x86_64)-4.1.2-52.el5 gcc-c++(x86_64)-4.1.2 passed

Result: Package existence check passed for "gcc-c++(x86_64)"

Check: Package existence for "libaio-devel(x86_64)"

Node Name Available Required Status

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

node1-11gr2 libaio-devel(x86_64)-0.3.106-5 libaio-devel(x86_64)-0.3.106 passed

node2-11gr2 libaio-devel(x86_64)-0.3.106-5 libaio-devel(x86_64)-0.3.106 passed

Result: Package existence check passed for "libaio-devel(x86_64)"

Check: Package existence for "libgcc(x86_64)"

Node Name Available Required Status

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

node1-11gr2 libgcc(x86_64)-4.1.2-52.el5 libgcc(x86_64)-4.1.2 passed

node2-11gr2 libgcc(x86_64)-4.1.2-52.el5 libgcc(x86_64)-4.1.2 passed

Result: Package existence check passed for "libgcc(x86_64)"

Check: Package existence for "libstdc++(x86_64)"

Node Name Available Required Status

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

node1-11gr2 libstdc++(x86_64)-4.1.2-52.el5 libstdc++(x86_64)-4.1.2 passed

node2-11gr2 libstdc++(x86_64)-4.1.2-52.el5 libstdc++(x86_64)-4.1.2 passed

Result: Package existence check passed for "libstdc++(x86_64)"

Check: Package existence for "libstdc++-devel(x86_64)"

Node Name Available Required Status

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

node1-11gr2 libstdc++-devel(x86_64)-4.1.2-52.el5 libstdc++-devel(x86_64)-4.1.2 passed

node2-11gr2 libstdc++-devel(x86_64)-4.1.2-52.el5 libstdc++-devel(x86_64)-4.1.2 passed

Result: Package existence check passed for "libstdc++-devel(x86_64)"

Check: Package existence for "sysstat"

Node Name Available Required Status

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

node1-11gr2 sysstat-7.0.2-11.el5 sysstat-7.0.2 passed

node2-11gr2 sysstat-7.0.2-11.el5 sysstat-7.0.2 passed

Result: Package existence check passed for "sysstat"

Check: Package existence for "ksh"

Node Name Available Required Status

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

node1-11gr2 ksh-20100621-5.el5 ksh-20060214 passed

node2-11gr2 ksh-20100621-5.el5 ksh-20060214 passed

Result: Package existence check passed for "ksh"

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

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

node1-11gr2 passed

node2-11gr2 passed

Check for consistency of root user\'s primary group passed

Checking OCR integrity...

OCR integrity check passed

Checking Oracle Cluster Voting Disk configuration...

Oracle Cluster Voting Disk configuration check passed

Check: Time zone consistency

Result: Time zone consistency check passed

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

NTP Configuration file check started...

The NTP configuration file "/etc/ntp.conf" is available on all nodes

NTP Configuration file check passed

Checking daemon liveness...

Check: Liveness for "ntpd"

Node Name Running?

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

node1-11gr2 yes

node2-11gr2 no

Result: Liveness check failed for "ntpd"

PRVF-5508 : NTP configuration file is present on at least one node on which NTP daemon or service is not running.

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

Checking to make sure user "grid" is not in "root" group

Node Name Status Comment

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

node1-11gr2 passed does not exist

node2-11gr2 passed does not exist

Result: User "grid" is not part of "root" group. 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 DNS response time for an unreachable node

Node Name Status

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

node1-11gr2 failed

node2-11gr2 failed

PRVF-5636 : The DNS response time for an unreachable node exceeded "15000" ms on following nodes: node1-11gr2,node2-11gr2

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

Checking integrity of name service switch configuration file "/etc/nsswitch.conf" ...

Checking if "hosts" entry in file "/etc/nsswitch.conf" is consistent across nodes...

Checking file "/etc/nsswitch.conf" to make sure that only one "hosts" entry is defined

More than one "hosts" entry does not exist in any "/etc/nsswitch.conf" file

Check for integrity of name service switch configuration file "/etc/nsswitch.conf" passed

Pre-check for node addition was unsuccessful on all the nodes.

2.12 GI层面添加节点

在db1或者db2上,进入$GRID_HOME/oui/bin目录下。执行以下命令,进行节点添加操作:

[grid@db1 bin]$ ./addNode.sh "CLUSTER_NEW_NODES={db3}" "CLUSTER_NEW_VIRTUAL_HOSTNAMES={db3-vip}"

/u01/11.2.0/grid/oui/bin

./addNode.sh "CLUSTER_NEW_NODES={node3-11gr2}" "CLUSTER_NEW_VIRTUAL_HOSTNAMES={node3-11gr2-vip}"

./addNode.sh -silent "CLUSTER_NEW_NODES={node3-11gr2}" "CLUSTER_NEW_VIRTUAL_HOSTNAMES={node3-11gr2-vip}"

注意:addNode.sh脚本首先进行安装前检查,如果检查过程有错误或者警告,需要在运行addNode.sh前设置参数IGNORE_PREADDNODE_CHECKS=Y,否则addNode.sh 会失败退出。

--节点1 gird 用户执行

export IGNORE_PREADDNODE_CHECKS=Y

cd $GRID_HOME/oui/bin

[grid@node1-11gr2 bin]$ ls -l addNode.sh

-rwxr-x--- 1 grid oinstall 622 Nov 16 2015 addNode.sh

[grid@node1-11gr2 bin]$ pwd

/u01/11.2.0/grid/oui/bin

[grid@node1-11gr2 bin]$ ./addNode.sh "CLUSTER_NEW_NODES={node2-11gr2}" "CLUSTER_NEW_VIRTUAL_HOSTNAMES={node2-11gr2-vip}"

Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB. Actual 7505 MB Passed

Oracle Universal Installer, Version 11.2.0.4.0 Production

Copyright (C) 1999, 2013, Oracle. All rights reserved.

--报错处理

[grid@node1-11gr2 bin]$ ./addNode.sh "CLUSTER_NEW_NODES={node2-11gr2}" "CLUSTER_NEW_VIRTUAL_HOSTNAMES={node2-11gr2-vip}"

Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB. Actual 7505 MB Passed

Oracle Universal Installer, Version 11.2.0.4.0 Production

Copyright (C) 1999, 2013, Oracle. All right

以上是关于Oracle 11gR2 RAC 添加节点的主要内容,如果未能解决你的问题,请参考以下文章

11gR2_RAC现有磁盘组添加磁盘

Oracle 11gR2 RAC中的SCAN IP

实验:Oracle单节点RAC添加节点

Oracle 11g R2 RAC安装规划

Oracle 11gR2 RAC 单网卡转双网卡绑定配置步骤

oracle 11g rac一节点操作系统重新安装后,重新加入到集群中,需要安装grid和oracle软件吗?