Manage an Azure Stack HCI cluster
As Contoso transitions to a new operational model that uses the capabilities of Azure Stack HCI clusters, you want to identify the optimal way to perform the most common cluster management tasks. To accomplish this, rather than relying on traditional administrative tools such as Failover Cluster Manager, you decide to focus on the clustering support in Windows Admin Center.
Overview of the most common Azure Stack HCI cluster management tasks
The most common Azure Stack HCI cluster management tasks include:
- Changing cluster configuration, such as the access point name, node shutdown behavior, cluster traffic encryption scope, cluster witness selection, virtual machine (VM) load-balancing behavior, VM affinity rules, and diagnostic data levels.
- Changing storage caching configuration, such as persistent and in-memory cache settings.
- Changing Hyper-V settings, such as placement of VM disks and configuration files, enhanced session mode options, NUMA spanning, as well as Live Migration and Storage Migration behavior.
- Registering the Azure Stack HCI cluster with Azure.
Manage an Azure Stack HCI cluster by using Windows Admin Center
Windows Admin Center offers a graphical, intuitive interface that simplifies most Azure Stack HCI cluster management tasks. In some cases, it still might be necessary to resort to traditional administrative tools such as Failover Cluster Manager. When operating at scale or when performing the same sequence of tasks regularly, you should consider PowerShell-based automation.
Note
You can implement any cluster management task available in Windows Admin Center by using Windows PowerShell.
Change cluster settings
Azure Stack HCI relies on Windows Server Failover Clustering to implement high availability for its workloads. You can use Windows Admin Center to manage the core clustering features, including:
Access point name. Designates the name that you can use to connect to the cluster to perform administrative tasks by using tools such as Failover Cluster Manager. Although the access point name is assigned during the deployment of an Azure Stack HCI cluster, you have the option to modify it.
Node shutdown behavior. After you enable this behavior, it automatically triggers the live migration of VMs residing on a cluster node for which you initiate a shutdown.
Cluster traffic encryption scope. Allows you to protect data from eavesdropping by signing and encrypting all the Server Message Block (SMB) traffic between cluster nodes. You can enable signing or encryption for core traffic, which represents network traffic and storage traffic. Network traffic flows between cluster virtual network adapters. Storage traffic contains Cluster Shared Volume (CSV) and Storage Bus Layer (SBL) data.
Cluster witness selection. Identifies your choice of the witness type, which affects the mechanism for establishing and maintaining the cluster quorum. The purpose of the quorum is to prevent situations caused by internode connectivity issues. In these situations, two sets of nodes in a cluster start operating independently of each other, resulting in the corruption of the cluster state and its resources.
VM load-balancing behavior. Controls the load-balancing mechanism, which continually monitors cluster performance metrics and periodically redistributes clustered VMs across cluster nodes to optimize the use of cluster resources.
VM affinity rules. Defines rules that establish relationships between two or more cluster roles and resources, such as VMs and storage, to indicate that you prefer to host them on the same cluster node. You can also define anti-affinity rules to indicate preference of the opposite arrangement, with two or more cluster roles and resources distributed across different cluster nodes.
Diagnostic data levels. Establishes the scope of telemetry that an Azure Stack HCI cluster sends automatically to Microsoft for diagnostic purposes.
Change storage settings
Azure Stack HCI relies on Storage Spaces Direct to implement highly resilient and performant storage, which includes an automatic caching mechanism. Usually, because of built-in optimization and self-healing characteristics, this mechanism does not require manual management. You can control some aspects of its behavior by:
Enabling or disabling persistent cache
Changing the cache mode for hard disk drives (HDDs) and solid-state drives (SSDs) to none, read only, read/write, or write only.
Increasing the cache size by making a designated amount of physical memory on each cluster node available for read caching. The in-memory cache settings allow you to enable the use of server memory to cache reads and set the limit of memory per server.
You also have the option to customize the name of Storage Spaces Direct pools, allowing you to designate their location in stretched clustering scenarios.
Change Hyper-V settings
Azure Stack HCI relies on Hyper-V to implement highly resilient and performant compute. You can use Windows Admin Center to manage the most essential Hyper-V features, including:
Placement of VM disks and configuration files. Specifies the default file system path for clustered VM-related files.
Enhanced session mode options. Provides the ability to configure redirection of local devices and resources when connecting to clustered VMs by using Virtual Machine Connection (VMConnect).
NUMA spanning. Enables the non-uniform memory architecture (NUMA) mechanism, which increases the amount of memory available to clustered VMs by providing simultaneous access to multiple NUMA nodes. While this might allow you to increase the number of VMs that can run on a cluster at the same time, it could have a detrimental impact on their overall performance.
Live Migration. Controls the availability and the behavior of the process that transitions clustered VMs across cluster nodes without shutting down or pausing their guest operating systems. After you enable this functionality, you can limit the number of simultaneous migrations, enforce the use of the CredSSP or Kerberos authentication protocol, and assign either the SMB or Compression performance option, which determines the method that the migration process uses to transfer the VM memory.
Storage Migration. Controls the availability of the process that transitions storage of clustered VMs across cluster nodes without shutting down or pausing their guest operating systems. After you enable this functionality, you can limit the number of simultaneous storage migrations.
Register the Azure Stack HCI cluster with Azure
Azure Stack HCI is an Azure service and you must register it within 30 days of installation to comply with the Azure Online Services Terms. The easiest way to perform such registration is by using Windows Admin Center.