Skip to content

Latest commit

 

History

History
58 lines (34 loc) · 2.34 KB

File metadata and controls

58 lines (34 loc) · 2.34 KB
layout default
title Seldon Server Setup
Content Recommendation Steps

concepts --> setup server --> logging --> configure data --> realtime activity --> offline model --> runtime configuration --> microservices --> recommendations

General Prediction Steps

setup server --> events --> feature extraction pipeline --> runtime scorer --> microservice scorer --> predictions

Deploy Seldon Server

Prerequisites

To run the Seldon Server, we need a number of things present on the machine it is running on.

  • Java (v >= 7)
  • Tomcat (v >= 7)
  • Maven (v >=3)
  • td-agent (latest)

There also needs to be a ZooKeeper server running along with Memcached and a MySQL server. It's up to you where you place these, but they should be accessible from the server on which you are running Seldon Server.

The main project

Clone the project seldon-server.

Configure

The repository for Seldon Server settings is ZooKeeper. The Seldon Shell can be used to set/update these settings. Use the "Seldon Shell" tool to create settings for memcached and manage the datasources in MySQL. Also create a client to use one of these datasources. The settings stored in zookeeper can also be viewed/modified directly. For the full set of available configuration options see here.

Run

Change directory to seldon-server/server. Run mvn clean package. This will create a war file in the target directory. You can now deploy this to an application server. At startup the seldon-server searches for the enviroment variable SELDON_ZKSERVERS to find the location of zookeeper. For Apache Tomcat you an achieve this by placing a file setenv.sh in the /bin folder of tomcat containing:

export SELDON_ZKSERVERS=<zookeeper hosts>

for example:

export SELDON_ZKSERVERS=localhost

You should now have a running Seldon Server instance!