Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F1533191F0 for ; Fri, 29 Apr 2016 14:54:29 +0000 (UTC) Received: (qmail 59043 invoked by uid 500); 29 Apr 2016 14:54:29 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 58998 invoked by uid 500); 29 Apr 2016 14:54:29 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 58987 invoked by uid 99); 29 Apr 2016 14:54:29 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Apr 2016 14:54:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 8F3151804D6 for ; Fri, 29 Apr 2016 14:54:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.986 X-Spam-Level: X-Spam-Status: No, score=-0.986 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_MED=-2.3, URI_HEX=1.313, URI_TRY_3LD=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Wmi-q8wUlO8i for ; Fri, 29 Apr 2016 14:54:26 +0000 (UTC) Received: from 9pmail.ess.barracuda.com (9pmail.ess.barracuda.com [64.235.150.224]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id BC0CC5F369 for ; Fri, 29 Apr 2016 14:54:25 +0000 (UTC) Received: from SVEEXCH01.Versiant.net (mail.versiant.com [66.129.123.107]) by mx4.ess.sfj.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NO); Fri, 29 Apr 2016 14:54:18 +0000 Received: from SVEEXCH01.Versiant.net (10.128.2.55) by SVEEXCH01.Versiant.net (10.128.2.55) with Microsoft SMTP Server (TLS) id 15.0.1156.6; Fri, 29 Apr 2016 10:54:17 -0400 Received: from SVEEXCH01.Versiant.net ([fe80::d446:7326:3775:c646]) by SVEEXCH01.Versiant.net ([fe80::d446:7326:3775:c646%14]) with mapi id 15.00.1156.000; Fri, 29 Apr 2016 10:54:17 -0400 From: Christopher Fogarty To: "users@activemq.apache.org" Subject: RE: Testing Master Slave on Shared File System Thread-Topic: Testing Master Slave on Shared File System Thread-Index: AdGhc788sASl6xSkTl2YBuRLC3gsrQAMxGOA///Hf7SAAXdUAIAAAg2AgABBN3A= Date: Fri, 29 Apr 2016 14:54:17 +0000 Message-ID: <88afe28bc01b4c559677ae9d0005d494@SVEEXCH01.Versiant.net> References: <79e967da00a74a6bb03e8ac622e9f169@SVEEXCH01.Versiant.net> <57226649.4030202@gmail.com> <5E7060D8EF55F891.A5FEDE4B-CD74-4E1F-BC4D-611D1CB3EBA1@mail.outlook.com> <572371BC.90808@gmail.com> <96C0DDE9-BE65-4446-B484-FFBC0B8CE46D@pronoia-solutions.com> In-Reply-To: <96C0DDE9-BE65-4446-B484-FFBC0B8CE46D@pronoia-solutions.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.11.35.115] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BESS-ID: 1461941658-298555-19705-12745-1 X-BESS-VER: 2016.5-r1604211718 X-BESS-Apparent-Source-IP: 66.129.123.107 X-BESS-Outbound-Spam-Score: 0.32 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.171178 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound 0.32 URI_HEX URI: URI hostname has long hexadecimal sequence X-BESS-Outbound-Spam-Status: SCORE=0.32 using account:ESS26062 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND, URI_HEX X-BESS-BRTS-Status: 1 Quinn Thanks. I could use NFS, but the master slave shared docs (very Spartan) in= dicated SAN. If ext4 is not the proper filesystem. What should I use? I cou= ld use NFS, but I was concerned over performance. Also, NFS in a VM environ= ment would require a third server? Node 1 Node 2 NFS server (I would not think it would be prudent to use nfs from one of th= e two nodes?) Chris Fogarty VP, System Engineering Versiant Corporation 3700 Arco Corporate Drive Suite 350 Charlotte, NC 28273 Office: (704) 831-3905 | Mobile: (704) 763-3333 Chris.Fogarty@Versiant.com -----Original Message----- From: Quinn Stevenson [mailto:quinn@pronoia-solutions.com]=20 Sent: Friday, April 29, 2016 10:45 AM To: users@activemq.apache.org Subject: Re: Testing Master Slave on Shared File System I've done quite a bit of master/slave setups - they've never been an issue = as long as I had a filesystem that supported locking. I've used NFSv4 and = GFSv2 for these setups. If I'm reading this correctly, you've setup a volume on a SAN and mounted i= t on both systems as an ext4 filesystem. If that's the case, I think that = is your issue - ext4 is not a shared filesystem and it isn't cluster aware.= =20 Can you try using NFSv4? > On Apr 29, 2016, at 8:37 AM, Matt Pavlovich wrote: >=20 > Are both volumes mounted with ext4? Does EXT4 have support for distribute= d lock sharing? Sounds like one server would mount rw and the other would = be mounted ro and there aren't any shared locks. >=20 > I'm not as current on the latest EXT4 features, but do know a cluster-awa= re filesystem such as GFSv2 is designed for this type of setup. >=20 > -Matt >=20 > On 4/28/16 3:14 PM, Christopher Fogarty wrote: >> I have the disk a part of its on vggroup and an lv carved out of that wi= th ext 4 file system on it. This is mounted on both systems and I am able t= o start active mq fine. But would feel a lot better validating that only on= e of the two nodes actually has a lock. I would love even more to verify th= at both nodes when started are doing what they should, which is one has a l= ocked access and the other is in a sort of stand by until the lock is relea= sed. >>=20 >> Hope this makes sense. >>=20 >> Chris Fogarty >>=20 >>=20 >>=20 >>=20 >>=20 >> On Thu, Apr 28, 2016 at 12:37 PM -0700, "Matt Pavlovich" > wrote: >>=20 >> Chris- >>=20 >> What file system are you using to share the mount? The filesystem=20 >> would need to support distributed locking (many "shareable=20 >> filesystems" don't do this properly. >>=20 >> The other approach is to use the shared filesystem for KahaDB and a=20 >> database lease-locker to work around the=20 >> most-shared-filesystems-don't-do-locking-properly problem. >>=20 >> -Matt >>=20 >> On 4/28/16 12:34 PM, Christopher Fogarty wrote: >>> I have set up two servers: >>>=20 >>> Both CENTOS with a shared SAN disk mounted and active on both nodes. >>>=20 >>> I have set up ActiveMQ 5.6 >>>=20 >>> I am able to start each with the following configuration >>>=20 >>> >>> >>> >>>=20 >>> Each node can and does start, but how can I test, or what do I look for= to make sure that file locking is actually working as described in the htt= p://activemq.apache.org/shared-file-system-master-slave.html document. Bef= ore putting this into production, I would feel a lot better knowing that on= ly one of the two nodes is capable of accessing the kahadb. >>>=20 >>>=20 >>> Chris Fogarty >>>=20 >>> VP, System Engineering >>> Versiant Corporation >>> 3700 Arco Corporate Drive >>> Suite 350 >>> Charlotte, NC 28273 >>> Office: (704) 831-3905 | Mobile: (704) 763-3333 >>>=20 >>> Chris.Fogarty@Versiant.com >>>=20 >>> -----Original Message----- >>> From: Christopher Fogarty >>> Sent: Wednesday, April 27, 2016 9:02 AM >>> To: 'users@activemq.apache.org' >>> Subject: RE: Running ActiveMQ Broker as different username unable to=20 >>> connect via web admin console >>>=20 >>> What Platform? Do you have a firewall running >>>=20 >>> Chris Fogarty >>>=20 >>> VP, System Engineering >>> Versiant Corporation >>> 3700 Arco Corporate Drive >>> Suite 350 >>> Charlotte, NC 28273 >>> Office: (704) 831-3905 | Mobile: (704) 763-3333 >>>=20 >>> Chris.Fogarty@Versiant.com >>>=20 >>> -----Original Message----- >>> From: jboss [mailto:jboss@bcidaho.com] >>> Sent: Wednesday, April 27, 2016 8:16 AM >>> To: users@activemq.apache.org >>> Subject: Re: Running ActiveMQ Broker as different username unable to=20 >>> connect via web admin console >>>=20 >>> The web console does not come up at all. The error that the Chrome gi= ves is >>> "Connection Refused". Does not even get to the point of asking for use= rname/password. >>>=20 >>> Thanks, >>>=20 >>>=20 >>>=20 >>>=20 >>> -- >>> View this message in context:=20 >>> http://activemq.2283324.n4.nabble.com/Running-ActiveMQ-Broker-as-dif >>> ferent-username-unable-to-connect-via-web-admin-console-tp4711175p47 >>> 11280.html Sent from the ActiveMQ - User mailing list archive at=20 >>> Nabble.com. >>=20 >=20