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 C37CD18D1F for ; Wed, 2 Dec 2015 20:48:48 +0000 (UTC) Received: (qmail 82863 invoked by uid 500); 2 Dec 2015 20:48:48 -0000 Delivered-To: apmail-mesos-user-archive@mesos.apache.org Received: (qmail 82798 invoked by uid 500); 2 Dec 2015 20:48:48 -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 82787 invoked by uid 99); 2 Dec 2015 20:48:48 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2015 20:48:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id CDB1AC3DAE for ; Wed, 2 Dec 2015 20:48:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.902 X-Spam-Level: **** X-Spam-Status: No, score=4.902 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, KAM_BADIPHTTP=2, NORMAL_HTTP_TO_IP=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=orchard-app.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id sVX8xeqfECgY for ; Wed, 2 Dec 2015 20:48:38 +0000 (UTC) Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 9720A42AD6 for ; Wed, 2 Dec 2015 20:48:38 +0000 (UTC) Received: by pacdm15 with SMTP id dm15so50667424pac.3 for ; Wed, 02 Dec 2015 12:48:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orchard-app.com; s=google; h=date:references:in-reply-to:user-agent:message-id:cc:to:from :subject:mime-version:content-type; bh=6IY0lkXvs0+wjOopP4j5LRIkyJGdErCFIBpGqjveM+8=; b=SVVEankhcwMKBqfWvm2i91/pNyTrr5e89DDgrP/owFk2KR/07Le43PNg1jVPJwO/Z+ Cmdz6uwXpkdCp/meEcYI/PvFbC8rSF1hs6G7eG1doygaLCDCK8m/B81VJJqis+SpRrFr pLRt4R2x5TDwTvJLBTFJMsfm9ZJg3P5OPKpM8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:references:in-reply-to:user-agent :message-id:cc:to:from:subject:mime-version:content-type; bh=6IY0lkXvs0+wjOopP4j5LRIkyJGdErCFIBpGqjveM+8=; b=lDqbRHmaIYo5UOBBvsglfp9ZzvfZU5mMaDfodEEo/UPKfdHdMpIZgROn5ZgGQbuBcH 25Fiu/x1tWMjdoDreSDngOmGhP9FpXdt7emJ51jpvdHtOu7KKFHE5wP4Ci2a0ucFl90y EDrnn/XeMDZytyeqGpJaurex9K9JgnRy8FCyLFAlIJgHR4aWU+vDSyj/8Z9e+BSTLS8A 48qKtZiD+kvXXoyT16R1NZPRmV3jgAcffe5xC9Mr6ynek34tiDeUyP2pk1FSZJ9azZ29 oNTpDggnJWAGMNVeoAlC8VXEdxuPt+EFE5jW1roAhV/IbrekXyONduflpxXnDCa/dpts ZMTQ== X-Gm-Message-State: ALoCoQnyyY0q6p9ab1j4k/Sq/ythd9dflRx4nT9hBOGBqFO4Cx2Hj5Ff5A9D4aTYPOT3easAPjJh7foakHhciuHhol1hLgQfima0riHFilmhBMvYreknl/dUeel6CBCDG8E85+di77a6 X-Received: by 10.66.234.8 with SMTP id ua8mr7647943pac.45.1449089312200; Wed, 02 Dec 2015 12:48:32 -0800 (PST) Received: from [127.0.0.1] (ec2-52-27-72-59.us-west-2.compute.amazonaws.com. [52.27.72.59]) by smtp.gmail.com with ESMTPSA id m20sm6096466pfi.80.2015.12.02.12.48.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Dec 2015 12:48:31 -0800 (PST) Date: Wed, 02 Dec 2015 12:48:31 -0800 (PST) References: In-Reply-To: User-Agent: NylasMailer/0.4 Message-Id: <1avlswd5lbpl2q0pkj7hboyrb-0@mailer.nylas.com> X-Inbox-Id: 1avlswd5lbpl2q0pkj7hboyrb-0 Cc: "user@mesos.apache.org" To: "user@mesos.apache.org" From: Rodrick Brown Subject: Re: mesos ui best practise - mesos cluster in HA Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="40e2d4367a394e08b1a35d7be33e866d" --40e2d4367a394e08b1a35d7be33e866d Content-Type: text/plain; charset=US-ASCII Mime-Version: 1.0 There's really no use mesos-dns and just point your browser to http://leader.mesos:5050 to reach the active master. > On Dec 2 2015, at 3:18 pm, Haripriya Ayyalasomayajula <aharipriya92@gmail.com> wrote: > > > > Hi all, > > > > I am having a mesos cluster (version 0.25.0) running in with 3 masters. I am getting back to the community regarding the best practise that can be adopted. > > > > -I want to access the UI from a login node. How can I use haproxy in this case? I have the following HAProxy configuration file on the login node which has access to the three nodes running masters (servers with ip1, ip2, ip3). > > > > #--------------------------------------------------------------------- > > # Proxy for the mesos-master console > > #--------------------------------------------------------------------- > > > > listen mesos-master [0.0.0.0:5050](http://0.0.0.0:5050) > > mode http > > option forwardfor > > > > server server1 ip1:5050 check > > server server2 ip2:5050 check > > server server3 ip3:5050 check > > \--- > > I'd greatly appreciate any inputs here. > > Thanks! > > > > \-- > > Regards, Haripriya Ayyalasomayajula > > -- *NOTICE TO RECIPIENTS*: This communication is confidential and intended for the use of the addressee only. If you are not an intended recipient of this communication, please delete it immediately and notify the sender by return email. Unauthorized reading, dissemination, distribution or copying of this communication is prohibited. This communication does not constitute an offer to sell or a solicitation of an indication of interest to purchase any loan, security or any other financial product or instrument, nor is it an offer to sell or a solicitation of an indication of interest to purchase any products or services to any persons who are prohibited from receiving such information under applicable law. The contents of this communication may not be accurate or complete and are subject to change without notice. As such, Orchard App, Inc. (including its subsidiaries and affiliates, "Orchard") makes no representation regarding the accuracy or completeness of the information contained herein. The intended recipient is advised to consult its own professional advisors, including those specializing in legal, tax and accounting matters. Orchard does not provide legal, tax or accounting advice. --40e2d4367a394e08b1a35d7be33e866d Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=US-ASCII Mime-Version: 1.0 There's really no use mesos-dns and just point your browser to ht= tp://leader.mesos:5050 to reach the active master. 

