// This is the configuration of this server instance.
{
"name": "server1",
- // This specifies the URL of our server instance. The
- // Control Agent must run along with our DHCPv4 server
- // instance and the "http-host" and "http-port" must be
- // set to the corresponding values.
- "url": "http://192.168.1.2:8000/",
+ // This specifies the URL of this server instance.
+ "url": "http://192.168.56.33:8005/",
// This server is primary. The other one must be
// secondary.
"role": "primary"
},
- // This is the configuration of our HA peer.
+ // This is the configuration of the HA peer.
{
"name": "server2",
// Specifies the URL on which the partner's control
- // channel can be reached. The Control Agent is required
- // to run on the partner's machine with "http-host" and
- // "http-port" values set to the corresponding values.
- "url": "http://192.168.1.3:8000/",
- // The partner is a secondary. Our is primary.
- "role": "standby"
+ // channel can be reached.
+ "url": "http://192.168.56.66:8005/",
+ // The partner is secondary. This server is primary.
+ "role": "secondary"
}
]
} ]
// further. The default value is 60000ms (60 seconds).
"sync-timeout": 60000,
"peers": [
- // This is the configuration of this server instance.
+ // This is the configuration of the HA peer.
{
"name": "server1",
- // This specifies the URL of the partner's server instance. The
- // Control Agent must run along with partner DHCPv4 server
- // instance and the "http-host" and "http-port" must be
- // set to the corresponding values.
- "url": "http://192.168.1.2:8000/",
- // That server is primary. Our server must be
- // standby.
+ // Specifies the URL on which the partner's control
+ // channel can be reached.
+ "url": "http://192.168.56.33:8005/",
+ // The partner is primary. This server is secondary.
"role": "primary"
},
- // This is our (server2) configuration.
+ // This is the configuration of this server instance.
{
"name": "server2",
- // Specifies the URL on which the control agent for this server
- // can be reached. The Control Agent is required
- // to run on this machine with "http-host" and
- // "http-port" values set to the corresponding values.
- "url": "http://192.168.1.3:8000/",
- // Our server is standby. The other server is primary.
- "role": "standby"
+ // This specifies the URL of this server instance.
+ "url": "http://192.168.56.66:8005/",
+ // This server is secondary. The other one must be
+ // primary.
+ "role": "secondary"
}
]
} ]