DC/OS Percona XtraDB Cluster is available in the DC/OS Universe and can be installed by using either the web interface or the DC/OS CLI.
This section will take you through a minimal install of the Percona XtraDB Cluster Service on a cluster.
- You must have DC/OS installed on your cluster.
- Your cluster must have at least 3 private nodes.
- If you are using Enterprise DC/OS, you may need to provision a service account before installing DC/OS Percona XtraDB Cluster Service. Only someone with
superuserpermission can create the service account.
strictsecurity mode requires a service account.
permissivesecurity mode a service account is optional.
disabledsecurity mode does not require a service account.
Installing from the CLI
If you are using DC/OS Open Source, install percona-pxc-mysql on the cluster with the following command from the DC/OS CLI.
dcos package install --yes percona-pxc-mysql
If you are using Enterprise DC/OS, you may need to follow additional instructions. See the Install section for more information.
Installing from the web interface
Alternatively, you can install Percona XtraDB Cluster from the DC/OS web interface. The instructions are here.
install command is triggered, the service will deploy with a default configuration. You can monitor its deployment via the Services tab of the DC/OS web interface.