使用 Windows Admin Center 管理 Azure Stack HCI 群集Manage Azure Stack HCI clusters using Windows Admin Center

适用于:Azure Stack HCI 版本 20H2;Windows Server 2019Applies to: Azure Stack HCI, version 20H2; Windows Server 2019

Windows Admin Center 可用于管理 Azure Stack HCI 群集。Windows Admin Center can be used to manage your Azure Stack HCI clusters. 具体来说,是使用 Windows Admin Center 中的群集管理器功能来管理群集。Specifically, you will be using the Cluster Manager feature in Windows Admin Center to manage your clusters.

查看群集仪表板View the cluster dashboard

群集仪表板显示有关群集运行状况和性能的信息。The cluster dashboard displays information regarding cluster health and performance.

群集仪表板屏幕

若要查看此信息,请在“所有连接”下选择群集名称,然后在左侧的“工具”下选择“仪表板” 。To view this information, select the cluster name under All connections, then under Tools on the left, select Dashboard. 可以查看以下内容:You can view the following:

  • 群集事件警报Cluster event alerts
  • 已加入群集的服务器列表List of the servers joined to the cluster
  • 群集上运行的虚拟机列表List of virtual machines running on the cluster
  • 群集上可用的磁盘驱动器列表List of disk drives available on the cluster
  • 群集上可用的卷列表List of volumes available on the cluster
  • 群集的群集 CPU 使用率Total cluster CPU usage for the cluster
  • 群集的群集内存总使用率Total cluster memory usage for the cluster
  • 群集的群集存储总使用率Total cluster storage usage for the cluster
  • 群集总输入/输出操作数/秒 (IOPS)Total cluster input/output operations/second (IOPS)
  • 群集平均延迟(以毫秒计)Average cluster latency in milliseconds

更改存储设置Change storage settings

可以选择使用服务器内存来缓存频繁读取的内容,并指定每个服务器要使用的最大内存。You can select to use server memory to cache frequent reads and specify the maximum memory to be used per sever. 有关详细信息,请参阅了解 Azure Stack HCI 中的缓存For more information, see Understanding the cache in Azure Stack HCI.

  1. 在 Windows Admin Center 中,从顶部下拉箭头中选择“群集管理器”。In Windows Admin Center, select Cluster Manager from the top drop-down arrow.

  2. 在“工具”下,选择底部的“设置” 。Under Tools, select Settings at the bottom.

  3. 选择“内存中缓存”,然后输入新名称。Select In-memory cache and enter the new name.

    群集内存中缓存屏幕

  4. 可以更改存储空间直通使用的存储池的名称。You can change the name of the storage pool that Storage Spaces Direct uses. 选择“存储池”,然后输入新名称。Select Storage pools and enter the new name. 这适用于拉伸群集。This is applicable for stretched clusters.

    群集存储池屏幕

  5. 可以更改存储空间直通设置。You can change Storage Spaces Direct settings. 选择“存储空间直通”并根据需要更改以下设置:Select Storage Spaces Direct and change the following settings as needed:

    • 永久性缓存 - 启用或禁用永久性缓存Persistent cache - enable or disable the persistent cache
    • HDD 缓存模式 - 更改 HDD 驱动器的缓存模式Cache mode for HDD - change the cache mode for HDD drives
    • SSD 缓存模式 - 更改 SSD 驱动器的缓存模式Cache mode for SSD - change the cache for SSD drives

    群集存储空间直通屏幕

更改群集设置Change cluster settings

