Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# Deployment
## Remotely
### All services
```sh
make deploy i=inventories/my-customer
```
### MediaWorker
```sh
make deploy i=inventories/my-customer l=worker
```
### Monitor
```sh
make deploy i=inventories/my-customer l=monitor
```
### MirisManager
```sh
make deploy i=inventories/my-customer l=manager
```
### MediaServer
```sh
make deploy i=inventories/my-customer l=server
```
### MediaImport
```sh
make deploy i=inventories/my-customer l=import
```
### MediaVault
```sh
make deploy i=inventories/my-customer l=vault
```
### Celerity
```sh
make deploy i=inventories/my-customer l=celerity
```
### Wowza
```sh
make deploy i=inventories/my-customer l=wowza
```
### Postgres
```sh
make deploy i=inventories/my-customer l=postgres
```
### Netcapture
```sh
make deploy i=inventories/my-customer l=netcapture
```
## Locally
Instead of deploying all host remotely through SSH, you can also clone the envsetup repository on the server as `root` in `~/envsetup`, then enter in the directory, configure the activation or system key and run one of those commands:
```sh
make deploy i=inventories/local-server
make deploy i=inventories/local-worker
make deploy i=inventories/local-vault
```
## Known issues
- Proxy
If output trafic on the remote hosts is allowed only through a proxy, the deployment will fail.
It won't be able to locally clone repositry and get host configuration file from mirismanager.ubicast.eu.
For "remote" deployment you have to set the proxy settings in the inventory variables, in `inventories/my-customer/group_vars/all.yml`:
```yaml
---
[...]
proxy_http: http://proxy.my-customer.net:3128
proxy_https: http://proxy.my-customer.net:3128
```
For "local" deployment you have to manually set the proxy settings in the `/etc/environment` file:
```
PROXY_HTTP="http://proxy.my-customer.net:3128"
PROXY_HTTPS="http://proxy.my-customer.net:3128"
NO_PROXY="localhost,127.0.0.1,::1,mymediaserver.my-customer.net"
```