Contenido

Introducción

Sistemas HX compatibles

Cuándo se debe utilizar

Cómo usarla

Analizar salida de herramienta: siguientes pasos

Comandos CLI

Introducción

Este documento describe el proceso para ejecutar la herramienta Hypercheck Health Check & Pre-Upgrade en el clúster HyperV de Hyperflex. Esta herramienta es una utilidad para realizar autocomprobaciones proactivas en sistemas hiperflex para garantizar su estabilidad y resistencia. Ayuda a automatizar una lista de comprobaciones de estado y previas a la actualización en sistemas hiperflex para ahorrar tiempo durante las operaciones de mantenimiento y actualización de hiperflex.

NOTA: Descargue siempre la última versión de la herramienta antes de utilizarla. Dado que la herramienta se mejora con frecuencia, el uso de una versión anterior puede dar lugar a la falta de comprobaciones importantes.

Sistemas HX compatibles

- Versiones de Hyperflex - 3.0, 3.5, 4.0

- Clúster estándar Hyperflex

- Sólo se admite en clústeres Hyperflex en Microsoft Hyper-V

Nota: Cómo ejecutar Hypercheck en el clúster de HyperFlex ESXi, visite-

https://www.cisco.com/c/en/us/support/docs/hyperconverged-infrastructure/hyperflex-hx-data-platform/214101-hypercheck-hyperflex-health-pre-upgr.html

Cuándo se debe utilizar

- Antes de las actualizaciones de Hyperflex.

- Comprobación del estado de Hyperflex antes y después de las ventanas de mantenimiento

- Para identificar discos o unidades con errores.

- Al trabajar con Cisco TAC

- Comprobación de estado proactiva en cualquier momento.

Cómo usarla

Paso 1. Descargue Hyperflex-Hypercheck.zip de la cuenta de dispositivo github de Cisco aquí .Obtenga la última copia que tendrá las últimas mejoras y actualizaciones.

NOTE: Utilice únicamente el script descargado de la cuenta de dispositivo github de Cisco.

Paso 2. Cargarlo en la máquina virtual del controlador de almacenamiento (SCVM) con la IP de administración de clústeres (CMIP).

Utilice el método que prefiera, scp/sftp/ftp/tftp, para copiar Hypercheck-HyperV-master.zip en el directorio /tmp

Para MAC:

Realizar SCP desde CLI (confirme que Hyperflex-Hypercheck.zip está en la misma carpeta desde la que ejecuta scp)

# scp Hypercheck-HyperV-master.zip root@<scvm-eth0:mgmtip>:/tmp/

Utilice lo siguiente para identificar la IP de administración de clústeres en su entorno HX: cuaderno de campaña de Hyperflex

Para Windows:

Podemos utilizar WINSCP para transferir los archivos como se muestra a continuación-

Paso 3. Extraiga el contenido de Hypercheck-HyperV-master.zip

Escriba cd /tmp para cambiar al directorio /tmp

root@hyper11-stc:~# cd /tmp/

Escriba unzip Hypercheck-HyperV-master.zip para extraer los archivos

root@hyper11-stc:/tmp# unzip Hypercheck-HyperV-master.zip

Archive: Hypercheck-HyperV-master.zip

67f0d63639785f5c18b8ed35ff789f748157e944

creating: Hypercheck-HyperV-master/

inflating: Hypercheck-HyperV-master/README.md

inflating: Hypercheck-HyperV-master/ReadMe.txt

inflating: Hypercheck-HyperV-master/TestInfo.txt

inflating: Hypercheck-HyperV-master/VHXTool.py

inflating: Hypercheck-HyperV-master/prettytable.py

inflating: Hypercheck-HyperV-master/progressbar.py

root@hyper11-stc:/tmp#

Paso 4. Ejecutar el script VHXTool Python

Escriba cd Hypercheck-HyperV-master para ir al directorio Hypercheck-HyperV-master

root@hyper11-stc:/tmp# cd Hypercheck-HyperV-master

Escriba python VHXTool.py para ejecutar la secuencia de comandos

root@hyper11-stc:/tmp/Hypercheck-HyperV-master# python VHXTool.py

Paso 5. Introduzca el nombre de usuario del administrador de HyperV, la contraseña y la contraseña raíz del clúster cuando se le solicite

Please enter below info of Hyper-V Cluster:

Enter the Hyper-V Username(Ex: Domain\Username):

Enter the Hyper-V Password:

Enter the HX-Cluster Root Password:

NOTE: Para detener la ejecución del script, utilice la tecla [CTRL+Z] y se detendrá inmediatamente

Paso 6. La herramienta Hyperflex-Hypercheck le pedirá que pregunte si Active Directory está instalado en un hardware físico de su entorno.

