Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

PgEdge Multi-Node Setup Script

This script sets up a multi-node PgEdge cluster using Docker, and configures Spock-based bidirectional replication.

Features

  • Automatically creates and configures Docker containers for PgEdge nodes.
  • Sets up logical replication using the Spock extension.
  • Inserts test data and verifies replication across all nodes.

Requirements

  • Docker must be installed and running.
  • Python 3.7 or higher

Usage

Run the script in your terminal:

python pgedge_setup

You will be prompted to enter the number of PgEdge nodes.

Output

  • Containers named pgedge_node1, pgedge_node2, ..., will be created.
  • A Docker network pgedge_net will be used.
  • Replication between nodes will be configured using Spock.

Example

To create a 2-node setup, simply run the script and enter 2 when prompted.

Author

Muhammad Imtiaz

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages