Upgrading from Percona Server for MongoDB 3.2 to 3.4¶
To upgrade Percona Server for MongoDB to version 3.4, you must be running version 3.2. Upgrades from earlier versions are not supported.
For information about changes in Percona Server for MongoDB 3.4 compared to 3.2, see Changed in Percona Server for MongoDB 3.4.
Before upgrading your production Percona Server for MongoDB deployments, test all your applications in a testing environment to make sure they are compatible with the new version.
The general procedure for performing an in-place upgrade (where your existing data and configuration files are preserved) includes the following steps:
- Stop the
mongod
instance. - Remove old packages.
- Install new packages.
- Start the
mongod
instance.
It is recommended to upgrade Percona Server for MongoDB from official Percona repositories using the corresponding package manager for your system. For more information, see Installing Percona Server for MongoDB.
Warning
Perform a full backup of your data and configuration files before upgrading.
Upgrading on Debian or Ubuntu¶
Stop the
mongod
instance:sudo service mongod stop
Remove Percona Server for MongoDB 3.2 packages:
sudo apt-get remove percona-server-mongodb-32*
Install Percona Server for MongoDB 3.4 packages:
sudo apt-get install percona-server-mongodb-34
Start the
mongod
instance:sudo service mongod start
For more information, see Installing Percona Server for MongoDB on Debian and Ubuntu.
Upgrading on RHEL and CentOS¶
Stop the
mongod
instance:sudo service mongod stop
Remove Percona Server for MongoDB 3.2 packages:
sudo yum remove Percona-Server-MongoDB-32*
Install Percona Server for MongoDB 3.4 packages:
sudo yum install Percona-Server-MongoDB-34
Start the
mongod
instance:sudo service mongod start
For more information, see Installing Percona Server for MongoDB on Red Hat Enterprise Linux and CentOS.
Contact Us
For free technical help, visit the Percona Community Forum.To report bugs or submit feature requests, open a JIRA ticket.
For paid support and managed or professional services, contact Percona Sales.