You are viewing the RapidMiner Server documentation for version 8.2 - Check here for latest version
Upgrade RapidMiner Server 8.x
This section describes updating RapidMiner Server from 8.x to the latest version using the full upgrade. It also describes the process for rolling back the upgrade.
Performing a full upgrade
A full upgrade means installing RapidMiner Server into an empty directory while pointing the database to the existing one.
Stop the old RapidMiner Server 8 and perform a backup
Stop all connected Job Agents and take a note where you can find them. Verify that you stopped every Job Agent by navigating to the Queues page and check the connected agents per queue. There should always be the message
No Job Agents connected.
Back up 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
Stop the old RapidMiner Server 8. If running Windows, verify that all RapidMiner-related services have stopped.
Back up the
workDir/in the RapidMiner Server base directory.
Back up the
execution.propertiesfile from your RapidMiner Server configuration folder
(Optional) Back up the
job-agent/directory if the
agent-bundledJob Agent is used.
Note: It is strongly recommended that you back up the RapidMiner Server operations database before making changes to the software version.
Install latest RapidMiner Server 8
Download the latest version of the full server package.
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.
Note: It is strongly recommended to use a fresh folder for RapidMiner Server 8 instead of installing it into an existing RapidMiner Server folder.
Restore previous configuration
workDir/of the old RapidMiner Server 8 to the new RapidMiner Server 8 installation folder.
cp -r rm-server-8.0.1/workdir/ rm-server-8.1.0/workdir/
agent-bundledJob Agent is used:
Do not forget to re-apply the configuration changes you made to the previous version of RapidMiner Server. For example if you modified
standalone.xmlthen manually re-apply the pieces you changed to the new version too. Do not copy the whole files as it may change from version to version.
Start the new RapidMiner Server 8 and perform migration steps
From the new installation folder, start RapidMiner Server 8.
Log on to RapidMiner Server as admin and perform necessary update steps.
Check location of installed extensions:
- Update the
com.rapidanalytics.plugindirproperty in the system settings in regard to your new installation folder.
Restore installed extensions from the old location.
Note: If you are using Radoop, make sure you go through the specific installation steps described in the Radoop documentation.
Restart RapidMiner Server if location has changed.
- Update the
Upgrade external Job Agents
For every external Job Agent:
Download a new Job Agent archive for the corresponding Queue.
Unzip the new Job Agent archive and place the extracted folder near the Job Agent you would like to update. For example:
unzip job-agent-QueueName.zip -d rapidminer-jobagent-8.1.0/
Note: The Job Agent folder in the archive is always called
rapidminer-jobagentso do not unzip it in the same folder as the old one as it will overwrite the old contents.
Copy the following folders from the old to the new Job Agent:
cp -r rapidminer-jobagent-8.0.1/rapidminer-jobagent/data/ rapidminer-jobagent-8.1.0/rapidminer-jobagent/data/
Start the new Job Agent and make sure it is visible on the Queues page. The name of the new Job Agent can be found in the
Rolling back a full upgrade
To roll back an upgrade:
Stop all connected Job Agents.
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.
Restore old RapidMiner Server and Job Agent files from backups.
Start the old RapidMiner Server and the corresponding Job Agents.