<div dir="auto">The only way to work was to switch off (init 0) the primary and it worked, keactrl stop only doesn't work it gives connect refused and not no route to host, that's the only difference.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 23 Jun 2020, 21:51 Ismael Suarez, <<a href="mailto:Ismael_Suarez@coqui.com">Ismael_Suarez@coqui.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">With a similar config (basically the same), I am facing the same situation on 1.6.2. Anyone care to point out some obvios configs that we might be missing?<br>
<br>
<br>
<br>
--<br>
<br>
Ism<br>
<br>
<br>
-----Original Message-----<br>
From: Pizu <<a href="mailto:pizpower@gmail.com" target="_blank" rel="noreferrer">pizpower@gmail.com</a><mailto:<a href="mailto:Pizu%2520%253cpizpower@gmail.com" target="_blank" rel="noreferrer">Pizu%20%3cpizpower@gmail.com</a>%3e>><br>
To: <a href="mailto:kea-users@lists.isc.org" target="_blank" rel="noreferrer">kea-users@lists.isc.org</a><mailto:<a href="mailto:kea-users@lists.isc.org" target="_blank" rel="noreferrer">kea-users@lists.isc.org</a>><br>
Subject: [Kea-users] HA - Hot-Stanby Problem - Kea v1.6.1/2<br>
Date: Mon, 22 Jun 2020 16:47:23 +0200<br>
<br>
Hi,<br>
<br>
Am testing the HA and if I switch off the primary node nothing works. can you please help?<br>
<br>
Primary Configuration:<br>
<br>
        "hooks-libraries": [{<br>
                "library": "/usr/local/lib/kea/hooks/libdhcp_lease_cmds.so",<br>
                "parameters": {}<br>
            }, {<br>
                "library": "/usr/local/lib/kea/hooks/libdhcp_stat_cmds.so",<br>
                "parameters": {}<br>
            }, {<br>
                "library": "/usr/local/lib/kea/hooks/libdhcp_ha.so",<br>
                "parameters": {<br>
                    "high-availability": [{<br>
                            "heartbeat-delay": 10000,<br>
                            "max-ack-delay": 10000,<br>
                            "max-response-delay": 45000,<br>
                            "max-unacked-clients": 10,<br>
                            "mode": "hot-standby",<br>
                            "peers": [{<br>
                                    "auto-failover": true,<br>
                                    "name": "mstkeadhcpsrv01.corporate.intra",<br>
                                    "role": "primary",<br>
                                    "url": "<a href="http://172.16.193.39:8080/" rel="noreferrer noreferrer" target="_blank">http://172.16.193.39:8080/</a>"<br>
                                }, {<br>
                                    "auto-failover": true,<br>
                                    "name": "ztnkeadhcpsrv01.corporate.intra",<br>
                                    "role": "standby",<br>
                                    "url": "<a href="http://172.16.60.39:8080/" rel="noreferrer noreferrer" target="_blank">http://172.16.60.39:8080/</a>"<br>
                                }<br>
                            ],<br>
                            "send-lease-updates": true,<br>
                            "sync-leases": true,<br>
                            "sync-page-limit": 10000,<br>
                            "sync-timeout": 60000,<br>
                            "this-server-name": "mstkeadhcpsrv01.corporate.intra"<br>
                        }<br>
                    ]<br>
                }<br>
            }<br>
        ],<br>
<br>
Standby Configuration:<br>
<br>
        "hooks-libraries": [{<br>
                "library": "/usr/local/lib/kea/hooks/libdhcp_lease_cmds.so",<br>
                "parameters": {}<br>
            }, {<br>
                "library": "/usr/local/lib/kea/hooks/libdhcp_stat_cmds.so",<br>
                "parameters": {}<br>
            }, {<br>
                "library": "/usr/local/lib/kea/hooks/libdhcp_ha.so",<br>
                "parameters": {<br>
                    "high-availability": [{<br>
                            "heartbeat-delay": 10000,<br>
                            "max-ack-delay": 10000,<br>
                            "max-response-delay": 45000,<br>
                            "max-unacked-clients": 10,<br>
                            "mode": "hot-standby",<br>
                            "peers": [{<br>
                                    "auto-failover": true,<br>
                                    "name": "mstkeadhcpsrv01.corporate.intra",<br>
                                    "role": "primary",<br>
                                    "url": "<a href="http://172.16.193.39:8080/" rel="noreferrer noreferrer" target="_blank">http://172.16.193.39:8080/</a>"<br>
                                }, {<br>
                                    "auto-failover": true,<br>
                                    "name": "ztnkeadhcpsrv01.corporate.intra",<br>
                                    "role": "standby",<br>
                                    "url": "<a href="http://172.16.60.39:8080/" rel="noreferrer noreferrer" target="_blank">http://172.16.60.39:8080/</a>"<br>
                                }<br>
                            ],<br>
                            "send-lease-updates": true,<br>
                            "sync-leases": true,<br>
                            "sync-page-limit": 10000,<br>
                            "sync-timeout": 60000,<br>
                            "this-server-name": "ztnkeadhcpsrv01.corporate.intra"<br>
                        }<br>
                    ]<br>
                }<br>
            }<br>
        ],<br>
<br>
Regards,<br>
<br>
David<br>
<br>
_______________________________________________<br>
<br>
ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
<br>
<br>
To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
<br>
<br>
Kea-users mailing list<br>
<br>
<a href="mailto:Kea-users@lists.isc.org" target="_blank" rel="noreferrer">Kea-users@lists.isc.org</a><mailto:<a href="mailto:Kea-users@lists.isc.org" target="_blank" rel="noreferrer">Kea-users@lists.isc.org</a>><br>
<br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
<br>
</blockquote></div>