Difference between revisions of "Upgrade DASH"

From MT Marvelit
Jump to: navigation, search
(Instructions for upgrading MARVELit DASH)
(Instructions for upgrading MARVELit DASH)
Line 7: Line 7:
 
2. Unzip the file - it will contain a new marvelit.war file and if needed an update.sql file<br>
 
2. Unzip the file - it will contain a new marvelit.war file and if needed an update.sql file<br>
 
3. Shutdown DASH per the instructions at [http://wiki.marvelit.com/index.php?title=Startup_DASH_and_Deploy_WARs#Start-up_and_Shutdown Startup and Shutdown]<br>
 
3. Shutdown DASH per the instructions at [http://wiki.marvelit.com/index.php?title=Startup_DASH_and_Deploy_WARs#Start-up_and_Shutdown Startup and Shutdown]<br>
4. Copy the '''/dash/webapps/marvelit/WEB-INF/marvelit.properties file''' to another location on your hard drive.  This file contains your default data sources and data maps.  '''Failure to do this step will result in you having to reset your preferences.'''<br>
+
4. Copy the '''/webapps/marvelit/WEB-INF/marvelit.properties file''' to another location on your hard drive.  This file contains your default data sources and data maps.  '''Failure to do this step will result in you having to reset your preferences.'''<br>
5. Delete the /dash/webapps/marvelit directory and the /dash/webapps/marvelit.war file<br>
+
5. Delete the /webapps/marvelit directory and the /webapps/marvelit.war file<br>
 
6. Apply the update.sql file if needed to your DASH database - in the install instructions - this database was named marvelit.  See  
 
6. Apply the update.sql file if needed to your DASH database - in the install instructions - this database was named marvelit.  See  
 
[http://wiki.marvelit.com/index.php?title=Install_MARVELit_WAR_and_build_DASH_tables Build DASH Tables]<br>
 
[http://wiki.marvelit.com/index.php?title=Install_MARVELit_WAR_and_build_DASH_tables Build DASH Tables]<br>
7. Copy the marvelit.war file that was downloaded into the /dash/webapps directory<br>
+
7. Copy the marvelit.war file that was downloaded into the /webapps directory<br>
 
8. Startup DASH per the instructions at [http://wiki.marvelit.com/index.php?title=Startup_DASH_and_Deploy_WARs#Start-up_and_Shutdown Startup and Shutdown]<br><br>
 
8. Startup DASH per the instructions at [http://wiki.marvelit.com/index.php?title=Startup_DASH_and_Deploy_WARs#Start-up_and_Shutdown Startup and Shutdown]<br><br>
'''The marvelit.war file is expanded and a new /dash/webapps/marvelit directory is created with the new code.'''<br><br>
+
'''The marvelit.war file is expanded and a new /webapps/marvelit directory is created with the new code.'''<br><br>
 
9. Shutdown DASH per the instructions at [http://wiki.marvelit.com/index.php?title=Startup_DASH_and_Deploy_WARs#Start-up_and_Shutdown Startup and Shutdown]<br>
 
9. Shutdown DASH per the instructions at [http://wiki.marvelit.com/index.php?title=Startup_DASH_and_Deploy_WARs#Start-up_and_Shutdown Startup and Shutdown]<br>
 
10. Copy the marvelit.properties file saved in step 4 back to the /ash/webapps/marvelit/WEB-INF directory - replace the file that is there.  You preferences have now been restored.<br>
 
10. Copy the marvelit.properties file saved in step 4 back to the /ash/webapps/marvelit/WEB-INF directory - replace the file that is there.  You preferences have now been restored.<br>

Revision as of 17:27, 17 November 2007

Upgrading to new MARVELit code is a very simple process. The base code is distributed as a war file and can be easily be replaced on your DASH server. Ocasionally we make changes to the data model and if there are any - they will be included in the zip file as update.sql.

Instructions for upgrading MARVELit DASH

1. You will receive an email with instructions on how to download a new marvelit.zip file. Follow these instructions and save the zip file on your DASH server.
2. Unzip the file - it will contain a new marvelit.war file and if needed an update.sql file
3. Shutdown DASH per the instructions at Startup and Shutdown
4. Copy the /webapps/marvelit/WEB-INF/marvelit.properties file to another location on your hard drive. This file contains your default data sources and data maps. Failure to do this step will result in you having to reset your preferences.
5. Delete the /webapps/marvelit directory and the /webapps/marvelit.war file
6. Apply the update.sql file if needed to your DASH database - in the install instructions - this database was named marvelit. See Build DASH Tables
7. Copy the marvelit.war file that was downloaded into the /webapps directory
8. Startup DASH per the instructions at Startup and Shutdown

The marvelit.war file is expanded and a new /webapps/marvelit directory is created with the new code.

9. Shutdown DASH per the instructions at Startup and Shutdown
10. Copy the marvelit.properties file saved in step 4 back to the /ash/webapps/marvelit/WEB-INF directory - replace the file that is there. You preferences have now been restored.
11. Restart DASH per the instructions at Startup and Shutdown

You now have an updated set of MARVELit DASH code with your existing preferences re-applied.