Ceph Pacific 各版本镜像说明

16.2.11

  • 容器镜像

root@ubuntu-20-04-lts:~# docker images
REPOSITORY                         TAG        IMAGE ID       CREATED         SIZE
registry                           2          0d153fadf70b   2 months ago    24.2MB
quay.io/ceph/ceph                  v16.2.11   7a63bce27215   2 months ago    1.24GB
quay.io/ceph/ceph                  v16        de4b0b384ad4   2 months ago    1.32GB
registry.local:5000/ceph/ceph      v16.2.11   de4b0b384ad4   2 months ago    1.32GB
haproxy                            2.3        7ecd3fda00f4   8 months ago    99.4MB
quay.io/ceph/ceph-grafana          8.3.5      dad864ee21e9   12 months ago   558MB
quay.io/prometheus/prometheus      v2.33.4    514e6a882f6e   14 months ago   204MB
quay.io/prometheus/node-exporter   v1.3.1     1dbe0e931976   16 months ago   20.9MB
quay.io/prometheus/alertmanager    v0.23.0    ba2b418f427c   20 months ago   57.5MB
arcts/keepalived                   latest     073e0c3cd1b9   4 years ago     13.6MB

  • 默认存储池

root@ubuntu-20-04-lts:~# ceph osd pool ls detail | awk '{print $3,$NF}'
'device_health_metrics' mgr_devicehealth
'.rgw.root' rgw
'default.rgw.log' rgw
'default.rgw.control' rgw
'default.rgw.meta' rgw
'cephfs-data' cephfs
'cephfs-metadata' cephfs
'nfs-ganesha' nfs
'.nfs' nfs
'iscsi-config-data' iscsi
'rbd' rbd
'default.rgw.buckets.index' rgw
'default.rgw.buckets.data' rgw
'default.rgw.buckets.non-ec' rgw

16.2.12

  • 容器镜像

root@node-1:~/ceph-cluster# docker images
REPOSITORY                         TAG       IMAGE ID       CREATED         SIZE
quay.io/ceph/ceph                  v16       921c4e969fff   8 days ago      1.09GB
haproxy                            2.3       7ecd3fda00f4   8 months ago    99.4MB
quay.io/ceph/ceph-grafana          8.3.5     dad864ee21e9   12 months ago   558MB
quay.io/prometheus/prometheus      v2.33.4   514e6a882f6e   14 months ago   204MB
quay.io/prometheus/node-exporter   v1.3.1    1dbe0e931976   16 months ago   20.9MB
quay.io/prometheus/alertmanager    v0.23.0   ba2b418f427c   20 months ago   57.5MB
arcts/keepalived                   latest    073e0c3cd1b9   4 years ago     13.6MB

  • 默认存储池

root@node-1:~/ceph-cluster# ceph df
--- RAW STORAGE ---
CLASS     SIZE    AVAIL     USED  RAW USED  %RAW USED
hdd    1.2 TiB  1.2 TiB  102 MiB   102 MiB          0
TOTAL  1.2 TiB  1.2 TiB  102 MiB   102 MiB          0

--- POOLS ---
POOL                   ID  PGS   STORED  OBJECTS     USED  %USED  MAX AVAIL
device_health_metrics   1    1      0 B        0      0 B      0    380 GiB
.rgw.root               2   32  5.8 KiB       18  204 KiB      0    380 GiB
myzone.rgw.log          6   32  3.7 KiB      179  420 KiB      0    380 GiB
myzone.rgw.control      7   32      0 B        8      0 B      0    380 GiB
myzone.rgw.meta         8   32      0 B        0      0 B      0    380 GiB

 

root@node-1:~# ceph df
--- RAW STORAGE ---
CLASS     SIZE    AVAIL     USED  RAW USED  %RAW USED
hdd    1.2 TiB  1.2 TiB  688 MiB   688 MiB       0.06
TOTAL  1.2 TiB  1.2 TiB  688 MiB   688 MiB       0.06

