nodetool getseeds
Displays the seed node addresses.
Synopsis
Section titled “Synopsis”nodetool [connection_options] getseedsSee connection options for connection options.
Description
Section titled “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
Section titled “Examples”Basic Usage
Section titled “Basic Usage”nodetool getseedsSample Output
Section titled “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.103If 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
Section titled “Configuration”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
Section titled “Use Cases”Verify Seed Configuration
Section titled “Verify Seed Configuration”nodetool getseedsTroubleshoot Cluster Discovery
Section titled “Troubleshoot Cluster Discovery”# Check seeds when node can't join clusternodetool getseedsBest Practices
Section titled “Best Practices”Seed Node Guidelines
- Multiple seeds - Configure 2-3 seeds per datacenter
- Stable nodes - Choose reliable, long-running nodes
- Not all nodes - Don't make every node a seed
Related Commands
Section titled “Related Commands”| Command | Relationship |
|---|---|
| reloadseeds | Reload seed configuration |
| gossipinfo | View gossip state |
| status | Cluster overview |