扩展存储运行状况检查Extended storage health checks

本文提供有关如何检查数据中心扩展存储硬件和 Azure Stack Hub 部署的运行状况的指南。This article provides guidance for checking the health of the datacenter extended storage hardware and the Azure Stack Hub deployment.

在开始之前,请查看更新固件以获取扩展存储并按照其中的步骤进行操作。Before you start, review and follow the steps in Updating firmware for the extended storage.

推出系统前的最后一步是将其关闭。The final step before shipping the system is shutting it down. 按照快速入门指南中的步骤操作。Follow the steps in the Quick Start Guide.

扩展存储运行状况Extended storage health

本部分提供有关如何检查扩展存储硬件的运行状况的指南。This section provides guidance on checking the health of the extended storage hardware. 检查事件,并在存在待解决的问题时通知管理员。Check events and notify the administrator if there are issues to be resolved.

若要检查群集存储池的运行状况,请运行以下命令:To check the health of the cluster storage pool, run the following command:

isi storagepool health

例如,如果运行正常,命令结果将如下所示:For example, if healthy, the command results look like this:

All pools are healthy.
Unprovisioned drives: none

如果运行不正常或驱动器缺失,命令结果将如下所示:If unhealthy, or drives missing, the command results look like this:

SmartPools Health
Name                  Health  Type Prot   Members          Down          Smartfailed
--------------------- ------- ---- ------ ---------------- ------------- -------------
a2000_200tb_800gb-    -M---
ssd-sed_16gb
 a2000_200tb_800gb-   -M---   HDD  3x     3,11,14,19,23,30 Nodes:        Nodes:
ssd-sed_16gb:24                           ,38,41,46:bay6,1 Drives:       Drives:
                                          0-11,16,19,
                                          25:bay6,10-11,16

OK = Ok, U = Too few nodes, M = Missing drives,
D = Some nodes or drives are down, S = Some nodes or drives are smartfailed,
R = Some nodes or drives need repair
Unprovisioned drives: none

联系 Microsoft 支持部门以获取有关任何问题的帮助。Contact Microsoft Support for help with any issues.

下一条命令将在简化的视图中检查群集的整体运行状况:The next command checks the overall health of the cluster, in a simplified view:

isi status

如果一切正常,则会显示绿色的“正常”,否则“群集运行状况”行上或下表中的一个或多个群集节点 ID 行上会显示黄色警告或红色错误 。If everything is healthy, a green OK appears, otherwise yellow warnings or red errors appear either on the Cluster Health line, or on one or more of the Cluster Node ID lines in the table that follows.

如果需要有关群集运行状况的详细信息,可以运行更详细的命令,结果以扩展视图显示:If more information about the health of the cluster is needed, a more verbose command can be run, in an expanded view:

isi status -a

联系 Microsoft 支持部门以获取有关任何问题的帮助。Contact Microsoft Support for help with any issues.

Azure Stack Hub 运行状况Azure Stack Hub health

本部分提供有关如何检查 Azure Stack Hub 部署的运行状况的指南。This section provides guidance on checking the health of the Azure Stack Hub deployment.

若要全面了解与扩展存储系统集成的 Azure Stack 部署,请运行以下脚本(以下内容的包装器):To get an overall view of the Azure Stack deployment integrated with the extended storage system, run the following script, which is is a wrapper for the following:

  • 使用提供的凭据连接到 ERCS VMConnection to an ERCS VM, using the credentials provided
  • 执行 Test-AzureStack -Debug 命令(它将详细的运行状况信息直接输出为屏幕上的输出)Execution of the Test-AzureStack -Debug command (which outputs detailed health information directly as an output on the screen)

此脚本的前提条件如下所示:The prerequisites for this script are as follows:

  • .\Invoke-ExtendedStorageConfiguration.ps1 脚本文件,可在硬件生命周期主机 (HLH) 的 C:\OEMSoftware\ExtendedStorage\ 文件夹中找到.\Invoke-ExtendedStorageConfiguration.ps1 script file, found in the C:\OEMSoftware\ExtendedStorage\ folder of the Hardware Lifecycle Host (HLH)
  • $AzScred 凭据变量,应使用 DOMAIN\cloudadmin 凭据填充。$AzScred Credential Variable, which should be populated with the DOMAIN\cloudadmin credentials. 将 DOMAIN 替换为实际域名,如 CONTOSO。Replace DOMAIN with the actual domain name, such as CONTOSO.
$AzScred = Get-Credential -Credential 'DOMAIN\cloudadmin'
.\Invoke-ExtendedStorageConfiguration.ps1 -TestAzureStack -AzureStackCred $AzScred

查看输出并验证 Azure Stack 部署的整体运行状态,并验证结果的 NAS 特定部分,以了解与 Azure Stack 集成的扩展存储的特定运行状态。Review the output and verify the overall heath state of the Azure Stack deployment, as well as the NAS specific sections of the results for the specific health state of the Extended Storage integration with Azure Stack.

若要深入了解 Azure Stack 诊断,请参阅验证 Azure Stack Hub 系统状态For a more in-depth look at Azure Stack diagnostics, see Validate Azure Stack Hub system state.

技术支持Technical support

联系 Microsoft 支持部门以获取有关任何问题的帮助。Contact Microsoft Support for help with any issues.

后续步骤Next steps