[Kea-users] HA - Hot-Stanby Problem - Kea v1.6.1/2

Pizu pizpower at gmail.com
Mon Jun 22 14:47:23 UTC 2020


Hi,

Am testing the HA and if I switch off the primary node nothing works. can
you please help?

Primary Configuration:

        "hooks-libraries": [{
                "library": "/usr/local/lib/kea/hooks/libdhcp_lease_cmds.so",
                "parameters": {}
            }, {
                "library": "/usr/local/lib/kea/hooks/libdhcp_stat_cmds.so",
                "parameters": {}
            }, {
                "library": "/usr/local/lib/kea/hooks/libdhcp_ha.so",
                "parameters": {
                    "high-availability": [{
                            "heartbeat-delay": 10000,
                            "max-ack-delay": 10000,
                            "max-response-delay": 45000,
                            "max-unacked-clients": 10,
                            "mode": "hot-standby",
                            "peers": [{
                                    "auto-failover": true,
                                    "name":
"mstkeadhcpsrv01.corporate.intra",
                                    "role": "primary",
                                    "url": "http://172.16.193.39:8080/"
                                }, {
                                    "auto-failover": true,
                                    "name":
"ztnkeadhcpsrv01.corporate.intra",
                                    "role": "standby",
                                    "url": "http://172.16.60.39:8080/"
                                }
                            ],
                            "send-lease-updates": true,
                            "sync-leases": true,
                            "sync-page-limit": 10000,
                            "sync-timeout": 60000,
                            "this-server-name":
"mstkeadhcpsrv01.corporate.intra"
                        }
                    ]
                }
            }
        ],

Standby Configuration:

        "hooks-libraries": [{
                "library": "/usr/local/lib/kea/hooks/libdhcp_lease_cmds.so",
                "parameters": {}
            }, {
                "library": "/usr/local/lib/kea/hooks/libdhcp_stat_cmds.so",
                "parameters": {}
            }, {
                "library": "/usr/local/lib/kea/hooks/libdhcp_ha.so",
                "parameters": {
                    "high-availability": [{
                            "heartbeat-delay": 10000,
                            "max-ack-delay": 10000,
                            "max-response-delay": 45000,
                            "max-unacked-clients": 10,
                            "mode": "hot-standby",
                            "peers": [{
                                    "auto-failover": true,
                                    "name":
"mstkeadhcpsrv01.corporate.intra",
                                    "role": "primary",
                                    "url": "http://172.16.193.39:8080/"
                                }, {
                                    "auto-failover": true,
                                    "name":
"ztnkeadhcpsrv01.corporate.intra",
                                    "role": "standby",
                                    "url": "http://172.16.60.39:8080/"
                                }
                            ],
                            "send-lease-updates": true,
                            "sync-leases": true,
                            "sync-page-limit": 10000,
                            "sync-timeout": 60000,
                            "this-server-name":
"ztnkeadhcpsrv01.corporate.intra"
                        }
                    ]
                }
            }
        ],

Regards,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20200622/f49881da/attachment.htm>


More information about the Kea-users mailing list