cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladimir Yudovin <vla...@winguzone.com>
Subject Re: Re: Cassandra listen port
Date Tue, 04 Oct 2016 18:53:22 GMT
&gt;Use multiple IP addresses instead. 
&gt;Virtual addresses can be possible also? 
&gt;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 internode connect, but it's not demand.

Best regards, Vladimir Yudovin, 
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 &lt;benjamin.roth@jaumo.com&gt;
wrote ---- 

Of course, just add aliases to your interfaces (like eth0:0, eth0:1, ...).For 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 &lt;mehdi.bada@dbi-services.com&gt;:
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émont
 mehdi.bada@dbi-services.com www.dbi-services.com
 
 ⇒ dbi services is recruiting Oracle &amp; SQL Server experts ! – Join the team
 
 
 ----- Original Message -----
 From: Benjamin Roth &lt;benjamin.roth@jaumo.com&gt;
 To: user@cassandra.apache.org
 Sent: Tue, 04 Oct 2016 20:36:49 +0200 (CEST)
 Subject: Re: Cassandra listen port
 
 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.
 
 2016-10-04 20:03 GMT+02:00 Mehdi Bada &lt;mehdi.bada@dbi-services.com&gt;:
 
 &gt; Thanks Vladimir.
 &gt; It means if I want to run Cassandra on multi instance environment I only
 &gt; have to change the listen address of each instance and the 9000 CQL port??
 &gt;
 &gt;
 &gt; ---
 &gt; Mehdi Bada | Consultant
 &gt; Phone: +41 32 422 96 00 | Mobile: +41 79 928 75 48 | Fax: +41 32 422 96 15
 &gt; dbi services, Rue de la Jeunesse 2, CH-2800 Delémont
 &gt; mehdi.bada@dbi-services.com www.dbi-services.com
 &gt;
 &gt; ⇒ dbi services is recruiting Oracle &amp; SQL Server experts ! – Join the
team
 &gt;
 &gt;
 &gt; ----- Original Message -----
 &gt; From: Vladimir Yudovin &lt;vladyu@winguzone.com&gt;
 &gt; To: user@cassandra.apache.org
 &gt; Sent: Tue, 04 Oct 2016 18:18:19 +0200 (CEST)
 &gt; Subject: Re: Cassandra listen port
 &gt;
 &gt; Actually the main port is 9042 - for client (CQL) connections and 7000
 &gt; (7001 if SSL enabled) for inter node communications.
 &gt;
 &gt; Best regards, Vladimir Yudovin,
 &gt; Winguzone Inc - Hosted Cloud Cassandra on Azure and SoftLayer.
 &gt; Launch your cluster in minutes.
 &gt;
 &gt;
 &gt;
 &gt;
 &gt; ---- On Tue, 04 Oct 2016 11:36:04 -0400 Benjamin
 &gt; Roth&amp;lt;benjamin.roth@jaumo.com&amp;gt; wrote ----
 &gt;
 &gt; There are several ports for several services. They are all set in
 &gt; cassandra.yaml
 &gt;
 &gt; See here for complete documentation:
 &gt; https://docs.datastax.com/en/cassandra/2.1/cassandra/
 &gt; configuration/configCassandra_yaml_r.html
 &gt;
 &gt;
 &gt;
 &gt; 2016-10-04 16:54 GMT+02:00 Mehdi Bada &amp;lt;mehdi.bada@dbi-services.com&amp;gt;:
 &gt; Hi all,
 &gt;
 &gt;
 &gt;
 &gt; What is the listen port parameter for Apache Cassandra? Does it exist?
 &gt;
 &gt; In comparison with MongoDB, in mongo it's possible to set the listen port
 &gt; in the mongod.conf (configuration file)
 &gt;
 &gt;
 &gt;
 &gt; Regards
 &gt;
 &gt; Mehdi
 &gt;
 &gt;
 &gt;
 &gt; Mehdi Bada | Consultant
 &gt; Phone: +41 32 422 96 00 | Mobile: +41 79 928 75 48 | Fax: +41 32 422 96 15
 &gt; dbi services, Rue de la Jeunesse 2, CH-2800 Delémont
 &gt; mehdi.bada@dbi-services.com
 &gt; www.dbi-services.com
 &gt;
 &gt;
 &gt;
 &gt;
 &gt;
 &gt;
 &gt;
 &gt;
 &gt;
 &gt; ⇒ dbi services is recruiting Oracle &amp;amp; SQL Server experts ! – Join
the
 &gt; team
 &gt;
 &gt;
 &gt;
 &gt;
 &gt;
 &gt;
 &gt;
 &gt;
 &gt;
 &gt; --
 &gt; Benjamin Roth
 &gt; Prokurist
 &gt;
 &gt; Jaumo GmbH · www.jaumo.com
 &gt; Wehrstraße 46 · 73035 Göppingen · Germany
 &gt; Phone +49 7161 304880-6 · Fax +49 7161 304880-1
 &gt; AG Ulm · HRB 731058 · Managing Director: Jens Kammerer
 &gt;
 &gt;
 &gt;
 &gt;
 &gt;
 &gt;
 &gt;
 &gt;
 &gt;
 
 
 --
 Benjamin Roth
 Prokurist
 
 Jaumo GmbH · www.jaumo.com
 Wehrstraße 46 · 73035 Göppingen · Germany
 Phone +49 7161 304880-6 · Fax +49 7161 304880-1
 AG Ulm · HRB 731058 · Managing Director: Jens Kammerer
 
 






-- 
Benjamin Roth
Prokurist

Jaumo GmbH · www.jaumo.com
Wehrstraße 46 · 73035 Göppingen · Germany
Phone +49 7161 304880-6 · Fax +49 7161 304880-1
AG Ulm · HRB 731058 · Managing Director: Jens Kammerer

 
 





Mime
View raw message