I tried both `nodetool remove node <Host ID>` and `nodetool decommission` and 
they both give the error:




nodetool: Failed to connect to '127.0.0.1:7199' - ConnectException: 'Connection 
refused’.




Here is what I have tried to fix this:




1) Uncommented JVM_OPTS=”$JVM_OPTS -Djava.rmi.server.hostname=<public name>”

2) Changed rpc_address to 0.0.0.0

3) Restarted cassandra

4) Restarted datastax-agent




(Note that I installed my cluster using opscenter so that may have something to 
do with it? )

On Tue, Jul 7, 2015 at 2:08 PM, Surbhi Gupta <surbhi.gupt...@gmail.com>
wrote:

> If node is down use :
> nodetool removenode <Host ID>
> We have to run the below command when the node is down & if the cluster
> does not use vnodes, before running the nodetool removenode command, adjust
> the tokens.
> If the node is up, then the command would be “nodetool decommission” to
> remove the node.
> Remove the node from the “seed list” within the configuration
> cassandra.yaml.
> On 7 July 2015 at 12:56, Sid Tantia <sid.tan...@baseboxsoftware.com> wrote:
>> Thanks for the response. I’m trying to remove a node that’s already down
>> for some reason so its not allowing me to decommission it, is there some
>> other way to do this?
>>
>>
>>
>> On Tue, Jul 7, 2015 at 12:45 PM, Kiran mk <coolkiran2...@gmail.com> wrote:
>>
>>> Yes, if your intension is to decommission a node.  You can do that by
>>> clicking on the node and decommission.
>>>
>>> Best Regards,
>>> Kiran.M.K.
>>> On Jul 8, 2015 1:00 AM, "Sid Tantia" <sid.tan...@baseboxsoftware.com>
>>> wrote:
>>>
>>>>  I know you can use `nodetool removenode` from the command line but is
>>>> there a way to remove a node from a cluster using OpsCenter?
>>>>
>>>>
>>

Reply via email to