Minor upgrade of Percona Server for MongoDB¶
If you are using data-at-rest-encryption with KMIP server, check the upgrade considerations
To upgrade Percona Server for MongoDB to the latest version, follow these steps:
-
Stop the
mongod
service:$ sudo systemctl stop mongod
-
Install the latest version packages. Use the command relevant to your operating system.
-
Start the
mongod
service:$ sudo systemctl start mongod
To upgrade a replica set or a sharded cluster, use the rolling restart method. It allows you to perform the upgrade with minimum downtime. You upgrade the nodes one by one, while the whole cluster / replica set remains operational.