-
Notifications
You must be signed in to change notification settings - Fork 0
/
hosts_ifca_admin_deploy_example
97 lines (62 loc) · 2.08 KB
/
hosts_ifca_admin_deploy_example
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
## hosts file example for IFCA admins to deploy federated cluster from scratch
#######################################################
####### MODIFY THIS GROUPS TO ADD THE NODES ###########
#######################################################
# ----- Consul
[consul_master]
node-ifca-0 ansible_host=193.146.75.205
[consul_clients]
node-ifca-1 ansible_host=172.16.44.109
node-ifca-gpu-0 ansible_host=172.16.44.103
node-ifca-gpu-1 ansible_host=172.16.44.120
node-ifca-gpu-2 ansible_host=172.16.44.85
node-ifca-tryme-0 ansible_host=172.16.44.86
node-ifca-traefik ansible_host=193.146.75.208
[consul_servers]
node-ifca-0
node-ifca-2 ansible_host=193.146.75.229
node-ifca-3 ansible_host=193.146.75.143
# ----- Traefik
[traefik_master]
node-ifca-traefik
# ----- Nomad
[nomad_master]
node-ifca-0 nomad_dc=ifca-ai4eosc
[nomad_servers]
node-ifca-0
node-ifca-2 nomad_dc=ifca-ai4eosc
node-ifca-3 nomad_dc=ifca-ai4eosc
[nomad_cpu_clients]
node-ifca-1 nomad_dc=ifca-ai4eosc domain=ifca nomad_namespaces=ai4eosc,imagine,tutorials
node-ifca-traefik nomad_dc=ifca-ai4eosc domain=ifca nomad_namespaces=ai4eosc,imagine,tutorials
[nomad_gpu_clients]
node-ifca-gpu-0 nomad_dc=ifca-ai4eosc domain=ifca nomad_namespaces=ai4eosc,imagine,tutorials
node-ifca-gpu-1 nomad_dc=ifca-ai4eosc domain=ifca nomad_namespaces=ai4eosc,imagine,tutorials
node-ifca-gpu-2 nomad_dc=ifca-ai4eosc domain=ifca nomad_namespaces=ai4eosc,imagine,tutorials
[nomad_tryme_clients]
node-ifca-tryme-0
# ---- Volume-docker
[nomad_volume]
node-ifca-1 vol_name=vdb partition_name=part1
node-ifca-gpu-0 vol_name=vdb partition_name=part1
node-ifca-gpu-1 vol_name=vdb partition_name=part1
node-ifca-gpu-2 vol_name=vdb partition_name=part1
# ---- Monitoring scripts
[monitoring]
node-ifca-0
#########################################
####### DO NOT MODIFY THIS GROUPS #######
#########################################
[consul_servers:children]
consul_master
[consul:children]
consul_clients
consul_servers
[nomad_servers:children]
nomad_master
[nomad_clients:children]
nomad_cpu_clients
nomad_gpu_clients
[nomad:children]
nomad_clients
nomad_servers