Azure

Azure Stack HCI Deployment with New Cluster Creation Extension

A look at Azure Stack HCI Deployment with New Cluster Creation Extension in Windows Admin Center and how the new wizard works for HCI clusters with S2D

Microsoft is certainly serious about Windows Admin Center. With Windows Admin Center 1910, there have been many great new features introduced as part of the newest version of the WAC tool. Part of what Microsoft is trying to achieve with Windows Admin Center is ease of operations and helping administrators to spend less time performing complex server tasks. One of the tasks that will now be much easier thanks to Windows Admin Center is Azure Stack HCI deployment with new cluster creation extension that is now available as a new extension download in Windows Admin Center 1910.

Azure Stack HCI – Difficult to Deploy

If you have attempted to deploy a new Azure Stack HCI cluster, it is extremely complex. There are many moving parts and nuances that you must give full attention to. Up until now PowerShell has been the preferred or the only way to accomplish many of the tasks needed to get the HCI cluster deployed. What are some of the challenges traditionally in deploying Azure Stack HCI?

  • Azure Stack HCI Deployment is very difficult when performed manually
  • End-to-end, the steps required are complex and number well over 100 steps.
  • Order of operations is key and tasks must be performed in the right order
  • There may be a lack of information on the default values that you need to use in some cases. Microsoft documentation is unclear on these.
  • There is no one single source of truth on the process. It can be difficult to come up with these steps when going through the Microsoft documentation
  • Repetitive steps need to be completed for each server

Cluster Creation Extension in Windows Admin Center

One of the things that I really like about the Windows Admin Center utility is the fact that it is extremely extensible. Microsoft has created a framework that allows a very modular approach to adding functionality to Windows Admin Center. New functionality can simply be introduced as a new extension.

Now, Microsoft has introduced a new tool that will drastically simplify the deployment of Azure Stack HCI in your environment – the new Cluster Creation extension that is now available in Preview. What is the Cluster Creation extension?

It is a new extension made available from Microsoft that “wizardizes” the entire process of provisioning new servers into various cluster configurations. This includes as of now the following cluster types:

  • Hyperconverged
  • Compute Cluster
  • Storage Cluster
  • Classic failover cluster

Each type of cluster has the required sub-components that the wizard handles installing and configuring for you. This includes:

  • Failover Clustering:ย Group servers together to increase the availability of virtual machines or apps. If a clustered server goes down, its workloads move to another server in the cluster, a process known as failover. This lets you apply updates or handle unexpected failures with a minimum of disruption.
  • Hyper-V:ย Flexibly share computing resources through hardware virtualization. Run multiple Windows or Linux operating systems side by side, isolated from each other, to avoid problems such as a crash affecting the other workloads, or to give different people access to different systems.
  • Storage Spaces Direct:ย Build software-defined storage from locally-attached flash and hard drives, eliminating the need for separate SAN or NAS arrays. Ensure fault tolerance with distributed software resiliency, increase performance with read/write caching, and save space with deduplication and compression.
  • Software-Defined Networking:ย Virtualize your network to meet the evolving needs of your apps. Prevent security vulnerabilities from spreading with micro-segmentation, access-control lists, and encrypted networks, and reduce costs with virtual appliances like the software load balancer and software gateway.

Installing Windows Admin Center Cluster Creation Extension

The Extension couldn’t be easier to install in Windows Admin Center. You simply go to the Settings in WAC, search for the extension (which is in Preview), and install it.

Under the Available extensions, simply search for “cluster” and it should appear as the first result as it did for me below.

Search-for-and-install-the-Cluster-Creation-extension-in-Windows-Admin-Center
Search for and install the Cluster Creation extension in Windows Admin Center

To install the extension, simply click on it, and then click the Install button.

Install-the-Cluster-Creation-preview-extension-in-Windows-Admin-Center
Install the Cluster Creation preview extension in Windows Admin Center

It should install fairly quickly. To verify it is installed, click teh Installed extensions tab and you should see the Cluster Creation (Preview) listed.

Verifying-the-Cluster-Creation-extension-is-now-installed

Now, let’s look at running the actual Cluster Creation wizard.

Azure Stack HCI Deployment with New Cluster Creation Extension

After you have installed the extension, you have a new menu option available called Cluster Creation under the Settings menu which will guide you through the entire process of creating an HCI cluster.

New-Cluster-Creation-menu-option-is-now-available-under-Settings-in-Windows-Admin-Center

Click Cluster Creation and this will begin the Cluster Creation wizard.

Choose-the-type-of-cluster-to-creation-in-the-Cluster-Creation-wizard
Choose the type of cluster to creation in the Cluster Creation wizard
Checking-the-prerequisites-for-the-HCI-cluster-creation

As listed by the Check the prerequisites section, the requirements include:

  • You need two or more servers with suitable hardware.
  • Each server needs a network adapter that Windows Admin Center can reach for management.
  • Each server must run the Datacenter Edition of Windows Server 2019, Windows Server 2016, or Windows Server Insider Preview.
  • Each server must be joined to the same Active Directory domain as where Windows Admin Center is running.
  • You need a domain account thatโ€™s a member of the local Administrators group on each server.

HCI Cluster Creation Process

The process for HCI Cluster Creation is a four step process that takes you configuring:

  • Prerequisites
  • Networking
  • Clustering
  • Storage

