Menu

Installation

Installation

One of the main design goals was to make installation/deployment as easy as possible.

Installation and configuration of each part of the grid is described in following subsections.

Preparing grid server

Preparing the grid server is just launch of the ZooKeeper server. No other configuration or installation is needed.

How to install ZooKeeper server:

1) Download ZooKeeper
2) Unpack into desired

How to install Slimgrid is described here

Preparing worker(s)

TBD:

1) Copy the folder (download or unzip the archive (link))
2) Update server IP and port, number of threads, hear-beat ticks
3) Launch it

Configuring grid client

No installation or configuration needed (besides making sure SlimGrid's java library and its dependencies are included in the path). SlimGrid client can be immediately launched via class SgServer.

If you use Maven to manage your project, use this dependency in your POM file:

<dependency>
    <groupId>net.sourceforge.slimgrid</groupId>
    <artifactId>slimgrid</artifactId>
    <version>0.0.2-SNAPSHOT</version>
</dependency>

Because SlimGrid is currently available only as a snapshot, you have to include definition of this repository as well:

<repositories>
    <repository>
        <id>nexus.oss.snapshot</id>
        <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
        <name>OSS Snapshot repositories</name>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </repository>
</repositories>

MongoDB Logo MongoDB