Example Analysis of built-in dashboard for New function of ceph luminous
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!