2016-10-07, 08:23 | Link #1 |
Administrator
Administrator
Join Date: Jan 2001
Location: Netherlands
Age: 44
|
Forum Server Move 2016
After several years running the forum on the same hardware I tend to ask myself if in the meanwhile there isn't a better deal out there: better/similar performance for the same price or preferably less.
In addition the forum server OS software (Ubuntu 12.04 LTS) will soon (april 2017) no longer receive security updates, so I would have had to reinstall everything reasonably soon anyway (I don't think an in-place upgrade would have gone that well). Anyway, TL;DR: The forum was successfully moved to a new server on Tuesday, October 11, 2016 But if you notice something odd please report it in this thread, thanks! The forum will move servers on Tuesday, October 11, 2016 at around 10:00 am UTC Due to this, the forum will be inaccessible for a few hours (2~3 hours, hopefully less). 10:00 am UTC = 12:00 (noon) Central European / 6:00 am Eastern / 3:00 am Pacific / 18:00 Hong Kong As you can see the time picked will probably not impact visitors from US and Europe much, but sadly may impact visitors from Asia and Australia a bit. Sorry about that. The main reason the server will be down for so long is to restore the database from a backup on the new server, which due to the amount of data involved takes quite a long time (2 hours). Technical note: as during the restore the database server will be changed from MySQL 5.5 to MariaDB 10.1 and the table storage type from MyISAM to InnoDB, using replication to keep downtime to a minimal wasn't an option. About the new servers For years the AnimeSuki forum has been using dedicated servers but my hosting "habits" have changed and I prefer using smart VPS providers like Linode and DigitalOcean for most things now. While the hardware provided by such VPS providers wasn't quite sufficient for a heavy forum server for a while, I think things have improved that moving the forum to a VPS is possible. Or rather two VPS: I'll be splitting up the database and web server and putting them on separate VPS. The old server specs are as follows: - Intel E3 1230 V2 CPU (4 cores) - 16 GB RAM - 2x 128 GB Samsung 840 Pro SSD in hardware RAID-1 - 500GB HDD for backups $179/month The new VPS specs (for each individual VPS, so x2 for total specs) are as follows: - 4 CPU cores - 8 GB RAM - 96 GB SSD storage 2x$40 = $80/month total In short I think the hardware is better (similar/better CPU, same amount of RAM, same SSD storage etc) but I'll be paying less than half than the old server ($179 vs $80). You can see why this server move is appealing to me The only slight worry I have at the moment is the SSD storage; our provider (Linode) claims to use enterprise grade hardware for this but it is probably still shared with other customers. Then again not sure if this is going to be a big problem with SSDs. We'll see. In addition to the hardware change, I also intend to make the following software changes at the same time: - Move to Ubuntu 16.04.1 LTS (supported until 2021) - Move to the latest version of nginx which allows full support for HTTP/2 - Move to PHP 5.6 (supported until Jan 1, 2019; the forum software does not support PHP 7 at the moment) - Move to MariaDB 10.1 (latest versions of MySQL aren't very good in my opinion) - Convert database tables to InnoDB format (more reliable than the old MyISAM format we were still using) Hopefully nothing breaks during this move, but if you have questions or (after the move) you notice something that doesn't work, you can post it here. One More Thing You can already access the forum through HTTPS, but this is not yet enforced. However Chrome will from January onward be marking any login pages (anything with a password input box) as insecure if not viewed through HTTPS. For this reason I intend to make the forum HTTPS only very soon (November/December). Be sure you use a reasonably recent browser on a reasonably recent OS. [ more info ] Last edited by GHDpro; 2016-10-11 at 06:54. |
2016-10-07, 09:08 | Link #2 |
AS Oji-kun
Join Date: Nov 2006
Age: 74
|
I'm a very satisfied Linode customer and haven't seen any issues since the move to SSDs. Are you financing this out of your pocket? Can we help?
I'm a CentOS person myself when it comes to servers; I use Ubuntu on the desktop.
__________________
|
2016-10-07, 09:32 | Link #3 | |
Administrator
Administrator
Join Date: Jan 2001
Location: Netherlands
Age: 44
|
Quote:
I used to use CentOS (even Red Hat at one time) but found the packages too old, then I moved to Debian and had a similar issue after a while, now I use Ubuntu. Of course some packages are still too old so I use PPAs (custom repos) for the most important stuff (nginx / MariaDB / PHP). In the case of PHP I don't even have a choice as Ubuntu 16.04 comes with PHP 7 which as I mention above the forum software isn't compatible with (they are working on a patch but it's "alpha" at the moment, so I won't bother with it until it's stable, which might be a while as vBulletin 3 isn't a priority for the developers of course). |
|
2016-10-11, 06:57 | Link #11 |
Administrator
Administrator
Join Date: Jan 2001
Location: Netherlands
Age: 44
|
Server move complete!
Everything went pretty well: I was kind of late to start but fortunately the database restore kind of made up for it as it took a lot less time (my previous estimate was based on a server that had not yet been optimized). Now everything should be working fine. But if you notice something odd please report it here. |
2016-10-12, 06:20 | Link #14 |
Administrator
Administrator
Join Date: Jan 2001
Location: Netherlands
Age: 44
|
More like my wallet.
This server move was not really about a major speed increase, more like to keep the speed the same or better while greatly reducing costs (and upgrading the software stack at the same time). And in that it succeeded. |
Thread Tools | |
|
|