Ticket ID #122 ‐ Update Server Hostnames and Prompts - GriffinKat/group-a GitHub Wiki
Update server hostnames and prompts
After establishing SSH connection to the server, used the following command to change the hostname.
sudo hostnamectl set-hostname examplename-group
- Restart the server to apply changes. (
sudo systemctl reboot
)
For example, the management server was given the hostname mgmt-a. Similarly, backup-a, db-a and apps-a for Backup, Database and Application Server respectively.
Below is the screenshot of the server terminal confirming the hostname changes.