Ceph add new nodes

  • Category: 電腦相關
  • Last Updated: Thursday, 13 July 2017 11:59
  • Published: Wednesday, 12 July 2017 10:36
  • Written by sam

新加osd,透過ceph-deploy

[root@ceph1 ~]# vi /etc/hosts
10.0.252.160    px160
10.0.252.117    ceph1
10.0.252.118    ceph2
10.0.252.119    ceph3
10.0.252.161    px161
10.0.252.162    px162
10.0.252.163    px163

adduser

root@px160:~# adduser sam
root@px160:/etc# apt-get install sudo
root@px160:/etc# cat << EOF >/etc/sudoers.d/sam
sam ALL = (root) NOPASSWD:ALL
Defaults:sam !requiretty
EOF
oot@px160:/etc# chmod 440 /etc/sudoers.d/sam

一樣拿本機的第二顆來當osd

Read more: Ceph add new nodes

Ceph on centos (RADOS Gateway, S3 Buckets)

  • Category: 電腦相關
  • Last Updated: Tuesday, 11 July 2017 17:09
  • Published: Monday, 10 July 2017 13:32
  • Written by sam

本次目標及對象

主機 ceph1 ceph2 ceph3

10.0.252.117-119

3 個 mon 安裝在三臺主機,

1 個admin 在ceph1

3 個 osd 安裝在三臺主機會各提供一個osd,測試性質,各200G

1 個 rados 本次要測試 object

此次採用centos 7

系統完成後,請先設定IP及hostname

我的如下

10.0.252.117    ceph1
10.0.252.118    ceph2
10.0.252.119    ceph3
Read more: Ceph on centos (RADOS Gateway, S3 Buckets)