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 22ADE10DD3 for ; Thu, 7 Nov 2013 17:24:11 +0000 (UTC) Received: (qmail 53223 invoked by uid 500); 7 Nov 2013 17:24:09 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 53059 invoked by uid 500); 7 Nov 2013 17:24:08 -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 52987 invoked by uid 99); 7 Nov 2013 17:24:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Nov 2013 17:24:04 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of daan.hoogland@gmail.com designates 209.85.223.181 as permitted sender) Received: from [209.85.223.181] (HELO mail-ie0-f181.google.com) (209.85.223.181) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Nov 2013 17:24:00 +0000 Received: by mail-ie0-f181.google.com with SMTP id ar20so1279331iec.40 for ; Thu, 07 Nov 2013 09:23:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=RsUcszIQ3CdJticehiCkBKZek4QeMQim5br9W4/hfI8=; b=s/BAi4hV9uD7lXcxT3AAzrCoH3EHUcvCO0K06dQ79ekpizsfWzLedyHwyqvhNrKxd3 rv1AeVOJXKd+/9bCUor/ZGMgWSaRhCcKCMHFhwW1n3QOUeRWNPvsgYozzU7tcpHSdE2U kgSAFQv7MyCnoHV+kG1DszEqRNKaaJDnxWhxVI8CyHFuahtSTVQzcF63GiX+SVlI8bJS NiOCZGuRwFLJE3UrW0jDQawPfu+JSaT4iUI6W3/KXOf6H07MOzrBGb3C6szfpPaZyWI7 QNHWMuhJ9p7BQ4AIQvGnLM0fFSDVl0saUsFKIPVMHL/91Ecafb2UnFYmwJ/OAfNTrsVP b5hw== X-Received: by 10.42.110.147 with SMTP id q19mr5872743icp.6.1383845019928; Thu, 07 Nov 2013 09:23:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.226.135 with HTTP; Thu, 7 Nov 2013 09:23:19 -0800 (PST) In-Reply-To: References: <20131031190037.GK1390@Chips-MacBook-Air.local> From: Daan Hoogland Date: Thu, 7 Nov 2013 18:23:19 +0100 Message-ID: Subject: Re: [DISCUSS] Domain/Account/User Sync Up Among Multiple Regions To: dev Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Alex, Why would you want to make this a plugin? It sounds like a function of the core server. Don't you agree? regards, Daan On Wed, Nov 6, 2013 at 10:59 PM, Alex Ough wrote: > I'm having a difficulty finding documents about how to develop a plug-in. > Anyone to help me find one? > > Thanks in advance. > Alex Ough > > > On Tue, Nov 5, 2013 at 2:18 PM, Alex Ough wrote: > >> OK. >> >> 1) Do you mean the plug-in? If so, let me find out how to develop a >> plug-in and work on this. >> 2) Sure, let me add more information in the document. >> >> Thanks for your suggestions. >> Alex Ough >> >> >> On Tue, Nov 5, 2013 at 11:41 AM, Chip Childers wrote: >> >>> Alex, >>> >>> I've moved your page to the "Designs not committed to a release" >>> parent (instead of the 4.3 designs page), to align with both the Jira >>> record *and* the fact that feature freeze is about to happen for 4.3. >>> >>> As for the proposal itself, I have a couple of suggestions: >>> >>> 1) I'd like to see the implementation be part of the ACS runtime. >>> Having a separate python app for this sync feature seems like an admin >>> burden. >>> >>> 2) As far as the design document itself, I think that we need to see >>> more details on the proposed approach to sync, failure condition >>> handling, etc... >>> >>> -chip >>> >>> >>> On Mon, Nov 4, 2013 at 3:16 PM, Alex Ough wrote: >>> > All, >>> > >>> > Among the 2 approaches, I uploaded the implemented codes of the first >>> > approach, master-slave architecture, here. >>> > https://github.com/alexoughsg/albatross >>> > >>> > And here is the design doc in the wiki. >>> > >>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Domain-Account-User+Sync+Up+Among+Multiple+Regions >>> > >>> > Please review them and let me know what you think if you're interested! >>> > Thanks >>> > Alex Ough >>> > >>> > >>> > >>> > On Thu, Oct 31, 2013 at 6:51 PM, Alex Ough >>> wrote: >>> > >>> >> Great! Thanks a lot, Daan. >>> >> >>> >> >>> >> On Thu, Oct 31, 2013 at 4:58 PM, Daan Hoogland < >>> daan.hoogland@gmail.com>wrote: >>> >> >>> >>> you are added to jira, Alex >>> >>> >>> >>> On Thu, Oct 31, 2013 at 8:31 PM, Alex Ough >>> wrote: >>> >>> > Thanks Chip, and can you also give a permission in Jira so that I >>> can >>> >>> > assign myself in its jira? >>> >>> > >>> >>> > Alex Ough >>> >>> > >>> >>> > >>> >>> > On Thu, Oct 31, 2013 at 2:00 PM, Chip Childers < >>> chipchilders@apache.org >>> >>> >wrote: >>> >>> > >>> >>> >> Permission added. >>> >>> >> >>> >>> >> On Wed, Oct 30, 2013 at 12:19:23PM -0500, Alex Ough wrote: >>> >>> >> > And I'd like to write the design document in the wiki page, but I >>> >>> don't >>> >>> >> > seem to have a permission to create pages. >>> >>> >> > So can anyone give me the permission? >>> >>> >> > >>> >>> >> > My account in the wiki is alex.ough@sungard.com >>> >>> >> > >>> >>> >> > Thanks in advance. >>> >>> >> > Alex Ough >>> >>> >> > >>> >>> >> > >>> >>> >> > On Tue, Oct 29, 2013 at 3:38 PM, Alex Ough < >>> alex.ough@sungard.com> >>> >>> >> wrote: >>> >>> >> > >>> >>> >> > > I created a jira for this feature. >>> >>> >> > > >>> >>> >> > > https://issues.apache.org/jira/browse/CLOUDSTACK-4992 >>> >>> >> > > >>> >>> >> > > But it doesn't allow for me to assign it to myself, so any >>> >>> permission >>> >>> >> do I >>> >>> >> > > need for this? >>> >>> >> > > If so, can anyone give me this permission? >>> >>> >> > > >>> >>> >> > > If there is anything missing, let me know. >>> >>> >> > > Thanks >>> >>> >> > > Alex Ough >>> >>> >> > > >>> >>> >> > > >>> >>> >> > > On Fri, Oct 18, 2013 at 9:30 AM, Kishan Kavala < >>> >>> >> Kishan.Kavala@citrix.com>wrote: >>> >>> >> > > >>> >>> >> > >> > -----Original Message----- >>> >>> >> > >> > From: Alex Ough [mailto:alex.ough@sungard.com] >>> >>> >> > >> > Sent: Thursday, 17 October 2013 11:25 PM >>> >>> >> > >> > To: dev@cloudstack.apache.org; user@cloudstack.apache.org >>> >>> >> > >> > Subject: Fwd: [DISCUSS] Domain/Account/User Sync Up Among >>> >>> Multiple >>> >>> >> > >> > Regions >>> >>> >> > >> > >>> >>> >> > >> > All, >>> >>> >> > >> > >>> >>> >> > >> > Currently, under the environment of cloudstack with multiple >>> >>> >> regions, >>> >>> >> > >> each >>> >>> >> > >> > region has its own management server running with a separate >>> >>> >> database. >>> >>> >> > >> So if >>> >>> >> > >> > we want to support multiple regions and provide one point of >>> >>> entry >>> >>> >> for a >>> >>> >> > >> > customer, we need to duplicate domain/account/user >>> information >>> >>> of >>> >>> >> that >>> >>> >> > >> > customer to all of the databases of regions the customer >>> >>> accesses, >>> >>> >> > >> which will >>> >>> >> > >> > cause data discrepancies when users update those data >>> >>> independently >>> >>> >> in >>> >>> >> > >> each >>> >>> >> > >> > management server. >>> >>> >> > >> > >>> >>> >> > >> > So I'd like to provide a way to sync up the data using the >>> >>> messaging >>> >>> >> > >> system >>> >>> >> > >> > introduced in 4.1.0. Using the events from each management >>> >>> server, >>> >>> >> > >> updates >>> >>> >> > >> > from each region can be propagated to the rest regions and >>> they >>> >>> can >>> >>> >> be >>> >>> >> > >> > executed accordingly. >>> >>> >> > >> > >>> >>> >> > >> > I hope you guys have a chance to think about this and give >>> some >>> >>> >> > >> feedbacks if >>> >>> >> > >> > interested. >>> >>> >> > >> > Thanks in advance. >>> >>> >> > >> > Alex Ough >>> >>> >> > >> >>> >>> >> > >> [KK] Alex, it was discussed sometime back. Related thread [1]. >>> >>> Sync up >>> >>> >> > >> using messaging system is the right way to go. >>> >>> >> > >> >>> >>> >> > >> >>> >>> >> > >> [1] >>> >>> >> > >> >>> >>> >> >>> >>> >>> http://www.mail-archive.com/cloudstack-dev@incubator.apache.org/msg20193.html >>> >>> >> > >> >>> >>> >> > >> >>> >>> >> > > >>> >>> >> >>> >>> >> >>> >>> >>> >>> >>> >> >>> >>> >>