Return-Path: X-Original-To: apmail-mesos-user-archive@www.apache.org Delivered-To: apmail-mesos-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6F06A18C35 for ; Thu, 25 Jun 2015 16:46:23 +0000 (UTC) Received: (qmail 76809 invoked by uid 500); 25 Jun 2015 16:46:23 -0000 Delivered-To: apmail-mesos-user-archive@mesos.apache.org Received: (qmail 76759 invoked by uid 500); 25 Jun 2015 16:46:23 -0000 Mailing-List: contact user-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@mesos.apache.org Delivered-To: mailing list user@mesos.apache.org Received: (qmail 76749 invoked by uid 99); 25 Jun 2015 16:46:23 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2015 16:46:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 902E21A605E for ; Thu, 25 Jun 2015 16:46:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id tvJBeNAy197l for ; Thu, 25 Jun 2015 16:46:16 +0000 (UTC) Received: from mail-pa0-f52.google.com (mail-pa0-f52.google.com [209.85.220.52]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 1065B22F21 for ; Thu, 25 Jun 2015 16:46:16 +0000 (UTC) Received: by paceq1 with SMTP id eq1so52713903pac.3 for ; Thu, 25 Jun 2015 09:46:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=tovLf8AurXYzGbhk3PEtCcLWgq313KdKSwTl2G+7PNo=; b=JfggtgLTOl2Kr6lgX8qx+HWWcu8neD4225iUnhL54naxTutxJcHjexq1M8fRln0Xnc XLjPSc8mODAqnEs//MTajxT5l3VzfLDXwGDJk4ISqRXF81z/sVSaQc0bLRDVmN6OQJ0L R5WFw8Pb7yqg2rmeAF6oBnbBM8/Z/BBxDp4w33C2GZp2mOUvGTISX22biLbKt4Fi7Or0 BCvyzy70xDsAv/1GYGbCUGb4aiGZkpEJIWAUTR/JX6QEx6o+k1Ul85PkJjCtoAc3BH86 tK1Zh8M5sFXAuFx37QePHeVZjttBSNNsPUCOrgak0x+KPjvrNGfQ3hWV8E1/QW+24u5x GfsQ== MIME-Version: 1.0 X-Received: by 10.70.125.129 with SMTP id mq1mr93653993pdb.19.1435250775789; Thu, 25 Jun 2015 09:46:15 -0700 (PDT) Sender: rasputnik@gmail.com Received: by 10.70.136.35 with HTTP; Thu, 25 Jun 2015 09:46:15 -0700 (PDT) In-Reply-To: References: <55845DE5.70704@pobox.com> <55847441.4000800@tampabay.rr.com> Date: Thu, 25 Jun 2015 17:46:15 +0100 X-Google-Sender-Auth: uh3B4veyqxKF4ZurcZxC_Cf77NY Message-ID: Subject: Re: Thoughts and opinions in physically building a cluster From: Dick Davies To: "user@mesos.apache.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable That doesn't sound too bad (it's a fairly typical setup e.g. on an Amazon V= PC). You probably want to avoid NAT or similar things between master and slaves to avoid a lot of LIBPROCESS_IP tricks so same switch sounds good. Personally I quite like the master/slave distinction. I wouldn't want a runaway set of tasks to bog down the masters and operationally we'd alert if we're starting to lose masters whereas the slaves are 'cattle' and we can just spin up more as they die if need be (it's a little more tricky to scale out masters and zookeepers so they get treated as though they were a bit less expendable). I co-locate the zookeeper ensemble on the masters on smaller clusters to save VM count, but that's more personal taste than anything. On 25 June 2015 at 17:12, Daniel Gaston wrote: > So this may be another relatively noob question, but when designing a mes= os cluster, is it basically as simple as the nodes connected by a switch? S= ince any of the nodes can be "master nodes" or acting as both master and sl= ave, I am guessing there is no need for another head node as you would have= with a traditional cluster design. But would each of the nodes then have t= o be connected to the external/institutional network? > > My rough idea was for this small cluster to not be connected to the main = institutional network but for my workstation to be connected to both the cl= uster's network as well as to the institutional network > > > ________________________________________ > From: CCAAT > Sent: June-19-15 4:57 PM > To: user@mesos.apache.org > Cc: ccaat@tampabay.rr.com > Subject: Re: Thoughts and opinions in physically building a cluster > > On 06/19/2015 01:28 PM, Daniel Gaston wrote: >> >> On 19/06/2015 18:38, Oliver Nicholas wrote: >>> Unless you have some true HA requirements, it seems intuitively >>> wasteful to have 3 masters and 2 slaves (unless the cost of 5 nodes is >>> inconsequential to you and you hate the environment). >> Any particular reason not to have three nodes which are acting both as >> master and slaves? >> >> None at all. I'm not a cluster or networking guru, and have only played = with mesos in >> cloud-based settings so I wasn't sure how this would work. But it makes = sense, that way >> the 'standby' masters are still participating in the zookeeper quorum wh= ile still being >> available to do real work as slave nodes. > > Daniel. There is no such thing as a 'cluster guru'. It's all 'seat of > the pants' flying right now; so you are fine what you are doing and > propose. If codes do not exist to meet your specific needs and goals, > they can (should?) be created. > > > I'm working on an architectural expansion Where nodes (virtual, actual > or bare metal) migrate from master --> entrepreneur --> worker --> slave > --> embedded (bare metal or specially attached hardware. I'm proposing > to do all of this with the "Autonomy_Function" and decisions being made > bottom_up as opposed to the current top_down dichotomy. I'm prolly going > to have to 'fork codes' for a while to get things stable and then > hope they are included; when other minds see the validity of the ideas. > > > Surely one "box" can be set up as both master and slave. Moving slaves > to masters, should be an automatic function and will prolly will be > address in the future codes of mesos. > > > PS: Keep pushing your ideas and do not take no for an answer! > Mesos belongs to everybody..... > > hth, > James >