wget -q -O- 'https://download.ceph.com/keys/release.asc' | sudo apt-key add -
echo deb http://download.ceph.com/debian-{ceph-stable-release}/ $(lsb_release -sc) main | sudo tee /etc/apt/sources.list.d/ceph.list
apt update && apt dist-upgrade
apt install -y ceph-deplay chrony puppet zabbix-agent && chronyc sources
ssh-keygen -t rsa
ssh-copy-id Ceph_Node2 Ceph_Node3
ssh Ceph_Node2 ssh-copy-id Ceph_Node1 Ceph_Node3
ssh Ceph_Node3 ssh-copy-id Ceph_Node1 Ceph_Node2
scp /etc/hosts Ceph_Node2:/etc/hosts && scp /etc/hosts Ceph_Node3:/etc/hosts
ceph-deploy purge Ceph_Node1 Ceph_Node2 Ceph_Node3
ceph-deploy forgetkeys
ceph-deploy purgedata Ceph_Node1 Ceph_Node2 Ceph_Node3
ceph-deploy new Ceph_Node1 Ceph_Node2 Ceph_Node3
ceph-deploy install Ceph_Node1 Ceph_Node2 Ceph_Node3
ceph-deploy mon create-initial
ceph-deploy osd prepare Ceph_Node1:/dev/xvdc Ceph_Node2:/dev/xvdc Ceph_Node3:/dev/xvdc
ceph-deploy osd activate Ceph_Node1:/dev/xvdc1 Ceph_Node2:/dev/xvdc1 Ceph_Node3:/dev/xvdc1
ceph-deploy admin Ceph_Node1 Ceph_Node2 Ceph_Node3
sudo chmod +r /etc/ceph/ceph.client.admin.keyring
ssh Ceph_Node2 sudo chmod +r /etc/ceph/ceph.client.admin.keyring
ssh Ceph_Node3 sudo chmod +r /etc/ceph/ceph.client.admin.keyring
ceph -s
ceph df