Libro sobre Proxmox maestria
Run the following commands on any Proxmox node:
# mkdir /etc/pve/priv/ceph
# cd /etc/pve/priv/ceph# scp <cephadmin>:/etc/ceph/ceph.client.admin.keyring /etc/pve/priv/ceph/<storageID>. keyring
Note that storage ID is the name of the storage we are going to create through the Proxmox GUI. We are going to use cephrbd01 as the Proxmox RBD storage name. Our command will be as follows:
# scp ceph-admin-01: /home/cephadmin/pmxceph
/ceph.client.admin.keyring
We can now proceed to the Proxmox GUI to start creating the Ceph storage. Simply go to Datacenter | Storage | Add on the Proxmox GUI. Fill in the boxes with the data as shown in the following screenshot:
One of the pools Ceph creates during initial setup is rbd. Always enter the IP address and port number in the Monitor Host field. All Monitor IP addresses and ports entered should be separated by a semicolon (;). This way, if one monitor node fails, another monitor will take over. FQDN of a host will not be accepted.
The default port number in the Ceph cluster is 6789. If you are creating multiple Ceph clusters on the same hardware, be sure to use a different port number for the cluster. For example, tier 1 storage with SSD as OSD can be on port 6789, while tier 2 storage HDD as OSD can be on port 6790.