#1 2014-12-18 12:16:39

sergioschel
Member
From: Brazil
Registered: 2014-10-23
Posts: 9

Failover

How can I implement failover with mormot?

Offline

#2 2014-12-18 12:36:30

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: Failover

At which level?

On Server level?
That is, you expect a 2nd mORMot server to take care of the process if the first server is down?
For ORM? For SOA?

Transparent fail over may only be possible for ORM/data features, not SOA which could be fair more complex (e.g. with custom live time).

From our experiment, failover on DB should be enough, in practice.
It would depend on the DB backend.

At ORM level, we would have first to add the automatic DB replication.
See http://synopse.info/fossil/tktview?name=3453f314d9
Then fail over from one ORM server to another may be easy to implement.

We need to have some more ideas about your expectations.

Offline

#3 2014-12-18 13:05:06

sergioschel
Member
From: Brazil
Registered: 2014-10-23
Posts: 9

Re: Failover

On the server side.
Is ORM.
Yes, I hope that a second server mORMot to take care of the process if the first server is down.
The Oracle database server is on another host and already has failover.
Thanks for the quick return!

Last edited by sergioschel (2014-12-18 13:10:04)

Offline

#4 2017-05-09 18:13:59

triguinhu
Member
From: Brazil
Registered: 2016-07-28
Posts: 27

Re: Failover

I have implemented the failover in DB backend

But, on the server level?

How to implement this?

Offline

#5 2017-05-10 14:19:40

turrican
Member
From: Barcelona
Registered: 2015-06-05
Posts: 94
Website

Re: Failover

If you are accessing the server via HTTP client, you can place an HTTP proxy in front your backend servers and scale the ORM horizontally.

Offline

#6 2017-05-10 15:21:41

mpv
Member
From: Ukraine
Registered: 2012-03-24
Posts: 1,571
Website

Re: Failover

See nginx config sample in this topic

Online

Board footer

Powered by FluxBB