Skip to main content
Version: 1.1

Shard Management

Shard Management

The Shard Management feature provides a visual, grid-based interface for managing Elasticsearch shard allocation and relocation.

Visual Shard Grid

Secan displays shards in an interactive grid where:

  • Rows represent Elasticsearch nodes
  • Columns represent different shards
  • Color coding indicates shard status (primary, replica, unallocated)

Shard Operations

Shard Relocation

Relocate shards between nodes:

  1. Click on a shard in the grid
  2. Select the destination node
  3. Confirm the relocation

The system validates the relocation is possible and tracks progress.

Shard Status

Shards are color-coded to show status:

  • Blue: Primary shard (allocated)
  • Green: Replica shard (allocated)
  • Gray: Unallocated shard (waiting for assignment)
  • Red: Unallocated primary (cluster health affected)

Use Cases

Rebalancing

After node additions or removals, rebalance shards across the cluster for optimal distribution.

Node Maintenance

Before taking a node offline, relocate its shards to other nodes using this interface.

Performance Optimization

Move shards based on query patterns or resource usage to optimize performance.

Important Notes

  • Shard relocation consumes I/O resources; plan carefully
  • Use during off-peak hours for large relocations
  • Monitor cluster health during operations
  • Elasticsearch throttles relocations to avoid overwhelming the cluster