eygle.com   eygle.com
eygle.com eygle
eygle.com  
 

« 太多的选择 | Blog首页 | Oracle9i新特点-如何修改Spfile的参数 »

Oracle10gR2 New Feature:CVU(Cluster Verification Utiltiy)
modb.pro

Oracle10gR2新增了一个工具-Cluster Verification Utiltiy (cluvfy),用以在部署RAC环境的不同阶段进行环境及所有重要组件的检查。
这个工具随Oracle10gR2发布,但是也可以被用于Oracle10gR1。

CVU所检查的范围非常广泛,涉及从初始的硬件安装到安装完成以及所有中间阶段的组建安装及配置。
但是cluvfy只对安装阶段及组件进行检查验证,不涉及调整、监控已经Cluster内在状况检查。

直接键入cluvfy可以获得提示输出:

[oracle@raclinux1 bin]$ cluvfy


USAGE:
cluvfy [ -help ]
cluvfy stage { -list | -help }
cluvfy stage {-pre|-post}    [-verbose]
cluvfy comp  { -list | -help }
cluvfy comp     [-verbose]


使用stage选项可以对不同安装阶段进行环境及pre、post检查:
[oracle@raclinux1 bin]$ cluvfy stage -list


USAGE:
cluvfy stage {-pre|-post}    [-verbose]

Valid stage options and stage names are:
        -post hwos    :  post-check for hardware and operating system
        -pre  cfs     :  pre-check for CFS setup
        -post cfs     :  post-check for CFS setup
        -pre  crsinst :  pre-check for CRS installation
        -post crsinst :  post-check for CRS installation
        -pre  dbinst  :  pre-check for database installation
        -pre  dbcfg   :  pre-check for database configuration

使用comp选项进行组件检查:
[oracle@raclinux1 bin]$ cluvfy comp -list


USAGE:
cluvfy comp     [-verbose]

Valid components are:
        nodereach : checks reachability between nodes
        nodecon   : checks node connectivity
        cfs       : checks CFS integrity
        ssa       : checks shared storage accessibility
        space     : checks space availability
        sys       : checks minimum system requirements
        clu       : checks cluster integrity
        clumgr    : checks cluster manager integrity
        ocr       : checks OCR integrity
        crs       : checks CRS integrity
        nodeapp   : checks node applications existence
        admprv    : checks administrative privileges
        peer      : compares properties with peers

使用cluvfy进行crsinst post安装检查:
[oracle@raclinux1 bin]$ cluvfy stage -post crsinst -n raclinux1

Performing post-checks for cluster services setup

Checking node reachability...
Node reachability check passed from node "raclinux1".


Checking user equivalence...
User equivalence check passed for user "oracle".

Checking Cluster manager integrity...


Checking CSS daemon...
Daemon status check passed for "CSS daemon".

Cluster manager integrity check passed.

Checking cluster integrity...


Cluster integrity check passed


Checking OCR integrity...

Checking the absence of a non-clustered configuration...
All nodes free of non-clustered, local-only configurations.

Uniqueness check for OCR device passed.

Checking the version of OCR...
OCR of correct Version "2" exists.

Checking data integrity of OCR...
Data integrity check for OCR passed.

OCR integrity check passed.

Checking CRS integrity...

Checking daemon liveness...
Liveness check passed for "CRS daemon".

Checking daemon liveness...
Liveness check passed for "CSS daemon".

Checking daemon liveness...
Liveness check passed for "EVM daemon".

Checking CRS health...
CRS health check passed.

CRS integrity check passed.

Checking node application existence...


Checking existence of VIP node application (required)
Check passed.

Checking existence of ONS node application (optional)
Check passed.

Checking existence of GSD node application (optional)
Check passed.


Post-check for cluster services setup was successful.

检查crs组件安装:
[oracle@raclinux1 bin]$ cluvfy comp crs

Verifying CRS integrity

Checking CRS integrity...

Checking daemon liveness...
Liveness check passed for "CRS daemon".

Checking daemon liveness...
Liveness check passed for "CSS daemon".

Checking daemon liveness...
Liveness check passed for "EVM daemon".

Checking CRS health...
CRS health check passed.

CRS integrity check passed.

Verification of CRS integrity was successful.


历史上的今天...
    >> 2016-10-10文章:
    >> 2012-10-10文章:
    >> 2008-10-10文章:
           关于Mutex的笔记
    >> 2006-10-10文章:

By eygle on 2005-10-10 10:25 | Comments (0) | Oracle12c/11g | 468 |


CopyRight © 2004~2020 云和恩墨,成就未来!, All rights reserved.
数据恢复·紧急救援·性能优化 云和恩墨 24x7 热线电话:400-600-8755 业务咨询:010-59007017-7040 or 7037 业务合作: marketing@enmotech.com