Discussion:
[ceph-users] Disable intra-host replication?
Marco Gaiarin
2018-11-23 14:18:48 UTC
Permalink
Previous (partial) node failures and my current experiments on adding a
node lead me to the fact that, when rebalancing are needed, ceph
rebalance also on intra-node: eg, if an OSD of a node die, data are
rebalanced on all OSD, even if i've pool molteplicity 3 and 3 nodes.

This, indeed, make perfectly sense: overral data scattering have better
performance and safety.


But... there's some way to se to crush 'don't rebalance in the same node, go
in degradated mode'?


Thanks.
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/
Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797

Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
Janne Johansson
2018-11-23 17:30:23 UTC
Permalink
Post by Marco Gaiarin
Previous (partial) node failures and my current experiments on adding a
node lead me to the fact that, when rebalancing are needed, ceph
rebalance also on intra-node: eg, if an OSD of a node die, data are
rebalanced on all OSD, even if i've pool molteplicity 3 and 3 nodes.
This, indeed, make perfectly sense: overral data scattering have better
performance and safety.
But... there's some way to se to crush 'don't rebalance in the same node, go
in degradated mode'?
The default crush rules with replication=3 would only place PGs on
separate hosts,
so in that case it would go into degraded mode if a node goes away,
and not place
replicas on different disks on the remaining hosts.
--
May the most significant bit of your life be positive.
Marco Gaiarin
2018-11-26 11:11:53 UTC
Permalink
Mandi! Janne Johansson
In chel di` si favelave...
Post by Janne Johansson
The default crush rules with replication=3 would only place PGs on
separate hosts,
so in that case it would go into degraded mode if a node goes away,
and not place
replicas on different disks on the remaining hosts.
'hosts' mean 'hosts with OSDs', right?

Because my cluster have 5 hosts, 2 are only MONs.


Thanks.
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/
Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797

Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
Janne Johansson
2018-11-26 11:22:47 UTC
Permalink
Post by Marco Gaiarin
Mandi! Janne Johansson
In chel di` si favelave...
Post by Janne Johansson
The default crush rules with replication=3 would only place PGs on
separate hosts,
so in that case it would go into degraded mode if a node goes away,
and not place
replicas on different disks on the remaining hosts.
'hosts' mean 'hosts with OSDs', right?
Because my cluster have 5 hosts, 2 are only MONs.
Yes, only hosts with OSDs.
--
May the most significant bit of your life be positive.
Loading...