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
com.rapidanalytics.plugindir
.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.properties
file from your RapidMiner Server configuration folderstandalone/configuration/
.(Optional) Back up the
job-agent/
directory if theagent-bundled
Job 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
Copy the
workDir/
of the old RapidMiner Server 8 to the new RapidMiner Server 8 installation folder.For example:
cp -r rm-server-8.0.1/workdir/ rm-server-8.1.0/workdir/
If the
agent-bundled
Job Agent is used:Copy the following folders from the old to the new
job-agent/
directory:data/
jobs/
logs/
For example:
cp -r rm-server-8.0.1/job-agent/data/ rm-server-8.1.0/job-agent/data/
Restore installed extensions and re-apply custom configuration of old
agent-bundled
Job Agent.
Do not forget to re-apply the configuration changes you made to the previous version of RapidMiner Server. For example if you modified
standalone.xml
then 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.plugindir
property 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-jobagent
so 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:
data/
jobs/
logs/
For example:
cp -r rapidminer-jobagent-8.0.1/rapidminer-jobagent/data/ rapidminer-jobagent-8.1.0/rapidminer-jobagent/data/
Restore installed extensions and re-apply custom configuration of the old Job Agent.
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
config/config.properties
file.
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.