Skip to content

Commit

Permalink
Adding PXC cluster test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
rameshvs02 committed May 24, 2018
1 parent 9f9bf1e commit a27f121
Show file tree
Hide file tree
Showing 213 changed files with 22,475 additions and 0 deletions.
549 changes: 549 additions & 0 deletions pxc-tests/percona-xtradb-cluster-tests/longevity/pxc-longevity.sh

Large diffs are not rendered by default.

171 changes: 171 additions & 0 deletions pxc-tests/percona-xtradb-cluster-tests/sst/bootstrap.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
#!/bin/bash

set -e

function usage()
{
cat <<EOF
Usage:
$0 xtrabackup_target [installation_directory]
$0 path_to_server_tarball [installation_directory]
Prepares a server binary directory to be used by run.sh when running XtraBackup
tests.
If the argument is one of the build targets passed to build.sh
(i.e. innodb51 innodb55 innodb56 xtradb51 xtradb55) then the
appropriate Linux tarball is downloaded from a pre-defined location and
unpacked into the specified installation directory ('./server' by default).
Otherwise the argument is assumed to be a path to a server binary tarball.
EOF
}

if [ -z "$1" ]
then
usage
fi

arch="`uname -m`"
if [ "$arch" = "i386" ]
then
arch="i686"
fi

if [ "$arch" = "i686" ]
then
maria_arch_path=x86
else
maria_arch_path=amd64
fi

case "$1" in
innodb51)
url="http://s3.amazonaws.com/percona.com/downloads/community"
tarball="mysql-5.1.49-linux-$arch-glibc23.tar.gz"
;;

innodb55)
url="http://s3.amazonaws.com/percona.com/downloads/community"
tarball="mysql-5.5.16-linux2.6-$arch.tar.gz"
;;

innodb56)
url="http://s3.amazonaws.com/percona.com/downloads/community"
tarball="mysql-5.6.10-linux-glibc2.5-$arch.tar.gz"
;;

xtradb51)
url="http://www.percona.com/redir/downloads/Percona-Server-5.1/Percona-Server-5.1.67-14.4/binary/linux/$arch"
tarball="Percona-Server-5.1.67-rel14.4-511.Linux.$arch.tar.gz"
;;

xtradb55)
url="http://www.percona.com/redir/downloads/Percona-Server-5.5/Percona-Server-5.5.30-30.1/binary/linux/$arch"
tarball="Percona-Server-5.5.30-rel30.1-465.Linux.$arch.tar.gz"
;;

xtradb56)
url="http://www.percona.com/downloads/TESTING/Percona-Server-56/Percona-Server-5.6.10-alpha60.2/release-5.6.10-60.2/318/binary/linux/$arch"
tarball="Percona-Server-5.6.10-alpha60.2-318.Linux.$arch.tar.gz"
;;

galera55)
url="http://www.percona.com/downloads/Percona-XtraDB-Cluster/5.5.24-23.6/binary/linux/$arch"
tarball="Percona-XtraDB-Cluster-5.5.24-23.6.342.Linux.$arch.tar.gz"
#galera=1
;;

mariadb51)
url="ftp://ftp.osuosl.org/pub/mariadb/mariadb-5.1.62/kvm-bintar-hardy-$maria_arch_path"
tarball="mariadb-5.1.62-Linux-$arch.tar.gz"
;;

mariadb52)
url="ftp://ftp.osuosl.org/pub/mariadb/mariadb-5.2.12/kvm-bintar-hardy-$maria_arch_path"
tarball="mariadb-5.2.12-Linux-$arch.tar.gz"
;;

mariadb53)
url="ftp://ftp.osuosl.org/pub/mariadb/mariadb-5.3.9/kvm-bintar-hardy-$maria_arch_path"
tarball="mariadb-5.3.9-Linux-$arch.tar.gz"
;;

mariadb55)
url="ftp://ftp.osuosl.org/pub/mariadb/mariadb-5.5.28/kvm-bintar-hardy-$maria_arch_path"
tarball="mariadb-5.5.28-linux-$arch.tar.gz"
;;

mariadb100)
url="ftp://ftp.osuosl.org/pub/mariadb/mariadb-10.0.1/kvm-bintar-hardy-$maria_arch_path"
tarball="mariadb-10.0.1-linux-$arch.tar.gz"
;;

*)
if ! test -r "$1"
then
echo "$1 does not exist"
exit 1
fi
tarball="$1"
;;
esac

if test -n "$2"
then
destdir="$2"
else
destdir="./server"
fi

if test -d "$destdir"
then
rm -rf "$destdir"
fi
mkdir "$destdir"

