{
  "Dhcp4": {
    "hooks-libraries": [
      {
        "library": "/usr/local/kea/2.4.0/lib/kea/hooks/libdhcp_lease_cmds.so"
      },
      {
        "library" : "/usr/local/kea/2.4.0/lib/kea/hooks/libdhcp_ha.so",
        "parameters": {
          "high-availability": [
            {
              "this-server-name": "server1",
              "mode": "load-balancing",
              "auto-failover": true,
              "peers": [
                {
                  "name": "server1",
                  "url": "http://10.1.2.2:8001",
                  "role": "primary"
                },
                {
                  "name": "server2",
                  "url": "http://10.1.2.3:8001",
                  "role": "secondary"
                }
              ]
            }
          ]
        }
      }
    ]
  }
}
