Closed
Bug 769071
Opened 14 years ago
Closed 14 years ago
abandon csync2^Wrdist for synchronizing /data
Categories
(Infrastructure & Operations :: RelOps: General, task)
Infrastructure & Operations
RelOps: General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dustin, Assigned: dustin)
Details
csync2 appears to fall over in some key circumstances -- initializing new masters and deleting directories being two of the most painful.
It seems to work OK for the cert syncing, since that's just adding files, but I'm particularly keen to remove it from syncing /data, where it's causing a lot of pain.
Some options suggested are:
- rdist (which requires a single master, something we don't have now)
- aerofs/s3, which syncs to S3 and back
- dropbox
but I'm open to other ideas.
| Assignee | ||
Comment 1•14 years ago
|
||
| Assignee | ||
Comment 2•14 years ago
|
||
File synchronization between the masters is broken right now, although they all match.
Assignee: server-ops-releng → dustin
Severity: normal → major
| Assignee | ||
Comment 3•14 years ago
|
||
I disabled csync2, so at least we won't get spammed anymore. I'm working on setting up rdist.
P.S. mrz wins a cookie - he suggested rdist
| Assignee | ||
Comment 4•14 years ago
|
||
Well, that was annoying -- there's a lot of setup required to get ssh working, get rdist working, make sure permissions work out, and so on.
It's also incredibly slow, as it's calling lstat(..) on every file in /data.
| Assignee | ||
Comment 5•14 years ago
|
||
root@relabs-puppet /home/dmitchell # time puppetagain-sync
releng-puppet1.build.scl1.mozilla.com: /data/repos/DMGs/screenresolution-1.5.dmg: updating
real 36m46.902s
user 0m3.543s
sys 0m4.884s
So, I'll run it once an hour, plus on demand.
| Assignee | ||
Comment 6•14 years ago
|
||
I'd like to return to this eventually and see if I can make it go faster (best fix I can envision is to switch to rsync..), but this will do for now, and I have bigger fish to fry.
Severity: major → minor
| Assignee | ||
Updated•14 years ago
|
Summary: abandon csync2 for synchronizing /data → abandon csync2^Wrdist for synchronizing /data
| Assignee | ||
Comment 7•14 years ago
|
||
I have a patch ready to land, but I'm heading out the door. Tomorrow.
OMG rsync is so much faster!
| Assignee | ||
Comment 8•14 years ago
|
||
Landed. I'll write up docs on the wiki for it.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Component: Server Operations: RelEng → RelOps
Product: mozilla.org → Infrastructure & Operations
You need to log in
before you can comment on or make changes to this bug.
Description
•