I believe that I have, here is a snippet of the config file. Still using the 
ipv4 address for HA url for the ipv6 config...
Thank you for helping!

John

{
            "library": "/usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_ha.so",
            "parameters": {
                "high-availability": [ {
                    "this-server-name": "dhcp1-acccess-ub2204-vm",
                    "mode": "load-balancing",
                    "send-lease-updates": false,
                    "sync-leases": false,
                    "heartbeat-delay": 10000,
                    "max-ack-delay": 5000,
                    "max-unacked-clients": 20,
                    "peers": [
                         {
                             "name": "dhcp1-acccess-ub2204-vm",
                             "url": "http://10.40.4.54:8000/";,
                             "role": "primary",
                             "auto-failover": true
                         },
                         {
                            "name": "dhcp2-acccess-ub2204-vm",
                             "url": "http://10.40.4.55:8000/";,
                             "role": "secondary",
                             "auto-failover": true
                         }
                       ]
                  }   ]
               }
        }

On 5/30/24, 12:34, "Kea-users on behalf of Darren Ankney" 
<[email protected] <mailto:[email protected]> on 
behalf of [email protected] <mailto:[email protected]>> wrote:


John,


That is correct. If both servers are sharing the same database and
are both configured for HA, then you may want to look at disabling
lease synchronization as described here:
https://kea.readthedocs.io/en/kea-2.4.1/arm/hooks.html#lease-information-sharing
 
<https://kea.readthedocs.io/en/kea-2.4.1/arm/hooks.html#lease-information-sharing>


thank you,
Darren Ankney


