安裝ceph儲存叢集

安裝

apt-cache policy ceph
sudo apt-get update && sudo apt-get install ceph
ceph -v

準備

這裏使用 ceph-deploy 來部署三節點的ceph集群,節點信息如下:

10.99.0.1               node1.kawsing.idv node1
10.99.0.2               node2.kawsing.idv node2
10.99.0.3               node3.kawsing.idv node3

所有操作均在 node1 節點進行操作

ssh互信

# ssh-keygen -t rsa -P ''
# ssh-copy-id -i .ssh/id_rsa.pub root@10.99.0.2
# ssh-copy-id -i .ssh/id_rsa.pub root@10.99.0.3

安裝ansible

# apt -y install ansible
# cat /etc/ansible/hosts | grep -v ^# | grep -v ^$
[node]
192.168.100.117
192.168.100.118

Last updated