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

Cumin

From Wikitech-static
Revision as of 13:37, 28 March 2017 by imported>Volans (Add disclaimer.)
Jump to navigation Jump to search

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'\""