Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user Rodrigo Yeowtch ! (Registered 2024-11-24) You are not logged in - nap
CSDb User Forums


Forums > CSDb Info > CSDb moving to a new server
2012-06-24 11:31
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....
 
2012-06-25 06:57
Radiant

Registered: Sep 2004
Posts: 639
Perff, you are a true hero of the scene. Thank you!
2012-06-25 12:07
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. :)
2012-06-25 13:56
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
2012-06-25 20:46
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.
2012-06-25 21:43
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.
2012-06-27 19:43
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. :)
2012-06-28 05:05
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 ;(
2012-06-28 10:05
Perff
Administrator

Posts: 1677
Hm. I have something running https on the new server, so it's possible. :)

Anyway - here we go...
2012-06-28 10:19
Cruzer

Registered: Dec 2001
Posts: 1048
Good luck! Last person to post on the old server wins! :)
2012-06-28 10:22
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
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Copyfault/Extend^tsn..
Honcho
bonefish
Bieno/Commodore Plus
Didi/Laxity
ArturoDente
Fresh
wil
Jazzcat/Onslaught
Guests online: 97
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 The Demo Coder  (9.6)
7 Uncensored  (9.6)
8 What Is The Matrix 2  (9.6)
9 Wonderland XIV  (9.6)
10 Comaland 100%  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Libertongo  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Morph  (9.5)
9 Dawnfall V1.1  (9.5)
10 It's More Fun to Com..  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Nostalgia  (9.3)
5 Censor Design  (9.3)
Top Organizers
1 Burglar  (9.9)
2 Sixx  (9.8)
3 hedning  (9.7)
4 Irata  (9.7)
5 Tim  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.045 sec.