Libro sobre Proxmox maestria
High Availability Storage for High Availability Cluster
Proxmox added a small command-line utility called pveceph to perform various Ceph-related tasks. The following table lists the commands and the tasks that can be performed using pveceph:
Command pveceph createmon pveceph createpool <name> pveceph destroymon <mon_id> pveceph destroypool <name> pveceph init --network <X.X.X.0/x> pveceph start <service> pveceph stop <service> pveceph status pveceph createosd </dev/X> pvecph destroyosd <osdid> pveceph install pveceph purge
This creates Ceph Monitors and must be run from the node to become a Monitor.
This creates a new pool and can be used from any node.
This removes Monitor.
This removes the Ceph pool.
This creates the initial Ceph configuration file based on the network CIDR used.
This starts Ceph daemon services such as MON, OSD, and MDS.
This stops Ceph daemon services such as MON, OSD, and MDS.
This shows cluster, Monitor, MDS, OSD status, and cluster ID.
This creates OSD daemons.
This removes OSD daemons.
This installs Ceph on the Proxmox node.
This removes Ceph and all Ceph-related data from the node the command is running from.
Ceph must be installed and at least one Monitor must be created using a command line initially before managing it through the Proxmox GUI. We can perform the following steps to install Ceph on the Proxmox nodes:
1. First, we need to install the Ceph software on the Proxmox node using the following command. Run this command on all Proxmox nodes that will be part of the Ceph cluster:
root@pmxvm01: /%23 pve ceph install -version emperor root@pmxvm02: /#2 pveceph install -version emperor root@pmxvm02/%23 pve ceph install -version emperor