Sfoglia il codice sorgente

Fix wsrep_provider for redhat

tags/1.0
Filip Pytloun 8 anni fa
parent
commit
a3567b8faa
3 ha cambiato i file con 8 aggiunte e 4 eliminazioni
  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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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',
},

Loading…
Annulla
Salva