charm-percona-cluster/actions.yaml

35 lines
1.3 KiB
YAML

pause:
description: Pause the MySQL service.
resume:
description: Resume the MySQL service.
backup:
description: Full database backup
params:
basedir:
type: string
default: "/opt/backups/mysql"
description: The base directory for backups
compress:
type: boolean
default: false
description: Whether or not to compress the backup
incremental:
type: boolean
default: false
description: Make an incremental database backup
complete-cluster-series-upgrade:
description: |
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.
bootstrap-pxc:
description: |
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 grstate.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/