08-06-2021 02:00 AM
Hi,
I have a DNAC version 1.3.x.x where the AURA report is giving a warning #32.
How do I define a cluster hostname? As far as I remember the cluster was configured with a hostname during installation.
#32:Checking:Cluster hostname is defined
Warning:Cluster hostname is not defined. May cause issues with CA certs in DNAC 2.x
Solved! Go to Solution.
08-06-2021 05:24 AM
The 'hostname' configuration is optional. From the Aura warning, it denotes that the scan reported that the 'hostname' was not configured in your cluster. This is important for when you have a multi-node cluster and or you use FQDN in your Certificates. You can check to see if the hostname is configured by using the 'maglev-config update' tool that Gaur referenced or you can run the following command from the Cisco DNA Center CLI:
$ etcdctl get /maglev/config/cluster/cluster_network | jq .cluster_hostname
08-06-2021 06:37 AM
If you have 3 nodes, you can change this on any node as this is a cluster configuration. As a best practice, I always make changes on the Primary Node (ie. Node-1) but it should not matter. The hostname would be the FQDN of one of your "Reachable" VIPs. For example, the VIP for the Enterprise Newtork or the VIP of your Management Network. Whichever is used the IP of the VIP needs to be reachable from all network devices.
08-06-2021 03:49 AM
Please refer to :
Section:
08-06-2021 05:01 AM
Hi,
I am not sure I understand your answer. The Cluster FQDN was configured during the installation of the DNAC.
And I cannot see why that needs to be changed for the upgrade.
Cluster hostname (FQDN)
08-06-2021 05:24 AM
The 'hostname' configuration is optional. From the Aura warning, it denotes that the scan reported that the 'hostname' was not configured in your cluster. This is important for when you have a multi-node cluster and or you use FQDN in your Certificates. You can check to see if the hostname is configured by using the 'maglev-config update' tool that Gaur referenced or you can run the following command from the Cisco DNA Center CLI:
$ etcdctl get /maglev/config/cluster/cluster_network | jq .cluster_hostname
08-06-2021 05:57 AM
Hi Tomas,
If fact this return no configured cluster hostname= "cluster_hostname": ""
Do I just need to run maglev-config update on one of the nodes in the cluster to update the hostname, or all 3 of them?
08-06-2021 06:37 AM
If you have 3 nodes, you can change this on any node as this is a cluster configuration. As a best practice, I always make changes on the Primary Node (ie. Node-1) but it should not matter. The hostname would be the FQDN of one of your "Reachable" VIPs. For example, the VIP for the Enterprise Newtork or the VIP of your Management Network. Whichever is used the IP of the VIP needs to be reachable from all network devices.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide