Skip to content

stirlab/python-mysql-orchestrator

Repository files navigation

python-mysql-orchestrator

Simple wrapper class for the MySQL Orchestrator API, and some convenience scripts.

Overview

MySQL Orchestrator has a robust REST API.

This humble library provides the following:

  • A base Orchestrator class
  • orchestrator-run.py: Wraps the base class for calling from CLI
  • auto-master-writer.py: Detects a healthy cluster with a master that has read_only = true, and sets read_only = false (this allows configuring all cluster nodes to start in read-only mode, and still provide an automated way to set the master as writeable.

Setup

  • Copy config.sample.yaml to config.yaml
  • Edit to taste
  • Execute orchestrator-run.py --help for help.

Using/extending the base class

See auto-master-writer.py for an example of how to extend the base Orchestrator class.

About

Simple wrapper class for the MySQL Orchestrator API, and some convenience scripts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy