diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-May/003529.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2011-May/003529.html | 142 |
1 files changed, 142 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2011-May/003529.html b/zarb-ml/mageia-sysadm/2011-May/003529.html new file mode 100644 index 000000000..cd4a480dc --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-May/003529.html @@ -0,0 +1,142 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] Databases down? + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Databases%20down%3F&In-Reply-To=%3C1306756427.385.35.camel%40akroma.ephaone.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="003528.html"> + <LINK REL="Next" HREF="003519.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] Databases down?</H1> + <B>Michael Scherer</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Databases%20down%3F&In-Reply-To=%3C1306756427.385.35.camel%40akroma.ephaone.org%3E" + TITLE="[Mageia-sysadm] Databases down?">misc at zarb.org + </A><BR> + <I>Mon May 30 13:53:47 CEST 2011</I> + <P><UL> + <LI>Previous message: <A HREF="003528.html">[Mageia-sysadm] Databases down? +</A></li> + <LI>Next message: <A HREF="003519.html">[Mageia-sysadm] [1648] put live config in ~/live-config +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#3529">[ date ]</a> + <a href="thread.html#3529">[ thread ]</a> + <a href="subject.html#3529">[ subject ]</a> + <a href="author.html#3529">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Le lundi 30 mai 2011 à 11:37 +0200, Romain d'Alverny a écrit : +><i> On Mon, May 30, 2011 at 10:59, Thierry Vignaud +</I>><i> <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">thierry.vignaud at gmail.com</A>> wrote: +</I>><i> > On 28 May 2011 22:02, Michael Scherer <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">misc at zarb.org</A>> wrote: +</I>><i> >>> Long term solutions would be : +</I>><i> >>> - having a second mirrored ldap server in the other datacenter +</I>><i> >> irrelevent to the sympa issue we are talking about, and as said in the +</I>><i> >> blog, and on the others lists, this is already planned since some months +</I>><i> >> +</I>><i> >>> - as for svn, maybe having a second realtime mirrored server. the ip +</I>><i> >>> would be a virtual one +</I>><i> >>> and we could switch on issues (hard to do) +</I>><i> >> Or we can use git :) +</I>><i> > +</I>><i> > That enables to still work in good conditions :-), but not to publish +</I>><i> > new versions and to release new packages :-( +</I>><i> +</I>><i> No, but at least it helps a little while others are working on fixing +</I>><i> the servers. +</I>><i> +</I>><i> On the same line, would it be a good idea to try to totally decouple +</I>><i> the release production servers (stable releases RPMs, updates, ISOs, +</I>><i> services) from development servers (build system, dev +</I>><i> packages/updates/ISOs mirrors, etc.) so that if one fails, the other +</I>><i> is not directly impacted? +</I> +It depend on how it is done. +First, as you said, that mean twice the ressource, and twice the work. +It also mean having twice the risk of a problem, if we go on the idea of +having 1 BS in a datacenter, and 1 BS on a second one. +( ie, we lose half of the functionality ). + +I also fear that sooner or later, we will start to do stuff on the first +and not on the 2nd one, and thus end by having them not synchronized, +thus leading to various problem later ( like more complex interaction +with both ). + +As I think we should work to make sure packagers work on stable release +too, and to do that, we should make sure that stable is not different +from cauldron from a process point of view. + +So a better way would be to think how we could make the system more +redundant. IE, 2 BS instance in 2 DC, but both could be used for stable +and dev. + +This is easy to do for builder ( quite trivial, just add more servers ). + +The scheduler would require some state synchronisation, like a firewall, +so this is also doable ( using couchdb as a backend would do it for +us :p ). + +The signature part is like the builder, easy to replicate ( except we +have to copy the private key ). + +The main problems are the main mirror and svn ( or other vcs, even if +git would likely ease that ). Both are reference points that would be +hard to replicate in write mode. So we would have to do some kind of +continuous replication in both directions, and add some logic to youri +to manage failover. + +For mirrors, we could do something with a custom sync system ( something +that use the NEVR of rpm to sync them ), and for svn, I guess using a +dvcs would make things much easier to do. + +Now, we can also say that such problems are exceptional, and provided +that valstar/jonund could have been started automatically with proper +bios setup, we would have faced only 1 hour of downtime which is fully +bearable for a community project ( heck, debian security archive server +got burnt in 2002 and they survived :) ). + +><i> That requires more money (we can provision that), more work and some +</I>><i> more duplication and tricks to manage sync/push from dev to prod but +</I>><i> this would as well help not impacting users while the dev factory +</I>><i> would be down, and reciprocally. +</I> +Since we had already enough trouble to have everything hosted in 1 +datacenter, I am not sure we can really provision enough for the long +term :/ + +And users were not affected at all, the mirrors are here for that. + +-- +Michael Scherer + +</PRE> + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="003528.html">[Mageia-sysadm] Databases down? +</A></li> + <LI>Next message: <A HREF="003519.html">[Mageia-sysadm] [1648] put live config in ~/live-config +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#3529">[ date ]</a> + <a href="thread.html#3529">[ thread ]</a> + <a href="subject.html#3529">[ subject ]</a> + <a href="author.html#3529">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm +mailing list</a><br> +</body></html> |