Skip to content

Run server variable changes simultaneously on all nodes in cluster.

Notifications You must be signed in to change notification settings

obissick/GaleraSQL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GaleraSQL

Run server variable changes simultaneously on all nodes in cluster.

Requirements

  • python 2.7+
  • python-pip
  • argparse (install with pip)
  • tabulate (install with pip)
  • paramiko (install with pip)
  • mysql-connector=2.1.6 (install with pip)

Commands: Avaliable Commands

show galera (status | version) - Show status of each node in the cluster.
restart galera nodes - restart mysql process on all nodes in rolling fashion.
update galera nodes - update database software on all nodes in rolling fashion.

Usage: GaleraSQL Example

python gsql.py -H 10.1.30.54 -P 3306 -u user -p password -q "show galera status"

Alt text

About

Run server variable changes simultaneously on all nodes in cluster.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages