Prerequisites - dice-project/DICE-Simulation GitHub Wiki

Eclipse and Java Runtime

The DICE Simulation Tool extends the Eclipse platform to provide its IDE. Nevertheless, the Eclipse installer will take charge of satisfying any of these requirements automatically. See the installation section for further information.

In any case, if you plan to manually install the DICE Simulation Tool on top of an existing Eclipse installation, check the compatibility information between Eclipse and Java versions, and the DICE Simulation Tools.

GreatSPN

In order to execute simulations, the DICE Simulation Tool requires an installation of GreatSPN running on a Linux server and accessible via SSH. Fortunately, we provide a Docker image to execute GreatSPN, which can be executed in any of the Docker supported platforms (Windows, Linux, MacOSX) with minimal user intervention.

See https://docs.docker.com/get-docker/ for the Docker installation instructions.

Once you have Docker up and running in your system, simply start a docker image by running (remember that in Linux, you may need to execute docker commands as root e.g. using sudo):

docker run --rm --publish 2222:22 --env SSH_USERNAME=user --env SSH_USERPASS=password --name greatspn abelgomez/greatspn

Running the GreatSPN Docker container

After that, a docker container called greatspn, with GreatSPN, will be accessible via SSH on localhost, on port 2222, using the user user and the password password. See https://github.com/abelgomez/greatspn.docker for more details about the available environment variables.

REMEMBER: use docker ps to check which docker containers are running, and docker stop greatspn to stop the docker container created above.

The greatspn container will be automatically deleted after stopping it (as specified by the --rmparameter). Keep in mind that, although the container will be deleted, the downloaded image will remain in you local cache unless explicitly deleted. Thus, subsequent containers will be launched almost instantly.