【cluvfy】叢集驗證工具cluvfy使用方法——comp
在《【cluvfy】叢集驗證工具cluvfy使用方法——stage》(http://space.itpub.net/?uid-519536-action-viewspace-itemid-680244)中已經給出了有關cluvfy工具的stage的使用方法。本文給出該工具的另外一個重要的功能——叢集元件的驗證comp。使用該功能可以對叢集元件的可用性和完整性進行驗證。
1.cluvfy工具可驗證的元件
可以使用“cluvfy comp -list”命令給出可驗證的元件。
RACDB1@rac1 /home/oracle$ 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
註釋如下:
nodereach:檢查各節點之間的可訪問性;
nodecon:檢查節點連線性;
cfs:檢查Oracle叢集檔案系統完整性;
ssa:檢查共享儲存的可訪問性;
space:檢查空間可用性;
sys:檢查最低系統要求;
clu:檢查叢集完整性;
clumgr:檢查叢集管理器完整性;
ocr:檢查OCR完整性;
crs:檢查CRS完整性;
nodeapp:檢查是否存在節點應用程式;
admprv:檢查管理許可權;
peer:對等物件間的屬性比較。
2.具體使用方法
簡單羅列一些常用的元件檢查命令,供參考。
1)nodereach:檢查各節點之間的可訪問性
語法:cluvfy comp nodereach -n [ -srcnode ] [-verbose]
“node_list”是逗號分隔的節點列表,如果想列出所有節點也可以使用“all”;
“srcnode”表示發起連線測試請求的源節點,如果不指定,當前節點被指定為源節點。
RACDB1@rac1 /home/oracle$ cluvfy comp nodereach -n all
Verifying node reachability
Checking node reachability...
Node reachability check passed from node "rac1".
Verification of node reachability was successful.
2)nodecon:檢查節點連線性
RACDB1@rac1 /home/oracle$ cluvfy comp nodecon -n all -i eth0,eth1
Verifying node connectivity
Checking node connectivity...
Check: Node connectivity for interface "eth0"
Node connectivity check passed for interface "eth0".
Check: Node connectivity for interface "eth1"
Node connectivity check passed for interface "eth1".
Node connectivity check passed.
Verification of node connectivity was successful.
3)clu:檢查叢集完整性
RACDB1@rac1 /home/oracle$ cluvfy comp clu
Verifying cluster integrity
Checking cluster integrity...
Cluster integrity check passed
Verification of cluster integrity was successful.
4)clumgr:檢查叢集管理器完整性
RACDB1@rac1 /home/oracle$ cluvfy comp clumgr
Verifying cluster manager integrity
Checking Cluster manager integrity...
Checking CSS daemon...
Daemon status check passed for "CSS daemon".
Cluster manager integrity check passed.
Verification of cluster manager integrity was successful.
5)ocr:檢查OCR完整性
RACDB1@rac1 /home/oracle$ cluvfy comp ocr
Verifying OCR integrity
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.
Verification of OCR integrity was successful.
6)crs:檢查CRS完整性
RACDB1@rac1 /home/oracle$ 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.
7)nodeapp:檢查是否存在節點應用程式
RACDB1@rac1 /home/oracle$ cluvfy comp nodeapp
Verifying node application existence
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.
Verification of node application existence was successful.
3.小結
cluvfy作為叢集元件的驗證工具帶給我們很多便利,原本瑣碎的驗證過程因此工具變得簡便迅速。
Good luck.
secooler
10.11.23
-- The End --
1.cluvfy工具可驗證的元件
可以使用“cluvfy comp -list”命令給出可驗證的元件。
RACDB1@rac1 /home/oracle$ cluvfy comp -list
USAGE:
cluvfy comp
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
註釋如下:
nodereach:檢查各節點之間的可訪問性;
nodecon:檢查節點連線性;
cfs:檢查Oracle叢集檔案系統完整性;
ssa:檢查共享儲存的可訪問性;
space:檢查空間可用性;
sys:檢查最低系統要求;
clu:檢查叢集完整性;
clumgr:檢查叢集管理器完整性;
ocr:檢查OCR完整性;
crs:檢查CRS完整性;
nodeapp:檢查是否存在節點應用程式;
admprv:檢查管理許可權;
peer:對等物件間的屬性比較。
2.具體使用方法
簡單羅列一些常用的元件檢查命令,供參考。
1)nodereach:檢查各節點之間的可訪問性
語法:cluvfy comp nodereach -n
“node_list”是逗號分隔的節點列表,如果想列出所有節點也可以使用“all”;
“srcnode”表示發起連線測試請求的源節點,如果不指定,當前節點被指定為源節點。
RACDB1@rac1 /home/oracle$ cluvfy comp nodereach -n all
Verifying node reachability
Checking node reachability...
Node reachability check passed from node "rac1".
Verification of node reachability was successful.
2)nodecon:檢查節點連線性
RACDB1@rac1 /home/oracle$ cluvfy comp nodecon -n all -i eth0,eth1
Verifying node connectivity
Checking node connectivity...
Check: Node connectivity for interface "eth0"
Node connectivity check passed for interface "eth0".
Check: Node connectivity for interface "eth1"
Node connectivity check passed for interface "eth1".
Node connectivity check passed.
Verification of node connectivity was successful.
3)clu:檢查叢集完整性
RACDB1@rac1 /home/oracle$ cluvfy comp clu
Verifying cluster integrity
Checking cluster integrity...
Cluster integrity check passed
Verification of cluster integrity was successful.
4)clumgr:檢查叢集管理器完整性
RACDB1@rac1 /home/oracle$ cluvfy comp clumgr
Verifying cluster manager integrity
Checking Cluster manager integrity...
Checking CSS daemon...
Daemon status check passed for "CSS daemon".
Cluster manager integrity check passed.
Verification of cluster manager integrity was successful.
5)ocr:檢查OCR完整性
RACDB1@rac1 /home/oracle$ cluvfy comp ocr
Verifying OCR integrity
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.
Verification of OCR integrity was successful.
6)crs:檢查CRS完整性
RACDB1@rac1 /home/oracle$ 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.
7)nodeapp:檢查是否存在節點應用程式
RACDB1@rac1 /home/oracle$ cluvfy comp nodeapp
Verifying node application existence
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.
Verification of node application existence was successful.
3.小結
cluvfy作為叢集元件的驗證工具帶給我們很多便利,原本瑣碎的驗證過程因此工具變得簡便迅速。
Good luck.
secooler
10.11.23
-- The End --
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/519536/viewspace-680269/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【cluvfy】叢集驗證工具cluvfy使用方法——stage
- cluvfy(Cluster Verification Utility,叢集檢驗工具),簡稱CVU,cvuqdisk包
- CLUVFY工具(一)
- 【RAC工具】cluvfy
- CLUVFY工具(二)
- CLUVFY工具的使用
- cluvfy 命令
- rac中的cluvfy檢查工具使用
- oracle小知識點9--cluvfyOracle
- EasyUI - 驗證框使用方法UI
- CarbonData叢集模式體驗模式
- 叢集監控工具ganglia
- xCAT叢集管理配置工具
- 身份證驗證工具類
- 淺談達夢DSC叢集以及負載均衡實現與驗證負載
- Elastic認證叢集環境準備AST
- mongodb叢集搭建及配置安全認證MongoDB
- redis叢集管理工具HHDBCSRedis
- rac維護工具集系列(三)--叢集層crsctl系列
- rac維護工具集系列(四)--叢集層OCR系列
- Laravel 表單驗證器的幾種使用方法Laravel
- 叢集管理工具C3
- Elasticsearch7.10 開發中配置偽叢集的TLS和身份驗證(基礎)ElasticsearchTLS
- 搭建zookeeper叢集(偽叢集)
- web叢集與ejb叢集Web
- Hadoop叢集機器的SSH認證配置Hadoop
- 正規表示式驗證工具
- zookeeper叢集及kafka叢集搭建Kafka
- Redis(單機&叢集)Pipeline工具類Redis
- elasticsearch叢集安裝+安全驗證+kibana安裝Elasticsearch
- 華納雲:分散式叢集如何保證可靠性分散式
- redis偽叢集配置Cluster叢集模式Redis模式
- Redis系列:搭建Redis叢集(叢集模式)Redis模式
- Redis叢集 - cluster叢集、資料分片Redis
- 表單驗證工具類ValidationUtils
- oracle資料檔案驗證工具Oracle
- PostgreSQL叢集管理工具repmgr相關命令SQL
- ORACLE RAC叢集配置管理工具-SRVCTLOracle