Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7953210529 for ; Fri, 31 May 2013 08:00:25 +0000 (UTC) Received: (qmail 40370 invoked by uid 500); 31 May 2013 08:00:25 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 40207 invoked by uid 500); 31 May 2013 08:00:24 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 40193 invoked by uid 99); 31 May 2013 08:00:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 May 2013 08:00:24 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of daan.hoogland@gmail.com designates 209.85.223.178 as permitted sender) Received: from [209.85.223.178] (HELO mail-ie0-f178.google.com) (209.85.223.178) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 May 2013 08:00:19 +0000 Received: by mail-ie0-f178.google.com with SMTP id f4so3275740iea.9 for ; Fri, 31 May 2013 00:59:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=OgQow4/PVEHtGECQ7Z5EGIZ1Jeaq/5gWFTCa/3YS+Lo=; b=MDJ+fJCeGyeXeTPoMPNwGzptdFyCUdS6w0qubOjRfeOiNA3IlIG/P4OYohnd/ixuCF 5kRtIWv67pJgwRLofyjWiDuYoH1a8ImZY2GCBvKjXamwxk7rmQwWnsGtGD1VLUeXFW+6 7vTbai01/i7+M6XEPeCqSPOIO4heIjqwiwZsv1jsq75fN5yoEbe9HP/xOH8yVuR8Ikaa D6ZC2/5F/8CZStCvupz/Zyk8sZ9GznWbiusSphFOqqNJRAvBOE0ai6I8h0+ED/a/+XmJ iHP1+t//Tgwx/3N2S0L0U1wWEV7EtyRrDR4ZdnYiW4svnoEHn72v0h2bK2L4yQaKWyRI /83g== MIME-Version: 1.0 X-Received: by 10.43.68.134 with SMTP id xy6mr4553041icb.48.1369987197905; Fri, 31 May 2013 00:59:57 -0700 (PDT) Received: by 10.64.6.230 with HTTP; Fri, 31 May 2013 00:59:57 -0700 (PDT) Received: by 10.64.6.230 with HTTP; Fri, 31 May 2013 00:59:57 -0700 (PDT) In-Reply-To: <20130531053034.GD1356@cloud-2.local> References: <20CF38CB4385CE4D9D1558D52A0FC05802CDAB@SJCPEX01CL03.citrite.net> <20130531053034.GD1356@cloud-2.local> Date: Fri, 31 May 2013 09:59:57 +0200 Message-ID: Subject: Re: maintenance mode for secondary storage? From: Daan Hoogland To: dev Content-Type: multipart/alternative; boundary=bcaec51b206d4741e404ddff0013 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec51b206d4741e404ddff0013 Content-Type: text/plain; charset=ISO-8859-1 Exactly, I am not to familiar with cloudstack, yet. I will study the present procedure and do a suggestion in this thread. Regards Daan On 31 May 2013 07:31, "Prasanna Santhanam" wrote: > The current way of altering secondary storage is error prone. So +1 > to your maintenance proposal. > > We don't store any checksums for the images we backup to secondary > storage in our db today. So I'm interested to know how, when we bring > up the new secondary storage we ensure consistency with previous > (state of?) secondary storage that has been switched over. > > -- > Prasanna., > > On Thu, May 30, 2013 at 10:54:46PM +0200, Daan Hoogland wrote: > > Alez, > > > > This api call would then have to check if the new secondary storage > > contains a compatible set of data in comparison to the prior one, would > it? > > Or do I misunderstand the procedure? > > Regards, > > On 30 May 2013 22:25, "Alex Huang" wrote: > > > > > Daan, > > > > > > We have a procedure for doing that. The problem in general has to do > with > > > the large capacity of the secondary storage so it's actually better to > do > > > migration of data outside of cloudstack with some manual process in > stages > > > and then just fix up the secondary storage in the database. > > > > > > I do agree having an API to do these fixups are better than direct > > > database manipulations. > > > > > > --Alex > > > > > > > -----Original Message----- > > > > From: Daan Hoogland [mailto:daan.hoogland@gmail.com] > > > > Sent: Thursday, May 30, 2013 11:39 AM > > > > To: dev > > > > Subject: Re: maintenance mode for secondary storage? > > > > > > > > Yes Chiradeep, > > > > > > > > That or maintenance on the secondary storage machine itself. > > > > > > > > > > > > On Thu, May 30, 2013 at 7:46 PM, Chiradeep Vittal < > > > > Chiradeep.Vittal@citrix.com> wrote: > > > > > > > > > I can see a use for that: that the secondary storage becomes > read-only > > > > > during the maintenance (so no template creation/snapshots/etc). > This > > > > > allows for stuff like migration to new (file server) hardware. > > > > > > > > > > On 5/30/13 10:20 AM, "Nitin Mehta" wrote: > > > > > > > > > > >Not that I have heard of. You can at best replace the sec. storage > > > > > >(there is a manual procedure for that), but since generally there > is > > > > > >a single sec. storage how can you implement maintenance mode ? > > > > > >Can you please explain is your use case ? > > > > > > > > > > > >On 30/05/13 7:32 PM, "Daan Hoogland" < > DHoogland@schubergphilis.com> > > > > > wrote: > > > > > > > > > > > >>LS, > > > > > >> > > > > > >>Has there ever been discussion about implementing maintenance > mode > > > > > >>for secondary storage? And are people thinking about this? > > > > > >> > > > > > >>thanks > > > > > >>Daan Hoogland > > > > > > > > > > > > > > > > > > > > > > ------------------------ > Powered by BigRock.com > > --bcaec51b206d4741e404ddff0013--