可以向群集应用七个常规设置。There are several general settings that can be applied to your cluster. 可在此处设置和管理访问点、节点关闭行为、流量加密、VM 负载均衡和群集见证。Here is where you can set and manage access points, node shutdown behavior, traffic encryption, VM load balancing, and cluster witness.

  1. 在 Windows Admin Center 中,从顶部下拉箭头中选择“群集管理器”。In Windows Admin Center, select Cluster Manager from the top drop-down arrow.

  2. 在“工具”下,选择“设置” 。Under Tools, select Settings.

  3. 若要更改群集名称,请选择“访问点”,然后输入新名称。To change the cluster name, select Access point and enter the new name.

    主动/主动延伸群集方案

  4. 若要控制节点关闭行为,请选择“节点关闭行为”,然后确保勾选了复选框。To control node shutdown behavior, select Node shutdown behavior and ensure the checkbox is enabled. 此操作会先将所有虚拟机从节点移出,以允许节点正常关闭。This moves any virtual machines from the node first to allow graceful node shutdown.

    群集节点关闭行为屏幕

  5. 若要加密用于在群集节点之间发送数据的 SMB 连接,请选择“群集流量加密”,然后从下拉框中选择“加密”,以实现以下加密目的 :To encrypt SMB connections used to send data between cluster nodes, select Cluster traffic encryption, then select Encrypt from the dropdown boxes for the following:

    • 核心流量 - 对在端口 3343 上通过 NetFT(群集虚拟适配器)发送的流量进行加密Core traffic - encrypts traffic sent over NetFT (cluster virtual adapter) on port 3343

    • 存储流量 - 对群集共享卷 (CSV) 和存储总线层 (SBL) 流量进行加密Storage traffic - encrypts Cluster Shared Volume (CSV) and Storage Bus Layer (SBL) traffic

      群集群集流量加密屏幕

  6. 若要自动在整个群集的所有虚拟机中实现负载均衡,请选择“虚拟机负载均衡”,然后执行以下操作:To automatically load-balance virtual machines across the cluster, select Virtual machine load balancing, and do the following:

    • 对于“均衡虚拟机”,选择相应的操作For Balance virtual machines, select the appropriate action

    • 对于“入侵”,选择相应的行为For Aggressiveness, select the appropriate behavior

      若要了解其工作原理,请参阅 Virtual Machine Load Balancing overview(虚拟机负载均衡概述)。For information on how this works, see Virtual Machine Load Balancing overview.

      群集虚拟机负载均衡屏幕

  7. 若要选择仲裁见证类型,请选择“见证”,然后为“见证类型”选择以下选项之一:To select a quorum witness type, select Witness, then for Witness type select one of the following:

  8. 若要使用关联规则控制主机服务器和站点之间的虚拟机布局,请选择“关联规则”,然后单击“创建规则”。To use affinity rules to control virtual machine placement across host servers and sites, select Affinity rules, then click Create rule. 有关如何设置规则的详细信息,请参阅为 VM 创建服务器和站点关联规则For detailed information on how set up rules, see Create server and site affinity rules for VMs.

    群集关联规则屏幕

  9. 若要选择发送到 Microsoft 以进行诊断的数据量,请选择“诊断数据”,然后选择以下项之一:To select how much data to send to Microsoft for diagnostics, select Diagnostic data, then select one of the following:

    • 诊断数据关闭(安全) - 不发送任何数据Diagnostic data off (Security) - no data is sent
    • 必需(基本) - 发送确保安全和最新状态的最小数据Required (Basic) - minimum data sent to keep things secure and up-to-date
    • 可选(完全) - 发送所有适用数据Optional (Full) - all applicable data sent

    群集数据诊断屏幕

更改 Hyper-V 设置Change Hyper-V settings

可以向群集应用多个 Hyper-V 主机设置。There are several Hyper-V host settings that can be applied to your cluster.

  1. 在 Windows Admin Center 中,从顶部下拉箭头中选择“群集管理器”。In Windows Admin Center, select Cluster Manager from the top drop-down arrow.

  2. 在“工具”下,选择“设置” 。Under Tools, select Settings.

  3. 选择“常规”,然后使用以下设置:Select General and then use the following settings:

    • 虚拟硬盘路径 - 指定用于存储虚拟硬盘文件的默认文件夹。Virtual Hard Disks Path - specify the default folder for storing virtual hard disk files.

    • 虚拟机路径 - 指定用于存储虚拟机配置文件的默认文件夹。Virtual Machines Path - specify the default folder for storing the virtual machine configuration files.

      群集 Hyper-V 常规设置屏幕

  4. 若要允许从虚拟机重定向本地设备和资源,请选择“增强会话模式”。To allow redirection of local devices and resources from virtual machines, select Enhanced Session Mode. 请注意,增强会话模式的连接需要使用受支持的来宾操作系统。Note that enhanced session mode connections require a supported guest operating system.

    群集 Hyper-V 增强会话模式屏幕

  5. 若要允许虚拟机涵盖物理 NUMA 节点,请选择“NUMA 涵盖”。To allow virtual machines to span physical NUMA nodes, select NUMA Spanning. 非统一内存体系结构 (NUMA) 涵盖可以为虚拟机提供比单个 NUMA 节点上可用内存更多的内存。Non-uniform memory architecture (NUMA) spanning can provide a virtual machine with more memory than what is available on a single NUMA node.

    群集 NUMA 涵盖屏幕

  6. 若要指定可以在运行的同时进行迁移(实时迁移)的 VM 的数量,请选择“实时迁移”,选择一个数字,然后指定以下内容:To specify the number of VMs that can be simultaneously moved while running (live migrated), select Live Migration, select a number, then specify the following:

    • 对于“身份验证协议”,选择 CredSSP 或 Kerberos 。for Authentication Protocol, select either CredSSP or Kerberos.

    • 对于“性能选项”,请选择“压缩”或“SMB”。for Performance Options, select either Compression or SMB. 压缩数据通过 TCP/IP 连接发送。Compressed data is sent over a TCP/IP connection.

    • 勾选“使用任意网络”复选框即可使用节点上的任意可用网络执行迁移enable the Use any network checkbox to use any available network on a node to perform the migration

      群集实时迁移屏幕

  7. 若要指定可同时执行的存储迁移数,请选择“存储迁移”,然后选择一个数字。To specify the number of storage migrations that can be performed at the same time, select Storage Migration, then select a number.

    群集存储迁移屏幕

将群集注册到 AzureRegister the cluster with Azure

若要在 Azure 中注册或注销群集,请选择“Azure Stack HCI 注册”。To register or unregister your cluster with Azure, select Azure Stack HCI registration. 有关如何执行此操作的详细信息,请参阅将 Azure Stack HCI 连接到 AzureFor detailed information on how to do this, see Connect Azure Stack HCI to Azure.

群集 Azure 注册屏幕

后续步骤Next steps

若要监视群集,请参阅使用 Azure Monitor 监视 Azure Stack HCITo monitor your cluster, see Monitor Azure Stack HCI with Azure Monitor.