Skip to contentSkip to conversation

Newbie questions

DISCUSSION Mark Kampe 2 participants 3 messages Oct 6, 2012 – Oct 7, 2012

lore
Share & tools
lore

Mark Kampe

author
#0 lore raw

The problem you are describing is called split-brain. Ceph has an odd number of monitors and quorum is required before objects can be served. The partition with the smaller number of monitors will wait harmlessly until connectivity is reestablished .

Quoted 21 lines · Adam Nielsen

Thanks both for your answers - very informative. I think I will set up a test Ceph system on my home servers to try it out.

I have one more question:

Ceph seems to handle failed nodes well enough, but what about failed network links? Say you have a few systems in two locations, connected by a single link. If the link fails, you will have two isolated networks, each of which will think the other has failed and presumably will try to go on as best it can. What happens when the link comes back up again? What if the same file was modified by both isolated clusters when the link was down? What version will end up back in the cluster?

Thanks again,
Adam.

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw
Quoted 4 lines

The problem you are describing is called split-brain. Ceph has an odd number of monitors and quorum is required before objects can be served. The partition with the smaller number of monitors will wait harmlessly until connectivity is reestablished .

Ah right, that makes sense. Is this set in stone or can it be configured? I'm just thinking that in this scenario it could be beneficial to allow read-only access from the partition with the smaller number of monitors, if there are also clients that can only see those hosts. (For example, a business with two sites, and the link between them goes down, so client PCs can only see their site-local servers.)

Thanks,
Adam.

author
#2 lore raw

In your original question, I assumed you were talking about the partitioning of a single cluster. Now you are talking about Geographic Disaster Recovery: the replication of data across multiple (relatively) independent clusters. This is not yet supported, but it is most definitely on the road-map.

Quoted 11 lines · Adam Nielsen
Quoted 4 lines

The problem you are describing is called split-brain. Ceph has an odd number of monitors and quorum is required before objects can be served. The partition with the smaller number of monitors will wait harmlessly until connectivity is reestablished .

Ah right, that makes sense. Is this set in stone or can it be configured? I'm just thinking that in this scenario it could be beneficial to allow read-only access from the partition with the smaller number of monitors, if there are also clients that can only see those hosts. (For example, a business with two sites, and the link between them goes down, so client PCs can only see their site-local servers.)