Verify that the login node host name has been set. If not, use the following steps to set it.
hostnamectl set-hostname <hostname>.<domainname>
>>Eg: hostnamectl set-hostname login-node.omnia.test
/etc/hosts
using vi editor.vi /etc/hosts
hostnamectl
command in last line of the file.
Eg: xx.xx.xx.xx
Note:
- The Hostname should not contain the following characters: , (comma), . (period) or _ (underscore). However, the domain name is allowed commas and periods.
- The Hostname cannot start or end with a hyphen (-).
- No upper case characters are allowed in the hostname.
- The hostname cannot start with a number.