Install Percona ClusterSync for MongoDB from Percona repositories¶
To install the software from Percona repositories means to subscribe to them. Percona provides the percona-release repository management tool. It automatically enables the required repository so that you can install and update both Percona ClusterSync for MongoDB packages and required dependencies smoothly.
Before you start¶
Check the following resources:
Data migration is a resource-intensive task. Therefore, we recommend installing PCSM on the instance closest to the target to reduce the network lag as much as possible.s
Procedure¶
Warning: Run the following commands as root or via the sudo command.
-
Install
percona-release:-
Install the
curldownload utility if it’s not installed already:$ sudo apt update $ sudo apt install curl -
Download the
percona-releaserepository package:$ curl -O https://repo.percona.com/apt/percona-release_latest.generic_all.deb -
Install the downloaded repository package and its dependencies using
apt:$ sudo apt install gnupg2 lsb-release ./percona-release_latest.generic_all.deb -
Refresh the local cache to update the package information:
$ sudo apt update
-
-
Enable the repository
$ sudo percona-release enable pcsm release -
Install the package:
$ sudo apt install percona-clustersync-mongodb
-
Install
percona-release:Run the following command as the
rootuser or withsudoprivileges:$ sudo yum install -y https://repo.percona.com/yum/percona-release-latest.noarch.rpm -
Enable the repository
$ sudo percona-release enable pcsm release -
Install the package:
$ sudo yum install percona-clustersync-mongodb
-
Install
percona-release:Run the following command as the
rootuser or withsudoprivileges:$ sudo yum install -y https://repo.percona.com/yum/percona-release-latest.noarch.rpm -
Enable the repository
$ sudo percona-release enable pcsm release -
Install the package:
$ sudo yum install percona-clustersync-mongodb
Congratulations! You have successfully installed Percona ClusterSync for MongoDB. Now you must connect it to source and target MongoDB deployments.
Next steps¶
Created: January 13, 2026