| |
Perff Administrator
Posts: 1677 |
CSDb moving to a new server
Hi everyone.
I've been planing to move CSDb to a new server for some time now, as the old one was getting old. :)
As the new server is running new versions of php etc. I need to recode bits and pieces, which is why it has been going a bit slow.
Then today I got a mail from my hosting company, telling me that the old server is flashing red. They say it's a pending hardware failure. :(
Hopefully nothing will happen before I get CSDb moved, but I will for sure not have the time to test everything as good as I wanted, so be prepared for misc. stuff acting wierd when I get it moved.
The worst case is that the old server suddenly crash, and data will be lost.
I'll make sure to take backups often, and transfer them to the new server, to make the loss of data minimal in this case, but I though you should know this is a possibility.
Anyway, hope to see you soon on the new server. :)
|
|
... 46 posts hidden. Click here to view all posts.... |
| |
Radiant
Registered: Sep 2004 Posts: 639 |
Perff, you are a true hero of the scene. Thank you! |
| |
Perff Administrator
Posts: 1677 |
Thanks for the comments. :)
Anyway, here is an update.
I have now got a copy of CSDb running on the new server, but with many errors yet.
I do the "fixes" on the old server, and then sync them over to the new one frequently.
This way you can help me make sure that my changes still work, so if you find that something is not working as it used to or looks strange, let me know here asap, so I can fix it. :)
(actually I already found a bug while writing this. ;) )
Thanks. :) |
| |
BuZz Account closed
Registered: Jun 2002 Posts: 20 |
Do you know what the "pending failure is"? if it is SMART monitoring, you could use smartctl and take look at the log.
if this is running on mysql (or similar), a good way to avoid dataloss could be set up a slave database elsewhere. in terms of files, you could ionice rsync every 15 mins or so, or keep the files elsewhere temporarily on an nfsmount.
if you need any additional copies of the data, id be happy to give you some space on my exotica server to use.
[edit] didnt see the last reply before posting this. glad everything is progressing well |
| |
Perff Administrator
Posts: 1677 |
Update..
I have made some major changes around in the code, to prepare it for the new server, so please be on the lookout for bugs and strange things, and report it to me. :)
Thanks. |
| |
CreaMD
Registered: Dec 2001 Posts: 3048 |
Good move. Time pressure always help to get things done. Glitches doesn't matter that much in the light of having faster response times nad such stuff tha comes with more powerful server. ;-) Good luck with the move. |
| |
Perff Administrator
Posts: 1677 |
Update:
It's now been several hours since I completed altering the code to make it run on the new server.
I have testet it on both the new and old server (with a little help) and found a few minor things, and fixed them.
There are some scheduled jobs that run at night, which I would also like to test before making the final move, but if they run ok tonight, I'll move CSDb tomorrow. :)
I'll put up a warning which will be impossible to overlook when I make the countdown, so you won't risk that the old server will shut down while you are adding some info. :)
Again - if you find anything, please report. :) |
| |
soci
Registered: Sep 2003 Posts: 479 |
Good. You haven't forgot to setup a https server on this new location, right? Seriously, it's 2012 and still plaintext logins on csdb ;(
|
| |
Perff Administrator
Posts: 1677 |
Hm. I have something running https on the new server, so it's possible. :)
Anyway - here we go... |
| |
Cruzer
Registered: Dec 2001 Posts: 1048 |
Good luck! Last person to post on the old server wins! :) |
| |
Perff Administrator
Posts: 1677 |
old server:
uptime
12:21PM up 1574 days, 11:18, 1 user, load averages: 2.31, 2.44, 2.20
:)
|
Previous - 1 | 2 | 3 | 4 | 5 | 6 - Next |