In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail the tips for configuring Openstack in the process of building. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
In the process of building, each component involves a lot of changes to the configuration items, and the original configuration file of the component contains a large number of comments, which has a certain impact on us to change the configuration items more or less.
Therefore, individuals first back up the original configuration file during the installation process, and then extract a new configuration file without any comments, which facilitates configuration modification and viewing, and reduces the probability of problems with configuration items during installation.
Note: try not to delete the original configuration file. You can check the description of each configuration item later.
Take ceilometer as an example:
1. Back up the original configuration file
Mv ceilometer.conf ceilometer.conf.bak
2. Regenerate the configuration file without comments
Grep-vE "^ # | ^ $" ceilometer.conf.bak > > ceilometer.conf
At this point, when we look at the ceilometer.conf, we will find that the content is very simple and less error-prone to modify.
[DEFAULT] [api] [collector] [compute] [coordination] [cors] [cors.subdomain] [database] [dispatcher_file] [dispatcher_gnocchi] [event] [exchange_control] [hardware] [ipmi] [keystone_authtoken] [matchmaker_redis] [meter] [notification] [oslo_concurrency] [oslo_messaging_amqp] [oslo_messaging_notifications] [oslo_messaging_rabbit] [oslo_messaging_zmq] [oslo_policy] [polling] [publisher] [publisher_notifier] [rgw_admin_ Credentials] [service_credentials] [service_types] [storage] [vmware] [xenapi]
3. Modify the configuration according to the official installation tutorial, and the content after the modification is as follows:
[DEFAULT] meter_dispatchers=gnocchievent_dispatchers=gnocchitransport_url = rabbit://openstack:openstack@controller [api] [collector] [compute] [cors] [cors.subdomain] [database] [dispatcher_file] [dispatcher_gnocchi] filter_service_activity = Falsearchive_policy = low [event] [exchange_control] [hardware] [ipmi] [keystone_authtoken] [matchmaker_redis] [meter] [notification] [oslo_concurrency] [oslo_messaging_amqp] [oslo_messaging_notifications] [oslo_messaging_rabbit] [oslo_messaging_zmq] [oslo_policy] [polling] [publisher] [publisher_notifier] [service_credentials] auth_type = passwordauth_url = http://controller:5000/v3 project_domain_name = default user_domain_name = default project_name = service username = ceilometer password = ceilometer interface = internalURL region_name = region [service _ types] [storage] [vmware] [xenapi] about "what are the tips for configuration during Openstack building" Hope that the above content can be helpful to you, so that you can learn more knowledge, if you think the article is good, please share it for more people to see.
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.