if test ! $galera
then
if test -n "$url"
then
echo "Downloading $tarball"
wget -qc "$url/$tarball"
fi

echo "Unpacking $tarball into $destdir"
tar zxf $tarball -C $destdir
sourcedir="$destdir/`ls $destdir`"
if test -n "$sourcedir"
then
mv $sourcedir/* $destdir
rm -rf $sourcedir
fi
else
if test ! -d galerabuild
then
bzr init-repo galerabuild
fi
cd galerabuild

rm -rf percona-xtradb-cluster
bzr branch lp:percona-xtradb-cluster percona-xtradb-cluster
rm -rf galera2x
bzr branch lp:galera/2.x galera2x
cd percona-xtradb-cluster
cmake -DENABLE_DTRACE=0 -DWITH_WSREP:BOOL="1" -DCMAKE_INSTALL_PREFIX="../../server"

if test -f /proc/cpuinfo
then
MAKE_J=`grep '^processor' /proc/cpuinfo | wc -l`
else
MAKE_J=4
fi

make -j$MAKE_J
make install

cd ../galera2x
./scripts/build.sh
cp libgalera_smm.so ../../server/
cd ..
fi
15 changes: 15 additions & 0 deletions pxc-tests/percona-xtradb-cluster-tests/sst/certs/node1.crt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
-----BEGIN CERTIFICATE-----
MIICWDCCAcGgAwIBAgIJAIqm36B+boH+MA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV
BAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBX
aWRnaXRzIFB0eSBMdGQwHhcNMTMwNzIzMjAyMzU4WhcNMjMwNzI0MjAyMzU4WjBF
MQswCQYDVQQGEwJBVTETMBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50
ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKB
gQDgmvzuCZqd7eFXDIrRfz+Iq4wt0y/xWcZAegibWhTA3S4slu5d4Z6ByWBR7leO
dt9+TOfwmgfIWHI1uOL1qynypD0NyAVAGFyBwfejY1o2JtjtVgvV5LFk4pwloJmk
t126YMCExacUTteSJmPrMS5k1v+Uc9SFNBrvD6CqQQq1RQIDAQABo1AwTjAdBgNV
HQ4EFgQUUrol5C6tuEMUBqWKQtd5kG1LKrQwHwYDVR0jBBgwFoAUUrol5C6tuEMU
BqWKQtd5kG1LKrQwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQB7HMD3
UtV+u4CuHF3J4PdcoKBSRVsZe23cU3mC/Q/iE//v6dHwCxCt4565z4W5Ooig+yeV
mGOLUvSoBNUqUiQcghxyfmZG4NRtkuK2Yhi++1fwvLuwPJyW9oa/ZfnwmZtWKees
SDqgvDV0ayYZqT1NN5ouTNW9ptxhPHH7AYRspg==
-----END CERTIFICATE-----
15 changes: 15 additions & 0 deletions pxc-tests/percona-xtradb-cluster-tests/sst/certs/node1.key
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
-----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQDgmvzuCZqd7eFXDIrRfz+Iq4wt0y/xWcZAegibWhTA3S4slu5d
4Z6ByWBR7leOdt9+TOfwmgfIWHI1uOL1qynypD0NyAVAGFyBwfejY1o2JtjtVgvV
5LFk4pwloJmkt126YMCExacUTteSJmPrMS5k1v+Uc9SFNBrvD6CqQQq1RQIDAQAB
AoGAfy9koIpxspJ8suVYSm9rE8JIm75l/J5ghCxWaVomPFxDBF7nVeQn9MiKsXps
vDCWOBfmkzk1xP5IliE+6+xj0IGHg5wEoS2wos1syGRgCamUHo8iS+f71vcyzSTu
kE/KY2DlcQKnw2u7NMGXdDr7KQnWgWhCj3PEekyNH8QPNMECQQD//oVW2uAKXqho
0vSesLkO3AnQWjE0sjL4nGZo0gz+lz7vJNgFuELdsrZEgsiPpS7AWJUoDSjthZcE
Ge5TrCSRAkEA4JxJKTVgY/VjbfcJ1KDkqM3EGyGS2MRhjYz1R/cEKpPQRrPP9SW4
d4xQq7FDSMDNztvXxVNgLYeNzXzXAGGPdQJBAO9mrnoYfNcVyPcm+b+CU75yxvbD
siquz/4x/Y/fiGl7Nk7dLOzEcjv0ioItsLStbLhS30Kyc+kVOrKKMZisbxECQG03
MU/rV2pjeKyQ0ePlNCpsm23B3oCuxOyqXN5YW1tEsqKeboE6jT78KIHD2P64WZq7
RWj6yKp63lXL3VOfHL0CQB5nlCDRw2nQVvOCcvblLpEQN0lq2QosZLcS+KqaWuee
KA63Z9xET6Qos7TniWM1l+n0/KAtBf09fx6PweLCphc=
-----END RSA PRIVATE KEY-----
30 changes: 30 additions & 0 deletions pxc-tests/percona-xtradb-cluster-tests/sst/certs/node1.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
-----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQDgmvzuCZqd7eFXDIrRfz+Iq4wt0y/xWcZAegibWhTA3S4slu5d
4Z6ByWBR7leOdt9+TOfwmgfIWHI1uOL1qynypD0NyAVAGFyBwfejY1o2JtjtVgvV
5LFk4pwloJmkt126YMCExacUTteSJmPrMS5k1v+Uc9SFNBrvD6CqQQq1RQIDAQAB
AoGAfy9koIpxspJ8suVYSm9rE8JIm75l/J5ghCxWaVomPFxDBF7nVeQn9MiKsXps
vDCWOBfmkzk1xP5IliE+6+xj0IGHg5wEoS2wos1syGRgCamUHo8iS+f71vcyzSTu
kE/KY2DlcQKnw2u7NMGXdDr7KQnWgWhCj3PEekyNH8QPNMECQQD//oVW2uAKXqho
0vSesLkO3AnQWjE0sjL4nGZo0gz+lz7vJNgFuELdsrZEgsiPpS7AWJUoDSjthZcE
Ge5TrCSRAkEA4JxJKTVgY/VjbfcJ1KDkqM3EGyGS2MRhjYz1R/cEKpPQRrPP9SW4
d4xQq7FDSMDNztvXxVNgLYeNzXzXAGGPdQJBAO9mrnoYfNcVyPcm+b+CU75yxvbD
siquz/4x/Y/fiGl7Nk7dLOzEcjv0ioItsLStbLhS30Kyc+kVOrKKMZisbxECQG03
MU/rV2pjeKyQ0ePlNCpsm23B3oCuxOyqXN5YW1tEsqKeboE6jT78KIHD2P64WZq7
RWj6yKp63lXL3VOfHL0CQB5nlCDRw2nQVvOCcvblLpEQN0lq2QosZLcS+KqaWuee
KA63Z9xET6Qos7TniWM1l+n0/KAtBf09fx6PweLCphc=
-----END RSA PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
MIICWDCCAcGgAwIBAgIJAIqm36B+boH+MA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV
BAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBX
aWRnaXRzIFB0eSBMdGQwHhcNMTMwNzIzMjAyMzU4WhcNMjMwNzI0MjAyMzU4WjBF
MQswCQYDVQQGEwJBVTETMBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50
ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKB
gQDgmvzuCZqd7eFXDIrRfz+Iq4wt0y/xWcZAegibWhTA3S4slu5d4Z6ByWBR7leO
dt9+TOfwmgfIWHI1uOL1qynypD0NyAVAGFyBwfejY1o2JtjtVgvV5LFk4pwloJmk
t126YMCExacUTteSJmPrMS5k1v+Uc9SFNBrvD6CqQQq1RQIDAQABo1AwTjAdBgNV
HQ4EFgQUUrol5C6tuEMUBqWKQtd5kG1LKrQwHwYDVR0jBBgwFoAUUrol5C6tuEMU
BqWKQtd5kG1LKrQwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQB7HMD3
UtV+u4CuHF3J4PdcoKBSRVsZe23cU3mC/Q/iE//v6dHwCxCt4565z4W5Ooig+yeV
mGOLUvSoBNUqUiQcghxyfmZG4NRtkuK2Yhi++1fwvLuwPJyW9oa/ZfnwmZtWKees
SDqgvDV0ayYZqT1NN5ouTNW9ptxhPHH7AYRspg==
-----END CERTIFICATE-----
15 changes: 15 additions & 0 deletions pxc-tests/percona-xtradb-cluster-tests/sst/certs/node2.crt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
-----BEGIN CERTIFICATE-----
MIICWDCCAcGgAwIBAgIJANQbs/JLhvHnMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV
BAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBX
aWRnaXRzIFB0eSBMdGQwHhcNMTMwNzIzMjAyNDIzWhcNMjMwNzI0MjAyNDIzWjBF
MQswCQYDVQQGEwJBVTETMBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50
ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKB
gQDh4GZt7cQWJflsojNUtbX52nfAHrn3nwURHFY/wDy4J9Q5YyAPNRKQgRouZeFa
z1ELF/++D8v/z+bXM4uLavIgpTSHB815jCJD8oRO5GlcC3PJjwp053e2l86WSe0e
soytwFTW4FtsuvDf4hxNm5Y5YjtkZEHGjcR5oGtdENoVOQIDAQABo1AwTjAdBgNV
HQ4EFgQU1wOcpDqtVgXZHqp8b3bbMTanzLUwHwYDVR0jBBgwFoAU1wOcpDqtVgXZ
Hqp8b3bbMTanzLUwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQCZtG/0
dCGzZymA3KsouYCJtyQyIxEcRFFCiDrcMt8qDAMW5fEKFJV1HlBZ/vzi99HLgOy7
dMpuQ0WYmkCqviz1gZIrQNJTDhjSgghA/iWgVfJUhx+4zxQg4A4st2gcZQ7r1H6E
koVvsIJHYp4qQ3xwTF6WaMbQC5b8BAHsWiql6g==
-----END CERTIFICATE-----
15 changes: 15 additions & 0 deletions pxc-tests/percona-xtradb-cluster-tests/sst/certs/node2.key
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
-----BEGIN RSA PRIVATE KEY-----
MIICXgIBAAKBgQDh4GZt7cQWJflsojNUtbX52nfAHrn3nwURHFY/wDy4J9Q5YyAP
NRKQgRouZeFaz1ELF/++D8v/z+bXM4uLavIgpTSHB815jCJD8oRO5GlcC3PJjwp0
53e2l86WSe0esoytwFTW4FtsuvDf4hxNm5Y5YjtkZEHGjcR5oGtdENoVOQIDAQAB
AoGBAK0aXUVnzzuuFI3VbINB0tlNPTLGGX0UqDxpvAuVVrNHCtSEDAC7iqOl3Rur
xl3ivdhDpyHQV2WPvfg0r3/EERPU1potoxRMMQKcEc+zyMVfRPrHoCf2n82O203h
gV1uHlE9/kzx2hqgHKxyptAa1z1hr7Eal2neEVS/UpWUNPjlAkEA+V0EgIOIz1of
yT5GQepixEOnwJIdiiT4KcnjLh4LuAbf2ZQHsdpssi9RC7Dfy1rjLw1AztFjHyAv
tTq8iaiSwwJBAOfjXEdlVROrfJB01L5dRBzqkSyc+Io22MIA3OaB9LW0Ete5aJ90
X01kQNxtgTRTfuPhNxa5L/rgUVtqV3PbgFMCQQDf465ZHMBHO+nyLCG0qRdIlF4X
vpkbIZpXGtcI3x0ye6mclxZZj32sdmNUFdi5or77zfB0QPe4SJPNKhGBn4M1AkEA
pIwwyjT81xVkMfnFkUQLdl15IOhOcX2T+K62Ehf7twiOKmhV9niUvA08/W3zNldd
foUtG0HT6zlMYgsm/X6wIwJAcRaVWQByfUllBZo20lsrj4j7PXTh4m6MGGqlXYbh
H6V69wiAP1paaAk0mtPDnWMwAkqA9xWDRr2tlFlJI3zY4A==
-----END RSA PRIVATE KEY-----
30 changes: 30 additions & 0 deletions pxc-tests/percona-xtradb-cluster-tests/sst/certs/node2.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
-----BEGIN RSA PRIVATE KEY-----
MIICXgIBAAKBgQDh4GZt7cQWJflsojNUtbX52nfAHrn3nwURHFY/wDy4J9Q5YyAP
NRKQgRouZeFaz1ELF/++D8v/z+bXM4uLavIgpTSHB815jCJD8oRO5GlcC3PJjwp0
53e2l86WSe0esoytwFTW4FtsuvDf4hxNm5Y5YjtkZEHGjcR5oGtdENoVOQIDAQAB
AoGBAK0aXUVnzzuuFI3VbINB0tlNPTLGGX0UqDxpvAuVVrNHCtSEDAC7iqOl3Rur
xl3ivdhDpyHQV2WPvfg0r3/EERPU1potoxRMMQKcEc+zyMVfRPrHoCf2n82O203h
gV1uHlE9/kzx2hqgHKxyptAa1z1hr7Eal2neEVS/UpWUNPjlAkEA+V0EgIOIz1of
yT5GQepixEOnwJIdiiT4KcnjLh4LuAbf2ZQHsdpssi9RC7Dfy1rjLw1AztFjHyAv
tTq8iaiSwwJBAOfjXEdlVROrfJB01L5dRBzqkSyc+Io22MIA3OaB9LW0Ete5aJ90
X01kQNxtgTRTfuPhNxa5L/rgUVtqV3PbgFMCQQDf465ZHMBHO+nyLCG0qRdIlF4X
vpkbIZpXGtcI3x0ye6mclxZZj32sdmNUFdi5or77zfB0QPe4SJPNKhGBn4M1AkEA
pIwwyjT81xVkMfnFkUQLdl15IOhOcX2T+K62Ehf7twiOKmhV9niUvA08/W3zNldd
foUtG0HT6zlMYgsm/X6wIwJAcRaVWQByfUllBZo20lsrj4j7PXTh4m6MGGqlXYbh
H6V69wiAP1paaAk0mtPDnWMwAkqA9xWDRr2tlFlJI3zY4A==
-----END RSA PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
MIICWDCCAcGgAwIBAgIJANQbs/JLhvHnMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV
BAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBX
aWRnaXRzIFB0eSBMdGQwHhcNMTMwNzIzMjAyNDIzWhcNMjMwNzI0MjAyNDIzWjBF
MQswCQYDVQQGEwJBVTETMBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50
ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKB
gQDh4GZt7cQWJflsojNUtbX52nfAHrn3nwURHFY/wDy4J9Q5YyAPNRKQgRouZeFa
z1ELF/++D8v/z+bXM4uLavIgpTSHB815jCJD8oRO5GlcC3PJjwp053e2l86WSe0e
soytwFTW4FtsuvDf4hxNm5Y5YjtkZEHGjcR5oGtdENoVOQIDAQABo1AwTjAdBgNV
HQ4EFgQU1wOcpDqtVgXZHqp8b3bbMTanzLUwHwYDVR0jBBgwFoAU1wOcpDqtVgXZ
Hqp8b3bbMTanzLUwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQCZtG/0
dCGzZymA3KsouYCJtyQyIxEcRFFCiDrcMt8qDAMW5fEKFJV1HlBZ/vzi99HLgOy7
dMpuQ0WYmkCqviz1gZIrQNJTDhjSgghA/iWgVfJUhx+4zxQg4A4st2gcZQ7r1H6E
koVvsIJHYp4qQ3xwTF6WaMbQC5b8BAHsWiql6g==
-----END CERTIFICATE-----
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# compress+parallel+compress-stream+sst-special-dirs+encrypt2+samecrt

[mysqld]
innodb_data_home_dir=/tmp/var-test/data1
innodb_log_group_home_dir=/tmp/var-test/log1

[xtrabackup]
compress
parallel=4
compress-threads=4


[sst]
compressor="gzip"
streamfmt=xbstream
sst-special-dirs=1
encrypt=2
tca=/tmp/certs/node1.crt
tcert=/tmp/certs/node1.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# compress+parallel+compress-stream+sst-special-dirs+encrypt2+samecrt

[mysqld]
innodb_data_home_dir=/tmp/var-test/data2
innodb_log_group_home_dir=/tmp/var-test/log2

[xtrabackup]
compress
parallel=4
compress-threads=4


[sst]
decompressor="gzip -dc"
streamfmt=xbstream
encrypt=2
sst-special-dirs=1
tca=/tmp/certs/node1.crt
tcert=/tmp/certs/node1.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# compress+parallel+compress-stream+sst-special-dirs+encrypt3

[mysqld]
innodb_data_home_dir=/tmp/var-test/data1
innodb_log_group_home_dir=/tmp/var-test/log1

[xtrabackup]
compress
parallel=4
compress-threads=4
compact


[sst]
compressor="gzip"
streamfmt=xbstream
encrypt=3
tkey=/tmp/certs/node1.key
tcert=/tmp/certs/node1.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# compress+parallel+compress-stream+sst-special-dirs+encrypt3

[mysqld]
innodb_data_home_dir=/tmp/var-test/data2
innodb_log_group_home_dir=/tmp/var-test/log2

[xtrabackup]
compress
parallel=4
compress-threads=4
compact


[sst]
decompressor="gzip -dc"
streamfmt=xbstream
encrypt=3
tkey=/tmp/certs/node1.key
tcert=/tmp/certs/node1.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# compress+compact+xbstream+nc+encrypt1+threads

[mysqld]
innodb_data_home_dir=/tmp/var-test/data1
innodb_log_group_home_dir=/tmp/var-test/log1

[xtrabackup]
compress
parallel=4
compress-threads=4
encrypt-threads=4
encrypt=AES256
encrypt-key=6F3AD9F428143F133FD7D50D77D91EA4
encrypt-chunk-size=16777216


[sst]
compressor="gzip"
streamfmt=xbstream
encrypt=1
inno-backup-opts=" --kill-long-query-type=select --parallel=8 --rebuild-threads=4 "
Loading

0 comments on commit a27f121

Please sign in to comment.