pgd raft enable v6.3.0

Synopsis

The pgd raft enable command enables the Raft consensus worker on one or more nodes in the EDB Postgres Distributed cluster.

Enabling the worker allows the node to participate in Raft elections, log replication, and cluster-wide state changes.

Syntax

pgd raft enable [OPTIONS]

Options

The following options are available for the pgd raft enable command:

ShortLongDescription
--nodeTarget a specific node by name to enable its Raft worker.
--groupTarget all nodes in a specific group.
--allTarget all nodes in the cluster.

See Global Options for common global options.

Examples

Enable Raft on a specific node

pgd raft enable --node kaftan
Output
Raft enabled successfully on 'node' kaftan

Enable Raft for all nodes in a group

pgd raft enable --group dc1_subgroup
Output
Raft enabled successfully on 3 nodes in group dc1_subgroup

Enable Raft for the entire cluster

pgd raft enable --all
Output
Raft enabled successfully on 6 nodes in the cluster