Categories

Versions

You are viewing the RapidMiner Server documentation for version 9.0 -Check here for latest version

Upload a deployment

The deployment file which has beendownloaded from RapidMiner Servercan either be installed via file or via REST service.

Via File

If you want to install via file based operation you need to copy the deployment file to the$SA_HOME/home/deploymentsdirectory. If the Scoring Agent is already running you will need to restart it, as the deployments will only picked up during start.

Via REST Service

A deployment can also be installed by calling a specific REST service. The benefit of using REST is that the Agent does not need to be restarted, as the deployment is immediately processed. The URL of the deployment service is defined ashttp://$SA_HOST/admin/deployments, where

  • $SA_HOSTis the host name of the Scoring Agent (e.g.localhost:8090)

and an example旋度command is:

旋度-F file=@"/deployment.zip" http://localhost:8090/admin/deployments

What's next?

After a deployment has been successfully installed, the Scoring Agent will expose web services which allow toscore data.