Rate This Document
Findability
Accuracy
Completeness
Readability

Deploying the Client

The current client is based on openEuler 20.03 and needs to be deployed in an openEuler 22.03 container.

  1. Start a container on a client node.
    1
    2
    3
    podman load -i ceph_release.tar
    podman tag image_id localhost/ceph_release_x86:v17.2.7
    podman run --name client1 --hostname client1 --privileged --net=host --ipc=host -dti localhost/ceph_release_x86:v17.2.7 /usr/sbin/init
    
  2. Synchronize configuration files from the server to the client.
    scp -r ceph1:/etc/ceph/ceph.conf /etc/ceph/
    scp -r ceph1:/etc/ceph/ceph.client.admin.keyring /etc/ceph/
    
    podman cp /etc/ceph/ceph.conf client1:/etc/ceph/
    podman cp /etc/ceph/ceph.client.admin.keyring client1:/etc/ceph/
  3. Go to the client container and query the cluster status.
    podman exec -it client1 /bin/bash
    ceph -s

    By default, Ceph 17 automatically adjusts the number of PGs based on the number of OSDs. You need to disable this configuration.
    ceph osd pool set ${pool_name} pg_autoscale_mode off