Skip to content

Starting the demonstrator

Benedek Horvath edited this page Sep 27, 2018 · 10 revisions

This page describes how to start the components of the demonstrator.

Table startup

  1. Start the standalone Raspberry PI before powering on the table.

  2. After approximately 60s, power on the table. systemd scripts are starting the necessary services on the components after a few seconds.

Opening the dashboard

  1. After initializing the table, connect to the MIT_SIPp network, using the same password as we usually use for VMs.

  2. Access the dashboard on http://192.168.1.4:7070/ or http://root.modes3.intra:7070

System-level safety logic

To run the system-level safety logic, follow these steps:

  1. Only start this when other parts of the system has been successfully initialized.

  2. See Build and deployment guide.

  3. The entry point of the logic is located in the hu.bme.mit.inf.modes3.components.safetylogic.systemlevel.event.app project (Main.xtend).

  4. Add the following command line parameters to run configuration: -address root.modes3.intra -port 1883.

Component-level safety logic

Add the ssh key so that you do not have to enter the password each time:

eval $(ssh-agent)
ssh-add modes3_key

Then login for each node separately (or use cluster SSH to login at once): ssh debian@{t1-t6}.modes3.intra

Finally, on each node start the service: sudo systemctl start modes3-componentlevel.sc

To stop the service, do it on each node: sudo systemctl stop modes3-componentlevel.sc

Clone this wiki locally