You are viewing the RapidMiner Server documentation for version 7.6 - Check here for latest version
Upgrading and Rolling Back RapidMiner Server
This section describes updating RapidMiner Server, both using the full upgrade and the recommended, faster EAR method. It also describes the process for rolling back releases. Refer to the Java update section for instructions on changing the Java version.
Note: It is strongly recommended that you back up the RapidMiner Server operations database before making changes to the software version.
To upgrade RapidMiner Server, login and download the latest version. You can download either:
the Java Enterprise Archive (EAR) file, which installs the newest version without the application server. Use this method to quickly update the software without changing the application server. This is the recommended method for upgrading RapidMiner Server.
the full server package, which installs the newest version with the application server. Use this method if it is necessary to completely replace the application server and the software. We recommend this method only if there are updates in the application server itself. (Be certain not to overwrite the existing server directory.)
Upgrading with an EAR file
If there are no changes to the application server, it is simpler and faster to update your software using a Java Enterprise Archive (EAR) file as follows:
See the note on improving repository performance if you are upgrading an existing installation that uses MySQL from RapidMiner Server versions 2.4 or earlier to version 2.5 or later using an EAR file.
Stop RapidMiner Server. If running Windows, verify that all RapidMiner-related services have stopped.
Backup your RapidMiner extensions. If you are unsure of the directory location, check the setting on the Administration > System Settings page. The location is the value defined for the property
com.rapidanalytics.plugindir
.Backup and remove the contents of your application data directory in Rapidminer Server installation directory under
standalone/data
folder.Select EAR File to download the latest version of RapidMiner Server.
Rename old RapidMiner Server EAR file (for example,
rapidminer-server-7.0.1.ear
torapidminer-server-7.0.1.ear.save
).Delete old RapidMiner Server deployment marker file (for example,
rapidminer-server-7.0.1.ear.deployed
).Place new Rapidminer Server EAR file into the
standalone/deployments
folder of your installation directory.Start Rapidminer Server.
Log on to RapidMiner Server as admin to verify there are no additional update steps needed.
Rolling back an EAR upgrade
To roll back an update, for example because changes had unexpected consequences, follow these steps:
Stop RapidMiner Server. If running Windows, verify that all RapidMiner-related services have stopped.
Restore your RapidMiner Server database from backup. If unsure how to do so, try searching Google for the appropriate commands for your database type.
Rename new RapidMiner Server EAR file (for example, append
.save
extension to it).Restore old RapidMiner Server EAR file.
Replace the contents of your application data directory in Rapidminer Server installation directory under
standalone/data
folder from the backup.Replace the extension JAR files that you backed up during the upgrade procedure.
Restart RapidMiner Server.
Performing a full upgrade
A full upgrade means installing RapidMiner Server into an empty directory while pointing the database to the existing one. If you created an XML installation script when you initially installed RapidMiner Server, you can use it with this method. The script file contains the saved settings (including the installation directory) and connections you configured with the installation wizard. If you did not, consider saving your settings with a script this time through. To perform a full upgrade:
Stop RapidMiner Server. If running Windows, verify that all RapidMiner-related services have stopped.
If you intend to reuse an installation script that was used before or simply want to install the new version to a directory where a previous version exists, then backup your installation directory by renaming it.
We recommend to not do a full installation into an existing RapidMiner Server folder but rather to use a fresh folder. However, if you do chose to overwrite an existing installation, please remove all files in the standalone/deployments
folder that either start with rapidminer-server-*
or ROOT.war
. Failure to do so might result in RapidMiner Server not being able to start correctly.
Backup your RapidMiner extensions. If you are unsure of the directory location, check the setting on the Administration > System Settings page. The location is the value defined for the property
com.rapidanalytics.plugindir
.Download the latest version of the full server package.
If applicable, move the script file, located in the old RapidMiner Server installer directory, into the new installer directory.
Change to the bin directory, within the installation directory, to locate (and then run) the start script (or batch file) for installing the new version of RapidMiner Server software. If you created an installer script during a previous installation, you may use that script to specify installation settings:
- For Windows, use
rapidminer-server-installer.bat [<install-script-name.xml>]
- For Linux, Unix, or Mac OS, use
rapidminer-server-installer [<install-script-name.xml>]
- For Windows, use
Copy the contents of the backed up plugins dir into the new RapidMiner Server extensions directory.
Note: Do not overwrite any extensions that are in the new plugins directory as a result of the installation.
From the new installation folder, start RapidMiner Server.
Do not forget to reapply the configuration changes you made to the previous version of Rapidminer Server. For example if you modified
standalone.xml
then manually reapply the pieces you changed to the new version too. Do not copy the wholestandalone.xml
as it may change from JBoss version to version.Log on to RapidMiner Server as admin to verify there are no additional update steps needed.
Rolling back a full upgrade
To roll back an upgrade:
Stop RapidMiner Server. If running Windows, verify that all RapidMiner-related services have stopped.
Restore your RapidMiner Server database from backup. If unsure how to do so, try searching Google for the appropriate commands for your database type.
If you backed up your previous installation directory (because you installed the new version to a directory where an old version existed) then replace the installation directory from backup.
From the previous (old) installation folder, start RapidMiner Server.