...
Span |
---|
Wiki Markup |
---|
{span:style= | | |
Gliffy Diagram |
---|
border | false |
---|
size | L |
---|
name | Multipoint |
---|
page | Failover |
---|
space | OPENEJBx30 |
---|
| }
{gliffy:name=Multipoint|space=OPENEJBx30|page=Failover|align=right|border=false|size=L|version=9}
{span} |
As TCP has no real broadcast functionality to speak of, communication of who is in the network is achieved by each server having a physical connection to each other server in the network.
...
The entire process is essentially the art of using a statically maintained list to bootstrap getting the more valuable dynamically maintained list.
Div |
---|
Wiki Markup |
---|
{div:style= | | }{div} |
|
Server Configuration
In the server this list can be specified via the conf/multipoint.properties
file like so:
...
Bootstrapping Four Servers or More
Span |
---|
|
Gliffy Diagram |
---|
border | false |
---|
size | L |
---|
name | MultipointFour |
---|
page | Failover |
---|
space | OPENEJBx30 |
---|
|
|
Wiki Markup |
---|
{span:style=float: right;}
{gliffy:name=MultipointFour|space=OPENEJBx30|page=Failover|align=right|border=false|size=L|version=3}
{span} |
In a scenario of four or more, we recommend picking at least to servers and focus on always keeping at least one of them running. Lets refer to them as "root" servers for simplicity sake.
...
Of course all servers once running and connected will have a full list of all other servers in the network, so if at any time the "root" servers weren't around to make initial introductions to new servers it would be no trouble. It's possible to reconfigure new servers to point at any other server in the network as all servers will have the full list. So these "root" servers are no real point of failure in function, but only of convenience.
Div |
---|
Wiki Markup |
---|
{div:style= | | }{div} |
|
Command line overrides
Always remember that any property in a conf/<server-service>.properties file can be overridden on the command line or via system properties. So it is possible easily set the initialServers list in startup scripts.
...