Parcourir la source

Fix wsrep_provider for redhat

tags/1.0
Filip Pytloun il y a 8 ans
Parent
révision
a3567b8faa
3 fichiers modifiés avec 8 ajouts et 4 suppressions
  1. +1
    -1
      galera/files/my.cnf
  2. +1
    -1
      galera/files/my.cnf.init
  3. +6
    -2
      galera/map.jinja

+ 1
- 1
galera/files/my.cnf Voir le fichier

@@ -83,7 +83,7 @@ lower_case_table_names=0
##

# Full path to wsrep provider library or 'none'
wsrep_provider=/usr/lib/galera/libgalera_smm.so
wsrep_provider={{ service.wsrep_provider }}

wsrep_node_address={{ service.bind.address }}
# Provider specific configuration options

+ 1
- 1
galera/files/my.cnf.init Voir le fichier

@@ -83,7 +83,7 @@ lower_case_table_names=0
##

# Full path to wsrep provider library or 'none'
wsrep_provider=/usr/lib/galera/libgalera_smm.so
wsrep_provider={{ service.wsrep_provider }}

wsrep_node_address={{ service.bind.address }}
# Provider specific configuration options

+ 6
- 2
galera/map.jinja Voir le fichier

@@ -3,12 +3,14 @@
'Debian': {
'pkgs': ['mysql-server-wsrep', 'galera', 'rsync', 'python-mysqldb', 'libmysqlclient18', 'psmisc', 'netcat', 'percona-xtrabackup-21', 'socat'],
'service': 'mysql',
'wsrep_provider': '/usr/lib/galera/libgalera_smm.so',
'log_file': '/var/log/mysql.log',
'config': '/etc/mysql/my.cnf',
},
'RedHat': {
'pkgs': ['mariadb-galera-server', 'mariadb', 'MySQL-python', 'rsync'],
'pkgs': ['galera', 'mariadb-galera-server', 'mariadb', 'MySQL-python', 'rsync'],
'service': 'mysqld',
'wsrep_provider': '/usr/lib64/galera/libgalera_smm.so',
'log_file': '/var/log/mariadb/mariadb.log',
'config': '/etc/my.cnf',
},
@@ -18,12 +20,14 @@
'Debian': {
'pkgs': ['mysql-server-wsrep', 'galera', 'rsync', 'python-mysqldb', 'libmysqlclient18', 'psmisc', 'netcat', 'percona-xtrabackup-21', 'socat'],
'service': 'mysql',
'wsrep_provider': '/usr/lib/galera/libgalera_smm.so',
'log_file': '/var/log/mysql.log',
'config': '/etc/mysql/my.cnf',
},
'RedHat': {
'pkgs': ['mariadb-galera-server', 'mariadb', 'MySQL-python', 'rsync'],
'pkgs': ['galera', 'mariadb-galera-server', 'mariadb', 'MySQL-python', 'rsync'],
'service': 'mysqld',
'wsrep_provider': '/usr/lib64/galera/libgalera_smm.so',
'log_file': '/var/log/mariadb/mariadb.log',
'config': '/etc/my.cnf',
},

Chargement…
Annuler
Enregistrer