In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "how to modify the ip address of OpenStack". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
OpenStack is the most influential cloud computing management tool today-managing resource pools in the IaaS cloud through commands or Web-based visual dashboards.
1. Find the Nic id whose ip address you want to modify. This document modifies the Nic whose ip address is 192.168.111.11:
[root@node-1 ~] # neutron port-list
2. Allow the ip address to be 192.168.111.12.
[root@node-1] # neutron port-update 83cfe62e-b9bc-4b77-8938-10d8f45d836c-- allowed-address-pairs type=dict list=true ip_address=192.168.111.12
3. Enter the mysql database and modify the data
Mysql > use neutron;Reading table information for completion of table and column namesYou can turn off this feature to get a quicker startup with-ADatabase changedmysql > select * from ipallocations where port_id='83cfe62e-b9bc-4b77-8938-10d8f45d836c' The port_id is the id+--+-+--+- of the network card found earlier. -- + | port_id | ip_address | subnet_id | network_id | +- -+-- +-- + | 83cfe62e-b9bc-4b77-8938-10d8f45d836c | 192.168.111.11 | 17c87ec0- A4f6-4d55-9947-2e8c9c7f1b65 | 28fcbb79-629b-4031-9323-b6acfa620aac | +-- + -- + 1 row in set (0.00 sec)
Edit the ip address of port_ id as 83cfe62e-b9bc-4b77-8938-10d8f45d836c as 192.168.111.12
Mysql > update ipallocations set ip_address='192.168.111.12' where port_id='83cfe62e-b9bc-4b77-8938-10d8f45d836cThe query OK, 1 row affected (0.02 sec) Rows matched: 1 Changed: 1 Warnings: 0
Check to see if the address whose port_id is 83cfe62e-b9bc-4b77-8938-10d8f45d836c has changed.
4. Enter the virtual machine and modify the ip address to communicate with the public network.
This is the end of the content of "how to modify the ip address of OpenStack". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.