Upgrades

Upgrading Mifos

Guide on how to upgrade Mifos to a new version.

The goal of this document is to serve as a general guideline for the steps to be followed when upgrading a customer to a new version of Mifos.

Preparation Before Upgrade

Before upgrading to a new version, collect the following information about the existing environment:

  1. Review version-specific upgrade instructions.
  2. Screen shot of the System Info page. This includes Mifos revision, DB revision, etc.
  3. Note server's environment usage - disk space available, memory available, CPU usage when current Mifos deployment is running.
  4. Note environment settings for Java including JAVA_HOME and JAVA_OPTS.
  5. Review the Mifos install guide to determine if the upgrade will require updates to supporting tools such as MySQL, Java, and BIRT. 
  6. Determine if upgrade is going to increment the Database revision. This will impact the rollback procedure. Need to document roll back procedure for both cases - DB version the same revision, and DB version triggers a DB upgrade. For documentation on manual MySQL database upgrades, please visit our wiki. 
  7. Backup BIRT reports
  8. Backup MySQL data

Verification and Validation in Test Environment

  1. Install any necessary updates to supporting tools.
  2. Download Mifos upgrade and deploy on a test server that has a copy of the latest production data.
  3. Check system info page to confirm newer war has been deployed on test server.
  4. Monitor batch job processes on test server.
  5. Execute selected User Acceptance Tests to ensure functionality is working.

Deploy in Production

  1. Schedule production deployment with users.
  2. Stop tomcat
  3. Backup MySQL data
  4. Install any necessary updates to supporting tools.
  5. Move existing mifos.war file from $CATALINA_HOME/webapps (Mifos 1.6-2.1) or $JETTY_HOME/webapps (Mifos 2.2-2.3) to safe backup location.
  6. Deploy new war file to $CATALINA_HOME/webapps (Mifos 1.6-2.1) or $JETTY_HOME/webapps (Mifos 2.2-2.3).
  7. Delete $CATALINA_HOME/webapps/mifos (Mifos 1.6-2.1).
  8. Delete $CATALINA_HOME/work/Catalina/localhost/mifos (Mifos 1.6-2.1).
  9. Start Tomcat (Mifos 1.6-2.1) or Jetty (Mifos 2.2-2.5).
  10. Check system info page to confirm newer war has been deployed on production server.
  11. Restore BIRT reports that might have been removed during deployment of new war file.
  12. Monitor batch job processes on production server.
  13. Execute selected User Acceptance Tests to ensure functionality it working.

Document and Monitor Upgrade

  1. Send upgrade results to your customer support representative to record your current environment.
  2. After users are back on the system, check log files for unexpected errors after upgrade.

Version-specific Upgrade Instructions

Version-specific upgrade instructions are maintained on our our wiki on MifosForge. 

Upgrading from version 1.1.x or 1.2.x to version 1.3

Upgrading from version 1.3 to version 1.4

Upgrading from version 1.4 to version 1.5

Upgrading from version 1.5 to version 1.6

Upgrading from Mifos 1.6 to Mifos 2.0

Upgrading from Mifos 2.0 to Mifos 2.1

 
0
Your rating: None