Comment 2 for bug 982003

Revision history for this message
Jamaludin Ahmad (j-ahmad) wrote :

this is what i currently have. wsrep_sst_auth is mandatory.

--- wsrep_sst_xtrabackup.orig 2012-04-19 05:35:16.666746103 +0700
+++ wsrep_sst_xtrabackup 2012-04-19 05:34:35.142957756 +0700
@@ -48,7 +48,7 @@

 ROLE=$1
 ADDR=$2
-AUTH=$3
+AUTH=(${3//:/ })
 DATA=$4
 CONF=$5

@@ -73,7 +73,7 @@
         sleep 3 # allow time to start nc

- innobackupex --galera-info --tmpdir=$TMPDIR --stream=tar $TMPDIR 2> $DATA/innobackup.backup.log | nc $REMOTEIP $NC_PORT
+ innobackupex --galera-info --user=${AUTH[0]} --password=${AUTH[1]} --tmpdir=$TMPDIR --stream=tar $TMPDIR 2> $DATA/innobackup.backup.log | nc $REMOTEIP $NC_PORT

         if check_pid $XTRABACKUP_PID
         then