settingsLogin | Registersettings

[Openstack] procedure to change hostname of compute

0 votes

Hi Experts,

I’m looking for correct procedure to change the hostname of a running compute in Ocata OpenStack.

Here are the steps in my mind.

  1. Change the /etc/hosts file
  2. Change the hostname using “hostnamectl set-hostname ”
  3. Reboot the host. Here I’m not sure if we can avoid a reboot and restart few services on compute and controller node. Please suggest.
  4. After host is online, check “openstack compute service list” output.
  5. Remove old hostname entry on controller using “openstack compute service delete”.
  6. Restart nova-api service to update the DB. Please correct. If I’m wrong

Regards,

Sunny


Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
asked Oct 10, 2017 in openstack by Sunny_Anthony (200 points)   1 1 2
...