NOTE: La secuencia de comandos seguirá ejecutándose independientemente de la entrada proporcionada (Sí/No) aquí. El siguiente mensaje se mostrará como advertencia.

"Tenga en cuenta que todos los servidores Active Directory/servidores DNS no deben anidarse en máquinas virtuales de almacén de datos Hyperflex. Siempre debe haber anuncios físicos (sin software específico) en su entorno".

Paso 7. La herramienta Hyperflex-Hypercheck inicia sus comprobaciones. La ejecución tardará aproximadamente de 5 a 10 minutos en completarse en función del número de nodos convergentes del clúster

Paso 8. Descripción de los resultados y las comprobaciones realizadas

La herramienta Hyperflex-Hyperchecktool realiza las siguientes comprobaciones

Hyperflex Checks: (Below checks are performed on all the storage controller VMs)

Cluster services check - Verifies the status of storfs, stMgr and stNodeMgr services.

Enospc state check - Checks if the cluster space usage is above the warning threshold or no.

Zookeeper check - Checks whether the Zookeeper is running or no.

Exhibitor check - Verfies the status of the Exhibitor service which manages the ZK.

System Disks Usage - Checks if /sda1, var/stv and /var/zookeeper is less than 80%.

HDD health check - Reports if you have any blacklisted disk in your cluster.

DNS check - Checks whether DNS is configured and reachable.

Timestamp check - Checks if all the controller VMs have the exact same time.

NTP sync check - Checks whether NTP is reachable from the storage controller VMs and synced.

Check package & versions - Checks for packages and versions on Storage Controller VMs.

Check Iptables count - Checks for Iptables count on and ensure it is same on all Storage Controller VMs.

Cache Disks check     - Checks the number of Cache Disks.

Extra pnodes check - Looks for any extra/duplicate pnode entries in the cluster.

Memory usage check - Checks for available memory more than 2GB.

Incidence of OOM in the log file - Checks for any previous incidence of Out Of Memory Condition.

Check permissions for /tmp -  Checks if the /tmp permissions are set correctly.

Check Cluster Access Policy - Checks the Configured Cluster Access Policy

CMIP Hostname – Check if the clustermanagementip has hostname defined

Check domain join health – checking domain join health of the node.

HYPER-V Checks: (Below checks are performed on each HyperV node)

Hostname – check and print the hostname of the node.

Cluster Failover – check and ensure cluster failover is enabled.

Hyper-V Role – Check and ensure HyperV role is enabled.

Node State - Checks the state of the node.

Network Interfaces State - Checks the Network Interfaces State of the node.

Remote Management Enabled - Check if the Remote Management is enabled on the node.

MTU for Storage Data Network - Check MTU for the Storage Data Network of the node.

Domain and forest details -  Check the Domain and forest details of the cluster.

Host file entries- Check if the host file have correct entries.

Check Adapter details - Check Adapter details of the node.

Drivers test - Check the status of minifilter drivers.

SMB Test - Checking SMB Path reachability from the node.

VMMS – Checking the VMMS Service status

Paso 9. Obtener informe de los resultados del script. Puede obtenerla como se muestra a continuación

El archivo .tar de informe de hipercomprobación se guarda en /var/log/springpath y /tmp/Hypercheck-HyperV-master. Por lo tanto, puede descargar el paquete tar desde /var/log/springpath o/tmp/Hypercheck-HyperV-master. Alternativamente, puede simplemente generar y cargar un paquete storfs-support que también contendrá el informe de hipercomprobación tar.

El archivo .tar de informe de hipercomprobación se guarda en /var/log/springpath.

Ejemplo de archivo .tar de informe: VHX_Report_2020_08_29_08_40_20.tar se copia en la ruta: /var/log/springpath

Tipo ls -l | grep VHX_Report para revisar los archivos creados por la herramienta Hyperflex-Hypercheck

Under /var/log/springpath,

root@hyper11-stc:/var/log/springpath# ls -l | grep VHX_Report

-rw-r--r--  1 root    root    370K Aug 29 08:47 VHX_Report_2020_08_29_08_40_20.tar

root@hyper10-stc:/var/log/springpath#

Under /tmp/Hypercheck-HyperV-master

root@hyper11-stc:/tmp/Hypercheck-HyperV-master# ls -ltrh

total 576K

-rwxrwxrwx 1 root root  53K Apr 10  2018 prettytable.py

-rwxrwxrwx 1 root root 1.4K Jan 22  2019 progressbar.py

-rwxrwxrwx 1 root root 1.6K Aug 28 00:27 ReadMe.txt

