<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Times New Roman \(Body CS\)";
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:Menlo;
panose-1:2 11 6 9 3 8 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
p.xmsonormal, li.xmsonormal, div.xmsonormal
{mso-style-name:x_msonormal;
margin:0cm;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
p.xp1, li.xp1, div.xp1
{mso-style-name:x_p1;
margin:0cm;
font-size:8.5pt;
font-family:Menlo;
color:black;}
p.xp2, li.xp2, div.xp2
{mso-style-name:x_p2;
margin:0cm;
font-size:8.5pt;
font-family:Menlo;
color:black;}
span.xs1
{mso-style-name:x_s1;}
span.xapple-converted-space
{mso-style-name:x_apple-converted-space;}
span.EmailStyle26
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=en-AT link="#0563C1" vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;mso-fareast-language:EN-US'>Hi Peter,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;mso-fareast-language:EN-US'>Yes, my mistake.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;mso-fareast-language:EN-US'>I've already found out, that I missed to load the lease_cmds library in the dhcp6 config.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;mso-fareast-language:EN-US'>Thanks very much and sorry for the effort.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;mso-fareast-language:EN-US'>Christian<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;mso-fareast-language:EN-US'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:12.0pt;color:black'>From: </span></b><span style='font-size:12.0pt;color:black'>Peter Davies <peter.watson.davies@outlook.com><br><b>Date: </b>Monday, 8. November 2021 at 11:56 <br><b>To: </b>"boesch@fhv.at" <boesch@fhv.at>, "kea-users@lists.isc.org" <kea-users@lists.isc.org><br><b>Subject: </b>Re: HA with dhcp6<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p></div><div><div><p class=MsoNormal style='margin-left:36.0pt;line-height:13.5pt;background:white'><span style='font-size:9.0pt;font-family:Menlo;color:black'>Hi Christian, <o:p></o:p></span></p><div><p class=MsoNormal style='margin-left:36.0pt;line-height:13.5pt;background:white'><span style='font-size:9.0pt;font-family:Menlo;color:black'> Do you load the </span><span style='font-size:9.0pt;font-family:Menlo;color:#A31515'>"lease_cmds"</span><span style='font-size:9.0pt;font-family:Menlo;color:black'> hooks library in both the kea-dhcp4 and kea-dhcp4 configurations?<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:36.0pt;line-height:13.5pt;background:white'><span style='font-size:9.0pt;font-family:Menlo;color:black'>/Peter<o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:12.0pt;color:black'><o:p> </o:p></span></p></div><div><div><p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:12.0pt;color:black'><o:p> </o:p></span></p></div></div><div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><hr size=0 width="100%" align=center></div><div id=divRplyFwdMsg><p class=MsoNormal style='margin-left:36.0pt'><b><span style='color:black'>From:</span></b><span style='color:black'> Kea-users <kea-users-bounces@lists.isc.org> on behalf of BĂ–SCH Christian <boesch@fhv.at><br><b>Sent:</b> 08 November 2021 09:34<br><b>To:</b> kea-users@lists.isc.org <kea-users@lists.isc.org><br><b>Subject:</b> [Kea-users] HA with dhcp6</span> <o:p></o:p></p><div><p class=MsoNormal style='margin-left:36.0pt'> <o:p></o:p></p></div></div><div><div><p class=xmsonormal style='margin-left:36.0pt'><span lang=EN-US>Hi,</span><o:p></o:p></p><p class=xmsonormal style='margin-left:36.0pt'><span lang=EN-US> </span><o:p></o:p></p><p class=xmsonormal style='margin-left:36.0pt'><span lang=EN-US>I'm testing HA with kea 2.0 which is working well with IPv4, but with IPv6 there are these errors on the secondary node:</span><o:p></o:p></p><p class=xmsonormal style='margin-left:36.0pt'><span lang=EN-US> </span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xs1>2021-11-08 09:29:05.265 ERROR [kea-dhcp6.ha-hooks/84963.0x801c12000] HA_LEASES_SYNC_FAILED failed to synchronize leases with kea1 (http://10.0.30.111:8000/): 'lease6-get-page' command not supported., error code 2</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xs1>2021-11-08 09:29:05.267 ERROR [kea-dhcp6.ha-hooks/84963.0x801c12000] HA_SYNC_FAILED lease database synchronization with kea1 failed: 'lease6-get-page' command not supported., error code 2</span><o:p></o:p></p><p class=xmsonormal style='margin-left:36.0pt'> <o:p></o:p></p><p class=xmsonormal style='margin-left:36.0pt'><span lang=EN-US>The config which is identical to IPv4 is as follows:</span><o:p></o:p></p><p class=xmsonormal style='margin-left:36.0pt'><span lang=EN-US> </span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>"hooks-libraries": [</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>{</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>"library": "/usr/local/lib/kea/hooks/libdhcp_ha.so",</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>"parameters": {</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>"high-availability": [{</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>"this-server-name": "kea2",</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>"mode": "load-balancing",</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>"heartbeat-delay": 10000,</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>"max-response-delay": 10000,</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>"max-ack-delay": 5000,</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>"max-unacked-clients": 5,</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>"delayed-updates-limit": 100,</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>"peers": [{</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>"name": "kea1",</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>"url": "http://10.0.30.111:8000/",</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>"role": "primary",</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>"basic-auth-user": "foo",</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>"basic-auth-password": "bar",</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>"auto-failover": true</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>}, {</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>"name": "kea2",</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>"url": "http://10.0.30.112:8000/",</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>"role": "secondary",</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>"basic-auth-user": "foo",</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>"basic-auth-password": "bar",</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>"auto-failover": true</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>}]</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>}]</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>}</span><o:p></o:p></p><p class=xp1 style='margin-left:36.0pt'><span class=xapple-converted-space> </span><span class=xs1>}],</span><o:p></o:p></p><p class=xp2 style='margin-left:36.0pt'> <o:p></o:p></p><p class=xmsonormal style='margin-left:36.0pt'><span lang=EN-US>Thanks in advance for any tips.</span><o:p></o:p></p><p class=xmsonormal style='margin-left:36.0pt'><span lang=EN-US>Christian</span><o:p></o:p></p><p class=xmsonormal style='margin-left:36.0pt'><span lang=EN-US> </span><o:p></o:p></p><p class=xmsonormal style='margin-left:36.0pt'><span lang=EN-US> </span><o:p></o:p></p></div></div></div></body></html>