Start Percona Link for MongoDB¶
Start Percona Link for MongoDB.
We recommend to use the packaged service scripts to run plm
.
$ sudo systemctl start plm
Check the status with this command:
$ sudo systemctl status plm
You can start PLM manually. This option is the way you start Percona Link for MongoDB if you installed it from source code
Run Percona Link for MongoDB with the following command if you haven’t defined MongoDB connection string URI before:
$ nohup plm --source <source-mongodb-uri> --target <target-mongodb-uri> --no-color > percona-link-mongodb.log 2>&1 &
Alternatively, you can use environment variables:
$ export SOURCE_URI=<source-mongodb-uri>
$ export TARGET_URI=<target-mongodb-uri>
$ nohup plm --no-color > percona-link-mongodb.log 2>&1 &
See Percona Link for MongoDB startup configuration for all available options.
How to see Percona Link for MongoDB logs¶
With the packaged systemd
service, the log output to stdout
is captured by
systemd’s default redirection to systemd-journald
. You can view it with this
command:
$ sudo journalctl -u plm.service
See man journalctl
for useful options such as --lines
, --follow
, etc.
If you started plm
manually, see the file you redirected stdout
and stderr
to.
Next steps¶
Congratulations! you have successfully installed and connected PLM to your source and target MongoDB. Now you have it up and running and you are ready to use it.
Created: September 8, 2025