mirror of
https://gitea.publichub.eu/oscar.krause/fastapi-dls.git
synced 2024-11-22 22:38:48 +00:00
added notes about cronjob for ha
This commit is contained in:
parent
3921fc44f7
commit
84b092c1e6
@ -37,6 +37,7 @@ Tested with Ubuntu 22.10 (from Proxmox templates), actually its consuming 100mb
|
|||||||
- only *failover mode* is supported by team-green (see *high availability* in official user guide)
|
- only *failover mode* is supported by team-green (see *high availability* in official user guide)
|
||||||
- make sure you're using same configuration on each node
|
- make sure you're using same configuration on each node
|
||||||
- use same `instance.private.pem` and `instance.private.key` on each node
|
- use same `instance.private.pem` and `instance.private.key` on each node
|
||||||
|
- add `cronjob` on each node with `curl -X GET --insecure https://localhost/-/ha/replicate`
|
||||||
|
|
||||||
If you want to use *real* HA, you should use a proxy in front of this service and use a clustered database in backend.
|
If you want to use *real* HA, you should use a proxy in front of this service and use a clustered database in backend.
|
||||||
This is not documented and supported by me, but it *can* work. Please ask the community for help.
|
This is not documented and supported by me, but it *can* work. Please ask the community for help.
|
||||||
|
Loading…
Reference in New Issue
Block a user