Fallback to backup server upon failure of main server

Hello, porting this interesting question from Discord Community by @Krishna_Avril.

Hi! Can Ayon docker can also run in multiple machines at the same time? like a backup when one machine fails otherone cometo the play?

Not a direct answer, but on a somewhat related topic (Ayon’s database backup) :

For Ynput Cloud users, It’ll be managed by us.

I checked it with the guys, and did some search online. please correct me if I’m wrong.
Also, tagging @milan and @dee.ynput.

Typical Solution

This topic is related to Deployment Strategies.

Currently, we can’t help the that at the moment. as there are some horizontal scaling challenges. They are in our backlog.
Once we sort these out, we’ll start supporting, mostly, Kubernetes deployments. This will give us some cool features like:

  • Auto Updating
  • Auto Scaling
  • Auto Healing (which is the question mentioned in the post.)

Alternatives - Manual Fallback

I’ve found people online doing the fallback manually via

  • Using DB backups
  • Replacing the server’s domain name in DNS

This was mentioned here postgresql - Fallback to backup server upon failure of main server without third machine - Server Fault, That’s where I got the name of the topic.

This solution may be helpful for you although it may not be recommended.

1 Like