question

amitmund_177224 avatar image
amitmund_177224 asked Erick Ramirez answered

What is the best practice for planned maintenance?

Hi All,
lets say I need to update my system RAM and for some time I need to take one of the cluster node out of rotation

what are the *** best *** options to do the same for the same
for now, I do
nodetool drain
and later stop the service and
from other cluster node: check for host id
and later do: nodetool removenode host_id
is that good enough ?
maintenance
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered

@amitmund_177224 you don't need to decommission a node to perform that type of work. I recommend:

  1. Run nodetool drain to flush all memtables to disk. This means there will be no commit logs to replay on startup.
  2. Stop DSE.
  3. Perform maintenance.
  4. Start DSE.

Cheers!

Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.