You are browsing a read-only backup copy of Wikitech. The primary site can be found at wikitech.wikimedia.org

Cumin: Difference between revisions

From Wikitech-static
Jump to navigation Jump to search
imported>Ema
No edit summary
imported>Volans
m (Add disclaimer.)
Line 1: Line 1:
An automation and orchestration framework
An automation and orchestration framework


The full documentation will be added as part of https://phabricator.wikimedia.org/T158964
Given that Cumin's grammar will probably be subject to changes in the near future to allow to cover more usages and simply the most common usages, the full documentation here will be added later as part of https://phabricator.wikimedia.org/T158964  


See https://github.com/wikimedia/cumin/blob/master/README.md for now.
See https://github.com/wikimedia/cumin/blob/master/README.md for now.
== Examples of usage on WMF ==
* Check semi-sync replication status (number of connected clients) on all core mediawiki master databases:
root@neodymium:~$ cumin 'R:Class = Role::Mariadb::Groups and R:Class%mysql_group = core and R:Class%mysql_role = master' "mysql --skip-ssl -e \"SHOW GLOBAL STATUS like 'Rpl_semi_sync_master_clients'\""

Revision as of 13:37, 28 March 2017

An automation and orchestration framework

Given that Cumin's grammar will probably be subject to changes in the near future to allow to cover more usages and simply the most common usages, the full documentation here will be added later as part of https://phabricator.wikimedia.org/T158964

See https://github.com/wikimedia/cumin/blob/master/README.md for now.

Examples of usage on WMF

  • Check semi-sync replication status (number of connected clients) on all core mediawiki master databases:
root@neodymium:~$ cumin 'R:Class = Role::Mariadb::Groups and R:Class%mysql_group = core and R:Class%mysql_role = master' "mysql --skip-ssl -e \"SHOW GLOBAL STATUS like 'Rpl_semi_sync_master_clients'\""