Skip to content
Maintained by AxonOps — production-grade documentation from engineers who operate distributed databases at scale

nodetool getseeds

Displays the seed node addresses.


Synopsis

nodetool [connection_options] getseeds

Description

nodetool getseeds shows the currently configured seed nodes for this Cassandra node. Seed nodes are contact points used for cluster discovery and gossip bootstrapping.


Examples

Basic Usage

nodetool getseeds

Sample Output

Current list of seed node IPs, excluding the current node's IP: 192.168.1.101, 192.168.1.102, 192.168.1.103

If this node is the only seed or no remote seeds are configured:

Current list of seed node IPs, excluding the current node's IP: (no remote seed IPs)

Configuration

# cassandra.yaml
seed_provider:
  - class_name: org.apache.cassandra.locator.SimpleSeedProvider
    parameters:
      - seeds: "192.168.1.101,192.168.1.102,192.168.1.103"

Use Cases

Verify Seed Configuration

nodetool getseeds

Troubleshoot Cluster Discovery

# Check seeds when node can't join cluster
nodetool getseeds

Best Practices

Seed Node Guidelines

  1. Multiple seeds - Configure 2-3 seeds per datacenter
  2. Stable nodes - Choose reliable, long-running nodes
  3. Not all nodes - Don't make every node a seed

Command Relationship
reloadseeds Reload seed configuration
gossipinfo View gossip state
status Cluster overview