On Dec 2 2015, at 3:18 pm, Haripriya Ayyalasomayajula <aharipriya92@gm= ail.com> wrote:

Hi all, 

I am having a mesos cluster  (version 0.25.0) running in with 3 mas= ters. I am getting back to the community regarding the best practise that c= an be adopted.

-I want to access the UI from a log= in node. How can I use haproxy in this case? I have the following HAProxy c= onfiguration file on the login node which has access to the three nodes run= ning masters (servers with ip1, ip2, ip3).

#-----------------------------------------------------------------= ----

# Proxy for the mesos-master console

#-----------------------------------------------------------------= ----


listen mesos-master 0.0.0.0:5050

    mode http  

    option forwardfor

        

        server server1 ip1:5050 check  

        server server2 ip2:5050 check 

        server server3 ip3:5050 check 

---

I'd greatly appreciate any inputs h= ere.

Thanks!


--
=
Regards,
Haripriya Ayyalasomayaju= la 


NOTICE TO RECIPIENTS: This communication= is confidential and intended for the use of the addressee only. If you are= not an intended recipient of this communication, please delete it immediately and notify the sender by return email. Unauthorized r= eading, dissemination, distribution or copying of this communication is pro= hibited. This communication does not constitute an offer to sel= l or a solicitation of an indication of interest to purchase any loan, secu= rity or any other financial product or instrument, nor is it an offer to se= ll or a solicitation of an indication of interest to purchase any prod= ucts or services to any persons who are prohibited from receiving such info= rmation under applicable law. The contents of this communication may not be=  accurate or complete and are subject to change without notice. As suc= h, Orchard App, Inc. (including its subsidiaries and affiliates, "Orch= ard") makes no representation regarding the accuracy or com= pleteness of the information contained herein. The intended recipient is ad= vised to consult its own professional advisors, including those specializin= g in legal, tax and accounting matters. Orchard does not provid= e legal, tax or accounting advice.
--40e2d4367a394e08b1a35d7be33e866d--