I want to migrate from 2core/4gbyte to 6core 16gbyte. Best practice?

Hi All,

I restored a backup of the machine to a new linode of the same 2core/4gbyte. I added a firewall with drop outgoing and incomming so it could not affect our current server in any way, then used lish to adjust the new server to not upset existing stuff…

Then I did a warm resize. The warm resize resulted in an outage of ~60 seconds, which was to be honest fair and impressive.

However, there are other things I'd like to do to the linode before making it live.

So.. would it be better to repeat the procedure above, sort out the other issues (including increasing swap to mem+2gbytes), and then use the 'IP Transfer' feature to switch machines on the fly?

The advantage being that the IP could be transferred back if there WAS a problem….

The existing machine will have ~1000 WSS connections in place, which hopefully would fail gracefully on the IP swapover and re-establish (anyone have ideas on this?). I'd look to do it all fairly quickly, and in the middle of the night, to avoid too many database changes between the two machines…

Thoughts or experience of similar appreciated?

Simon

1 Reply

So.. would it be better to repeat the procedure above, sort out the other issues (including increasing swap to mem+2gbytes), and then use the 'IP Transfer' feature to switch machines on the fly?

If the process your are talking about repeating is involving the same machine, you could clone the most recently created machine and save yourself some effort:
https://www.linode.com/docs/products/compute/compute-instances/guides/clone-instance/

The IP swap would definitely be a fast/easy way to ensure that the transition from the old to the new machine is pretty seamless, but if you are looking for long-term stability in the event of inevitable downtime, you may want to consider (if you have not already) some added availability/redundancy by way of a NodeBalancer (Linode's Load Balancer solution) and a secondary/failover Linode:
https://www.linode.com/docs/guides/load-balancing-fundamentals/

I hope that helps!

-Micah

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct