host reservations and replicated databases
host reservations and replicated databases:
In order to increase availability would it be possible to configure Kea so that Host Reservation (HR) lookups could be directed to one or more read only database replicates.
Also that HR update commands in the Host Commands hooks libraries (host_cmd) can be configured to use a read/write database, or to be able to identify a read/write database from the set of "hosts-databases".
Maybe something like:
"hosts-databases": [
{
"type": "mysql",
"name": "Repicate-1",
"user-context": {
"use": "query",
"next": "Master"
},
...
},
"type": "mysql,
"name": "Repicate-2",
"user-context": {
"use": "query",
"next": "Master"
},
"type": "mysql,
"name": "Master",
"user-context": {
"use": "update",
"next": ""
},
...
}
],