On Wed, May 29, 2024 at 11:11 AM John Welsh <[email protected] 
<mailto:[email protected]>> wrote:
>
> Thanks for the reply and I think I have them working now. I set up a 
> postgresql backend db for the databases and in doing so I am now using the 
> same pools for both servers instead of splitting the pool between them. I did 
> this because each server will register it lease within the database so and 
> each server checks the database to verify that the ip is available before it 
> offers it? At lease that is my understanding.
>
> John
>
> On 5/28/24, 16:15, "Kea-users on behalf of Darren Ankney" 
> <[email protected] <mailto:[email protected]> 
> <mailto:[email protected] 
> <mailto:[email protected]>> on behalf of 
> [email protected] <mailto:[email protected]> 
> <mailto:[email protected] <mailto:[email protected]>>> wrote:
>
>
> Hi John,
>
>
> This is just a guess, but you may need to review
> https://kea.readthedocs.io/en/kea-2.4.1/arm/hooks.html#load-balancing-configuration
>  
> <https://kea.readthedocs.io/en/kea-2.4.1/arm/hooks.html#load-balancing-configuration>
>  
> <https://kea.readthedocs.io/en/kea-2.4.1/arm/hooks.html#load-balancing-configuration>
>  
> <https://kea.readthedocs.io/en/kea-2.4.1/arm/hooks.html#load-balancing-configuration&gt;>
> which shows that you need to use the special client classes of
> HA_<servername> to manually split the pools in half (there is no
> auto-split like there was in ISC DHCP). Or simply use hot-standby
> which requires no special class configuration / pool splitting. If
> that isn't the problem, then please provide your configuration (with
> sensitive items redacted) so that the community might better assist
> you.
>
>
> Thank you,
> Darren Ankney
>
>
> On Tue, May 28, 2024 at 5:06 PM John Welsh <[email protected] 
> <mailto:[email protected]> <mailto:[email protected] 
> <mailto:[email protected]>>> wrote:
> >
> > Load-Balancing
> >
> > On 5/28/24, 15:30, "Kea-users on behalf of Darren Ankney" 
> > <[email protected] <mailto:[email protected]> 
> > <mailto:[email protected] 
> > <mailto:[email protected]>> 
> > <mailto:[email protected] 
> > <mailto:[email protected]> 
> > <mailto:[email protected] 
> > <mailto:[email protected]>>> on behalf of 
> > [email protected] <mailto:[email protected]> 
> > <mailto:[email protected] <mailto:[email protected]>> 
> > <mailto:[email protected] <mailto:[email protected]> 
> > <mailto:[email protected] <mailto:[email protected]>>>> wrote:
> >
> >
> > Hi John,
> >
> >
> > Are you running HA in "load-balancing" or "hot-standby" mode?
> >
> >
> > Thank you,
> > Darren Ankney
> >
> >
> > On Sun, May 26, 2024 at 7:56 PM John Welsh <[email protected] 
> > <mailto:[email protected]> <mailto:[email protected] 
> > <mailto:[email protected]>> <mailto:[email protected] 
> > <mailto:[email protected]> <mailto:[email protected] 
> > <mailto:[email protected]>>>> wrote:
> > >
> > > I have set up 2 kea dhcp ver 2.4.1 servers and I am seeing some issues 
> > > with hosts not getting a ipv6 lease.
> > >
> > > My question is do I need to use the same kea-dhcp6-serverid on both 
> > > servers if they are running in HA? All hosts will get leases if I disable 
> > > HA.
> > >
> > >
> > >
> > > Thanks!
> > >
> > > John Welsh
> > >
> > > --
> > > ISC funds the development of this software with paid support 
> > > subscriptions. Contact us at https://www.isc.org/contact/ 
> > > <https://www.isc.org/contact/> <https://www.isc.org/contact/> 
> > > <https://www.isc.org/contact/&gt;> <https://www.isc.org/contact/> 
> > > <https://www.isc.org/contact/&gt;> <https://www.isc.org/contact/&gt;> 
> > > <https://www.isc.org/contact/&amp;gt;&gt;> for more information.
> > >
> > > To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users 
> > > <https://lists.isc.org/mailman/listinfo/kea-users> 
> > > <https://lists.isc.org/mailman/listinfo/kea-users> 
> > > <https://lists.isc.org/mailman/listinfo/kea-users&gt;> 
> > > <https://lists.isc.org/mailman/listinfo/kea-users> 
> > > <https://lists.isc.org/mailman/listinfo/kea-users&gt;> 
> > > <https://lists.isc.org/mailman/listinfo/kea-users&gt;> 
> > > <https://lists.isc.org/mailman/listinfo/kea-users&amp;gt;&gt;>.
> > >
> > > Kea-users mailing list
> > > [email protected] <mailto:[email protected]> 
> > > <mailto:[email protected] <mailto:[email protected]>> 
> > > <mailto:[email protected] <mailto:[email protected]> 
> > > <mailto:[email protected] <mailto:[email protected]>>>
> > > https://lists.isc.org/mailman/listinfo/kea-users 
> > > <https://lists.isc.org/mailman/listinfo/kea-users> 
> > > <https://lists.isc.org/mailman/listinfo/kea-users> 
> > > <https://lists.isc.org/mailman/listinfo/kea-users&gt;> 
> > > <https://lists.isc.org/mailman/listinfo/kea-users> 
> > > <https://lists.isc.org/mailman/listinfo/kea-users&gt;> 
> > > <https://lists.isc.org/mailman/listinfo/kea-users&gt;> 
> > > <https://lists.isc.org/mailman/listinfo/kea-users&amp;gt;&gt;>
> > --
> > ISC funds the development of this software with paid support subscriptions. 
> > Contact us at https://www.isc.org/contact/ <https://www.isc.org/contact/> 
> > <https://www.isc.org/contact/> <https://www.isc.org/contact/&gt;> 
> > <https://www.isc.org/contact/> <https://www.isc.org/contact/&gt;> 
> > <https://www.isc.org/contact/&gt;> 
> > <https://www.isc.org/contact/&amp;gt;&gt;> for more information.
> >
> >
> > To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users 
> > <https://lists.isc.org/mailman/listinfo/kea-users> 
> > <https://lists.isc.org/mailman/listinfo/kea-users> 
> > <https://lists.isc.org/mailman/listinfo/kea-users&gt;> 
> > <https://lists.isc.org/mailman/listinfo/kea-users> 
> > <https://lists.isc.org/mailman/listinfo/kea-users&gt;> 
> > <https://lists.isc.org/mailman/listinfo/kea-users&gt;> 
> > <https://lists.isc.org/mailman/listinfo/kea-users&amp;gt;&gt;>.
> >
> >
> > Kea-users mailing list
> > [email protected] <mailto:[email protected]> 
> > <mailto:[email protected] <mailto:[email protected]>> 
> > <mailto:[email protected] <mailto:[email protected]> 
> > <mailto:[email protected] <mailto:[email protected]>>>
> > https://lists.isc.org/mailman/listinfo/kea-users 
> > <https://lists.isc.org/mailman/listinfo/kea-users> 
> > <https://lists.isc.org/mailman/listinfo/kea-users> 
> > <https://lists.isc.org/mailman/listinfo/kea-users&gt;> 
> > <https://lists.isc.org/mailman/listinfo/kea-users> 
> > <https://lists.isc.org/mailman/listinfo/kea-users&gt;> 
> > <https://lists.isc.org/mailman/listinfo/kea-users&gt;> 
> > <https://lists.isc.org/mailman/listinfo/kea-users&amp;gt;&gt;>
> >
> >
> >
> > --
> > ISC funds the development of this software with paid support subscriptions. 
> > Contact us at https://www.isc.org/contact/ <https://www.isc.org/contact/> 
> > <https://www.isc.org/contact/> <https://www.isc.org/contact/&gt;> for more 
> > information.
> >
> > To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users 
> > <https://lists.isc.org/mailman/listinfo/kea-users> 
> > <https://lists.isc.org/mailman/listinfo/kea-users> 
> > <https://lists.isc.org/mailman/listinfo/kea-users&gt;>.
> >
> > Kea-users mailing list
> > [email protected] <mailto:[email protected]> 
> > <mailto:[email protected] <mailto:[email protected]>>
> > https://lists.isc.org/mailman/listinfo/kea-users 
> > <https://lists.isc.org/mailman/listinfo/kea-users> 
> > <https://lists.isc.org/mailman/listinfo/kea-users> 
> > <https://lists.isc.org/mailman/listinfo/kea-users&gt;>
> --
> ISC funds the development of this software with paid support subscriptions. 
> Contact us at https://www.isc.org/contact/ <https://www.isc.org/contact/> 
> <https://www.isc.org/contact/> <https://www.isc.org/contact/&gt;> for more 
> information.
>
>
> To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users 
> <https://lists.isc.org/mailman/listinfo/kea-users> 
> <https://lists.isc.org/mailman/listinfo/kea-users> 
> <https://lists.isc.org/mailman/listinfo/kea-users&gt;>.
>
>
> Kea-users mailing list
> [email protected] <mailto:[email protected]> 
> <mailto:[email protected] <mailto:[email protected]>>
> https://lists.isc.org/mailman/listinfo/kea-users 
> <https://lists.isc.org/mailman/listinfo/kea-users> 
> <https://lists.isc.org/mailman/listinfo/kea-users> 
> <https://lists.isc.org/mailman/listinfo/kea-users&gt;>
>
>
>
> --
> ISC funds the development of this software with paid support subscriptions. 
> Contact us at https://www.isc.org/contact/ <https://www.isc.org/contact/> for 
> more information.
>
> To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users 
> <https://lists.isc.org/mailman/listinfo/kea-users>.
>
> Kea-users mailing list
> [email protected] <mailto:[email protected]>
> https://lists.isc.org/mailman/listinfo/kea-users 
> <https://lists.isc.org/mailman/listinfo/kea-users>
-- 
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ <https://www.isc.org/contact/> for 
more information.


To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users 
<https://lists.isc.org/mailman/listinfo/kea-users>.


Kea-users mailing list
[email protected] <mailto:[email protected]>
https://lists.isc.org/mailman/listinfo/kea-users 
<https://lists.isc.org/mailman/listinfo/kea-users>



-- 
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to