Libro sobre Proxmox maestria
High Availability Storage for High Availability Cluster
Updating Ubuntu
#sudo apt-get update
Once the network is set up, update Ubuntu and reboot all the nodes using the following commands:
Log in to the ceph-admin-01 node with the new admin user cephadmin; this is the user we will use for Ceph management. We will now generate SSH keys and copy it to all the nodes. This will allow a password-less login to all the Ceph nodes. The following command is used to create the SSH key from the admin node:
Once the SSH key has been created, copy the key to all the Ceph nodes. The following commands need to be executed from the admin node:
# ssh-copy-id cephadmin@ceph-mon-01 # ssh-copy-id cephadmin@ceph-mon-02 # ssh-copy-id cephadmin@ceph-mon-03
# ssh-copy-id cephadmin@ceph-mds-01 # ssh-copy-id cephadmin@ceph-mds-02 # ssh-copy-id cephadmin@ceph-osd-01 # ssh-copy-id cephadmin@ceph-osd-02
The ceph-deploy tool is used to install Ceph on multiple nodes from a single node and many other useful tasks, such as formatting disk drives and creating OSDs from a single admin node. Before we install ceph-deploy, add a Ceph repository and download a repository key. Run the following commands on the admin node only:
# wget -q -0-
'https://ceph.com/git/?p=ceph.git;a=blob_plain; f-keys/release.asc' sudo apt-key add -
# echo deb http://ceph.com/debian-firefly/ $ (1sb_release -sc) main | sudo tee /etc/apt/sources.list.d/ceph.list
#sudo apt-get update
# sudo apt-get install ceph-deploy