You dont have javascript enabled! Please enable it!

Deploy Windows Admin Center In High Availability Mode #WAC @ServerMgmt @windowsserver

5 Min. Read

In this article, we will show you how to install and deploy Windows Admin Center in High Availability mode on the Windows Server cluster.

Introduction

Windows Admin Center (WAC) is a flexible, locally deployed, browser-based management platform and solution. It contains core tools for troubleshooting, configuration, management, and maintenance for Windows Server, Windows Client, Software-Defined Storage (SDS), Software-Defined Network (SDN), Microsoft Hyper-V Server, and more.

Deploy Windows Admin Center
Deploy Windows Admin Center

At Ignite 2018 a couple of weeks ago, Microsoft announced several Azure integration services with Windows Admin Center, such as Azure Backup, Azure File Sync, Azure Site Recovery, and more. Please check the following document for the complete list of Azure integration options. As more and more services are being integrated with Windows Admin Center (WAC), it becomes a core management tool in your data center. The good news is, that you can deploy Windows Admin Center in a failover cluster to provide high availability for your Windows Admin Center gateway service.

In this blog post, we will show you how to deploy Windows Admin Center in a failover cluster to provide highly available services for your IT Administrators.

Requirements

To deploy Windows Admin Center in high availability mode, you need to have the following:

1) A failover cluster of 2 or more nodes on Windows Server 2016, Windows Server 2019, or Windows Server 2022. This can be a Hyper-V guest cluster or physical cluster.

2) A Cluster Shared Volume (CSV) to store persistent data for Windows Admin Center that can be accessed by all the nodes in the cluster. 10 GB will be sufficient for your CSV.

3) You need to have the latest Windows Admin Center version. At the time of this writing, I am using Windows Admin Center (WAC) version 1809, you can download the latest WAC version directly from here.

4) You need a minimum Self-Signed (SSL) certificate to install the Windows Admin Center gateway service, however, for the production environment, it’s highly recommended to have a signed certificate. You can use your existing PKI infrastructure or you can buy a third-party certificate. In this example, I will use a private certificate generated from my internal PKI infrastructure. If you need more information on how to create an Enterprise PKI, please check the following article.

5) Last but not least, you need to download the deployment HA scripts for Windows Admin Center from this link.

Installing Windows Admin Center in HA

Assuming you already have Windows Server 2016 or Windows Server 2019 failover cluster deployed and are up and running (deploying a failover cluster is beyond the scope of this article).

Now take the following steps:

1) Copy the WindowsAdminCenter1809.msi file to a node in your cluster or to a folder in your Cluster Shared Volume (CSV).

2) Copy Windows Admin Center HA Setup Scripts files to the same node where you copied the .msi file in Step 1.

3) Copy the private signed certificate (.pfx) to the same node in your cluster.

4) In a folder on a node of the cluster, you should have the following files before you start the installation:

Deploy Windows Admin Center In High Availability Mode #WAC @ServerMgmt @windowsserver 1

5) Open an elevated PowerShell console and run the following command to install Windows Admin Center with a signed certificate. If you don’t want to provide a signed certificate, you need to include the -GenerateSSLCert parameter instead. The -ClientAccessPoint parameter is the name that you will use to access Windows Admin Center in your environment. If you don’t specify a port number using -PortNumber parameter, the gateway service is deployed on the default port 443. And finally, you need to specify a Static IP Address for the cluster generic service.

$CertPW = Read-Host 'Enter Certificate Password' -AsSecureString
.\Install-WindowsAdminCenterHA.ps1 -clusterStorage 'C:\ClusterStorage\Collect\WindowsAdminCenter' `
-ClientAccessPoint WindowsAdminCenterHA -msiPath .\WindowsAdminCenter1809.msi `
-CertPath .\waccertificate.pfx -CertPassword $CertPW -StaticAddress 192.168.153.25

Deploy Windows Admin Center In High Availability Mode #WAC @ServerMgmt @windowsserver 2

6) When the installation is completed, the service is deployed on each node in the failover cluster and you have Windows Admin Center in high availability mode. The gateway service will be active on one node at a time. If one node fails, the service will start on the second node automatically.

Deploy Windows Admin Center In High Availability Mode #WAC @ServerMgmt @windowsserver 3

