Percona Cluster

Channel Revision Published Runs on
latest/edge 310 31 Jan 2023
Ubuntu 18.04
5.7/stable 302 04 Sep 2023
Ubuntu 18.04 Ubuntu 16.04
5.7/edge 312 27 Mar 2023
Ubuntu 18.04
juju deploy percona-cluster --channel 5.7/stable
Show information

Platform:

Ubuntu
18.04 16.04
  • backup

    Full database backup

    Params
    • basedir string

      The base directory for backups

    • compress boolean

      Whether or not to compress the backup

    • incremental boolean

      Make an incremental database backup

  • bootstrap-pxc

    Bootstrap this unit of Percona. WARNING This action will bootstrap this unit of Percona cluster. This should only occur in a recovery scenario. Make sure this unit has the highest sequence number in grastate.dat or data loss may occur. See upstream Percona documentation for context https://www.percona.com/blog/2014/09/01/galera-replication-how-to-recover-a-pxc-cluster/

  • complete-cluster-series-upgrade

    Perform final operations post series upgrade. Inform all nodes in the cluster the upgrade is complete cluster wide. Update configuration with all peers for wsrep replication. This action should be performed on the current leader. Note the leader may have changed during the series upgrade process.

  • generate-nagios-password

    Re-generate the password for the nagios user. This action can only be run on the leader unit, which sets a new password and then the leader-settings-changed hook will be activate.

  • mysqldump

    MySQL dump of databases. Action will return mysqldump-file location of the requested backup in the results. If the databases parameter is unset all databases will be dumped. If the databases parameter is set only the databases specified will be dumped. Note it may be necessary to use the set-pxc-strict-mode action first to set either PERMISSIVE or MASTER to allow locking of tables for mysqldump to complete successfully. See https://www.percona.com/doc/percona-xtradb-cluster/LATEST/features/pxc-strict-mode.html for more detail.

    Params
    • basedir string

      The base directory for backups

    • databases

      Comma delimited database names to dump. If left unset, all databases will be dumped.

  • notify-bootstrapped

  • pause

    Pause the MySQL service.

  • resume

    Resume the MySQL service.

  • set-pxc-strict-mode

    Set PXC strict mode.

    Params
    • mode string

      PXC strict mode. Valid options are DISALBED, PERMISSIVE, ENFORCING or MASTER See https://www.percona.com/doc/percona-xtradb-cluster/LATEST/features/pxc-strict-mode.html for more detail.