将Grid Infrastructure安装包上传到服务器,并解压
unzip p10404530_112030_Linux-x86-64_3of7.zip -d /database/2. 更改/database所属组
[root@11grac1 database]# chown grid.oinstall -R /database/
[root@11grac1 database]# su - grid
11grac1-> cd /database/grid/
11grac1-> ls
doc install readme.html response rpm runcluvfy.sh runInstaller sshsetup stage welcome.html3.运行./runcluvfy.sh脚本,检查环境是否满足安装grid的条件
./runcluvfy.sh stage -pre crsinst -n 11grac1,11grac2 -fixup -verbose
检查运行结果,发现failed项,需要逐一解决。
11grac1-> ./runcluvfy.sh stage -pre crsinst -n 11grac1,11grac2 -fixup -verbose
Performing pre-checks for cluster services setup
Checking node reachability...
Check: Node reachability from node "11grac1"
Destination Node Reachable?
------------------------------------ ------------------------
11grac2 yes
11grac1 yes
Result: Node reachability check passed from node "11grac1"
Checking user equivalence...
Check: User equivalence for user "grid"
Node Name Status
------------------------------------ ------------------------
11grac2 passed
11grac1 passed
Result: User equivalence check passed for user "grid"
Checking node connectivity...
Checking hosts config file...
Node Name Status
------------------------------------ ------------------------
11grac2 passed
11grac1 passed
Verification of the hosts config file successful
Interface information for node "11grac2"
Name IP Address Subnet Gateway Def. Gateway HW Address MTU
------ --------------- --------------- --------------- --------------- ----------------- ------
eth0 192.168.199.11 192.168.199.0 0.0.0.0 192.168.199.1 00:0C:29:5A:86:53 1500
eth2 192.168.10.11 192.168.10.0 0.0.0.0 192.168.199.1 00:0C:29:5A:86:5D 1500
Interface information for node "11grac1"
Name IP Address Subnet Gateway Def. Gateway HW Address MTU
------ --------------- --------------- --------------- --------------- ----------------- ------
eth0 192.168.199.10 192.168.199.0 0.0.0.0 192.168.199.1 00:0C:29:53:75:BC 1500
eth2 192.168.10.10 192.168.10.0 0.0.0.0 192.168.199.1 00:0C:29:53:75:C6 1500
Check: Node connectivity of subnet "192.168.199.0"
Source Destination Connected?
------------------------------ ------------------------------ ----------------
11grac2[192.168.199.11] 11grac1[192.168.199.10] yes
Result: Node connectivity passed for subnet "192.168.199.0" with node(s) 11grac2,11grac1
Check: TCP connectivity of subnet "192.168.199.0"
Source Destination Connected?
------------------------------ ------------------------------ ----------------
11grac1:192.168.199.10 11grac2:192.168.199.11 passed
Result: TCP connectivity check passed for subnet "192.168.199.0"
Check: Node connectivity of subnet "192.168.10.0"
Source Destination Connected?
------------------------------ ------------------------------ ----------------
11grac2[192.168.10.11] 11grac1[192.168.10.10] yes
Result: Node connectivity passed for subnet "192.168.10.0" with node(s) 11grac2,11grac1
Check: TCP connectivity of subnet "192.168.10.0"
Source Destination Connected?
------------------------------ ------------------------------ ----------------
11grac1:192.168.10.10 11grac2:192.168.10.11 passed
Result: TCP connectivity check passed for subnet "192.168.10.0"
Interfaces found on subnet "192.168.199.0" that are likely candidates for VIP are:
11grac2 eth0:192.168.199.11
11grac1 eth0:192.168.199.10
Interfaces found on subnet "192.168.10.0" that are likely candidates for a private interconnect are:
11grac2 eth2:192.168.10.11
11grac1 eth2:192.168.10.10
Checking subnet mask consistency...
Subnet mask consistency check passed for subnet "192.168.199.0".
Subnet mask consistency check passed for subnet "192.168.10.0".
Subnet mask consistency check passed.
Result: Node connectivity check passed
Checking multicast communication...
Checking subnet "192.168.199.0" for multicast communication with multicast group "230.0.1.0"...
Check of subnet "192.168.199.0" for multicast communication with multicast group "230.0.1.0" passed.
Checking subnet "192.168.10.0" for multicast communication with multicast group "230.0.1.0"...
Check of subnet "192.168.10.0" for multicast communication with multicast group "230.0.1.0" passed.
Check of multicast communication passed.
Checking ASMLib configuration.
Node Name Status
------------------------------------ ------------------------
11grac2 passed
11grac1 passed
Result: Check for ASMLib configuration passed.
Check: Total memory
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
11grac2 1.9535GB (2048424.0KB) 1.5GB (1572864.0KB) passed
11grac1 1.9535GB (2048424.0KB) 1.5GB (1572864.0KB) passed
Result: Total memory check passed
Check: Available memory
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
11grac2 1.7258GB (1809616.0KB) 50MB (51200.0KB) passed
11grac1 1.6177GB (1696252.0KB) 50MB (51200.0KB) passed
Result: Available memory check passed
Check: Swap space
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
11grac2 1.9531GB (2047996.0KB) 2.9303GB (3072636.0KB) failed
11grac1 1.9531GB (2047996.0KB) 2.9303GB (3072636.0KB) failed
Result: Swap space check failed
Check: Free disk space for "11grac2:/tmp"
Path Node Name Mount point Available Required Status
---------------- ------------ ------------ ------------ ------------ ------------
/tmp 11grac2 / 14.2822GB 1GB passed
Result: Free disk space check passed for "11grac2:/tmp"
Check: Free disk space for "11grac1:/tmp"
Path Node Name Mount point Available Required Status
---------------- ------------ ------------ ------------ ------------ ------------
/tmp 11grac1 / 12.2295GB 1GB passed
Result: Free disk space check passed for "11grac1:/tmp"
Check: User existence for "grid"
Node Name Status Comment
------------ ------------------------ ------------------------
11grac2 passed exists(1100)
11grac1 passed exists(1100)
Checking for multiple users with UID value 1100
Result: Check for multiple users with UID value 1100 passed
Result: User existence check passed for "grid"
Check: Group existence for "oinstall"
Node Name Status Comment
------------ ------------------------ ------------------------
11grac2 passed exists
11grac1 passed exists
Result: Group existence check passed for "oinstall"
Check: Group existence for "dba"
Node Name Status Comment
------------ ------------------------ ------------------------
11grac2 passed exists
11grac1 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
---------------- ------------ ------------ ------------ ------------ ------------
11grac2 yes yes yes yes passed
11grac1 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
---------------- ------------ ------------ ------------ ----------------
11grac2 yes yes yes passed
11grac1 yes yes yes passed
Result: Membership check for user "grid" in group "dba" passed
Check: Run level
Node Name run level Required Status
------------ ------------------------ ------------------------ ----------
11grac2 5 3,5 passed
11grac1 5 3,5 passed
Result: Run level check passed
Check: Hard limits for "maximum open file descriptors"
Node Name Type Available Required Status
---------------- ------------ ------------ ------------ ----------------
11grac2 hard 65536 65536 passed
11grac1 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
---------------- ------------ ------------ ------------ ----------------
11grac2 soft 1024 1024 passed
11grac1 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
---------------- ------------ ------------ ------------ ----------------
11grac2 hard 16384 16384 passed
11grac1 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
---------------- ------------ ------------ ------------ ----------------
11grac2 soft 2047 2047 passed
11grac1 soft 2047 2047 passed
Result: Soft limits check passed for "maximum user processes"
Check: System architecture
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
11grac2 x86_64 x86_64 passed
11grac1 x86_64 x86_64 passed
Result: System architecture check passed
Check: Kernel version
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
11grac2 2.6.39-400.17.1.el6uek.x86_64 2.6.32 passed
11grac1 2.6.39-400.17.1.el6uek.x86_64 2.6.32 passed
Result: Kernel version check passed
Check: Kernel parameter for "semmsl"
Node Name Current Configured Required Status Comment
---------------- ------------ ------------ ------------ ------------ ------------
11grac2 250 250 250 passed
11grac1 250 250 250 passed
Result: Kernel parameter check passed for "semmsl"
Check: Kernel parameter for "semmns"
Node Name Current Configured Required Status Comment
---------------- ------------ ------------ ------------ ------------ ------------
11grac2 32000 32000 32000 passed
11grac1 32000 32000 32000 passed
Result: Kernel parameter check passed for "semmns"
Check: Kernel parameter for "semopm"
Node Name Current Configured Required Status Comment
---------------- ------------ ------------ ------------ ------------ ------------
11grac2 100 100 100 passed
11grac1 100 100 100 passed
Result: Kernel parameter check passed for "semopm"
Check: Kernel parameter for "semmni"
Node Name Current Configured Required Status Comment
---------------- ------------ ------------ ------------ ------------ ------------
11grac2 128 128 128 passed
11grac1 128 128 128 passed
Result: Kernel parameter check passed for "semmni"
Check: Kernel parameter for "shmmax"
Node Name Current Configured Required Status Comment
---------------- ------------ ------------ ------------ ------------ ------------
11grac2 1054472192 1054472192 1048793088 passed
11grac1 1054472192 1054472192 1048793088 passed
Result: Kernel parameter check passed for "shmmax"
Check: Kernel parameter for "shmmni"
Node Name Current Configured Required Status Comment
---------------- ------------ ------------ ------------ ------------ ------------
11grac2 4096 4096 4096 passed
11grac1 4096 4096 4096 passed
Result: Kernel parameter check passed for "shmmni"
Check: Kernel parameter for "shmall"
Node Name Current Configured Required Status Comment
---------------- ------------ ------------ ------------ ------------ ------------
11grac2 2097152 2097152 2097152 passed
11grac1 2097152 2097152 2097152 passed
Result: Kernel parameter check passed for "shmall"
Check: Kernel parameter for "file-max"
Node Name Current Configured Required Status Comment
---------------- ------------ ------------ ------------ ------------ ------------
11grac2 6815744 6815744 6815744 passed
11grac1 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
---------------- ------------ ------------ ------------ ------------ ------------
11grac2 between 9000.0 & 65500.0 between 9000.0 & 65500.0 between 9000.0 & 65500.0 passed
11grac1 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
---------------- ------------ ------------ ------------ ------------ ------------
11grac2 262144 262144 262144 passed
11grac1 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
---------------- ------------ ------------ ------------ ------------ ------------
11grac2 4194304 4194304 4194304 passed
11grac1 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
---------------- ------------ ------------ ------------ ------------ ------------
11grac2 262144 262144 262144 passed
11grac1 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
---------------- ------------ ------------ ------------ ------------ ------------
11grac2 1048586 1048586 1048576 passed
11grac1 1048586 1048586 1048576 passed
Result: Kernel parameter check passed for "wmem_max"
Check: Kernel parameter for "aio-max-nr"
Node Name Current Configured Required Status Comment
---------------- ------------ ------------ ------------ ------------ ------------
11grac2 1048576 1048576 1048576 passed
11grac1 1048576 1048576 1048576 passed
Result: Kernel parameter check passed for "aio-max-nr"
Check: Package existence for "binutils"
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
11grac2 binutils-2.20.51.0.2-5.36.el6 binutils-2.20.51.0.2 passed
11grac1 binutils-2.20.51.0.2-5.36.el6 binutils-2.20.51.0.2 passed
Result: Package existence check passed for "binutils"
Check: Package existence for "compat-libcap1"
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
11grac2 missing compat-libcap1-1.10 failed
11grac1 missing compat-libcap1-1.10 failed
Result: Package existence check failed for "compat-libcap1"
Check: Package existence for "compat-libstdc++-33(x86_64)"
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
11grac2 missing compat-libstdc++-33(x86_64)-3.2.3 failed
11grac1 missing compat-libstdc++-33(x86_64)-3.2.3 failed
Result: Package existence check failed for "compat-libstdc++-33(x86_64)"
Check: Package existence for "libgcc(x86_64)"
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
11grac2 libgcc(x86_64)-4.4.7-3.el6 libgcc(x86_64)-4.4.4 passed
11grac1 libgcc(x86_64)-4.4.7-3.el6 libgcc(x86_64)-4.4.4 passed
Result: Package existence check passed for "libgcc(x86_64)"
Check: Package existence for "libstdc++(x86_64)"
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
11grac2 libstdc++(x86_64)-4.4.7-3.el6 libstdc++(x86_64)-4.4.4 passed
11grac1 libstdc++(x86_64)-4.4.7-3.el6 libstdc++(x86_64)-4.4.4 passed
Result: Package existence check passed for "libstdc++(x86_64)"
Check: Package existence for "libstdc++-devel(x86_64)"
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
11grac2 missing libstdc++-devel(x86_64)-4.4.4 failed
11grac1 missing libstdc++-devel(x86_64)-4.4.4 failed
Result: Package existence check failed for "libstdc++-devel(x86_64)"
Check: Package existence for "sysstat"
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
11grac2 sysstat-9.0.4-20.el6 sysstat-9.0.4 passed
11grac1 sysstat-9.0.4-20.el6 sysstat-9.0.4 passed
Result: Package existence check passed for "sysstat"
Check: Package existence for "gcc"
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
11grac2 missing gcc-4.4.4 failed
11grac1 missing gcc-4.4.4 failed
Result: Package existence check failed for "gcc"
Check: Package existence for "gcc-c++"
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
11grac2 missing gcc-c++-4.4.4 failed
11grac1 missing gcc-c++-4.4.4 failed
Result: Package existence check failed for "gcc-c++"
Check: Package existence for "ksh"
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
11grac2 missing ksh-20100621 failed
11grac1 missing ksh-20100621 failed
Result: Package existence check failed for "ksh"
Check: Package existence for "make"
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
11grac2 make-3.81-20.el6 make-3.81 passed
11grac1 make-3.81-20.el6 make-3.81 passed
Result: Package existence check passed for "make"
Check: Package existence for "glibc(x86_64)"
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
11grac2 glibc(x86_64)-2.12-1.107.el6 glibc(x86_64)-2.12 passed
11grac1 glibc(x86_64)-2.12-1.107.el6 glibc(x86_64)-2.12 passed
Result: Package existence check passed for "glibc(x86_64)"
Check: Package existence for "glibc-devel(x86_64)"
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
11grac2 missing glibc-devel(x86_64)-2.12 failed
11grac1 missing glibc-devel(x86_64)-2.12 failed
Result: Package existence check failed for "glibc-devel(x86_64)"
Check: Package existence for "libaio(x86_64)"
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
11grac2 libaio(x86_64)-0.3.107-10.el6 libaio(x86_64)-0.3.107 passed
11grac1 libaio(x86_64)-0.3.107-10.el6 libaio(x86_64)-0.3.107 passed
Result: Package existence check passed for "libaio(x86_64)"
Check: Package existence for "libaio-devel(x86_64)"
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
11grac2 missing libaio-devel(x86_64)-0.3.107 failed
11grac1 missing libaio-devel(x86_64)-0.3.107 failed
Result: Package existence check failed for "libaio-devel(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
------------------------------------ ------------------------
11grac2 passed
11grac1 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 nodes
No 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
------------ ------------------------ ------------------------
11grac2 passed does not exist
11grac1 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
------------ ------------------------ ------------------------ ----------
11grac2 0022 0022 passed
11grac1 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 "localdomain.com" as found on node "11grac2"
All nodes of the cluster have same value for 'search'
Checking dns response time for an unreachable node
Node Name Status
------------------------------------ ------------------------
11grac2 failed
11grac1 failed
PRVF-5637 : DNS response time could not be checked on following nodes: 11grac2,11grac1
File "/etc/resolv.conf" is not consistent across nodes
Check: Time zone consistency
Result: Time zone consistency check passed
Pre-check for cluster services setup was unsuccessful on all the nodes.以上主要是安装包遗漏,安装rpm包。
因为rpm安装过程中有依赖关系,手工安装非常麻烦,先配置一个本地yum源。过程如下
4. 配置本地yum源
4.1 将光盘挂载
郑重声明:本文版权归原作者所有,转载文章仅为传播更多信息之目的,如作者信息标记有误,请第一时间联系我们修改或删除,多谢。