===== IP sharing on Linode ===== * Legacy name: IP failover * Linode offers a network helper which by default is on. Switching IPs works fine if you reboot after the switch with network helper on * "Rumor has it" that you may not have to restart the nodes if you don't use network helper and configure the IPs yourself. I gave up on this approach after a few failed attempts. * IP sharing adds secondary IP addresses to ''eth0'' but never could figure out how to make use of that * Since you can swap IPs between any 2 nodes, IP sharing seems meaningless, at least if using network helper and rebooting ==== Examples of IP swapping ==== === Prerequisites === * local machine will swap IP with remote machine * local machine has ''linode-cli'' installed * remote machine has private IP ssh root@ "reboot"; linode-cli networking ip-assign --region us-central --assignments.address --assignments.linode_id --assignments.address --assignments.linode_id 3; sudo reboot ===== References ===== * [[https://www.linode.com/docs/guides/host-a-website-with-high-availability/|Host a Website with High Availability on Linode]] * [[https://www.linode.com/docs/guides/linux-static-ip-configuration|Static IP on Linode]] * [[https://www.linode.com/community/questions/18338/does-ip-sharing-require-me-to-set-up-keepalived-myself|Linode IP sharing with keepalived]] * [[https://www.linode.com/docs/guides/introduction-to-high-availability|Linode introduction to high availability]]