Change domain name of host in cluster - not hostname

mailinglists

Renowned Member
Mar 14, 2012
643
70
93
Hi,

I noticed, that i misspelled domain name on one of the nodes in PM 5.* cluster.
Hostname part is correct, just the domain name part needs to be fixed.

I see that corosync does not use FQDN, just the hostname part, so I do not need to fix it, right?
All I need to fix are:
/etc/hosts
/etc/hostname
/etc/mailname
/etc/postfix/main.cf
..
right?
 
I see that corosync does not use FQDN, just the hostname part, so I do not need to fix it, right?
yes, domain isn't too important for most PVE related stuff, besides maybe dns resolver.

/etc/hostname

only if it contains the FQDN now already, but it's generally not usual to have the FQDN in /etc/hostname and some programs even cannot handle that well (if you installed it through our installer this file only contains the hostname part of the FQDN)...

Besides that, yes you should be OK.