-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c67ed3e
commit 1cb9386
Showing
2 changed files
with
126 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
OpenSAND is an user-friendly and efficient tool to emulate satellite | ||
communication systems, mainly DVB-RCS - DVB-S2. | ||
|
||
It provides a suitable and simple means for performance evaluation and | ||
innovative access and network techniques validation. Its ability to interconnect | ||
real equipments with real applications provides excellent demonstration means. | ||
|
||
The source codes of OpenSAND components is distributed "as is" under the terms | ||
and conditions of the GNU GPLv3 license or the GNU LGPLv3 license. | ||
|
||
Visit us at [opensand.org](https://www.opensand.org/). | ||
|
||
# Installation Manual v6.0 DEV | ||
|
||
> :warning: **DEV version.** | ||
This page describes how to install a simple OpenSAND platform, containing one satellite, one gateway (GW), and one Satellite terminal (ST). | ||
|
||
## Requirements | ||
|
||
### Architecture | ||
|
||
In order to deploy a platform, a minimum of three machines must be available: | ||
|
||
- one for the satellite, | ||
- one for the gateway, | ||
- and one for the satellite terminal. | ||
|
||
They must be connected as shown in the image below, with the following networks: | ||
|
||
- one network for the emulated satellite link (`EMU`) | ||
- one network for the workstations connected to the GW (`LAN-GW0`) | ||
- one network for the workstations connected to the ST (`LAN-ST1`) | ||
|
||
 | ||
|
||
In the image, two additional machines (`WS-ST1` and `WS-GW0`) are shown but are actually not necessary; traffic can be exchanged between the ST1 and GW0 without the need of workstations. However, the interfaces for the networks `LAN-ST1` and `LAN-GW0` must exist, even if no other computers are connected to it. | ||
|
||
### Operating System | ||
|
||
The testbed was tested using Ubuntu 16.04 LTS, but it should work on every Linux distribution or Unix-like system provided that the required dependencies are installed. However, if you are not on a Debian-based system, you may need to [[opensand:manuals:5.2:compilation_manual:index|compile OpenSAND]] yourself. | ||
|
||
## Install | ||
|
||
This manual describes how to obtain and install OpenSAND using the distributed debian packages. For more information about how to obtain OpenSAND sources, compile it, and install it, please refer to the [[opensand:manuals:5.1:compilation_manual:index|compilation manual]]. | ||
|
||
The debian packages can be installed using `apt` commands. | ||
|
||
Unless otherwise specified, all the commands here must be executed on all machines. | ||
|
||
In order to install the packages using `apt`, the repository must be added to its sources. One way of doing it is by adding the following line to the file `/etc/apt/sources.list`. | ||
|
||
If using Ubuntu 20.04 LTS (focal): | ||
<code> | ||
deb https://raw.githubusercontent.com/CNES/net4sat-packages/master/ focal stable | ||
</code> | ||
|
||
Add GPG key for net4sat repository (as root) : | ||
<code> | ||
curl -sS https://raw.githubusercontent.com/CNES/net4sat-packages/master/gpg/net4sat.gpg.key | sudo apt-key add - | ||
</code> | ||
|
||
An apt sources update is necessary after adding the repository: | ||
<code> | ||
sudo apt update | ||
</code> | ||
|
||
Next, the packages must be installed. In this manual, the OpenSAND collector are installed on the machine with the satellite component, but they can be installed anywhere, even on a machine without opensand. The only constraint is that all the machines must be connected to a same network. | ||
|
||
The OpenSAND core, with all its dependencies, is distributed with the meta-package `opensand`; the OpenSAND configuration with `opensand-conf`; and the OpenSAND collector with `opensand-collector`. | ||
|
||
To install the OpenSAND core on the ST, GW and SAT, execute: | ||
<code> | ||
sudo apt install opensand | ||
</code> | ||
|
||
### Optional configuration | ||
|
||
To install the OpenSAND configuration, execute: | ||
<code> | ||
sudo apt install opensand-conf | ||
</code> | ||
|
||
The configuration is stored in the `/usr/share/opensand` | ||
|
||
### Optional collector | ||
|
||
Before installing the collector, some packages need to be installed first: | ||
|
||
- Kibana v6.2.4 | ||
- Chronograf v1.7.3 | ||
- Logstash v6.2.4 | ||
- ElacticSearch v6.2.4 | ||
- InfluxDB v1.7.1 | ||
|
||
To do so, exectute: | ||
To install the OpenSAND configuration, execute: | ||
<code> | ||
wget https://artifacts.elastic.co/downloads/kibana/kibana-6.2.4-amd64.deb | ||
wget https://dl.influxdata.com/chronograf/releases/chronograf_1.7.3_amd64.deb | ||
wget https://artifacts.elastic.co/downloads/logstash/logstash-6.2.4.deb | ||
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.2.4.deb | ||
wget https://dl.influxdata.com/influxdb/releases/influxdb_1.7.1_amd64.deb | ||
|
||
sudo dpkg -i kibana-6.2.4-amd64.deb | ||
sudo dpkg -i chronograf_1.7.3_amd64.deb | ||
sudo dpkg -i logstash-6.2.4.deb | ||
sudo dpkg -i elasticsearch-6.2.4.deb | ||
sudo dpkg -i influxdb_1.7.1_amd64.deb | ||
</code> | ||
|
||
To install the OpenSAND collector, execute: | ||
<code> | ||
sudo apt install opensand-collector | ||
</code> | ||
|
||
> :warning: **If you are using OpenSAND through the OpenBach orchestrator, do **not** install this collector on the same machine than the OpenBach collector. Even though the tools installed are the same and used similarly, they have a mutually exclusive configuration. Installing one will break the other.** | ||
## Uninstall | ||
|
||
In order to uninstall OpenSAND, you can remove every OpenSAND package easily by executing: | ||
<code> | ||
sudo apt remove --purge opensand* libopensand* librle libgse | ||
</code> | ||
|
||
Be careful not to execute the command while on an OpenSAND folder (uninstall may try to remove said folder). |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.