Emergency

wsrep IST/SST : how to enable xbstream with encryption?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • wsrep IST/SST : how to enable xbstream with encryption?

    We hacked SSL encryption into wsrep_sst_xtrabackup due to its lack of encryption natively. After upgrading today, we've noticed support for xbstream. However our cluster (after upgrading) doesn't use xbstream automatically hence we're back where we started: unencrypted IST/SST traffic. On a WAN cluster that's not a good thing. Anybody can point me in the right direction on how to force Percona to use xbstream (more important, encryption) instead of tar?

  • #2
    Encryption can be enabled in SST by adding PXB encryption options to my.cnf under [xtrabackup]. There is currently a bug with PXB encryption - https://bugs.launchpad.net/percona-x...p/+bug/1190610 - after that is fixed, you can use it with PXC unchanged. In the development version of wsrep_sst_xtrabackup I have added openssl based encryption (which is independent on PXB). Take a look at https://bazaar.launchpad.net/~percon..._xtrabackup.sh for details.

    Edit: The linked script is incorrect. Here is the right one https://bazaar.launchpad.net/~raghav..._xtrabackup.sh
    Last edited by Raghavendra Prabhu; 07-04-2013, 06:57 AM.
    -- Raghavendra Prabhu | [URL]http://about.me/raghavendra.prabhu[/URL] Product Lead | Percona XtraDB Cluster (PXC) Percona LLC. - [URL]http://www.percona.com[/URL] / Blog: [URL]http://www.mysqlperformanceblog.com/[/URL] Contact: [URL]http://wnohang.net/contact[/URL] | GPG: 0xD72BE977

    Comment

    Working...
    X