Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6838F200B8B for ; Tue, 4 Oct 2016 20:53:32 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 66563160ACC; Tue, 4 Oct 2016 18:53:32 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5B858160AC7 for ; Tue, 4 Oct 2016 20:53:31 +0200 (CEST) Received: (qmail 67484 invoked by uid 500); 4 Oct 2016 18:53:29 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 67474 invoked by uid 99); 4 Oct 2016 18:53:29 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2016 18:53:29 +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 3FE151A0553 for ; Tue, 4 Oct 2016 18:53:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.898 X-Spam-Level: * X-Spam-Status: No, score=1.898 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=winguzone.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id ZX1zOUlBoDP0 for ; Tue, 4 Oct 2016 18:53:27 +0000 (UTC) Received: from sender163-mail.zoho.com (sender163-mail.zoho.com [74.201.84.163]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 2C8D25F393 for ; Tue, 4 Oct 2016 18:53:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1475607202; s=zoho; d=winguzone.com; i=vladyu@winguzone.com; h=Date:From:To:Message-Id:In-Reply-To:References:Subject:MIME-Version:Content-Type; l=13478; bh=KgsXUEqaBvZBsU5KCCiIW4jVvvbS/903Z2gyecmaw2Y=; b=A7Iwsxmisv5PvX6EZxhvtP5McVehmHBf1201VWp0QDc4xZWZUd4+GuGYFGIpesvO Abcdejl0duNpTQyxYlBSWHAA3F5WKyfZ35OmcaT8PC1+gXO5yofuiEL6gOEfhKFi7J3 IrrRrEB0VX+RGhMdjFbE3yHZspcRT/26nE7zy5rs= Received: from mail.zoho.com by mx.zohomail.com with SMTP id 147560720240256.69388376628342; Tue, 4 Oct 2016 11:53:22 -0700 (PDT) Date: Tue, 04 Oct 2016 14:53:22 -0400 From: Vladimir Yudovin To: Message-Id: <157910b0a57.bd98f89171956.3153823299366512821@winguzone.com> In-Reply-To: References: <569141257.14055532.1475592854611.JavaMail.zimbra@dbi-services.com> <157907d174d.b14e322565251.3870520375407403922@winguzone.com> <1158899889.14074051.1475604222273.JavaMail.zimbra@dbi-services.com> <426482457.14074711.1475606968809.JavaMail.zimbra@dbi-services.com> Subject: Re: Re: Cassandra listen port MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_168195_1424622504.1475607202400" X-Priority: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail archived-at: Tue, 04 Oct 2016 18:53:32 -0000 ------=_Part_168195_1424622504.1475607202400 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable >Use multiple IP addresses instead.=20 >Virtual addresses can be possible also?=20 >eth0:0, eth0:1 Why multiple or virtual IP? You can use the same IP for both addresses, as they use different TCP ports= . Sure, it's better to use internal IP (like 10... or 192.168...) for inter= node connect, but it's not demand. Best regards, Vladimir Yudovin,=20 Winguzone Inc - Hosted Cloud Cassandra on Azure and SoftLayer. Launch your cluster in minutes. ---- On Tue, 04 Oct 2016 14:51:59 -0400 Benjamin Roth <benjamin.roth@jau= mo.com> wrote ----=20 Of course, just add aliases to your interfaces (like eth0:0, eth0:1, ...).F= or example CCM (https://github.com/pcmanus/ccm) uses 127.0.0.[1-255] to set= up multiple CS instances on a single server. 2016-10-04 20:49 GMT+02:00 Mehdi Bada <mehdi.bada@dbi-services.com>: Virtual addresses can be possible also? =20 Thanks Benjamin =20 Mehdi Bada | Consultant Phone: +41 32 422 96 00 | Mobile: +41 79 928 75 48 | Fax: +41 32 422 96 15= dbi services, Rue de la Jeunesse 2, CH-2800 Del=C3=A9mont mehdi.bada@dbi-services.com www.dbi-services.com =20 =E2=87=92 dbi services is recruiting Oracle & SQL Server experts ! =E2= =80=93 Join the team =20 =20 ----- Original Message ----- From: Benjamin Roth <benjamin.roth@jaumo.com> To: user@cassandra.apache.org Sent: Tue, 04 Oct 2016 20:36:49 +0200 (CEST) Subject: Re: Cassandra listen port =20 As far as I can see, these ports are also used for outgoing connection, so a node expects all other peers also to use that port. Therefore the answer is no. Use multiple IP addresses instead. =20 2016-10-04 20:03 GMT+02:00 Mehdi Bada <mehdi.bada@dbi-services.com>: =20 > Thanks Vladimir. > It means if I want to run Cassandra on multi instance environment I o= nly > have to change the listen address of each instance and the 9000 CQL p= ort?? > > > --- > Mehdi Bada | Consultant > Phone: +41 32 422 96 00 | Mobile: +41 79 928 75 48 | Fax: +41 32 422 = 96 15 > dbi services, Rue de la Jeunesse 2, CH-2800 Del=C3=A9mont > mehdi.bada@dbi-services.com www.dbi-services.com > > =E2=87=92 dbi services is recruiting Oracle & SQL Server experts = ! =E2=80=93 Join the team > > > ----- Original Message ----- > From: Vladimir Yudovin <vladyu@winguzone.com> > To: user@cassandra.apache.org > Sent: Tue, 04 Oct 2016 18:18:19 +0200 (CEST) > Subject: Re: Cassandra listen port > > Actually the main port is 9042 - for client (CQL) connections and 700= 0 > (7001 if SSL enabled) for inter node communications. > > Best regards, Vladimir Yudovin, > Winguzone Inc - Hosted Cloud Cassandra on Azure and SoftLayer. > Launch your cluster in minutes. > > > > > ---- On Tue, 04 Oct 2016 11:36:04 -0400 Benjamin > Roth&lt;benjamin.roth@jaumo.com&gt; wrote ---- > > There are several ports for several services. They are all set in > cassandra.yaml > > See here for complete documentation: > https://docs.datastax.com/en/cassandra/2.1/cassandra/ > configuration/configCassandra_yaml_r.html > > > > 2016-10-04 16:54 GMT+02:00 Mehdi Bada &lt;mehdi.bada@dbi-services= .com&gt;: > Hi all, > > > > What is the listen port parameter for Apache Cassandra? Does it exist= ? > > In comparison with MongoDB, in mongo it's possible to set the listen = port > in the mongod.conf (configuration file) > > > > Regards > > Mehdi > > > > Mehdi Bada | Consultant > Phone: +41 32 422 96 00 | Mobile: +41 79 928 75 48 | Fax: +41 32 422 = 96 15 > dbi services, Rue de la Jeunesse 2, CH-2800 Del=C3=A9mont > mehdi.bada@dbi-services.com > www.dbi-services.com > > > > > > > > > > =E2=87=92 dbi services is recruiting Oracle &amp; SQL Server expe= rts ! =E2=80=93 Join the > team > > > > > > > > > > -- > Benjamin Roth > Prokurist > > Jaumo GmbH =C2=B7 www.jaumo.com > Wehrstra=C3=9Fe 46 =C2=B7 73035 G=C3=B6ppingen =C2=B7 Germany > Phone +49 7161 304880-6 =C2=B7 Fax +49 7161 304880-1 > AG Ulm =C2=B7 HRB 731058 =C2=B7 Managing Director: Jens Kammerer > > > > > > > > > =20 =20 -- Benjamin Roth Prokurist =20 Jaumo GmbH =C2=B7 www.jaumo.com Wehrstra=C3=9Fe 46 =C2=B7 73035 G=C3=B6ppingen =C2=B7 Germany Phone +49 7161 304880-6 =C2=B7 Fax +49 7161 304880-1 AG Ulm =C2=B7 HRB 731058 =C2=B7 Managing Director: Jens Kammerer =20 =20 --=20 Benjamin Roth Prokurist Jaumo GmbH =C2=B7 www.jaumo.com Wehrstra=C3=9Fe 46 =C2=B7 73035 G=C3=B6ppingen =C2=B7 Germany Phone +49 7161 304880-6 =C2=B7 Fax +49 7161 304880-1 AG Ulm =C2=B7 HRB 731058 =C2=B7 Managing Director: Jens Kammerer =20 =20 ------=_Part_168195_1424622504.1475607202400 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =
>Use multiple IP addresses instead.
>Virtual addres= ses can be possible also?
>eth0:0, eth0:1

Why multiple or vi= rtual IP?

You can use the same IP for both addresses, as they use d= ifferent TCP ports. Sure, it's better to use internal IP (like 10... or 19= 2.168...) for internode connect, but it's not demand.

= Best regards, Vladimir Yudovin,
Winguzone Inc - Hosted Cloud Cassandra on A= zure and SoftLayer.
Launch your cluster in minutes.


---- On Tue, 04 Oct 2016 14:5= 1:59 -0400 Benjamin Roth <benjamin.roth@jaumo.com> wrote ---- =
Of course, just add aliases = to your interfaces (like eth0:0, eth0:1, ...).
For example CCM (https://github.com/pc= manus/ccm) uses 127.0.0.[1-255] to set up multiple CS instances on a si= ngle server.

2016-10-04 20:49 GMT+02:00 Mehdi Bada= <mehdi.bada@dbi-services.com>:
Virtual addresses can be possible also?

Thanks Benjamin

Mehdi Bada | Consultant
Phone: +41 32 422 = 96 00 | Mobile: +41 79 928 75 48 | Fax: +41 32 422 96 15 dbi services, Rue de la Jeunesse 2, CH-= 2800 Del=C3=A9mont
mehdi.bada@dbi-services.com www.dbi-services.com

=E2=87=92 dbi= services is recruiting Oracle & SQL Server experts ! =E2=80=93 Join th= e team


----- Original Message -----
From: Be= njamin Roth <benjamin.roth@jaumo.com>
To: user@cassandra.apache.org
Sent: Tue, 04 Oct 2016 20:36:49 +0200 (CEST)
Subject: Re: Cassandra l= isten port

As far as I can see, these ports are also used f= or outgoing connection, so
a node expects all other peers also to use t= hat port. Therefore the answer
is no. Use multiple IP addresses instead= .

2016-10-04 20:03 GMT+02:00 Mehdi Bada <mehdi.bada@dbi-service= s.com>:

> Thanks Vladimir.
> It means if I want t= o run Cassandra on multi instance environment I only
> have to chang= e the listen address of each instance and the 9000 CQL port??
>
= >
> ---
> Mehdi Bada | Consultant
> Phone: +41 32 422 96 00 | Mobile: +41 79 928= 75 48 | Fax: +41 32 422 96 15
> dbi se= rvices, Rue de la Jeunesse 2, CH-2800 Del=C3=A9mont
> mehdi.bada@dbi-services.= com www.dbi-s= ervices.com
>
> =E2=87=92 dbi services is recruiting Orac= le & SQL Server experts ! =E2=80=93 Join the team
>
>
= > ----- Original Message -----
> From: Vladimir Yudovin <vladyu@winguzone.com<= /a>>
> To:
user@cassandra.apache.org
> Sent: Tue, 04 Oct 2016 18:1= 8:19 +0200 (CEST)
> Subject: Re: Cassandra listen port
>
= > Actually the main port is 9042 - for client (CQL) connections and 7000=
> (7001 if SSL enabled) for inter node communications.
>
= > Best regards, Vladimir Yudovin,
> Winguzone Inc - Hosted Cloud= Cassandra on Azure and SoftLayer.
> Launch your cluster in minutes.=
>
>
>
>
> ---- On Tue, 04 Oct 2016 11:3= 6:04 -0400 Benjamin
> Roth&lt;benjamin.roth@jaumo.com&gt; = wrote ----
>
> There are several ports for several services. = They are all set in
> cassandra.yaml
>
> See here for = complete documentation:
> https://docs.datastax.com/en/cass= andra/2.1/cassandra/
> configuration/configCassandra_yaml_r.html=
>
>
>
> 2016-10-04 16:54 GMT+02:00 Mehdi Bada = &= lt;mehdi.bada@dbi-services.com&gt;:
> Hi all,
>
&= gt;
>
> What is the listen port parameter for Apache Cassandr= a? Does it exist?
>
> In comparison with MongoDB, in mongo it= 's possible to set the listen port
> in the mongod.conf (configurati= on file)
>
>
>
> Regards
>
> Mehd= i
>
>
>
> Mehdi Bada | Consultant
> Phon= e: +41 32 422 96 00 | Mobile: +41 79 928 75 48 | Fax: +41 32 422 96 15
= > dbi services, Rue de la Jeunesse 2, CH-2800 Del=C3=A9mont
> mehdi.bada@db= i-services.com
> www.dbi-services.com
>
>
>
> >
>
>
>
>
> =E2=87=92 dbi services = is recruiting Oracle &amp; SQL Server experts ! =E2=80=93 Join the
= > team
>
>
>
>
>
>
> >
>
> --
> Benjamin Roth
> Prokurist
&= gt;
> Jaumo GmbH =C2=B7 www.jaumo.com
> Wehrstra=C3=9Fe 46 =C2=B7 73035 G=C3=B6pp= ingen =C2=B7 Germany
> Phone +49 7161 304880-6<= /a> =C2=B7 Fax +49 7161 304880-1
> AG Ulm = =C2=B7 HRB 731058 =C2=B7 Managing Director: Jens Kammerer
>
>=
>
>
>
>
>
>
>

--
Benjamin Roth
Prokurist

Jaumo GmbH =C2=B7 www.jaumo.com
Wehrstra=C3= =9Fe 46 =C2=B7 73035 G=C3=B6ppingen =C2=B7 Germany
Phone +49 7161 304880-6 =C2=B7 Fax +49 7161 304880-1
AG Ulm =C2=B7= HRB 731058 =C2=B7 Managing Director: Jens Kammerer




--
Benjam= in Roth
Prokurist

Jaumo GmbH =C2=B7 www.jaumo.com
Wehrstra=C3=9Fe 46 =C2=B7 73035 = G=C3=B6ppingen =C2=B7 Germany
Phone +49 7161 304880-6 =C2=B7 Fax +49 716= 1 304880-1
AG Ulm =C2=B7 HRB 731058 =C2=B7 Managing Director: Jens Kamme= rer


------=_Part_168195_1424622504.1475607202400--