Configure High Availability for Configuration Hub
This topic describes how to set up a highly available server for Configuration Hub using Windows failover cluster.
Before you begin
- Two Windows Server 2022 virtual machines to serve as nodes in a cluster:
- Primary node (Node1)
- Secondary node (Node2)
Ensure that both the nodes (primary and secondary) have the same domain name, and are installed with the same version of Windows Server.
- One Windows Server 2022 virtual machine (Node3) in the same domain.
Create a shared drive on this node, which both the nodes in the cluster can access.
- During installation, provide the same Configuration Hub credentials in both the nodes. Use the same cluster name created in the Windows failover cluster manager.
About this task
Procedure
Results
ConfigHubRootCA.crt
andConfigHubRootCA.key
files are created in theConfigHubPki
folder using Node1 DNS name Configuration Hub ports.- Using the above root certificates,
server_cert.crt
andserver_cert.key
files are created to access the application. - The Configuration Hub cluster name parameter is sent to the
RegisterConfighub_httpd.bat
for creating certificate 'subject alternative names' using the cluster name. - Two extra parameters are introduced to capture 'cluster name' and 'domain name' if
high availability is set up for Configuration Hub. The root certificates and server
certificates are created using the extra parameter like 'cluster name'. All cluster
nodes certificates have the same 'cluster name' so users can access all the nodes
without any certificate issues.
- Configuration Hub installer copies
ConfigHubRootCA.crt
andConfigHubRootCA.key
files into shared configuration. These are used in the other nodes for creatingserver_cert.key
andserver_cert.key
files and maintains a trust between both nodes. - While installing Configuration Hub on other cluster nodes, the system checks if any
root certificates exist in the given shared configuration path or not. If
certificates exist, then copies both
ConfigHubRootCA.crt
andConfigHubRootCA.key
into the local machineConfigHubPki
folder of Configuration Hub, and then creates server certificates using the root certificates.