---
title: Charmhub | Deploy Percona Cluster using Charmhub - The Open Operator Collection
description: Deploy the latest version of Percona Cluster on any cloud.
url: https://charmhub.io/percona-cluster/actions
---

# Percona Cluster

[OpenStack Charmers](https://charmhub.io/publisher/openstack-charmers "View all packages from OpenStack Charmers")

* [OpenStack Charmers](https://charmhub.io/publisher/openstack-charmers "View all packages from OpenStack Charmers")
* [Databases](https://charmhub.io/?filter=databases)

Platform:

20.04

18.04

16.04

14.04

12.04

5.7/stable 302

```
juju deploy percona-cluster --channel 5.7/stable
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

* [backup](https://charmhub.io/percona-cluster/actions#backup)
* [bootstrap-pxc](https://charmhub.io/percona-cluster/actions#bootstrap-pxc)
* [complete-cluster-series-upgrade](https://charmhub.io/percona-cluster/actions#complete-cluster-series-upgrade)
* [generate-nagios-password](https://charmhub.io/percona-cluster/actions#generate-nagios-password)
* [mysqldump](https://charmhub.io/percona-cluster/actions#mysqldump)
* [notify-bootstrapped](https://charmhub.io/percona-cluster/actions#notify-bootstrapped)
* [pause](https://charmhub.io/percona-cluster/actions#pause)
* [resume](https://charmhub.io/percona-cluster/actions#resume)
* [set-pxc-strict-mode](https://charmhub.io/percona-cluster/actions#set-pxc-strict-mode)

[Learn about actions >](https://juju.is/docs/juju/action)

* 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.