-rwxrwxrwx 1 root root  75K Aug 28 06:32 VHXTool.py

-rwxrwxrwx 1 root root 3.5K Aug 28 06:46 TestInfo.txt

-rw-r--r-- 1 root root  49K Aug 29 08:40 prettytable.pyc

-rw-r--r-- 1 root root 1.8K Aug 29 08:40 progressbar.pyc

drwxr-xr-x 2 root root 4.0K Aug 29 08:47 VHX_Report_2020_08_29_08_40_20

-rw-r--r-- 1 root root 370K Aug 29 08:47 VHX_Report_2020_08_29_08_40_20.tar

Archivos y registros en el paquete de registro Hypercheck-

root@hyper11-stc: tmp/Hypercheck-HyperV-master # cd VHX_Report_2020_08_29_08_40_20

root@hyper11-stc: tmp/Hypercheck-HyperV-master # ls -ltrh

-rw-r--r-- 1 root root  27K Aug 29 08:44 VHX_Report_10.8.16.65.txt

-rw-r--r-- 1 root root  27K Aug 29 08:45 VHX_Report_10.8.16.66.txt

-rw-r--r-- 1 root root  27K Aug 29 08:47 VHX_Report_10.8.16.67.txt

-rw-r--r-- 1 root root 101K Aug 29 08:47 VHX_Tool_Main_Report_2020-08-29_08-47-43_HYPER11-SMB.txt

-rw-r--r-- 1 root root 186K Aug 29 08:47 VHXTool_2020-08-29_08-40-20.log

Paso 10: Exporte HX_YYY_MM_DD_HH_MM_SS.tar y compártalo con el TAC.

Utilice el método que prefiera para exportar los registros de hipercomprobación mediante scp/sftp/ftp/tftp desde SCVM o simplemente descargue el paquete de soporte de storfs que contendrá el paquete tar VHX_Report.

Paso 11. Ejemplo de resultado de VHXTool desde un clúster de 3 nodos

Please enter below info of Hyper-V Cluster:

Enter the Hyper-V Username(Ex: Domain\Username): hx.local\hxadmin

Enter the Hyper-V Password:

Enter the HX-Cluster Root Password:

Is the Active Directory installed on Physical (bare metal) in your Environment (Enter Yes/No): yes

Note: Please be aware that all Active Directory Servers/ DNS Servers should not be nested in Hyperflex datastore virtual machines. There should always be physical (bare metal) ADs in your environment.

SMB Name: HYPER10-SMB

SSH connection established to HX Node: 10.8.16.65

SSH connection established to HX Node: 10.8.16.66

SSH connection established to HX Node: 10.8.16.67

HX Cluster Nodes:

+-------+-----------------+-------------+-----------------+----------+--------------------------+-----------------+------------+

| Nodes | Eth0 IP Address | HostName    | Eth1 IP Address | Eth1 MTU | Cluster Mgmt IP          | Cluster Data IP | CRM Master |

+-------+-----------------+-------------+-----------------+----------+--------------------------+-----------------+------------+

| 1     | 10.8.16.65      | hyper10-stc | 10.8.18.65      | 9000     | HYPER10-MGMT-IP.hx.local | 10.8.18.69      | 10.8.18.67 |

+-------+-----------------+-------------+-----------------+----------+--------------------------+-----------------+------------+

| 2     | 10.8.16.66      | hyper11-stc | 10.8.18.66      | 9000     | HYPER10-MGMT-IP.hx.local | 10.8.18.69      | 10.8.18.67 |

+-------+-----------------+-------------+-----------------+----------+--------------------------+-----------------+------------+

| 3     | 10.8.16.67      | hyper12-stc | 10.8.18.67      | 9000     | HYPER10-MGMT-IP.hx.local | 10.8.18.69      | 10.8.18.67 |

+-------+-----------------+-------------+-----------------+----------+--------------------------+-----------------+------------+

HX Controller: 10.8.16.65

