Load Balancing

Hey,

New to linode, buying my plan very soon just want to get an idea of how things are going to work.

I have previously had an entirely managed load balancing system, but I have decided to migrate to linode and use NodeBalance, so I have a few questions!

1) If I use NodeBalancer, with two web servers, how can I get these two web servers to synchronize with each other? It has to be a 2 way sync, every file change on A must be reflect on B and vice versa. If i ran a mysql server on each of these would they also sync?

2) If I was to need MySQL on separate VPS's, could NodeBalancer balance these nodes also? And how would I go about keeping the MySQL databases two-way synced?

3) If NodeBalancer can't do this / I would have to pay extra, would it be possible to load balance them from the webserver? i.e. webservers just sends a request to one of them at random (hopefully roughly balancing the load!)

4) if I decided to just have one MySQL database running as a master, and a slave as a failover, how can I go about making the other one kick in when the master goes down? And how could I sync the slave with the master?

Sorry, lots of questions, really taking a jump in the deep end and doing it myself! If you can only answer one of these questions please do, every little helps! :D

Thanks

Chris

0 Replies

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