Hi Raghavendra,
Thanks for the reply but I'm still unable to get it working
First I tried using 5.5.33, I grabbed wsrep_sst_common.sh and wsrep_sst_xtrabackup.sh. Then I installed PV and SOCAT packages.
However it didn't work , I kept getting
130815 15:40:47 [ERROR] WSREP: Process completed with error: wsrep_sst_xtrabackup --role 'donor'
--datadir '/var/lib/mysql/' --defaults-file '/etc/my.cnf' --gtid '50c9d570-ff37-11e2-0800-3aecc77d219c:13426': 22 (Invalid argument)
I'm guess MariaDB didn't call xtrabackup_sst with the correct arguments
Then I tried 5.5.31, replacing wsrep_sst_common.sh and wsrep_sst_xtrabackup.sh.
That worked when I had no special settings in my.cnf.
When I added the following to my.cnf :
[xtrabackup]
parallel=8
[sst]
streamfmt=xbstream
transferfmt=socat
sockopt=,nodelay,sndbuf=1048576
I got this error
130816 11:30:13 [Note] WSREP: Requesting state transfer: success, donor: 0
^Gxbstream: Can't create/write to file './ibdata1' (Errcode: 17)
xbstream: failed to create file.
WSREP_SST: [ERROR] Xbstream failed (20130816 11:30:14.149)
WSREP_SST: [ERROR] Data directory /var/lib/mysql/ needs to be empty for SST: lp:1193240 Manual intervention required in that case (20130816 11:30:14.152)
WSREP_SST: [ERROR] Cleanup after exit with status:32 (20130816 11:30:14.154)
WSREP_SST: [ERROR] Killing nc pid (20130816 11:30:14.161)
WSREP_SST: [INFO] Removing the sst_in_progress file (20130816 11:30:14.162)
130816 11:30:14 [ERROR] WSREP: Process completed with error: wsrep_sst_xtrabackup --role 'joiner' --address '10.97.130.106' --auth 'xx:xx' --datadir '/var/lib/mysql/' --defaults-file '/etc/my.cnf' --parent '3341': 32 (Broken pipe)
I tried rm -rf /var/lib/mysql/* , and then starting mysql but got the same error.