Discover Centmin Mod today
Register Now

VPS geo dispersed VPS cluster

Discussion in 'System Administration' started by HydeWing, Jun 1, 2016.

  1. HydeWing

    HydeWing New Member

    8
    2
    3
    May 31, 2016
    Ratings:
    +2
    Local Time:
    8:23 PM
    1.19.11
    10.1
  2. eva2000

    eva2000 Administrator Staff Member

    54,895
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    10:23 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Centmin Mod is provide as is, so short of scripted related bugs or issues, any further optimisation to the web stack components - nginx, php-fpm, mariadb mysql, csf firewall etc or web app specific configurations are left to the Centmin Mod user to deal with. So I do not provide any free support for such setups.

    However, Centmin Mod users are free to help each other out and ask questions or give answers on this community forum. My hopes are that this community forum evolves so that more veteran long time Centmin Mod users help new Centmin Mod users out :)

    With that said, easiest way is use CDN service like KeyCDN. For static file only sites, csync2 and lsyncd would be better tools for cross datacenter usage or NFS within same datacenter. But I just use a private git repo to keep sites in sync for centminmod.com as it's just static files on main site :)
     
    Last edited: Jun 1, 2016
  3. HydeWing

    HydeWing New Member

    8
    2
    3
    May 31, 2016
    Ratings:
    +2
    Local Time:
    8:23 PM
    1.19.11
    10.1
    Thanks Eva, but I'm more interested how did you setup your 16+ VPS cluster.

     
  4. eva2000

    eva2000 Administrator Staff Member

    54,895
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    10:23 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    as outlined i used Amazon Route53 Geo Latency based DNS :)
     
  5. HydeWing

    HydeWing New Member

    8
    2
    3
    May 31, 2016
    Ratings:
    +2
    Local Time:
    8:23 PM
    1.19.11
    10.1
    Lol I Know you are using Amazon Route53.

    I'm more interested on the back-end stuffs... like

    MYSQL - I have multiple servers that all need to act as masters, as if one fails the next server kicks in and takes over. I'm just wondering what the best way to replicate is. All servers are in different data centers.

    File Syncronization Between The Web Nodes: Should I use lysncd and cesync2? Is this is good solution? Especially if you have 5 servers and I'm planning to add more in the future.

    Cheers,
    HydeWing
     
  6. eva2000

    eva2000 Administrator Staff Member

    54,895
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    10:23 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  7. HydeWing

    HydeWing New Member

    8
    2
    3
    May 31, 2016
    Ratings:
    +2
    Local Time:
    8:23 PM
    1.19.11
    10.1
    Cheers for the fast reply Eva.

    Out of those 4 MYSQL methods. Which method is employed on your 16+ VPS cluster?

    Oh yeah Btw, did you host your web server + database server on the same node?

    Warmly,
    Hyde Wing
     
  8. eva2000

    eva2000 Administrator Staff Member

    54,895
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    10:23 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    centminmod.com doesn't use mysql - pure static files only :D
     
  9. HydeWing

    HydeWing New Member

    8
    2
    3
    May 31, 2016
    Ratings:
    +2
    Local Time:
    8:23 PM
    1.19.11
    10.1
    haha. Ok you got me.