OpenStack Node Address Changed
Normally in the production environment, each node of OpenStack performs HA and can use the domain name mechanism to manage nodes.
However, if an IP address is used, the IP address must be updated once it is changed.
If you want to modify the information, there are two main aspects.
First, the configuration files are basically in the/etc/directory.
You can check whether the grep address can be replaced directly. If yes, run
$ Sed-I "s/old_ip/new_ip/g" 'grep old_ip-rl/etc.
The other is the database, which is slightly more complex.
Generally, an openstack database contains multiple databases, which must be modified in the keystone database endpoint table. After logging on to SQL, run the following command:
Mysql> use keystone;
Mysql> update endpoint set
-> Url = replace (url, '1. 1.1.1 ', '2. 2.2.2 ');
For other items such as the content in the token table or other databases, you can determine whether to modify them based on your own situation.
The last step is to restart all related services, or simply restart the machine.
Install and deploy Openstack on Ubuntu 12.10
Ubuntu 12.04 OpenStack Swift single-node deployment Manual
OpenStack cloud computing quick start tutorial
Deploying OpenStack for enterprises: what should be done and what should not be done
CentOS 6.5 x64bit quick OpenStack Installation
This article permanently updates the link address: