8081 is your mx4j port, isn't it? You need to connect jconsole to JMX_PORT 
specified in cassandra-env.sh.

maki

From iPhone


On 2011/04/16, at 13:56, tinhuty he <tinh...@hotmail.com> wrote:

> Maki, thanks for your reply. for the second question, I wasn't using the 
> loopback address, I was using the actually IP address for that server. I am 
> able to telnet to that IP on port 8081, but using jconsole failed.
> 
> -----Original Message----- From: Maki Watanabe
> Sent: Friday, April 15, 2011 9:43 PM
> To: user@cassandra.apache.org
> Cc: tinhuty he
> Subject: Re: cluster IP question and Jconsole?
> 
> 127.0.0.2 to 127.0.0.5 are valid IP addresses. Those are just alias
> addresses for your loopback interface.
> Verify:
> % ifconfig -a
> 
> 127.0.0.0/8 is for loopback, so you can't connect this address from
> remote machines.
> You may be able configure SSH port forwarding from your monitroing
> host to cassandra node though I haven't try.
> 
> maki
> 
> 2011/4/16 tinhuty he <tinh...@hotmail.com>:
>> I have followed the description here
>> http://www.edwardcapriolo.com/roller/edwardcapriolo/entry/lauching_5_node_cassandra_clusters
>> to created 5 instances of cassandra in one CentOS 5.5 machine. using
>> nodetool shows the 5 nodes are all running fine.
>> 
>> Note the 5 nodes are using IP 127.0.0.1 to 127.0.0.5. I understand 127.0.0.1
>> is pointing to local server, but how about 127.0.0.2 to 127.0.0.5? looks to
>> me that they are not valid IP? how come all 5 nodes are working ok?
>> 
>> Another question. I have installed MX4J in instance 127.0.0.1 on port 8081.
>> I am able to connect to http://server:8081/ from the browser. However how do
>> I connect using Jconsole that was installed in another windows
>> machines?(since my CentOS5.5 doesn't have X installed, only SSH allowed).
>> 
>> Thanks. 
> 

Reply via email to