Failover with 4 servers
Posted: Wed Jul 26, 2017 3:13 pm
Hello,
Currently I am experiencing some issues in regards to failover topology. The starting topology is currently setup to have all servers directly connect to server.1; once server.1 disconnects the idea is to have server.3 and server.4 directly connect to server.2. Finally, if server.2 goes offline, i would like server.3 and server.4 to connect to each other. Using the deny link block I have tried a few different combinations and have not succeeded yet. Are there any examples that can be shared?
I am using the unsecure option for linking servers, my link blocks look as follows:
using the deny link block I have attempted to block connection between nodes; the base case where all nodes directly connect to server.1 is not an issue using the following deny link block on server.2, server.3, and server.4
any help would be greatly appreciated, thank you in advance
Currently I am experiencing some issues in regards to failover topology. The starting topology is currently setup to have all servers directly connect to server.1; once server.1 disconnects the idea is to have server.3 and server.4 directly connect to server.2. Finally, if server.2 goes offline, i would like server.3 and server.4 to connect to each other. Using the deny link block I have tried a few different combinations and have not succeeded yet. Are there any examples that can be shared?
I am using the unsecure option for linking servers, my link blocks look as follows:
Code: Select all
link server.1
{
incoming {
mask *;
};
outgoing {
bind-ip *; /* or explicitly an IP */
hostname server.2;
port 7777;
options { insecure; autoconnect; };
};
password "password";
hub *;
class servers;
};
Code: Select all
/*server.3 deny link looks as follows */
deny link {
mask server.2;
rule !connected(server.1);
type auto;
};
deny link {
mask server.4;
rule !connected(server.1)&&directcon(server.2);
type auto;
};