7) The installation will also create a sub-folder on your Cluster Shared Volume (CSV) named Server Management Experience containing the Database, Extensions, and the Ux.

Deploy Windows Admin Center In High Availability Mode #WAC @ServerMgmt @windowsserver 4

8) To access Windows Admin Center in HA, you need to use the Client Access Point name that you specified when you ran the script in Step 5 including the domain name (FQDN), for example, https://WAC.domain.com. Please note that you need to use Google Chrome or Microsoft Edge to access Windows Admin Center. As you can see, the web page opened without any certificate error.

Deploy Windows Admin Center In High Availability Mode #WAC @ServerMgmt @windowsserver 5

Troubleshooting Windows Admin Center HA Installation

During the installation of Windows Admin Center in the failover cluster, I came across a couple of issues that I would like to mention here:

1) The first one is, processing data for a remote command failed with the following error message. It turns out to be a firewall issue, you need to make sure that the port you assigned for Windows Admin Center is reachable from all nodes.

Deploy Windows Admin Center In High Availability Mode #WAC @ServerMgmt @windowsserver 6

2) The second issue is, if the installation failed as described above, you need to uninstall Windows Admin Center from each node, and then delete the Windows Admin Center Encryption certificate from the Certificates store on each node as well.

Deploy Windows Admin Center In High Availability Mode #WAC @ServerMgmt @windowsserver 7

3) When the installation is succeeded, you might see a warning message under Cluster Events. The warning message is the following:

The computer object associated with cluster network name resource ‘Client Access Point Name’ could not be updated. The text for the associated error code is: Unable to protect the Virtual Computer Object (VCO) from accidental deletion.The cluster identity ‘NAME$’ may lack permissions required to update the object. Please work with your domain administrator to ensure that the cluster identity can update computer objects in the domain.

To fix this, you need to add the Cluster Name account (computer account) on the Computers container with the following two permissions entry (Create Computer objects / Read All Properties).

4) Last but not least, Windows Admin Center installation logs are saved in the temp folder of the CSV (for example, C:\ClusterStorage\VolumeName\temp).

Updating Windows Admin Center in HA

To update Windows Admin Center to the latest release, you need to use the same PowerShell script that you used to install Windows Admin Center in HA mode: .\Install-WindowsAdminCenterHA.ps1.

Copy the new release of Windows Admin Center to the same CSV volume and then run the following script by specifying the -msiPath parameter of the new file. The script will upgrade Windows Admin Center on all nodes as shown below:

.\Install-WindowsAdminCenterHA.ps1 -MsiPath '.\WindowsAdminCenterPreview1812.msi' -Verbose

Deploy Windows Admin Center In High Availability Mode #WAC @ServerMgmt @windowsserver 8

Summary

You can deploy Windows Admin Center in a failover cluster to provide high availability for your Windows Admin Center gateway service. This solution provides an active-passive deployment, where only one instance of Windows Admin Center is active. If one of the nodes in the cluster fails, then Windows Admin Center gracefully fails over to another node, letting you continue managing the servers in your environment seamlessly.

Windows Admin Center is a freely available management tool for anyone to use and makes managing a set of servers with or without GUI remotely, very easy, especially for “day-to-day activities”. Download the latest copy of Windows Admin Center from here, deploy it in a failover cluster, and enjoy modern server management.

__
Thank you for reading my blog.

If you have any questions or feedback, please leave a comment.

-Charbel Nemnom-

Photo of author
About the Author
Charbel Nemnom
Charbel Nemnom is a Senior Cloud Architect, Swiss Certified ICT Security Expert, Certified Cloud Security Professional (CCSP), Certified Information Security Manager (CISM), Microsoft Most Valuable Professional (MVP), and Microsoft Certified Trainer (MCT). He has over 20 years of broad IT experience serving on and guiding technical teams to optimize the performance of mission-critical enterprise systems with extensive practical knowledge of complex systems build, network design, business continuity, and cloud security.
Previous

Passed Exam AZ-102: Microsoft Azure Administrator Certification #Microsoft #Azure @MSLearning

Updated: Automate Just In Time VM Access Request with PowerShell #Security #PowerShell

Next

Let me know what you think, or ask a question...

error: Alert: The content of this website is copyrighted from being plagiarized! You can copy from the 'Code Blocks' in 'Black' by selecting the Code. Thank You!