suppliers:hvac.io:vigilia:installation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
suppliers:hvac.io:vigilia:installation [2015/11/10 16:03] – [Database] frozenlock | suppliers:hvac.io:vigilia:installation [2020/07/22 09:33] – old revision restored (2015/09/11 20:59) 173.208.218.130 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Vigilia Installation ====== | ====== Vigilia Installation ====== | ||
- | //**For self-hosted version only.** | + | //**For self-hosted version only.** To use the HVAC.IO servers instead, |
- | + | ||
- | To use the HVAC.IO servers instead, jump to [[.:recording]].// | + | |
The installation is separated in 3 main components: | The installation is separated in 3 main components: | ||
Line 9: | Line 7: | ||
* [[# | * [[# | ||
* [[#Vigilia Server]] | * [[#Vigilia Server]] | ||
- | * [[.:recording#client_side_loggers|Loggers]] | + | * [[# |
They can all be installed on the same machine, or on separate servers and devices, depending on your network architecture. | They can all be installed on the same machine, or on separate servers and devices, depending on your network architecture. | ||
Line 16: | Line 14: | ||
Once this is done, you might want to take a look at [[#Adding Vigilia as a Service]] | Once this is done, you might want to take a look at [[#Adding Vigilia as a Service]] | ||
===== Database ===== | ===== Database ===== | ||
- | For the time being, Vigilia only supports TokuMX. | + | For the time being, Vigilia only supports |
It is a fork of MongoDB, which features mind boggling increase in performance and reduction in the database size. | It is a fork of MongoDB, which features mind boggling increase in performance and reduction in the database size. | ||
(The choice was not made lightly; we tried many databases before settling with this one.) | (The choice was not made lightly; we tried many databases before settling with this one.) | ||
Line 27: | Line 25: | ||
- | Download and install by following the instructions on this [[https:// | + | Download and install by following the instructions on this [[https:// |
- | Once the database is installed, make sure everything works as intended by running the command | ||
- | **mongo** in the shell. | ||
- | |||
- | The command should be recognized AND it should connect successfully. | ||
- | |||
- | {{: | ||
- | |||
- | You can stop the process by pressing Ctrl-C in the shell. | ||
===== Vigilia Server ===== | ===== Vigilia Server ===== | ||
Line 65: | Line 55: | ||
< | < | ||
- | (where <port number> is the port you want to use. If you don't know which one to take, use 47900.) | + | (where <port number> is the port you want to use.) |
After a few seconds, the server should be up and running. | After a few seconds, the server should be up and running. | ||
Line 71: | Line 61: | ||
< | < | ||
- | === Create Admin Account === | ||
- | If Vigilia | + | If you want the application to start automatically when your server boot up, you should make sure to [[# |
- | The first account created | + | |
+ | ===== Loggers ===== | ||
+ | |||
+ | Loggers are software | ||
+ | |||
+ | The only publicly available logger is Wacnet (min version 1.8). | ||
+ | |||
+ | To start logging a network, you need to configure a few things in the **Vigilia Configs** page : | ||
+ | |||
+ | |||
+ | ==== Step 1: Connect to a Vigilia server ==== | ||
+ | |||
+ | //**For self-hosting only.** Users of HVAC.IO' | ||
+ | |||
+ | The first thing to configure is a Vigilia API URL. This will tell Wacnet where it should send its data. | ||
+ | |||
+ | It should | ||
+ | |||
+ | < | ||
+ | http://< | ||
+ | </ | ||
+ | |||
+ | |||
+ | Make sure Wacnet can see the provided URL! | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | {{: | ||
+ | |||
+ | ==== Step 2: Project credentials ==== | ||
- | === Load License === | + | You have to provide a **project ID** and a **logging key/ |
+ | Both are available through the project configurations on the Vigilia server. | ||
- | Now that you have the administrator rights, you should load the license files. | + | Here's an example : |
- | On the upper right, you should see your username. Click on it and go to **Server Administration**. Then click on **License**. Select the license files and click upload. | + | * Project-id : 5371147be4b0222b740851a2 |
+ | | ||
- | You should see something similar | + | Make sure Wacnet has access |
- | {{: | + | {{: |
- | === Configure Service (optional) === | ||
- | If you want the application to start automatically when your server boot up, you should make sure to [[#Adding Vigilia as a Service|create a service]] (shown below), or configure your web server (like Tomcat) to use vigilia-server.jar. | + | ==== Start Logging ==== |
- | === Good to Go === | + | When Wacnet starts, it searches for Vigilia configurations. If it finds some, **it will start logging automatically**. |
- | Once your Vigilia server is up and running, you can follow | + | To start the logging without restarting Wacnet, expand |
+ | {{: | ||
===== Adding Vigilia as a Service ===== | ===== Adding Vigilia as a Service ===== | ||
Line 105: | Line 126: | ||
- | < | + | < |
description " | description " |
suppliers/hvac.io/vigilia/installation.txt · Last modified: 2020/10/04 01:53 by 173.249.2.13