Hello Guys,
I wonder what's the best way to replace a failed OSD instead of remove it from CRUSH and add a new one in. As I have OSD# assigned in the ceph.conf, add a new OSD might need to revise the config file and reload all the ceph instances.
BTW, any suggestions for my ceph.conf? I kind of feel that to assign IP address for each OSD is not a smart way. Please advise.
Thank you.
[global]
fsid = 638d7b4a-e5f1-4cfd-9c83-25177d5a8d3f
mon_initial_members = mon01,ceph01,ceph02
mon_host = 10.123.11.91,10.123.11.111,10.123.11.112
auth_supported = cephx
filestore_xattr_use_omap = true
max_open_files = 131072
public_network = 10.123.11.0/24
cluster_network = 10.234.11.0/24
[osd.0]
public_addr = 10.123.11.111
cluster_addr = 10.234.11.111
[osd.1]
public_addr = 10.123.11.111
cluster_addr = 10.234.11.111
[osd.2]
public_addr = 10.123.11.111
cluster_addr = 10.234.11.111
[osd.3]
public_addr = 10.123.11.111
cluster_addr = 10.234.11.111
[osd.4]
public_addr = 10.123.11.111
cluster_addr = 10.234.11.111
[osd.5]
public_addr = 10.123.11.111
cluster_addr = 10.234.11.111
[osd.6]
public_addr = 10.123.11.112
cluster_addr = 10.234.11.112
[osd.7]
public_addr = 10.123.11.112
cluster_addr = 10.234.11.112
[osd.8]
public_addr = 10.123.11.112
cluster_addr = 10.234.11.112
[osd.9]
public_addr = 10.123.11.112
cluster_addr = 10.234.11.112
[osd.10]
public_addr = 10.123.11.112
cluster_addr = 10.234.11.112
[osd.11]
public_addr = 10.123.11.112
cluster_addr = 10.234.11.112
[osd.12]
public_addr = 10.123.11.113
cluster_addr = 10.234.11.113
[osd.13]
public_addr = 10.123.11.113
cluster_addr = 10.234.11.113
[osd.14]
public_addr = 10.123.11.113
cluster_addr = 10.234.11.113
[osd.15]
public_addr = 10.123.11.113
cluster_addr = 10.234.11.113
[osd.16]
public_addr = 10.123.11.113
cluster_addr = 10.234.11.113
[osd.17]
public_addr = 10.123.11.113
cluster_addr = 10.234.11.113
[osd.18]
public_addr = 10.123.11.114
cluster_addr = 10.234.11.114
[osd.19]
public_addr = 10.123.11.114
cluster_addr = 10.234.11.114
[osd.20]
public_addr = 10.123.11.114
cluster_addr = 10.234.11.114
[osd.21]
public_addr = 10.123.11.114
cluster_addr = 10.234.11.114
[osd.22]
public_addr = 10.123.11.114
cluster_addr = 10.234.11.114
[osd.23]
public_addr = 10.123.11.114
cluster_addr = 10.234.11.114
--
Howie C.
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com