Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)IN
Posts
1
Comments
258
Joined
2 yr. ago

  • I want the failover to work in case of internet or power outage, not local cluster node failure. Multiple clusters would make configuration and failover across locations difficult or am I wrong?

  • I mean storage backends as in the provisioner, I will use local storage on the nodes with either lvm or just storage on a filesystem.

    I already set up a cluster and tried linstore, I'm searching for experiences with the options because I don't want to test them all.

    I currently manage all the servers with a NixOS repository but am looking for better failover.

  • And systemd requires notify about this intention every time.

    Systemd requires a one time fee of loginctl enable-linger myserviceuser to never kill processes with a timeout for that user again. This behavior also doesn't affect system users, only normal users.

    I think the main purpose nowadays is to stop pipewire and other user services that don't need to consume resources when that user isn't logged in

  • If you run screen/tmux built without systemd support, it will be killed on logout.

    Actually, if you run anything and logout, it will be killed after a timeout. The way to prevent this in systemd land is to enable-linger for that user.

    IMO this is a pretty sane default and it's easy enough to disable for users

    EDIT: For non-root users

  • metallb sounds like what you need, basicall you give it a range in your subnet (excluded from dhcp/Router!) and it assigns those ips to your loadbalancer services, it broadcasts this IP over Arp or bgp which makes automatic failover work.