Downtime: Data corruption, Round 2

Announcements about major changes in Haven & Hearth.

Re: Downtime: Data corruption, Round 2

Postby Granger » Mon May 10, 2010 12:31 pm

loftar wrote:
mohrus wrote:I wonder: why not invest into a UPS (=uninterruptible power supply)?

Because they cost more than I think we have donations to spare (though Jorb knows that better than I do).


Then re-read this:
Granger wrote:
loftar wrote:Of course, it isn't actually the machine that crashes, but the game server program itself. :) Just for the record, if it weren't for the power outage the other day, the machine would've had a lot more uptime that than. :)

My offer to donate you a working APC SmartUPS (you'll need new batteries for it though to keep shipping costs reasonable) still stands.


3rd and last time i'm posting this.

Batteries are ~40€ (2x 12V 7Ah) and should be available locally. And it also ties nicely into Linux so system can perform clean shutdown when main power goes away to long.
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
Granger
 
Posts: 9263
Joined: Mon Mar 22, 2010 2:00 pm

Re: Downtime: Data corruption, Round 2

Postby loftar » Mon May 10, 2010 12:35 pm

Granger wrote:Batteries are ~40€ (2x 12V 7Ah) and should be available locally. And it also ties nicely into Linux so system can perform clean shutdown when main power goes away to long.

Are you really sure? Every time I've been looking around, batteries have seemed to be about as expensive as a new UPS. What battery model would fit? Or is it possible to have the batteries external to the UPS itself (in that case, I can see that it would be possible to find cheaper batteries)?
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 8926
Joined: Fri Apr 03, 2009 7:05 am

Re: Downtime: Data corruption, Round 2

Postby Lothaudus » Mon May 10, 2010 12:36 pm

loftar wrote:The only reason is really with I/O bandwidth. Taking a backup requires quite some of it, which makes the game laggy, and therefore I try to do the manually at times when the load is low. The "manually" part of course requires me to remember to do them also, which is the second part of the problem. :)

Take the server offline for scheduled down-time every day for an hour and do the backup then (or once every 2 or 3 days). EVE Online does something similar with daily down-time at a regular time. Makes it fairly easy to work and plan around. May piss off some people in certain time zones.
Barry Fletcher Norwin
Lawspeaker of Crossroads - Leader of Codexia - Keeper of the Cheese
http://www.rpgcodex.net
User avatar
Lothaudus
 
Posts: 641
Joined: Fri Oct 23, 2009 12:32 pm
Location: Adelaide, Australia

Re: Downtime: Data corruption, Round 2

Postby Granger » Mon May 10, 2010 12:42 pm

loftar wrote:
Granger wrote:Batteries are ~40€ (2x 12V 7Ah) and should be available locally. And it also ties nicely into Linux so system can perform clean shutdown when main power goes away to long.

Are you really sure? Every time I've been looking around, batteries have seemed to be about as expensive as a new UPS. What battery model would fit? Or is it possible to have the batteries external to the UPS itself (in that case, I can see that it would be possible to find cheaper batteries)?


http://www.mtk-handel.de/rbc5-kompatibler-akkusatz-p-41.html?ref=3

Will last at least 2 years, longer if you have low room temperature.
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
Granger
 
Posts: 9263
Joined: Mon Mar 22, 2010 2:00 pm

Re: Downtime: Data corruption, Round 2

Postby Granger » Mon May 10, 2010 12:45 pm

loftar wrote:
Wipfmetz wrote:The most recent backup was 4 days ago? What keeps you from having daily backups?

The only reason is really with I/O bandwidth. Taking a backup requires quite some of it, which makes the game laggy, and therefore I try to do the manually at times when the load is low. The "manually" part of course requires me to remember to do them also, which is the second part of the problem. :)


Then put some of the donations into a SSD as main disk (to get throughput and IOPS to keep game server served), use LVM snapshots (or ZFS clones or whatever) to freeze a filesystem copy and then rsync it to a normal RAIDed volume for backup (using hardlinks against an old backup will offer multiple generations cheaply).

EDIT: typo fixed
Last edited by Granger on Mon May 10, 2010 1:01 pm, edited 1 time in total.
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
Granger
 
Posts: 9263
Joined: Mon Mar 22, 2010 2:00 pm

Re: Downtime: Data corruption, Round 2

Postby loftar » Mon May 10, 2010 12:48 pm

Granger wrote:
loftar wrote:Are you really sure? Every time I've been looking around, batteries have seemed to be about as expensive as a new UPS. What battery model would fit? Or is it possible to have the batteries external to the UPS itself (in that case, I can see that it would be possible to find cheaper batteries)?


http://www.mtk-handel.de/rbc5-kompatibler-akkusatz-p-41.html?ref=3

Will last at least 2 years, longer if you have low room temperature.

In that case, I would like to gracefully accept. I have to check if they are available some place local first, though.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 8926
Joined: Fri Apr 03, 2009 7:05 am

Re: Downtime: Data corruption, Round 2

Postby Granger » Mon May 10, 2010 12:51 pm

Lothaudus wrote:
loftar wrote:The only reason is really with I/O bandwidth. Taking a backup requires quite some of it, which makes the game laggy, and therefore I try to do the manually at times when the load is low. The "manually" part of course requires me to remember to do them also, which is the second part of the problem. :)

Take the server offline for scheduled down-time every day for an hour and do the backup then (or once every 2 or 3 days). EVE Online does something similar with daily down-time at a regular time. Makes it fairly easy to work and plan around. May piss off some people in certain time zones.

Given the scale of H&H (single server) an actual downtime of ~1 minute will do it (to create a clone/snapshot/whatever), actual backup can then be niced and done in background.
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
Granger
 
Posts: 9263
Joined: Mon Mar 22, 2010 2:00 pm

Re: Downtime: Data corruption, Round 2

Postby jaydee0004 » Mon May 10, 2010 1:00 pm

Our high quality farm has been reset to the lower quality and it went to the begininng :'(

Please do that daily backup. Like just one hour per day just to prevent dreadful rollbacks :'(
Last edited by jaydee0004 on Mon May 10, 2010 1:15 pm, edited 1 time in total.
User avatar
jaydee0004
 
Posts: 17
Joined: Sun Mar 28, 2010 8:01 am

Re: Downtime: Data corruption, Round 2

Postby loftar » Mon May 10, 2010 1:14 pm

Granger wrote:Then put some of the donations into a SSD as main disk (to get throughput and IOPS to keep game server served), use LVM snapshots (or ZFS clones or whatever) to freeze a filesystem copy and then rsync it to a normal RAIDed volume for backup (using hardlinks against an old backup will offer multiple generations cheaply).

Well, true enough, there are ways around it. I haven't exerted any efforted for it, however, since I've mainly just kept a backup around for the utmost disaster of a hard drive failure, though. I hadn't expected XFS to regularly corrupt data on power failures. Reasonably, I guess I should switch back to ext3 instead (I used XFS on the new hard drive mainly for its ability to be extended on-line, and because I find it performs rather well).
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 8926
Joined: Fri Apr 03, 2009 7:05 am

Re: Downtime: Data corruption, Round 2

Postby nossr50 » Mon May 10, 2010 1:17 pm

I lost my hearth fire
I'm guessing this is normal?
Kind of sucks because I put a lot of work into the area I claimed
nossr50
 
Posts: 16
Joined: Sun May 09, 2010 11:11 am

PreviousNext

Return to Announcements

Who is online

Users browsing this forum: No registered users and 46 guests