You will see each screen is broken up into sub points that will walk you through each stage of the cluster creation process.

Prerequisites

In Section 1, you are giving the wizard all the information it needs to connect to the prospective hosts, install required features, etc. First up, enter an account to connect to the cluster hosts.

Enter-an-account-that-has-permissions-to-connect-to-your-prospective-HCI-cluster-hosts
Enter an account that has permissions to connect to your prospective HCI cluster hosts

Next, Add servers to use for the cluster. Enter each server and click Add.

Add-your-servers-to-use-as-HCI-cluster-hosts
Add your servers to use as HCI cluster hosts

The servers are added and successfully show Online.

Host-connectivity-validated-and-ready-to-proceed-with-cluster-creation
Host connectivity validated and ready to proceed with cluster creation

The Install features screen 1.4 is where you install all the required components including Hyper-V. Click Install features and restart servers.

Install-features-and-restart-servers-in-the-Cluster-Creation-wizard
Install features and restart servers in the Cluster Creation wizard

The features begin installing.

Installation-of-features-begins-on-the-HCI-cluster-hosts
Installation of features begins on the HCI cluster hosts

One surprise to me was the fact the wizard actually realized I was using VMs as the “hosts” for the cluster creation. It noted that I needed to ensure nested virtualization is enabled in order to successfully install Hyper-V on each host.

Cluster-Creation-wizard-notes-that-nested-virtualization-needs-to-be-enabled-for-HCI-cluster-creation
Cluster Creation wizard notes that nested virtualization needs to be enabled for HCI cluster creation

After enabling hardware virtualization on each VM, the features installed correctly.

Features-are-installed-and-ready-to-proceed
Features are installed and ready to proceed

Networking

In section 2, we are configuring the networking of the HCI cluster.

Verify-network-adapters-for-the-HCI-cluster-implementation
Verify network adapters for the HCI cluster implementation

You can select specific management adapters if you want, however the wizard will use any and all adapters if you don’t choose specific ones.

Select-management-network-adapters-for-each-Hyper-V-host
Select management network adapters for each Hyper-V host

In the edit adapter properties, you can configure the IPs. One thing I found here is that you need to put something in the VLAN field. Since I am already tagging the VLAN on my vSwitch, you can put 0 in the VLAN field. You will get an error past this point or at least I did without it.

Edit-the-adapter-properties-and-VLANs
Edit the adapter properties and VLANs

Specify a virtual switch name under the Advanced properties if you want, otherwise you can leave the defaults here. Notice how it will automatically enable best practice settings for your cluster.

Create-virtual-switch-in-for-each-HCI-cluster-host
Create virtual switch in for each HCI cluster host

Virtual switch begins creating.

Creation-of-virtual-switch-begins-on-the-new-HCI-cluster
Creation of virtual switch begins on the new HCI cluster

Clustering

This moves us to the third phase, Clustering.

This has only two tasks, Validating the Cluster and Creating the Cluster. Click the Validate button to validate the cluster for creation.

Validate-the-cluster-for-creation
Validate the cluster for creation

Interestingly, you have to enable CredSSP for the wizard. Click Yes.

Prompt-to-enable-CredSSP
Prompt to enable CredSSP

Note any errors and warnings for the validation check. Click Next.

Cluster-validates-take-note-of-any-errors-or-warnings

Click the Create Cluster button.

Beginning-the-cluster-creation-process
Beginning the cluster creation process

Cluster is created. Next, is storage.

The-cluster-is-created-successfully
The cluster is created successfully

Storage

The last section configures storage. First, verify the drives show up and the status is OK.

Verify-the-drives-in-your-cluster-hosts
Verify the drives in your cluster hosts

Next, click the button to Clean the drives.

Clean-the-cluster-drives-on-each-host
Clean the cluster drives on each host

Verify you want to clean the drives.

Verify-you-want-to-clean-the-drives
Verify you want to clean the drives

Drive clean finishes successfully.

Drives-successfully-cleaned-and-reset
Drives successfully cleaned and reset

Click Enable to enable Storage Spaces Direct.

Enable-Storage-Spaces-Direct
Enable Storage Spaces Direct

Again, you will see the CredSSP dialog box for enabling.

Enable-CredSSP-again-for-S2D
Enable CredSSP again for S2D

Alas, I was able to proceed all the way to the end without an error. I suspected this was a result of non-WSSD hardware.

Something-went-wrong-with-S2D
Something went wrong with S2D

Sure enough, trying to enable S2D from PowerShell results in a not supported error.

Compatibility-issue-with-VMware-VMs-trying-to-enable-S2D

However, I was well pleased with the new wizard even if I didn’t see everything complete without error. I knew I was in unsupported territory here using VMware VMs to enable the HCI cluster using the wizard.

I did try the registry key hack but still received the error. I will investigate this a bit further when I have some time.

Wrapping Up

The new Azure Stack HCI Deployment with New Cluster Creation Extension in Windows Admin Center is a great addition to WAC. It allows a very simple way to configure an HCI cluster. Microsoft is definitely doing some good work with Windows Admin Center and making up some ground in the area of administration and ease of use with S2D and other technologies.

Keep in mind, this is Preview, so it is still buggy at this point. However, it is great to see where things are headed with Azure Stack HCI deployment. Previously the deployment was painful to put it lightly. Stay tuned for more.

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.