wsrep_sst_xtrabackup script was added in "wsrep development
repository" quite recently. It is not yet in any of Galera Cluster
builds, but it will be present in next build. If you can make source
builds, you can get it right away.
xtrabackup script has been in the Percona XtraDB Cluster releases for
quite some time.
-seppo
Quoting Shalom Levytam <
slev...@gmail.com>:
> Hello,
>
> I have recently begun the setup of a Galera cluster and wanted to use
> xtrabackup for its non-blocking sync feature.
>
> Galera was installed using:
> - MySQL-server-5.5.23_wsrep_23.6-1.rhel5.x86_64.rpm
> - galera-23.2.2rc1-1.rhel5.x86_64.rpm
> - MySQL-5.5/MySQL-shared-compat-5.5.23-1.rhel5.x86_64.rpm
> - MySQL-5.5/MySQL-client-5.5.23-1.rhel5.x86_64.rpm
>
> Xtrabackup was installed using:
> - wget
>
http://www.percona.com/redir/downloads/percona-release/percona-release-0.0-1.x86_64.rpm
> - rpm -Uvh percona-release-0.0-1.x86_64.rpm
> - yum install xtrabackup --nogpgcheck
>
> When attempting to join a second node I get the following:
>
> 121019 5:56:11 [Warning] WSREP: Gap in state sequence. Need state transfer.
> 121019 5:56:13 [Note] WSREP: Running: 'wsrep_sst_xtrabackup 'joiner'
> '192.168.168.169' 'root:password' '/var/lib/mysql/' '/etc/mysql/wsrep.cnf'
> '11824' 2>sst.err'
> 121019 5:56:13 [ERROR] WSREP: Failed to read 'ready <addr>' from:
> wsrep_sst_xtrabackup 'joiner' '192.168.168.169' 'root:password'
> '/var/lib/mysql/' '/etc/mysql/wsrep.cnf' '11824' 2>sst.err
> Read: '(null)'
> 121019 5:56:13 [ERROR] WSREP: Process completed with error:
> wsrep_sst_xtrabackup 'joiner' '192.168.168.169' 'root:password'
> '/var/lib/mysql/' '/etc/mysql/wsrep.cnf' '11824' 2>sst.err: 2 (No such file
> or directory)
> 121019 5:56:13 [ERROR] WSREP: Failed to prepare for 'xtrabackup' SST.
> Unrecoverable.
> 121019 5:56:13 [ERROR] Aborting
>
> This is the message in sst.err:
>
> sh: wsrep_sst_xtrabackup: command not found
>
> If anyone could assist, I would greatly appreciate it...
>
> slevytam
>
> --