OpenStack Node Address Changed

Source: Internet
Author: User

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:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.