Welcome! Log In Create A New Profile

Advanced

Multiple backup in upstream

Posted by SirrioN 
Multiple backup in upstream
March 19, 2024 02:49AM
Hi!

I want's to understand how multiple backups works

For example, we have 5 instances in upstream

upstream backend {
server instance-1;
server instance-2 backup;
server instance-3 backup;
server instance-4 backup;
server instance-5 backup;
}

If instance-1 is down, what backup instance will be accept connetction?
Whey all with balancing, or first in list of backups?

I needs to send all connections to one instance
For example:
if instance-1 is down, all connection should be sent to instance-2
if instance-1 and instance-2 is down, all connections should be sent to instance-3
etc

How can i realise it?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 143
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready