Hi,
due to ceph reef documentation I need to run only this command but I am unable
to run this to exit the stretched cluster:
ceph mon disable_stretch_mode distributed_cluster_rule --yes-i-really-mean-it
...
no valid command found; 10 closest matches:
...
Error EINVAL: invalid command
…
what do I am missing ? I have ceph 18.2.7 with 5 mons and I would like to
extend datacenter by adding dc3 with same number of racks,hosts and osds to get
back to repsize 3 using crush rule distributed_cluster_rule:
rule distributed_cluster_rule {
id 3
type replicated
step take default
step choose firstn 0 type datacenter
step chooseleaf firstn 1 type rack
step emit
}
..
#ceph mon dump
epoch 87
fsid 583647c2-4603-11ef-9941-b360866a782f
min_mon_release 18 (reef)
election_strategy: 1
stretch_mode_enabled 1
tiebreaker_mon mon3
disallowed_leaders mon3
0: [v2:172.16.1.1:3300/0,v1:172.16.1.1:6789/0] mon.mon1; crush_location
{datacenter=dc1}
1: [v2:172.16.1.2:3300/0,v1:172.16.1.2:6789/0] mon.mon2; crush_location
{datacenter=dc2}
2: [v2:172.16.1.3:3300/0,v1:172.16.1.3:6789/0] mon.mon3; crush_location
{datacenter=quorum_room}
3: [v2:172.16.1.4:3300/0,v1:172.16.1.4:6789/0] mon.mon4; crush_location
{datacenter=dc2}
4: [v2:172.16.1.5:3300/0,v1:172.16.1.5:6789/0] mon.mon5; crush_location
{datacenter=dc1}
is there any other way to exit stretched cluster? any help would be appreciated.
BR
Max
_______________________________________________
ceph-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]