Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Example Analysis of built-in dashboard for New function of ceph luminous

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 the built-in dashboard of ceph luminous's new functions". The content is simple and easy to understand, and the organization is clear. I hope it can help you solve your doubts. Let Xiaobian lead you to study and learn the article "example analysis of the built-in dashboard of ceph luminous's new functions".

Set up a 3-node environment with ceph -s as follows:

[root@clove16 ~]# ceph -s cluster: id: a57fb0a6-9528-11e7-84c0-ecf4bbdc70f8 health: HEALTH_OK services: mon: 3 daemons, quorum 10.118.203.14,10.118.203.15,10.118.203.16 mgr: 10.118.203.16(active), standbys: 10.118.203.14, 10.118.203.15 osd: 30 osds: 30 up, 30 in data: pools: 2 pools, 728 pgs objects: 25609 objects, 100255 MB usage: 13568 MB used, 27903 GB / 27916 GB avail pgs: 728 active+clean io: client: 4435 B/s rd, 0 B/s wr, 4 op/s rd, 0 op/s wr Enable monitoring module

The following operations need only be performed on nodes with mgr "active"(as above: nodes with mgr "active" IP "10.118.203.16")

Add to/etc/ceph/ceph.conf

[mgr]mgr_modules = dashboard

Set dashboard ip and port

[root@clove16 ~]# ceph config-key put mgr/dashboard/server_addr 10.118.203.16[root@clove16 ~]# ceph config-key put mgr/dashboard/server_port 7000

view the configuration

[root@clove117 ~]# ceph config-key dump { "mgr/dashboard/server_addr": "10.118.203.16", "mgr/dashboard/server_port": "7000"

Restart mgr service

[root@clove16 ~]# systemctl restart ceph-mgr@10.118.203.16

inspection port

[root@clove16 ~]# netstat -anp|grep 7000tcp 0 0 10.118.203.16:7000 0.0.0.0:* LISTEN 24217/ceph-mgr tcp 0 0 10.118.203.16:7000 10.90.96.21:62756 TIME_WAIT - tcp 0 0 10.118.203.16:7000 10.90.96.21:62754 TIME_WAIT - tcp 0 0 10.118.203.16:7000 10.90.96.21:62755 TIME_WAIT - tcp 0 0 10.118.203.16:7000 10.90.96.21:62748 TIME_WAIT - tcp 0 0 10.118.203.16:7000 10.90.96.21:62749 TIME_WAIT - tcp 0 0 10.118.203.16:7000 10.90.96.21:62753 TIME_WAIT - tcp 0 0 10.118.203.16:7000 10.90.96.21:62775 ESTABLISHED 24217/ceph-mgr

login interface

The above is all the content of this article,"example analysis of the built-in dashboard of ceph luminous's new features." Thank you for reading! 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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report