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 > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly shows you the "Example Analysis of OpenStack Enterprise Cloud Platform Monitoring". The content is simple and easy to understand and clearly organized. I hope it can help you solve your doubts. Let Xiaobian lead you to study and learn the article "Example Analysis of OpenStack Enterprise Cloud Platform Monitoring".
performance monitoring
For OpenStack cloud platform, the monitoring requirements for host, storage and network are the same as those for traditional IT environments, and the main metrics concerned include CPU, memory, disk, network I/O, etc. This article doesn't expand on monitoring, but it shows Ganglia, one of the open source software most used in OpenStack deployments.
Ganglia needs to run client programs on individual nodes and deploy server processes on the central node to monitor performance and provide various views of the entire cluster. In addition, Ganglia server-side processes can be clustered to provide high reliability for monitoring large or production environments.
Figure 1 shows Ganglia as a view of Load, Memory, CPU, and Network I/O for a five-node cluster, shown in a Timeline. Historical data is also retained and viewed.
Figure 1 Overview interface of Ganglia
Figure 2 shows a Load view of four nodes aggregated in one view. Different colors identify the load conditions of different nodes.
Figure 2. Ganglia aggregate view and node view
Figure 3 shows the CPU monitoring project in detail.
Figure 3 Ganglia CPU monitoring
Figure 4 is a redeveloped version of a virtual machine that can be used to monitor the performance of nodes running virtual machines. This figure shows a view of monitoring a virtual machine.
Figure 4. Ganglia monitors VM memory
Service and resource monitoring
Nagios is an open source tool widely used in OpenStack deployments to monitor various services on cloud platforms. In addition, it has good scalability and is easy to join self-developed monitoring projects, providing users with great convenience and flexibility.
Figure 5 shows the Nagios connectivity view, where five nodes are in the same network. Green indicates that the service of the node is normal, while red indicates that the node has at least one alarm to process.
Figure 5. Connection view of Nagios
In addition, Nagios can be easily integrated with email systems and SMS platforms to send alerts.
In addition, the interface displayed in this book is only the default. There are many different display interfaces in the community, and they are free. You can choose according to your own needs and preferences, providing different styles and data presentation forms. The data itself is provided by Nagios.
Figure 6 is a host view of Nagios, showing the node's health and when information was collected.
Figure 6 Host view of Nagios
Figure 7 shows Nagios 'service monitoring view. The default Nagios can monitor disk, SSH, ping and other basic system services, but Nagios knows nothing about OpenStack, which needs to be developed and extended by itself. In addition, there are many free monitoring scripts on the Internet that can be integrated.
Figure 7. Nagois service monitoring view
For OpenStack service monitoring, the most basic can be monitored from the process point of view, such as whether the process is running, how fast the response is, etc. Better monitoring can combine commands for different services and judge the quality of the service itself through queries. This requires an initial understanding of the use of each service, as well as information about tenants, users, passwords, etc. However, if the cloud platform changes the password, it needs to be modified accordingly.
Message middleware monitoring
Message middleware plays a role in the heart of OpenStack cloud platform. If it runs abnormally, the whole cloud platform will not run. Therefore, monitoring message middleware is very important in OpenStack cloud platform.
Figure 8 shows a freeware application that can be used to present statistics and some basic administration for messaging middleware.
Figure 8 Overview of RabbitMQ
Figure 9 shows the various connections that message middleware currently has coming from different nodes and different services.
Figure 9. Connection view of RabbitMQ
Figure 10 shows a channel view of the messaging middleware.
Figure 10 Channel view of RabbitMQ
Figure 11 shows the Exchange view of messaging middleware.
Figure 11. RabbitMQ swap view
Figure 12 shows a queue view of the messaging middleware, including statistics.
Figure 12. Queue view of RabbitMQ
Figure 13 is the administrator view, where you can change passwords, add users, and so on.
Figure 13. Administrator view of RabbitMQ
log analysis
OpenStack cloud platform will generate a large number of log output due to the large number of services. When the cloud platform is initially built and Debug is involved, the log volume is huge, which is very inconvenient for debugging problems, because the associated services often run on different nodes.
LogStash deploys agents on individual nodes that aggregate log output to a central node for analysis. The central node is essentially a search engine and information statistics tool.
Figure 14 shows an Overview view of LogStash, showing trends in the number of logs generated across the cloud platform.
Figure 14 Overview view of LogStash
Figure 15 shows LogStash's collection of log information for OpenStack Cloud Platform, displayed in chronological order and sorted by different dimensions and keyword search.
Figure 15. LogStash message view
Figure 16 shows the filtered view, where we only care about which node what happened at what time. LogStash can help us achieve this very well.
Figure 16. LogStash's message filtering view
The above is all the content of this article "Example Analysis of OpenStack Enterprise Cloud Platform Monitoring". Thank you for reading it! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!
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.