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 [2019/10/09 23:07] – [Database Crash] frozenlock | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Vigilia Installation ====== | + | ====== Vigilia |
- | //**For self-hosted version only.** | + | //**Requires a Viglia Server licence**. To use the official |
- | + | ||
- | To use the HVAC.IO servers instead, jump to [[.: | + | |
The installation is separated in 3 main components: | The installation is separated in 3 main components: | ||
Line 21: | Line 19: | ||
- | TokuMX is supported on **64-bit Linux only**, but virtual image should work too. | + | TokuMX is supported on **64-bit Linux only**, but a virtual image should work too. |
We recommend to use SSD drives, as their increased speed directly translate in how fast Vigilia will react. | We recommend to use SSD drives, as their increased speed directly translate in how fast Vigilia will react. | ||
250 to 500 Go should be plenty of space to store many years of data for networks composed of hundreds of thousands of objects. (Tokumx compression is really useful for this!) | 250 to 500 Go should be plenty of space to store many years of data for networks composed of hundreds of thousands of objects. (Tokumx compression is really useful for this!) | ||
+ | To install TokuMX, add the following [[https:// | ||
- | Download and install | + | < |
+ | |||
+ | (Alternatively, | ||
Once the database is installed, make sure everything works as intended by running the command | Once the database is installed, make sure everything works as intended by running the command | ||
Line 95: | Line 96: | ||
===== Adding Vigilia as a Service ===== | ===== Adding Vigilia as a Service ===== | ||
+ | ==== (Upstart Users) ==== | ||
+ | |||
You might want to make sure the Vigilia server always starts as soon as the server boots, or that it restores itself in case of a crash. | You might want to make sure the Vigilia server always starts as soon as the server boots, or that it restores itself in case of a crash. | ||
Line 105: | Line 108: | ||
- | <code bash> | + | <code bash vigilia.conf> |
description " | description " | ||
Line 141: | Line 144: | ||
To get more info about Upstart and services, see http:// | To get more info about Upstart and services, see http:// | ||
+ | |||
+ | ===== Troubleshooting ===== | ||
+ | |||
+ | ==== Database Crash ==== | ||
+ | |||
+ | If you database is becoming quite large (thousands of files in the dbpath), it's possible that your OS is going to refuse opening that much files simultaneously. | ||
+ | |||
+ | In Linux, you can change the number of allowed files by editing the file ''/ | ||
+ | |||
+ | < | ||
+ | tokumx soft nofile 1000000 | ||
+ | tokumx hard nofile 1000000 | ||
+ | </ | ||
+ | |||
+ | If you are using **systemd**, |
suppliers/hvac.io/vigilia/installation.txt · Last modified: 2020/10/04 01:53 by 173.249.2.13