当前位置:操作系统 > Unix/Linux >>

runcluvfy.sh脚本使用

runcluvfy.sh脚本使用
 
  oracle 官方建议在安装oracle grid前运行此脚本,来检查各个节点是否满足grid安装的官方要求:
 
如果是自己的测试环境,部分‘unpassed’可以忽略。
[grid@vrh5 grid]$ sh runcluvfy.sh  stage -pre  crsinst -n vrh5,vrh6
Performing pre-checks for cluster services setup
Checking node reachability...
Node reachability check passed from node "vrh5"
 
Checking user equivalence...
User equivalence check passed for user "grid"
Checking node connectivity...
Checking hosts config file...
Verification of the hosts config file successful
Node connectivity passed for subnet "192.168.1.0" with node(s) vrh6,vrh5
TCP connectivity check passed for subnet "192.168.1.0"
Node connectivity passed for subnet "172.168.1.0" with node(s) vrh6,vrh5
TCP connectivity check passed for subnet "172.168.1.0"
Node connectivity passed for subnet "10.0.4.0" with node(s) vrh6,vrh5
TCP connectivity check failed for subnet "10.0.4.0"
 
Inte易做图ces found on subnet "172.168.1.0" that are likely candidates for VIP are:
vrh6 eth1:172.168.1.182
vrh5 eth1:172.168.1.181
Inte易做图ces found on subnet "10.0.4.0" that are likely candidates for VIP are:
vrh6 eth2:10.0.4.15
vrh5 eth2:10.0.4.15
Inte易做图ces found on subnet "192.168.1.0" that are likely candidates for a private interconnect are:
vrh6 eth0:192.168.1.183
vrh5 eth0:192.168.1.181
Node connectivity check passed
Total memory check failed
Check failed on nodes: 
        vrh6,vrh5
Available memory check passed
Swap space check failed
Free disk space check passed for "vrh6:/tmp"
Free disk space check passed for "vrh5:/tmp"
User existence check passed for "grid"
Group existence check passed for "oinstall"
Group existence check passed for "dba"
Membership check for user "grid" in group "oinstall" [as Primary] passed
Membership check for user "grid" in group "dba" failed
Check failed on nodes: 
        vrh6,vrh5
Run level check passed
Hard limits check passed for "maximum open file descriptors"
Soft limits check passed for "maximum open file descriptors"
Hard limits check passed for "maximum user processes"
Soft limits check passed for "maximum user processes"
System architecture check passed
Kernel version check passed
Kernel parameter check passed for "semmsl"
Kernel parameter check passed for "semmns"
Kernel parameter check passed for "semopm"
Kernel parameter check passed for "semmni"
Kernel parameter check passed for "shmmax"
Kernel parameter check passed for "shmmni"
Kernel parameter check passed for "shmall"
Kernel parameter check passed for "file-max"
Kernel parameter check passed for "ip_local_port_range"
Kernel parameter check passed for "rmem_default"
Kernel parameter check passed for "rmem_max"
Kernel parameter check passed for "wmem_default"
Kernel parameter check passed for "wmem_max"
Kernel parameter check passed for "aio-max-nr"
Package existence check passed for "make-3.81"
Package existence check passed for "binutils-2.17.50.0.6"
Package existence check passed for "gcc-4.1.2"
Package existence check passed for "libaio-0.3.106 (i386)"
Package existence check passed for "libaio-0.3.106 (x86_64)"
Package existence check passed for "glibc-2.5-24 (i686)"
Package existence check passed for "glibc-2.5-24 (x86_64)"
Package existence check passed for "compat-libstdc++-33-3.2.3 (i386)"
Package existence check passed for "compat-libstdc++-33-3.2.3 (x86_64)"
Package existence check passed for "elfutils-libelf-0.125 (x86_64)"
Package existence check passed for "elfutils-libelf-devel-0.125"
Package existence check passed for "glibc-common-2.5"
Package existence check passed for "glibc-devel-2.5 (i386)"
Package existence check passed for "glibc-devel-2.5 (x86_64)"
Package existence check passed for "glibc-headers-2.5"
Package existence check passed for "gcc-c++-4.1.2"
Package existence check passed for "libaio-devel-0.3.106 (i386)"
Package existence check passed for "libaio-devel-0.3.106 (x86_64)"
Package existence check passed for "libgcc-4.1.2 (i386)"
Package existence check passed for "libgcc-4.1.2 (x86_64)"
Package existence check passed for "libstdc++-4.1.2 (i386)"
Package existence check passed for "libstdc++-4.1.2 (x86_64)"
Package existence check passed for "libstdc++-devel-4.1.2 (x86_64)"
Package existence check passed for "sysstat-7.0.2"
Package existence check passed for "unixODBC-2.2.11 (i386)"
Package existence check passed for "unixODBC-2.2.11 (x86_64)"
Package existence check passed for "unixODBC-devel-2.2.11 (i386)"
Package existence check passed for "unixODBC-devel-2.2.11 (x86_64)"
Package existence check passed for "ksh-20060214"
Check for multiple users with UID value 0 passed 
Current group ID check passed
Core file name pattern consistency check passed.
User "grid" is not part of "root" group. Check passed
Default user file creation mask check passed
Starting Clock synchronization checks using Network Time Protocol(NTP)...
NTP Configuration file check started...
NTP Configuration file check passed
Checking daemon liveness...
Liveness check failed for "ntpd"
Check failed on nodes: 
        vrh6,vrh5
PRVF-5415 : Check to see if NTP daemon is running failed
Clock synchronization check using Network Time Protocol(NTP) failed
 
Pre-check for cluster services setup was unsuccessful on all the nodes.
 
从以上检查,也可以看出oracle 需要对os环境有哪些具体的要求,比如rpm包,内核参数,tmp,用户组。。。。。。
 
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,