0845680984
  1. Configure Cluster #1
  2. Configure Cluster #2
  3. Use Block Device
  4. Use File System
  5. Ceph Object Gateway
  6. Enable Dashboard
  7. Add or Remove OSDs
  8. CephFS + NFS-Ganesha

Enable Ceph Dashboard to manage Ceph Cluster on Web Console.
This example is based on the environment like follows.

        +--------------------+           |           +----------------------+
        | client.srv.local]  |10.0.0.30  |  10.0.0.31|    [www.srv.local]   |
        |     Ceph Client    +-----------+-----------+        RADOSGW       |
        |                    |           |           |                      |
        +--------------------+           |           +----------------------+
            +----------------------------+----------------------------+
            |                            |                            |
            |10.0.0.51                   |10.0.0.52                   |10.0.0.53 
+-----------+-----------+    +-----------+-----------+    +-----------+-----------+
|   [node01.srv.local]  |    |   [node02.srv.local]  |    |   [node03.srv.local]  |
|     Object Storage    +----+     Object Storage    +----+     Object Storage    |
|     Monitor Daemon    |    |                       |    |                       |
|     Manager Daemon    |    |                       |    |                       |
+-----------------------+    +-----------------------+    +-----------------------+
[1] Enable Dashboard module on [Manager Daemon] Node.

Furthermore, Dashboard requires SSL/TLS. Create a self-signed certificate on this example.

root@node01:~# apt -y install ceph-mgr-dashboard
root@node01:~# ceph mgr module enable dashboard
root@node01:~# ceph mgr module ls | grep -A 5 enabled_modules
    "enabled_modules": [
        "dashboard",
        "iostat",
        "restful"
    ],
    "disabled_modules": [

# create self-signed certificate
root@node01:~# ceph dashboard create-self-signed-cert
Self-signed certificate created
# create a user for Dashboard
# [ceph dashboard ac-user-create (username) (password) administrator]
root@node01:~# ceph dashboard ac-user-create ubuntu password administrator
{"username": "ubuntu", "password": "$2b$12$kKMr01cd4UDKP6.0gKQDy.0M9z7/4156yrk.LM3hqux.IHtaFBu1q", "roles": ["administrator"], "name": null, "email": null, "lastUpdate": 1598850350, "enabled": true, "pwdExpirationDate": null, "pwdUpdateRequired": false}

# confirm Dashboard URL
root@node01:~# ceph mgr services
{
    "dashboard": "https://node01.srv.local:8443/"
}
[2] Access to the Dashboard URL from a Client Computer with Web Browser, then Ceph Dashboard Login form is shown.

Login as a user you just added in [1] section. After login, it’s possible to see various status of Ceph Cluster

Leave a Comment

Your email address will not be published. Required fields are marked *

Bài viết gần đây:

Shopping Cart