WuKongIM Docs

Operations

Start with daily checks, then monitor, back up, scale, and upgrade WuKongIM safely.

If this is your first time operating WuKongIM, do not start by learning every metric and cluster term. Focus on three outcomes: the service can accept traffic, someone will notice failures, and your data can actually be restored.

A one-node deployment is still a cluster

Even one node is a single-node cluster. Do not bypass Manager, Controller, or Slot behavior by editing data manually. WuKongIM always uses 256 physical hash slots; adding or removing nodes does not change that number.

Do these three things first

  1. Request /readyz on every node. HTTP 200 means that the node can currently accept product traffic.
  2. Alert on readiness failures, rising errors, queue backlogs, and low disk space. Assign a person to respond.
  3. Create a backup plan in Manager, run Test storage, and confirm that at least one backup is complete and verified.

Then choose the page that matches your task.

What do you need to do?

Use these five steps for every change

StepWhat to doContinue when
1. Record the current stateSave versions, configuration, node state, /readyz, and key metricsYou know what normal looked like before the change
2. Prepare a way backRecord the rollback method, owner, and stop conditionsEveryone knows who stops the change and how
3. Make a small changeChange one thing at a time; advance one node or a small task batchThe current step has finished
4. Test the productTest sign-in or reconnect, message send and receive, and historyProduct checks pass and nodes are ready again
5. Save the resultKeep task results, errors, metrics, and the final node listSomeone can later see exactly what happened

Stop if any of these happen

  • /readyz returns 503, or readiness repeatedly changes between success and failure.
  • Manager shows missing, stale, or conflicting node, Controller, Slot, Channel, or task state.
  • A previous scaling, restore, or upgrade task has not finished.
  • A production change has no rollback method, or no backup has passed verification.
  • The release notes do not explicitly say whether the current and target versions may run together.

Stop and preserve the current evidence, then follow Troubleshooting. See Server Tools when you need a command-line tool.

On this page