--- POOLS ---
POOL                       ID  PGS   STORED  OBJECTS     USED  %USED  MAX AVAIL
device_health_metrics       1    1      0 B        0      0 B      0    380 GiB
.rgw.root                   2   32  6.9 KiB       19  216 KiB      0    380 GiB
myzone.rgw.log              6   32   23 KiB      338  1.9 MiB      0    380 GiB
myzone.rgw.control          7   32      0 B        8      0 B      0    380 GiB
myzone.rgw.meta             8   32  2.2 KiB       11  120 KiB      0    380 GiB
myzone.rgw.buckets.index    9   32      0 B    4.00k      0 B      0    380 GiB
myzone.rgw.buckets.data    10    8  174 MiB       65  523 MiB   0.04    380 GiB
myzone.rgw.buckets.non-ec  11    8      0 B        0      0 B      0    380 GiB

root@node-1:~/ceph-cluster# radosgw-admin zonegroup get
{
    "id": "507d034c-466b-4b42-8c0a-e95a59a33673",
    "name": "myzonegroup",
    "api_name": "myzonegroup",
    "is_master": "true",
    "endpoints": [
        "http://192.168.100.10:8080",
        "http://192.168.100.10:8081",
        "http://192.168.100.201:80"
    ],
    "hostnames": [],
    "hostnames_s3website": [],
    "master_zone": "e100e627-a2bb-46a3-b0d6-41e9469e256f",
    "zones": [
        {
            "id": "e100e627-a2bb-46a3-b0d6-41e9469e256f",
            "name": "myzone",
            "endpoints": [
                "http://192.168.100.10:8080",
                "http://192.168.100.10:8081",
                "http://192.168.100.201:80"
            ],
            "log_meta": "false",
            "log_data": "false",
            "bucket_index_max_shards": 1999,
            "read_only": "false",
            "tier_type": "",
            "sync_from_all": "true",
            "sync_from": [],
            "redirect_zone": ""
        }
    ],
    "placement_targets": [
        {
            "name": "default-placement",
            "tags": [],
            "storage_classes": [
                "STANDARD"
            ]
        }
    ],
    "default_placement": "default-placement",
    "realm_id": "6ba7d568-180e-4b5d-a68b-e2d708c2774c",
    "sync_policy": {
        "groups": []
    }
}

root@node-1:~/ceph-cluster# radosgw-admin zone get
{
    "id": "e100e627-a2bb-46a3-b0d6-41e9469e256f",
    "name": "myzone",
    "domain_root": "myzone.rgw.meta:root",
    "control_pool": "myzone.rgw.control",
    "gc_pool": "myzone.rgw.log:gc",
    "lc_pool": "myzone.rgw.log:lc",
    "log_pool": "myzone.rgw.log",
    "intent_log_pool": "myzone.rgw.log:intent",
    "usage_log_pool": "myzone.rgw.log:usage",
    "roles_pool": "myzone.rgw.meta:roles",
    "reshard_pool": "myzone.rgw.log:reshard",
    "user_keys_pool": "myzone.rgw.meta:users.keys",
    "user_email_pool": "myzone.rgw.meta:users.email",
    "user_swift_pool": "myzone.rgw.meta:users.swift",
    "user_uid_pool": "myzone.rgw.meta:users.uid",
    "otp_pool": "myzone.rgw.otp",
    "system_key": {
        "access_key": "DXVWXLNXLVO821SDJWW1",
        "secret_key": "mr1yN9R8dlDm8JSifKorrq2CuHYDjSnWb1xvF4L1"
    },
    "placement_pools": [
        {
            "key": "default-placement",
            "val": {
                "index_pool": "myzone.rgw.buckets.index",
                "storage_classes": {
                    "STANDARD": {
                        "data_pool": "myzone.rgw.buckets.data"
                    }
                },
                "data_extra_pool": "myzone.rgw.buckets.non-ec",
                "index_type": 0
            }
        }
    ],
    "realm_id": "6ba7d568-180e-4b5d-a68b-e2d708c2774c",
    "notif_pool": "myzone.rgw.log:notif"
}
posted @ 2023-04-22 09:56  Varden  阅读(89)  评论(0编辑  收藏  举报