Cluster services check      [########################] COMPLETE

ZooKeeper & Exhibitor check [########################] COMPLETE

HDD health check            [########################] COMPLETE

Pre-Upgrade Check           [########################] COMPLETE

Hyper-V check               [########################] COMPLETE

HX Controller: 10.8.16.66

Cluster services check      [########################] COMPLETE

ZooKeeper & Exhibitor check [########################] COMPLETE

HDD health check            [########################] COMPLETE

Pre-Upgrade Check           [########################] COMPLETE

Hyper-V check               [########################] COMPLETE

HX Controller: 10.8.16.67

Cluster services check      [########################] COMPLETE

ZooKeeper & Exhibitor check [########################] COMPLETE

HDD health check            [########################] COMPLETE

Pre-Upgrade Check           [########################] COMPLETE

Hyper-V check               [########################] COMPLETE

HX Controller: 10.8.16.65

Test Summary:

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Name                             | Result                                                        | Comments                                                       |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Cluster services check           | PASS                                                          | Checks storfs, stMgr, sstNodeMgr service running on each node. |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Enospc state check               | PASS                                                          | Checks if the cluster storage utilization is above threshold.  |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Zookeeper check                  | PASS                                                          | Checks if Zookeeper service is running.                        |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Exhibitor check                  | PASS                                                          | Checks if Exhibitor in running.                                |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| System Disks Usage               | PASS                                                          | Checks if /sda1, var/stv and /var/zookeeper is less than 80%.  |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| HDD health check                 | PASS                                                          | Checks if any drive is in blacklisted state.                   |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| DNS check                        | PASS                                                          | Checks if configured DNS is reachable.                         |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Timestamp check                  | PASS                                                          | Checks if the timestamp is same across all Nodes.              |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| NTP sync check                   | PASS                                                          | Checks if the NTP is synced with NTP server.                   |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Check package & versions         | PASS                                                          | Checks for count and version of HX packages on each node.      |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Check Iptables count             | PASS                                                          | Checks if the IP Table count matches on all nodes.             |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Cache Disks check                | PASS                                                          | Checks the number of Cache Disks.                              |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Extra pnodes check               | PASS                                                          | Checks for any stale Node entry.                               |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Memory usage check               | PASS                                                          | Checks for available memory more than 2GB.                     |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Incidence of OOM in the log file | PASS                                                          | Checks for any previous incidence of Out Of Memory Condition.  |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Check permissions for /tmp       | PASS                                                          | Checks if the /tmp permissions are set correctly.              |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Check Cluster Access Policy      | Lenient                                                       | Checks the Configured Cluster Access Policy                    |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Check CMIP Hostname              | PASS                                                          | Check if the clustermanagementip has hostname defined.         |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Domain join health               | Name = hyper10-stc                                            | Checking domain join health of the Node.                       |

|                                  | Domain = HX.LOCAL                                             |                                                                |

|                                  | Distinguished Name = CN=HYPER10-STC,OU=HYPER10,DC=hx,DC=local |                                                                |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

HX Controller: 10.8.16.66

Test Summary:

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Name                             | Result                                                        | Comments                                                       |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Cluster services check           | PASS                                                          | Checks storfs, stMgr, sstNodeMgr service running on each node. |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Enospc state check               | PASS                                                          | Checks if the cluster storage utilization is above threshold.  |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Zookeeper check                  | PASS                                                          | Checks if Zookeeper service is running.                        |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Exhibitor check                  | PASS                                                          | Checks if Exhibitor in running.                                |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| System Disks Usage               | PASS                                                          | Checks if /sda1, var/stv and /var/zookeeper is less than 80%.  |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| HDD health check                 | PASS                                                          | Checks if any drive is in blacklisted state.                   |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| DNS check                        | PASS                                                          | Checks if configured DNS is reachable.                         |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Timestamp check                  | PASS                                                          | Checks if the timestamp is same across all Nodes.              |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| NTP sync check                   | PASS                                                          | Checks if the NTP is synced with NTP server.                   |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Check package & versions         | PASS                                                          | Checks for count and version of HX packages on each node.      |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Check Iptables count             | PASS                                                          | Checks if the IP Table count matches on all nodes.             |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Cache Disks check                | PASS                                                          | Checks the number of Cache Disks.                              |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Extra pnodes check               | PASS                                                          | Checks for any stale Node entry.                               |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Memory usage check               | PASS                                                          | Checks for available memory more than 2GB.                     |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Incidence of OOM in the log file | PASS                                                          | Checks for any previous incidence of Out Of Memory Condition.  |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Check permissions for /tmp       | PASS                                                          | Checks if the /tmp permissions are set correctly.              |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Check Cluster Access Policy      | Lenient                                                       | Checks the Configured Cluster Access Policy                    |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Check CMIP Hostname              | PASS                                                          | Check if the clustermanagementip has hostname defined.         |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Domain join health               | Name = hyper11-stc                                           | Checking domain join health of the Node.                       |

|                                  | Domain = HX.LOCAL                                             |                                                                |

|                                  | Distinguished Name = CN=HYPER11-STC,OU=HYPER10,DC=hx,DC=local |                                                                |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

HX Controller: 10.8.16.67

Test Summary:

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Name                             | Result                                                        | Comments                                                       |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Cluster services check           | PASS                                                          | Checks storfs, stMgr, sstNodeMgr service running on each node. |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Enospc state check               | PASS                                                          | Checks if the cluster storage utilization is above threshold.  |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Zookeeper check                  | PASS                                                          | Checks if Zookeeper service is running.                        |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Exhibitor check                  | PASS                                                          | Checks if Exhibitor in running.                                |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| System Disks Usage               | PASS                                                          | Checks if /sda1, var/stv and /var/zookeeper is less than 80%.  |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| HDD health check                 | PASS                                                          | Checks if any drive is in blacklisted state.                   |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| DNS check                        | PASS                                                          | Checks if configured DNS is reachable.                         |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Timestamp check                  | PASS                                                          | Checks if the timestamp is same across all Nodes.              |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| NTP sync check                   | PASS                                                          | Checks if the NTP is synced with NTP server.                   |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Check package & versions         | PASS                                                          | Checks for count and version of HX packages on each node.      |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Check Iptables count             | PASS                                                          | Checks if the IP Table count matches on all nodes.             |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Cache Disks check                | PASS                                                          | Checks the number of Cache Disks.                              |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Extra pnodes check               | PASS                                                          | Checks for any stale Node entry.                               |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Memory usage check               | PASS                                                          | Checks for available memory more than 2GB.                     |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Incidence of OOM in the log file | PASS                                                          | Checks for any previous incidence of Out Of Memory Condition.  |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Check permissions for /tmp       | PASS                                                          | Checks if the /tmp permissions are set correctly.              |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Check Cluster Access Policy      | Lenient                                                       | Checks the Configured Cluster Access Policy                    |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Check CMIP Hostname              | PASS                                                          | Check if the clustermanagementip has hostname defined.         |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

| Domain join health               | Name = hyper12-stc                                           | Checking domain join health of the Node.                       |

|                                  | Domain = HX.LOCAL                                             |                                                                |

|                                  | Distinguished Name = CN=HYPER12-STC,OU=HYPER10,DC=hx,DC=local |                                                                |

+----------------------------------+---------------------------------------------------------------+----------------------------------------------------------------+

################################################################################

Hyper-V check:

################################################################################

Hyper-V Clusters: 10.8.16.61, 10.8.16.62, 10.8.16.63

Hyper-V Host: 10.8.16.61

+------------------------------------------+-------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Name                                     | Status                                                                              | Comments                                                    |

+------------------------------------------+-------------------------------------------------------------------------------------+-------------------------------------------------------------+

| HostName                                 | HYPER10                                                                             | Check if the hostname is defined.                           |

+------------------------------------------+-------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Cluster Failover                         | Installed                                                                           | Check if the Failover Cluster Manager feature is installed. |

+------------------------------------------+-------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Hyper-V Role                             | Installed                                                                           | Check if the Hyper-V Manager feature is installed.          |

+------------------------------------------+-------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Node State                               | PASS                                                                                | Check the Node State.                                       |

+------------------------------------------+-------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Network Interfaces State                 | PASS                                                                                | Check the Network Interfaces State.                         |

+------------------------------------------+-------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Remote Management Enabled                | PASS                                                                                | Check if the Remote Management is enabled on the node.      |

+------------------------------------------+-------------------------------------------------------------------------------------+-------------------------------------------------------------+

| MTU for Storage Data Network             | 9000                                                                                | Check MTU for the Storage Data Network.                     |

+------------------------------------------+-------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Check the Domain and forest details      | Description             : HXDC-DOMAIN                                               | Check the Domain and forest details of the cluster.         |

|                                          | DnsForestName           : hx.local                                                  |                                                             |

|                                          | DomainControllerAddress : \\10.8.12.254                                             |                                                             |

|                                          | DomainControllerName    : \\HXDC                                                    |                                                             |

|                                          | DomainName              : HXDC-DOMAIN                                               |                                                             |

|                                          | Status                  : OK                                                        |                                                             |

+------------------------------------------+-------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Check host file entries                  |                                                                                     | Check if the host file have correct entries.                |

|                                          | 10.8.18.65     HYPER10-SMB.hx.local                                                 |                                                             |

|                                          | 10.8.18.69     HYPER10-SMB.hx.local                                                 |                                                             |

+------------------------------------------+-------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Check Adapter details                    | InterfaceAlias                 InterfaceDescription                IPv4Address      | Check Adapter details of the node.                          |

|                                          | --------------                 --------------------                -----------      |                                                             |

|                                          | vswitch-hx-livemigration       Hyper-V Virtual Ethernet Adapter #4 {10.8.17.61}     |                                                             |

|                                          | vswitch-hx-vm-network          Hyper-V Virtual Ethernet Adapter #3 {10.8.19.61}     |                                                             |

|                                          | vswitch-hx-storage-data        Hyper-V Virtual Ethernet Adapter #2 {10.8.18.61}     |                                                             |

|                                          | vswitch-hx-inband-mgmt         Hyper-V Virtual Ethernet Adapter    {10.8.16.61}     |                                                             |

|                                          | vEthernet (New Virtual Switch) Hyper-V Virtual Ethernet Adapter #5 {169.254.84.129} |                                                             |

+------------------------------------------+-------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Drivers test                             | Filter Name                     Num Instances    Altitude    Frame                  | Check the status of minifilter drivers.                     |

|                                          | ------------------------------  -------------  ------------  -----                  |                                                             |

|                                          | CsvNSFlt                                1       404900         0                    |                                                             |

|                                          | CsvFlt                                  0       404800         0                    |                                                             |

|                                          | CCFFilter                               1       261160         0                    |                                                             |

|                                          | storqosflt                              1       244000         0                    |                                                             |

|                                          | ResumeKeyFilter                         0       202000         0                    |                                                             |

|                                          | wcifs                                   0       189900         0                    |                                                             |

|                                          | CldFlt                                  0       180451         0                    |                                                             |

|                                          | FileCrypt                               0       141100         0                    |                                                             |

|                                          | svhdxflt                                0       135100         0                    |                                                             |

|                                          | luafv                                   1       135000         0                    |                                                             |

|                                          | npsvctrig                               1        46000         0                    |                                                             |

|                                          | Wof                                     1        40700         0                    |                                                             |

+------------------------------------------+-------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Virtual Machine Management service check | PASS                                                                                | Checking if VMMS service is Up and Running.                 |

+------------------------------------------+-------------------------------------------------------------------------------------+-------------------------------------------------------------+

| SMB Test                                 | PASS                                                                                | Checking SMB reachability of node.                          |

+------------------------------------------+-------------------------------------------------------------------------------------+-------------------------------------------------------------+

Hyper-V Host: 10.8.16.62

+------------------------------------------+---------------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Name                                     | Status                                                                                      | Comments                                                    |

+------------------------------------------+---------------------------------------------------------------------------------------------+-------------------------------------------------------------+

| HostName                                 | HYPER11                                                                                     | Check if the hostname is defined.                           |

+------------------------------------------+---------------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Cluster Failover                         | Installed                                                                                   | Check if the Failover Cluster Manager feature is installed. |

+------------------------------------------+---------------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Hyper-V Role                             | Installed                                                                                   | Check if the Hyper-V Manager feature is installed.          |

+------------------------------------------+---------------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Node State                               | PASS                                                                                        | Check the Node State.                                       |

+------------------------------------------+---------------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Network Interfaces State                 | PASS                                                                                        | Check the Network Interfaces State.                         |

+------------------------------------------+---------------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Remote Management Enabled                | PASS                                                                                        | Check if the Remote Management is enabled on the node.      |

+------------------------------------------+---------------------------------------------------------------------------------------------+-------------------------------------------------------------+

| MTU for Storage Data Network             | 9000                                                                                        | Check MTU for the Storage Data Network.                     |

+------------------------------------------+---------------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Check the Domain and forest details      | Description             : HXDC-DOMAIN                                                       | Check the Domain and forest details of the cluster.         |

|                                          | DnsForestName           : hx.local                                                          |                                                             |

|                                          | DomainControllerAddress : \\10.8.12.254                                                     |                                                             |

|                                          | DomainControllerName    : \\HXDC                                                            |                                                             |

|                                          | DomainName              : HXDC-DOMAIN                                                       |                                                             |

|                                          | Status                  : OK                                                                |                                                             |

+------------------------------------------+---------------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Check host file entries                  |                                                                                             | Check if the host file have correct entries.                |

|                                          | 10.8.18.66     HYPER10-SMB.hx.local                                                         |                                                             |

|                                          | 10.8.18.69     HYPER10-SMB.hx.local                                                         |                                                             |

+------------------------------------------+---------------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Check Adapter details                    | InterfaceAlias                 InterfaceDescription                IPv4Address              | Check Adapter details of the node.                          |

|                                          | --------------                 --------------------                -----------              |                                                             |

|                                          | vswitch-hx-inband-mgmt         Hyper-V Virtual Ethernet Adapter    {10.8.16.70, 10.8.16.62} |                                                             |

|                                          | vswitch-hx-livemigration       Hyper-V Virtual Ethernet Adapter #4 {10.8.17.62}             |                                                             |

|                                          | vswitch-hx-storage-data        Hyper-V Virtual Ethernet Adapter #2 {10.8.18.62}             |                                                             |

|                                          | vswitch-hx-vm-network          Hyper-V Virtual Ethernet Adapter #3 {10.8.19.62}             |                                                             |

|                                          | vEthernet (New Virtual Switch) Hyper-V Virtual Ethernet Adapter #5 {169.254.247.198}        |                                                             |

+------------------------------------------+---------------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Drivers test                             | Filter Name                     Num Instances    Altitude    Frame                          | Check the status of minifilter drivers.                     |

|                                          | ------------------------------  -------------  ------------  -----                          |                                                             |

|                                          | CsvNSFlt                                1       404900         0                            |                                                             |

|                                          | CsvFlt                                  0       404800         0                            |                                                             |

|                                          | CCFFilter                               1       261160         0                            |                                                             |

|                                          | storqosflt                              2       244000         0                            |                                                             |

|                                          | ResumeKeyFilter                         0       202000         0                            |                                                             |

|                                          | wcifs                                   0       189900         0                            |                                                             |

|                                          | CldFlt                                  0       180451         0                            |                                                             |

|                                          | FileCrypt                               0       141100         0                            |                                                             |

|                                          | svhdxflt                                0       135100         0                            |                                                             |

|                                          | luafv                                   1       135000         0                            |                                                             |

|                                          | npsvctrig                               1        46000         0                            |                                                             |

|                                          | Wof                                     1        40700         0                            |                                                             |

+------------------------------------------+---------------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Virtual Machine Management service check | PASS                                                                                        | Checking if VMMS service is Up and Running.                 |

+------------------------------------------+---------------------------------------------------------------------------------------------+-------------------------------------------------------------+

| SMB Test                                 | PASS                                                                                        | Checking SMB reachability of node.                          |

+------------------------------------------+---------------------------------------------------------------------------------------------+-------------------------------------------------------------+

Hyper-V Host: 10.8.16.63

+------------------------------------------+------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Name                                     | Status                                                                             | Comments                                                    |

+------------------------------------------+------------------------------------------------------------------------------------+-------------------------------------------------------------+

| HostName                                 | HYPER12                                                                            | Check if the hostname is defined.                           |

+------------------------------------------+------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Cluster Failover                         | Installed                                                                          | Check if the Failover Cluster Manager feature is installed. |

+------------------------------------------+------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Hyper-V Role                             | Installed                                                                          | Check if the Hyper-V Manager feature is installed.          |

+------------------------------------------+------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Node State                               | PASS                                                                               | Check the Node State.                                       |

+------------------------------------------+------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Network Interfaces State                 | PASS                                                                               | Check the Network Interfaces State.                         |

+------------------------------------------+------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Remote Management Enabled                | PASS                                                                               | Check if the Remote Management is enabled on the node.      |

+------------------------------------------+------------------------------------------------------------------------------------+-------------------------------------------------------------+

| MTU for Storage Data Network             | 9000                                                                               | Check MTU for the Storage Data Network.                     |

+------------------------------------------+------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Check the Domain and forest details      | Description             : HXDC-DOMAIN                                              | Check the Domain and forest details of the cluster.         |

|                                          | DnsForestName           : hx.local                                                 |                                                             |

|                                          | DomainControllerAddress : \\10.8.12.254                                            |                                                             |

|                                          | DomainControllerName    : \\HXDC                                                   |                                                             |

|                                          | DomainName              : HXDC-DOMAIN                                              |                                                             |

|                                          | Status                  : OK                                                       |                                                             |

+------------------------------------------+------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Check host file entries                  |                                                                                    | Check if the host file have correct entries.                |

|                                          | 10.8.18.67     HYPER10-SMB.hx.local                                                |                                                             |

|                                          | 10.8.18.69     HYPER10-SMB.hx.local                                                |                                                             |

+------------------------------------------+------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Check Adapter details                    | InterfaceAlias                 InterfaceDescription                IPv4Address     | Check Adapter details of the node.                          |

|                                          | --------------                 --------------------                -----------     |                                                             |

|                                          | vswitch-hx-inband-mgmt         Hyper-V Virtual Ethernet Adapter    {10.8.16.63}    |                                                             |

|                                          | vswitch-hx-storage-data        Hyper-V Virtual Ethernet Adapter #2 {10.8.18.63}    |                                                             |

|                                          | vswitch-hx-vm-network          Hyper-V Virtual Ethernet Adapter #3 {10.8.19.63}    |                                                             |

|                                          | vswitch-hx-livemigration       Hyper-V Virtual Ethernet Adapter #4 {10.8.17.63}    |                                                             |

|                                          | vEthernet (New Virtual Switch) Hyper-V Virtual Ethernet Adapter #5 {169.254.18.96} |                                                             |

+------------------------------------------+------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Drivers test                             | Filter Name                     Num Instances    Altitude    Frame                 | Check the status of minifilter drivers.                     |

|                                          | ------------------------------  -------------  ------------  -----                 |                                                             |

|                                          | CsvNSFlt                                1       404900         0                   |                                                             |

|                                          | CsvFlt                                  0       404800         0                   |                                                             |

|                                          | CCFFilter                               1       261160         0                   |                                                             |

|                                          | storqosflt                              2       244000         0                   |                                                             |

|                                          | ResumeKeyFilter                         0       202000         0                   |                                                             |

|                                          | wcifs                                   0       189900         0                   |                                                             |

|                                          | CldFlt                                  0       180451         0                   |                                                             |

|                                          | FileCrypt                               0       141100         0                   |                                                             |

|                                          | svhdxflt                                0       135100         0                   |                                                             |

|                                          | luafv                                   1       135000         0                   |                                                             |

|                                          | npsvctrig                               1        46000         0                   |                                                             |

|                                          | Wof                                     1        40700         0                   |                                                             |

+------------------------------------------+------------------------------------------------------------------------------------+-------------------------------------------------------------+

| Virtual Machine Management service check | PASS                                                                               | Checking if VMMS service is Up and Running.                 |

+------------------------------------------+------------------------------------------------------------------------------------+-------------------------------------------------------------+

| SMB Test                                 | PASS                                                                               | Checking SMB reachability of node.                          |

+------------------------------------------+------------------------------------------------------------------------------------+-------------------------------------------------------------+

Main Report File: VHX_Tool_Main_Report_2020-09-13_09-49-38_HYPER10-SMB.txt

Report tar file: VHX_Report_2020_09_13_21_42_18.tar

Report file copied to path: /var/log/springpath

Release Notes:

https://www.cisco.com/c/en/us/support/hyperconverged-systems/hyperflex-hx-data-platform-software/products-release-notes-list.html

Upgrade Guides:

https://www.cisco.com/c/en/us/support/hyperconverged-systems/hyperflex-hx-data-platform-software/products-installation-guides-list.html

Note:

1) Hypercheck doesnot perform FAILOVER TEST, so please ensure that the upstream is configured for network connectivity for JUMBO or NORMAL MTU size as needed.

Analizar salida de herramienta: siguientes pasos

- La herramienta automatiza el proceso de ejecución de comandos manuales en sistemas Hyperflex.

- Si la herramienta funciona correctamente y da PASS/COMPLETED en todas las pruebas. El sistema HX es bueno para todas las comprobaciones que ha realizado el script.

- En situaciones en las que la herramienta FALLA en algunas comprobaciones o no se ejecuta correctamente, puede utilizar los comandos de CLI (enumerados a continuación) para realizar las mismas comprobaciones en el sistema Hyperflex que las realizadas por la secuencia de comandos Manualmente.

- La herramienta NO verifica si hay advertencias antiguas/nuevas/abiertas/resueltas y, por lo tanto, se recomienda revisar las Notas de la versión y las Guías de actualización de Hyperflex antes de cualquier actividad de actualización o mantenimiento.

NOTE: NO SE PUEDE abra un caso TAC porque el script no se pudo ejecutar. Ejecute los comandos manualmente, identifique el problema y abra una SR para el problema identificado.

Comandos CLI

En Hyperflex SCVM-

ssh to All Hyperflex SCVMs-

# service_status.sh

# sysmtool --ns cluster --cmd enospcinfo

# echo srvr | nc 0 2181

# pidof exhibitor

# sysmtool --ns disk --cmd list | grep -i blacklisted | wc -l

# stcli services dns show (and ping the IPs listed)

# date ; compare the time on all SCVMs. They should ideally be identical

# stcli services ntp show

# sysmtool --ns cleaner --cmd status

# ntpq -p -4

# dpkg -l | grep -i springpath

# iptables -L -n | wc -l

# hxcli cluster info

# df -h ; check that /var/stv should not be more than 80% used

# zgrep -i “out of memory” /var/log/springpath/debug-storfs.*

# domainjoin-cli query

En el nodo HyperV:

Open the Windows Powershell

# Get-ClusterNode

# Get-ClusterNetwork

# Get-Service WinRM, Make sure windows remote management service is running

# Get-Content $env:SystemRoot\System32\Drivers\etc\hosts , Make sure you have correct host entried

# test-path\\<smb-share name fqdn>\<datastorename> This should return true ,if not datastore is not reachable via smb.

# Get-NetIPConfiguration

# Get-NetIPInterface -AddressFamily IPv4 -InterfaceAlias vswitch-hx-storage-data | select NlMtu*