Best strategy to rebuild node without downtime ?
Can I just move my existing IP across to the new node and shutdown the old node ?
Any gotchas? Or maybe a better way to do this?
3 Replies
On the other hand, if you have a separate linode for running your database, then you can switch web servers on-the-fly without a problem.
In addition, if you use the DNS method, you must consider the TTL (time to live). Several days before you migrate, you may lower the TTL to something ridiculous, like 300 seconds. Once you complete your migration, the client browsers will have a near instant switch to the new IP address. Later you may revert the TTL back to normal values.
On mission-critical systems we use clusters and HA hardware, but on most other systems, you can just pick the time and day of the week with the lowest traffic and perform the migration at that exact time frame.