In this article, we will show you how to install and deploy Windows Admin Center in High Availability mode on the Windows Server cluster.
Table of Contents
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.
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.
To deploy Windows Admin Center in high availability mode, you need to have the following:
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
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:
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
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.
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.
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.
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.
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.
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
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.