Comando CLUVFY para RAC
Verifiación del estado del cluster CLUVFY
Oracle RAC 11g R2
Introducción
El commando CVU ( Cluster verification Utility ) permite validar tanto en preinstalación como en postinstalación el estado de los elementos primarios de nuestro cluster. Estos componentes son básicos para el funcionamiento de nuestro cluster como espacio en disco,memoria, procesos, integridad del cluster. También podemos comprobar si nuestro sistema cumple los requisitos para instalar el software de base de datos.
Opciones del comando cluvfy
cluvfy [-help|-version]
cluvfy stage {-list|-help}
cluvfy stage {-pre|-post} <stage-name> <stage-specific options> [-verbose]
cluvfy comp {-list|-help}
cluvfy comp <component-name> <component-specific options> [-verbose]
Lo que nos permite chequear
Para listar loas componentes que podemos chequear lanzamos el siguiente comando
[oracle@prueba]$ cluvfy comp -list
USAGE:cluvfy comp <component-name> <component-specific options> [-verbose]
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
olr : checks OLR integrity
ha : checks HA integrity
crs : checks CRS integrity
nodeapp : checks node applications existence
admprv : checks administrative privileges
peer : compares properties with peers
software : checks software distribution
acfs : checks ACFS integrity
asm : checks ASM integrity
gpnp : checks GPnP
gns : checks GNS integrity
scan : checks SCAN configuration
ohasd : checks OHASD integrity
clocksync : checks Clock Synchronization
vdisk : checks Voting Disk configuration and UDEV settings
dhcp : Checks DHCP configuration
dns : Checks DNS configuration
Ejemplo
[oracle@prueba bin]$ cluvfy comp scan
Verifying scan
Checking Single Client Access Name (SCAN)…
Checking TCP connectivity to SCAN Listeners…
TCP connectivity to SCAN Listeners exists on all cluster nodes
Checking name resolution setup for «prueba-cluster»…
Verification of SCAN VIP and Listener setup passed
Verification of scan was successful.
Opciones para chequear en preinstalación y postinstalación
Las obtenemos lanzando el siguiente comando
[oracle@tinto bin]$ ./cluvfy stage -list
USAGE:
cluvfy stage {-pre|-post} <stage-name> <stage-specific options> [-verbose]
Valid Stages are:
-pre cfs : pre-check for CFS setup
-pre crsinst : pre-check for CRS installation
-pre acfscfg : pre-check for ACFS Configuration
-pre dbinst : pre-check for database installation
-pre dbcfg : pre-check for database configuration
-pre hacfg : pre-check for HA configuration
-pre nodeadd : pre-check for node addition.
-post hwos : post-check for hardware and operating system
-post cfs : post-check for CFS setup
-post crsinst : post-check for CRS installation
-post acfscfg : post-check for ACFS Configuration.
-post hacfg : post-check for HA configuration
-post nodeadd : post-check for node addition.
-post nodedel : post-check for node deletion.
Ejemplo
[oracle@prueba bin]$cluvfy stage -post nodeadd -n prueba