Tutorial

MyNodes page

Show the various nodes of user, indicated as boxes, which if are clicked redirect to view of single node, Nodes can be filtered by name, id, workspace name, and status (online / offline, configured / not configured).

Box info

There are two types of boxes (the first two in the images), the unconfigured nodes and the configured nodes. The first type of box appears when there is still no information on the node. Then as soon as the node make the first connection then the box switches to the configured type.

The boxes have info about the id (bottom) and the name (top) which by default is the same as the id, but can be changed in the single node view. Also there are the delete icons, to delete the node, the workspace icon, the status icon, (green dot for online status, red dot for offline status) and the update icon, which appears only if the node version is not the latest. Clicking it updates the node to the latest version (to be tested). The automatic update disconnects the host and does not reconnect it. For this reason,be installed the node can also under a supervisor.

The other icons present is settings icon. This opens a modal that allows you to either retrieve the json file that identifies the node inside Storm (if you accidentally delete it from the node folder on the host) or retrieve the "one line installer" to install the knot on another machine. To navigate in the modal we use the next and back keys.

Default node installation

When you sign up Storm, automatically a node will be create, shared with your default workspace. To install it, follow the steps below:
Go to the node box

Click on the setting icon, navigate on the modal to the “one line installar” and copy it.

Open a terminal, open in the path where we want to install the node and run the command. To install it must be present on the host Git, Node.js and npm.
At the end of the installation run the command node stormnode.js -v, the version, id and status will initially appear in the terminal. After 30 / 60s, if the node page is refreshed, the node box will appear as a configured node. Once the first node is configured, the alert mode will appear, informing you that the first mission on the nodes has been configured.

Immediately afterwards the node will perform the function of host info, and the node name, if it has not yet been changed by the user, becomes the host name.

2.1.3 New node installation
To add and install a new node follow the following steps:
Click on the "add node" button.

In the mode that appears, choose one of the host's OS distributions and the workspace on which to share the node. Chosen both, a curl command will appear, which must be copied via the button at the top right of the text box.

If the o.s. is not present in the list choose “manual installation” and click next in the modal. Another command will appear to install the node, the “one line installer”. You have to copy it via the button at the top right of the text box.

Open a terminal, open in the path where we want to install the node and run the command. To install it must be present on the host Git, Node.js and npm.
At the end of the installation run the command node stormnode.js -v, the version, id and status will initially appear in the terminal. After 30 / 60s, if the node page is refreshed, the node box will appear as a configured node. Once the first node is configured, the alert mode will appear, informing you that the first mission on the nodes has been configured.

Immediately afterwards the node will perform the function of host info, and the node name, if it has not yet been changed by the user, becomes the host name.

2.1.4 Installing a host monitoring from template
If you have added a host monitoring to a node and saved it as a template to use it as a model for other nodes, you can create an host monitoring starting from template by clicking on the button "Add host monitoring from template ".

In the modal that opens, choose the template to use and the nodes or workspaces to add the monitoring to. If you have chosen the workspaces, the monitoring will be added to all the nodes of the selected workspaces. Click Create monitoring to create the monitoring (they will not be added to the nodes that already have monitoring).