K
K
kolibomber2020-10-08 10:58:18
PostgreSQL
kolibomber, 2020-10-08 10:58:18

Ceph plus docker swarm?

Good afternoon
I have a task to build a fault-tolerant postgresql on docker swarm.
As volume storage, I'm trying to use a ceph cluster of 3 virtual machines.
Everything is more or less running.
When I check for a crash in one of the ceph nodes, my mount on the docker swarm machines hangs for 1-5 minutes.
Is this normal behavior for cephfs? In the logs, I see reconnection to other mon nodes.
I was counting on the failure handling in a few seconds.
It happened on gluster.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Armenian Radio, 2020-10-08
@gbg

No, the behavior is not normal, but the cluster needs to be built differently - such tasks will be solved at the postgres level.
In addition, ceph is best put on real hardware, virtual machines kill it even more and so low performance.
well, three nodes is very little.
According to your problem - did you specify all the monitors during the mount?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question