How do i install a ceph client on redhat?



  • Link: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/installation_guide_for_red_hat_enterprise_linux/client_installation

    Install the client software

    $ sudo yum install -y ceph-common
    

    From the initial monitor node, copy the Ceph configuration file, in this case ceph.conf, and the administration keyring to the client node:

    mon-node1> # scp /etc/ceph/ceph.conf root@myclient:/etc/ceph/
    mon-node1> # scp /etc/ceph/ceph.client.admin.keyring root@myclient:/etc/ceph/
    

    Verify client install.

    $ ceph -s
        cluster 066efa44-e203-4910-bf63-a924a86b56ca
         health HEALTH_OK
         monmap e1: 3 mons at {mon-node1=10.100.2.11:6789/0,mon-node2=10.100.2.12:6789/0,mon-node3=10.100.2.13:6789/0}
                election epoch 4, quorum 0,1,2 mon-node1,mon-node2,mon-node3
         osdmap e21: 9 osds: 9 up, 9 in
                flags sortbitwise
          pgmap v34: 64 pgs, 1 pools, 0 bytes data, 0 objects
                301 MB used, 863 GB / 863 GB avail
                      64 active+clean
    


© Lightnetics 2024