Thank you Tyler! It’s true that the cluster works!
However I’m going to ask for the error of nodetool because it interest us.

Thank you!

Ricard

De: Tyler Hobbs [mailto:ty...@datastax.com]
Enviado el: miércoles, 08 de octubre de 2014 17:25
Para: user@cassandra.apache.org
Asunto: Re: Doubts with the values of the parameter broadcast_rpc_address


On Wed, Oct 8, 2014 at 5:20 AM, Ricard Mestre Subirats 
<ricard.mestre.subir...@everis.com<mailto:ricard.mestre.subir...@everis.com>> 
wrote:
At the machine with IP 192.168.150.112<http://192.168.150.112>:
-cluster_name: 'CassandraCluster1'
-seeds: "192.168.150.112"
-listen_address: 192.168.150.112
-rpc_address: 0.0.0.0
-broadcast_rpc_address: 192.168.150.112

At the machine with IP 192.168.150.113<http://192.168.150.113>:
-cluster_name: 'CassandraCluster1'
-seeds: "192.168.150.112"
-listen_address: 192.168.150.113
-rpc_address: 0.0.0.0
-broadcast_rpc_address: 192.168.150.113

This is the correct configuration.


Then, if we start the service and execute “nodetool status” the result is the 
following:
nodetool: Failed to connect to '127.0.0.1:7199<http://127.0.0.1:7199>' - 
NoRouteToHostException: 'There is not any route to the `host''.

Nodetool does not (generally) use rpc_address/broadcast_rpc_address, because 
it's not using the normal API, it's using JMX.  This is a different problem.  
If you want to check rpc_address/broadcast_rpc_address, use cqlsh (and pass an 
address).

You can specify a hostname for nodetool with the -h option: nodetool -h 
192.168.150.112 status.  Depending on your setup, you may also need to edit the 
line in conf/cassandra-env.sh that sets this option:  
-Djava.rmi.server.hostname=<public name>


--
Tyler Hobbs
DataStax<http://datastax.com/>

________________________________

AVISO DE CONFIDENCIALIDAD.
Este correo y la información contenida o adjunta al mismo es privada y 
confidencial y va dirigida exclusivamente a su destinatario. everis informa a 
quien pueda haber recibido este correo por error que contiene información 
confidencial cuyo uso, copia, reproducción o distribución está expresamente 
prohibida. Si no es Vd. el destinatario del mismo y recibe este correo por 
error, le rogamos lo ponga en conocimiento del emisor y proceda a su 
eliminación sin copiarlo, imprimirlo o utilizarlo de ningún modo.

CONFIDENTIALITY WARNING.
This message and the information contained in or attached to it are private and 
confidential and intended exclusively for the addressee. everis informs to whom 
it may receive it in error that it contains privileged information and its use, 
copy, reproduction or distribution is prohibited. If you are not an intended 
recipient of this E-mail, please notify the sender, delete it and do not read, 
act upon, print, disclose, copy, retain or redistribute any portion of this 
E-mail.

Reply via email to