{"action":"created","issue":{"url":"https://api.github.com/repos/major/MySQLTuner-perl/issues/184","repository_url":"https://api.github.com/repos/major/MySQLTuner-perl","labels_url":"https://api.github.com/repos/major/MySQLTuner-perl/issues/184/labels{/name}","comments_url":"https://api.github.com/repos/major/MySQLTuner-perl/issues/184/comments","events_url":"https://api.github.com/repos/major/MySQLTuner-perl/issues/184/events","html_url":"https://github.com/major/MySQLTuner-perl/issues/184","id":147236096,"number":184,"title":"script doesn't recognize wsrep_on variable on percona server","user":{"login":"vchepkov","id":995234,"avatar_url":"https://avatars.githubusercontent.com/u/995234?v=3","gravatar_id":"","url":"https://api.github.com/users/vchepkov","html_url":"https://github.com/vchepkov","followers_url":"https://api.github.com/users/vchepkov/followers","following_url":"https://api.github.com/users/vchepkov/following{/other_user}","gists_url":"https://api.github.com/users/vchepkov/gists{/gist_id}","starred_url":"https://api.github.com/users/vchepkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vchepkov/subscriptions","organizations_url":"https://api.github.com/users/vchepkov/orgs","repos_url":"https://api.github.com/users/vchepkov/repos","events_url":"https://api.github.com/users/vchepkov/events{/privacy}","received_events_url":"https://api.github.com/users/vchepkov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/major/MySQLTuner-perl/labels/enhancement","name":"enhancement","color":"0052cc"},{"url":"https://api.github.com/repos/major/MySQLTuner-perl/labels/To%20Verify","name":"To Verify","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-04-10T15:51:34Z","updated_at":"2016-04-19T14:46:02Z","closed_at":null,"body":"It seems wsrep_on variable is not 'global' on percona cluster and script doesn't see it, reporting replication disabled\r\n\r\nFor references, I have these packages\r\n\r\nPercona-XtraDB-Cluster-galera-3-3.14-1.rhel7.x86_64\r\nPercona-XtraDB-Cluster-server-56-5.6.28-25.14.1.el7.x86_64\r\n\r\n```\r\nmysql> SHOW GLOBAL VARIABLES like 'wsrep_on'\\G\r\nEmpty set (0.00 sec)\r\n\r\nmysql> SHOW VARIABLES like 'wsrep_on'\\G\r\n*************************** 1. row ***************************\r\nVariable_name: wsrep_on\r\n        Value: ON\r\n1 row in set (0.01 sec)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/major/MySQLTuner-perl/issues/comments/211957858","html_url":"https://github.com/major/MySQLTuner-perl/issues/184#issuecomment-211957858","issue_url":"https://api.github.com/repos/major/MySQLTuner-perl/issues/184","id":211957858,"user":{"login":"vchepkov","id":995234,"avatar_url":"https://avatars.githubusercontent.com/u/995234?v=3","gravatar_id":"","url":"https://api.github.com/users/vchepkov","html_url":"https://github.com/vchepkov","followers_url":"https://api.github.com/users/vchepkov/followers","following_url":"https://api.github.com/users/vchepkov/following{/other_user}","gists_url":"https://api.github.com/users/vchepkov/gists{/gist_id}","starred_url":"https://api.github.com/users/vchepkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vchepkov/subscriptions","organizations_url":"https://api.github.com/users/vchepkov/orgs","repos_url":"https://api.github.com/users/vchepkov/repos","events_url":"https://api.github.com/users/vchepkov/events{/privacy}","received_events_url":"https://api.github.com/users/vchepkov/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T14:46:02Z","updated_at":"2016-04-19T14:46:02Z","body":"as for sst method it's just not parsed properly:\r\n\r\n```\r\nmysql> show variables like 'wsrep_sst_method';\r\n+------------------+---------------+\r\n| Variable_name    | Value         |\r\n+------------------+---------------+\r\n| wsrep_sst_method | xtrabackup-v2 |\r\n+------------------+---------------+\r\n1 row in set (0.00 sec)\r\n```\r\n"}}