Login to download the latest version of Mint and your favorite Pepper, purchase additional licenses, or post in the Forum. Don't have an account? Create one!

In Partnership with Media Temple

Mint Forum

Running Mint on three servers (loadbalanced by round-robin DNS) - possible?

w-w-w
Minted
Posted on Feb 27, '08 at 02:45 pm

Hi,

the FAQ didn’t answer this, so sorry if this is a stupid question.

I’m running a site on three webservers with a simple Round-Robin-DNS loadbalacining, with a single MySQL database server.

Is it possible to run Mint on all three webservers? (It would be a problem if Mint uses some local data on the webserver for session management.)

Thanks!

Hanno

Shaun Inman
Mint/Pepper Developer
Posted on Feb 27, '08 at 05:10 pm

Mint doesn’t use any local data aside from what it stores in the database. You should be okay but I personally don’t have any experience with load-balanced servers.

w-w-w
Minted
Posted on Feb 29, '08 at 11:07 am

Hi,

thanks, it works fine.

Some observations, though:

I installed the software on php1.domain and then copied it to php2.domain and php3.domain, finally to access it through php.domain (which is the round robin address for php1-3).

However, Mint remembered that it was installed on php1 and kept having most of its load on php1. You may want to change this or add a note on how the mint user can change the config value.

I did by brute force: update mint__config set cfg = replace(cfg, “php1.wer-weiss-was.de”, “php.wer-weiss-was.de”) where id=1;

Thanks,

Hanno

Shaun Inman
Mint/Pepper Developer
Posted on Jul 10, '08 at 10:21 am

A simple visit to /mint/?moved will update Mint’s internal pointers.

You must be logged in to reply. Login above or create an account