mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   PrimeNet (https://www.mersenneforum.org/forumdisplay.php?f=11)
-   -   Announcement: New server coming online (estimated 2017-08-11) (https://www.mersenneforum.org/showthread.php?t=22500)

Madpoo 2017-08-05 01:23

Announcement: New server coming online (estimated 2017-08-11)
 
Hi everyone...

Primenet has a replacement server coming online in about 1 week, tentatively planned for Friday, August 11, 2017.

The new server is actually up and running concurrently with the existing server, so we've been doing testing on it and doing practice runs of syncing up the web and data.

The new system has more memory, more CPU cores, and more drive space available. We really haven't been stressed on any of those except a few times when CPU gets busy (usually when I'm running a complicated query), but the extra headroom we're getting should take us well into the next few years.

We're also moving from the current physical location in Seattle to a colocation in Dallas. Same hosting company, but their Dallas facility has more on-site capabilities for doing basic things like swapping bad drives, etc.

Right now, the DNS entries for the web services have been lowed to a time-to-live of 30 minutes in preparation for the move. They had been set to 7 days, so really the estimated date of the switch might have been sooner but I want to wait for any potential DNS caches to pick up the shorter TTL.

When the switch happens I'll make updated announcements here, and the dry-runs I've done show we'll probably have 18-20 minutes of downtime while we sync things up.

I'll try to work up a web page on the old server that says something to the effect of "if you're seeing this, refresh your DNS lookup to point to the new server" or something like that, and all automated hits from the Prime95 clients will simply time and retry later when they finally refresh and hit the new IP address.

We went through this before back in 2014 when we upgraded servers then and it went pretty smooth... this time should be even smoother because I just cloned the virtual machine entirely as a baseline... much easier than the last time when I was starting from scratch. :smile:

GP2 2017-08-05 02:44

[QUOTE=Madpoo;464867]Hi everyone...

Primenet has a replacement server coming online in about 1 week, tentatively planned for Friday, August 11, 2017.

The new server is actually up and running concurrently with the existing server, so we've been doing testing on it and doing practice runs of syncing up the web and data.[/QUOTE]

This would be a great opportunity to finally convert the "User name" field to Unicode (as UTF-8 or nvarchar or whatever).

Actually, the "Computer name" field also should be converted to nvarchar because in a few cases people used accented characters there as well.

[URL="http://www.mersenneforum.org/showthread.php?t=5758&page=101"]Here's an old thread which discussed that topic[/URL].

I have a data file with conversions from garbled names to correct names (first mentioned in [URL="http://www.mersenneforum.org/showpost.php?p=442826&postcount=1139"]this old post[/URL] and updated since then), which is current as of August 1.

LaurV 2017-08-05 14:35

[QUOTE=Madpoo;464867]August 11, 2017.
[/QUOTE]
Now, if you delay with exactly one week, for whatever obscure reasons, then I will have triple reason to say "[URL="http://www.mersenneforum.org/showthread.php?p=440194"]happy birthday server[/URL]"... :razz:

Madpoo 2017-08-05 15:58

[QUOTE=GP2;464868]This would be a great opportunity to finally convert the "User name" field to Unicode (as UTF-8 or nvarchar or whatever).

Actually, the "Computer name" field also should be converted to nvarchar because in a few cases people used accented characters there as well.

[URL="http://www.mersenneforum.org/showthread.php?t=5758&page=101"]Here's an old thread which discussed that topic[/URL].

I have a data file with conversions from garbled names to correct names (first mentioned in [URL="http://www.mersenneforum.org/showpost.php?p=442826&postcount=1139"]this old post[/URL] and updated since then), which is current as of August 1.[/QUOTE]

That's something we can always tackle later. For purposes of migrating from one physical host to another though, I'm keeping things simple to avoid having to troubleshoot other things.

Maybe once the migration is done and I've picked up the old server, I can use that as a test bed for making more radical changes. Or, the new physical server even has room for an additional virtual machine that could serve the same purpose.

GP2 2017-08-05 16:23

[QUOTE=Madpoo;464897]That's something we can always tackle later. For purposes of migrating from one physical host to another though, I'm keeping things simple to avoid having to troubleshoot other things.[/QUOTE]

Except you're currently syncing up the old server and the new server, and checking that the data is the same on both.

So if the new database uses nvarchar for "User name" and "Computer name" and the old one uses varchar, you can verify that the nvarchar modification doesn't break anything. It seems like an opportunity that shouldn't go to waste.

Madpoo 2017-08-07 19:22

[QUOTE=GP2;464902]Except you're currently syncing up the old server and the new server, and checking that the data is the same on both.

So if the new database uses nvarchar for "User name" and "Computer name" and the old one uses varchar, you can verify that the nvarchar modification doesn't break anything. It seems like an opportunity that shouldn't go to waste.[/QUOTE]

For the new server, I'm doing a DB backup/restore just before we go live (and a few times during testing), so I really can't monkey with the schema on the new system. :smile:

GP2 2017-08-07 20:41

[QUOTE=Madpoo;465039]For the new server, I'm doing a DB backup/restore just before we go live (and a few times during testing), so I really can't monkey with the schema on the new system. :smile:[/QUOTE]

Will the old server be taken offline immediately?

Once you've cut over to the new server, you could briefly run a few experiments on the old server before retiring it. Change things there and see if anything breaks.

chalsall 2017-08-07 23:02

[QUOTE=GP2;465050]Once you've cut over to the new server, you could briefly run a few experiments on the old server before retiring it. Change things there and see if anything breaks.[/QUOTE]

Since this is in a virtual machine, it would be trivial to run "what if" experiments. Not necessarily on the original server.

Hmmm... That didn't work. [Quick rewind] Oh, that worked better....

Madpoo 2017-08-12 04:07

I'm still planning on doing the migration tonight (it's only 9 PM on Friday, my timezone).

I'm just waiting until late in the US and when it's the wee hours in Europe when the largest percentage of visitors are less likely to be visiting the site.

As mentioned, the DNS change should kick in after about 30 minutes, and meanwhile it only takes me about 15-20 minutes to do a fresh backup/restore of the web/data.

At this point I think I might go for it around 10 PM Pacific (5 AM UTC), or in roughly an hour from now. :smile:

Madpoo 2017-08-12 05:56

The new server should be online and available to all.

I took a little longer to open up the firewall to allow me to do some testing of everything beforehand, but everything checked out okay and I see people hitting the server okay, checking in results, etc.

I'll continue to keep my eye on it for the next hour or so, make sure all is well and just make sure the initial shakedown goes okay.

monst 2017-08-12 15:32

Is this an issue with the server migration?
 
What's up with M41468027?
One of my machines just submitted results for M41468027.

From this... [url]https://www.mersenne.org/report_exponent/?exp_lo=41468027&exp_hi=&full=1[/url]

My "Result" matches the masked result submitted in May, 2008. However the "Residue" reported at that time is different. When I resubmitted the result, the server returned an error that the residue cannot be 0.

Let me know if you what me to give you the unmasked result from my run. Thanks.

-- Rich


All times are UTC. The time now is 09:22.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.