18 May
2023
18 May
'23
1:49 a.m.
On Wed, 2023-05-17 at 17:23 +0000, Marc wrote:
In fact, when we start up the cluster, we don't have DNS available to resolve the IP addresses, and for a short while, all OSDs are located in a new host called "localhost.localdomain". At that point, I fixed it by setting the static hostname using `hostnamectl set -hostname xxx`.
why not put values in /etc/hosts (also from the other hosts)
Thanks for the suggestion. Indeed, I thought about it; but I am not sure whether I should put the cluster-network IPs or the public-network IPs in the /etc/hosts file. My understanding is that all communications between OSDs should happen within the cluster network, am I right that I should put the cluster- network IPs in /etc/hosts? Cheers, Hong