Coder Social home page Coder Social logo

pes's Introduction

PES: Patroni Environment Setup for Windows

Application can be used in two modes:

  • interactive
  • standalone configuration editor

In interactive mode PES instances, launched on different nodes, can syncrhonize cluster settings with Sync configs button and generate configurations locally. To enable interactive mode press Connect button:

If the machine were PES launched supposed to be one of the nodes, you can check Python dependancies:

PostgreSQL specific settings can be set on the corresponding tab. Right now all settings are the same for all nodes participating.

Nodes tab represent all nodes in the future cluster. Not every node must run database, this is the common setup where only two database and one witness node with etcd.

VIP Manager (if enabled) should run on every database node. Right now all settings are the same for all nodes participating.

Save button will save cluster information in the internal format to open and edit it later.

Load button will open previously saved cluster in internal format for further edit.

Generate Configs button will produce all needed configurations file for every node participated. The hierarchy will contain folders with node names containing .yaml configuration files depending on the node role (has db, has etcd, is vip-manager enabled), e.g.

db1
  - patroni.yaml
  - patronictl.yaml
  - etcd.yaml
db2
  - patroni.yaml
  - patronictl.yaml
  - etcd.yaml
witness
  - etcd.yaml
db_only
  - patroni.yaml
  - patronictl.yaml

Icon made by Vitaly Gorbachev

pes's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

qqq-tech iredmond

pes's Issues

Parser error for patroni.yaml

yaml.scanner.ScannerError: while scanning for the next token
found character '\t' that cannot start any token
  in ".\patroni.yaml", line 15, column 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.