Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


KernelCare and LibCare in a VPS
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

KernelCare and LibCare in a VPS

Hi

One of my VPS is relatively busy and I was thinking about using KernelCare to avoid reboots an receive patches.

From my understanding, LibCare should be added to the basket too because KernelCare only updates kernel and libraries updates need reboots too.

Are you using KC and LC in a VPS? Is LC needed?
What are your opinion about using KC and LC in s VPS?

Thanks

Comments

  • yoursunnyyoursunny Member, IPv6 Advocate

    You can buy KernelCare and LibCare, but the host node would reboot and ruin your uptime.
    Hence, design a distributed system that spans two servers, so that either server can go down without affecting application.

    Thanked by 2nfn Boogeyman
  • nfnnfn Veteran

    @yoursunny said:
    design a distributed system that spans two servers, so that either server can go down without affecting application.

    This is something I've had in mind for a few weeks now, and since the most important and busy applications are developed by me, the effort to make them multi-server is low.

    Furthermore, two of them are already distributed worldwide using 5 VPS.

    I'm using CF DNS and HetrixTools for monitoring. Any suggestions for automated DNS change when the primary server goes down?

  • @nfn said: I'm using CF DNS and HetrixTools for monitoring. Any suggestions for automated DNS change when the primary server goes down?

    CF has load balancing solution from $5/mo. If you don't want that, you can simply setup a webhook notification in HetrixTools and call CF API to update the record when primary is down. Obviously your webhook link configured in HT shouldn't be on the primary server. :)

    https://www.cloudflare.com/load-balancing/
    https://docs.hetrixtools.com/uptime-monitoring-webhook-notifications/
    https://api.cloudflare.com/#dns-records-for-a-zone-update-dns-record

    Thanked by 1nfn
  • AXYZEAXYZE Member
    edited February 2022

    @nfn said:

    @yoursunny said:
    design a distributed system that spans two servers, so that either server can go down without affecting application.

    This is something I've had in mind for a few weeks now, and since the most important and busy applications are developed by me, the effort to make them multi-server is low.

    Furthermore, two of them are already distributed worldwide using 5 VPS.

    I'm using CF DNS and HetrixTools for monitoring. Any suggestions for automated DNS change when the primary server goes down?

    Cloudflare Workers (very cheap or free, depending on how many requests you get)

    Example
    https://medium.com/@theotow/how-to-build-an-application-loadbalancer-for-1-1mio-requests-5c268e1d9d02
    you need add function that will health check the servers and replace them, @Kassem idea is good starting point. Workers will be way cheaper than normal load balancing.

    This has everything you need in one, but its on outdated API so you need to update it
    https://github.com/wojons/cloudflare-lb

    Thanked by 1nfn
Sign In or Register to comment.