Upgrading Simflofy
Follow the steps below to upgrade your Simflofy Environment to version 3.0
Shutdown
Shut down the application server running Simflofy.
Ensure that the application server has completely shutdown. This can be done by checking the task manager or using a command line tool.
Stop the service that is running MongoDB.
Backup
Back up your Mongo database. Be sure to store the back-up in safe location. MongoDB Core Backups
Copy the modified configuration files
.properties
to safe location. This config is found in your war atWEB-INF/classes/
Copy the exploded war files to safe location (for rollback as needed).
Use the Admin Tools to export a copy of your simflofy configuration.
Clean Up
Remove the current version of war files from your Application Server.
Clear out the Application server cache and temp directories. (ie
<tomcat home>/temp
<tomcat home>/work
)Back up or remove the old log files.
Configure
Unpack the new war files to the application server
webapps
directory.Update the configuration files as needed database/hosts/ports.
Set the following properties (3.0 +)
#initialize mongo indexes and connector. Also loads default admin user
simflofy.initialize.mongo=true
#Import simflofy_bootstrap.json into the database
simflofy.initialize.bootstrap=true
# Dynamically loads new stuff, like Repo and Output connectors and update 2.X database items to their 3.X versions.
simflofy.initialize.update=true
#Requires update be set to true. Run all patches.
simflofy.initialize.runallpatches=true
Startup
Start the application server.
Watch your logging for errors and or issues while the patches run.
Validate that the connectors and jobs have been upgraded properly.
Reset the initialization configuration.
#initialize mongo indexes and connector. Also loads default admin user
simflofy.initialize.mongo=false
#Import simflofy_bootstrap.json into the database
simflofy.initialize.bootstrap=false
# Dynamically loads new stuff, like Repo and Output connectors and update 2.X database items to their 3.X versions.
simflofy.initialize.update=false
#Requires update be set to true. Run all patches.
simflofy.initialize.runallpatches=false