运行状况服务操作Health Service actions

适用于:Windows Server 2019、Windows Server 2016Applies to: Windows Server 2019, Windows Server 2016

运行状况服务是 Windows Server 2016 中的一项新功能,可改进运行存储空间直通的群集的日常监视和操作体验。The Health Service is a new feature in Windows Server 2016 that improves the day-to-day monitoring and operational experience for clusters running Storage Spaces Direct.

操作Actions

下一部分介绍运行状况服务自动化的工作流。The next section describes workflows which are automated by the Health Service. 要验证确实正在自主执行一项操作,或者要跟踪其进度或结果,运行状况服务会生成“操作”。To verify that an action is indeed being taken autonomously, or to track its progress or outcome, the Health Service generates "Actions". 与日志不同,完成后不久操作会消失,并且主要用于深入了解正在进行的活动,这些活动可能会影响性能或容量(例如还原复原或重新平衡数据)。Unlike logs, Actions disappear shortly after they have completed, and are intended primarily to provide insight into ongoing activity which may impact performance or capacity (e.g. restoring resiliency or rebalancing data).

用法Usage

一个新的 PowerShell cmdlet 会显示所有操作:One new PowerShell cmdlet displays all Actions:

Get-StorageHealthAction  

覆盖范围Coverage

在 Windows Server 2016 中, StorageHealthAction cmdlet 可以返回以下任何信息:In Windows Server 2016, the Get-StorageHealthAction cmdlet can return any of the following information:

  • 停用失败、断开连接或未响应的物理磁盘Retiring failed, lost connectivity, or unresponsive physical disk

  • 切换存储池以使用替代物理磁盘Switching storage pool to use replacement physical disk

  • 还原数据的完全复原能力Restoring full resiliency to data

  • 重新平衡存储池Rebalancing storage pool

请参阅See also