Tuesday 26 March 2024

Cassandra Shutdown and Node Check


# Increase memory on the cassandra node

# nodetool drain
# nodetool stopdaemon
# shutdown now

# increase ram in the vsphere client

# check the memory

# free -m
#cat /proc/meminfo

# check for error message
# cat /var/log/messages

# GC pauses
sav /etc/cassandra/conf/cassandra-env.conf

# nodetool drain
# nodetool flush
# nodetool stopdaemon
# nodetool status
change the directory in the /etc/cassandra/conf/cassandra-env.conf

Change the current one from JVM_OPTS="$JVM_OPTS -Xms12g -Xmx20g
to -Xms20000m  -Xmx20000m

#service cassandra start

#free -m
#cat /proc/meminfo

#cat /var/log/messages to see the errors

No comments:

Post a Comment