Contenu

Introduction

Systèmes HX pris en charge

Cas d’utilisation

Marche à suivre

Analyse des résultats de l'outil - Étapes suivantes

Commandes CLI

Introduction

Ce document décrit le processus d'exécution de l'outil Hypercheck Health Check & Pre-Upgrade sur le cluster Hyperflex HyperV. Cet outil est un utilitaire permettant d'effectuer des auto-contrôles proactifs sur les systèmes hyperflex afin de garantir sa stabilité et sa résilience. Il permet d'automatiser une liste de vérifications de l'état et de pré-mise à niveau sur les systèmes hyperflex pour gagner du temps lors des opérations de mise à niveau et de maintenance hyperflex.

REMARQUE : téléchargez toujours la dernière version de l'outil avant de l'utiliser. Comme l'outil est fréquemment amélioré, l'utilisation d'une version plus ancienne peut entraîner l'absence de vérifications importantes.

Systèmes HX pris en charge

- Versions Hyperflex - 3.0, 3.5, 4.0

- Cluster Hyperflex Standard

- Prise en charge uniquement sur le cluster Hyperflex dans Microsoft Hyper-V

Remarque: Comment exécuter Hypercheck sur le cluster hyperflex ESXi, rendez-vous sur

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

Cas d’utilisation

- Avant les mises à niveau Hyperflex.

- Vérification de l'intégrité Hyperflex avant et après les fenêtres de maintenance

- Pour identifier les disques/unités défaillants.

- Lorsque vous travaillez avec le TAC Cisco

- Vérification proactive de l'état à tout moment.

Marche à suivre

Étape 1. Téléchargez Hyperflex-Hypercheck.zip à partir du compte de périphérique Cisco github ici .Veuillez obtenir la dernière copie qui contiendra les dernières améliorations et mises à jour.

NOTE: Utilisez uniquement le script téléchargé à partir du compte de périphérique Cisco github.

Étape 2 : Téléchargez-la sur la machine virtuelle du contrôleur de stockage (SCVM) avec l'adresse IP de gestion de cluster (CMIP).

Utilisez la méthode de votre choix (scp/sftp/ftp/tftp) pour copier le fichier Hypercheck-HyperV-master.zip dans le répertoire /tmp

Pour MAC :

Exécutez SCP à partir de l'interface de ligne de commande (vérifiez que le fichier Hyperflex-Hypercheck.zip se trouve dans le même dossier que celui à partir duquel vous exécutez scp)

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

Utilisez les éléments suivants pour identifier l'adresse IP de gestion de cluster dans votre environnement HX : guide de vente Hyperflex

Pour Windows :

Nous pouvons utiliser WINSCP pour transférer les fichiers comme indiqué ci-dessous-

Étape 3. Extraire le contenu du fichier Hypercheck-HyperV-master.zip

Tapez cd /tmp pour accéder au répertoire /tmp

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

Tapez unzip Hypercheck-HyperV-master.zip pour extraire les fichiers

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#

Étape 4 : exécution du script Python VHXTool

Tapez cd Hypercheck-HyperV-master pour accéder au répertoire Hypercheck-HyperV-master

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

Tapez python VHXTool.py pour exécuter le script

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

Étape 5. Entrez le nom d’utilisateur admin HyperV, le mot de passe et le mot de passe racine du cluster lorsque vous y êtes invité

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: Pour arrêter l'exécution du script, utilisez la touche [CTRL+Z] et elle s'arrêtera immédiatement

Étape 6. L'outil Hyperflex-Hypercheck vous invite à vérifier si Active Directory est installé sans système d'exploitation dans votre environnement.

NOTE: Le script continuera à s'exécuter quelle que soit l'entrée fournie (Oui/Non) ici. Le message ci-dessous s'affiche avec un avertissement.

« Notez que tous les serveurs Active Directory/serveurs DNS ne doivent pas être imbriqués dans les machines virtuelles de data store Hyperflex. Il doit toujours y avoir des DA physiques (sans système d'exploitation) dans votre environnement. »

Étape 7. L'outil Hyperflex-Hypercheck commence ses vérifications. L'exécution prend environ 5 à 10 minutes en fonction du nombre de noeuds convergents dans le cluster

Étape 8. Présentation des résultats et des contrôles effectués

Les vérifications suivantes sont effectuées par Hyperflex-Hyperchecktool

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

Étape 9. Obtenez un rapport des résultats du script. Vous pouvez l'obtenir comme indiqué ci-dessous

Le fichier tar du rapport Hypercheck est enregistré sous /var/log/springpath et /tmp/Hypercheck-HyperV-master. Vous pouvez donc télécharger le bundle tar depuis /var/log/springpath ou/tmp/Hypercheck-HyperV-master. Sinon, vous pouvez simplement générer et télécharger un bundle de support storfs qui contiendra également le tar du rapport hypercheck.

Le fichier tar du rapport Hypercheck est enregistré sous /var/log/springpath.

Exemple de fichier tar de rapport - VHX_Report_2020_08_29_08_40_20.tar est copié vers le chemin : /var/log/springpath

Tapez ls -l | grep VHX_Report pour examiner les fichiers créés par l'outil 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

Fichiers et journaux du bundle de journaux 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

Étape 10 : Exportez HX_YYY_MM_DD_HH_MM_SS.tar et partagez-le avec le TAC.

Utilisez la méthode que vous préférez pour exporter les journaux Hypercheck en utilisant scp/sftp/ftp/tftp de SCVM ou vous pouvez simplement télécharger le bundle de support storfs qui contiendra le bundle tar VHX_Report.

Étape 11. Exemple de sortie VHXTool d’un cluster à 3 noeuds

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.

Analyse des résultats de l'outil - Étapes suivantes

- L'outil automatise le processus d'exécution des commandes manuelles sur Hyperflex Systems.

- Si l'outil fonctionne correctement et donne PASS/COMPLETED sur tous les tests. Le système HX convient à toutes les vérifications effectuées par le script.

- Si l'outil ÉCHOUE sur certaines vérifications ou ne s'exécute pas correctement, vous pouvez utiliser les commandes CLI (répertoriées ci-dessous) pour effectuer les mêmes vérifications sur Hyperflex System que celles effectuées manuellement par le script.

- L'outil NE vérifie PAS les anciennes/nouvelles/ouvertes/résolues et il est donc fortement recommandé de consulter les notes de version et les guides de mise à niveau d'Hyperflex avant toute activité de mise à niveau ou de maintenance.

NOTE: NE FAITES PAS ouvrez un dossier TAC car l'exécution du script a échoué. Exécutez les commandes manuellement, identifiez le problème et ouvrez une demande de service pour le problème identifié.

Commandes CLI

Sur 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

Sur le noeud 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*