forked from norcams/himlar-puppet4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnodes.yaml
119 lines (116 loc) · 2.59 KB
/
nodes.yaml
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# Default values for all nodes
#
# These settings can be overridden per node in the
# nodeset configurations
#
defaults:
box: "norcams/base"
autostart: true
primary: false
location: "vagrant"
domain: "mgmt.vagrant.iaas.intern"
cpus: 1
memory: 1024
networks:
- "mgmt"
- "trp"
- "public"
#
# Nodesets configuration example:
#
# mynodes:
# - name: "db"
# - role: "compute"
# hostid: "01"
# - role: "compute"
# hostid: "02"
#
# This will configure four nodes with the following FQDNs:
# vagrant-db-01.vagrant.iaas.intern
# vagrant-compute-01.vagrant.iaas.intern
# vagrant-compute-02.vagrant.iaas.intern
#
nodesets:
default:
- role: "db"
- role: "mq"
- role: "api"
- role: "identity"
- role: "novactrl"
- role: "image"
- role: "network"
- role: "volume"
- role: "dashboard"
- role: "compute"
memory: 4096
cpus: 2
# The following nodes are optional
#- role: "access"
#- role: "console"
#- role: "monitor"
#- role: "status"
#- role: "builder"
#- role: "proxy"
#- role: "login"
#- role: "controller"
#- role: "metric"
#- role: "telemetry"
#- role: "logger"
# cpus: 1
# memory: 2048
#- role: "object"
# hostid: '01'
#- role: "object"
# hostid: '02'
#- role: "object"
# hostid: '03'
#- role: "nat"
# box: "norcams/freebsd"
#- role: "admin"
# memory: 3096
# To use leaf see cumulus help below
#- role: "leaf"
# box: "norcams/net"
ha:
- role: 'ha'
hostid: '01'
- role: 'ha'
hostid: '02'
db:
- role: 'db'
hostid: '01'
- role: 'db'
hostid: '02'
# galera arbitrator
- role: 'ha'
hostid: '01'
- role: 'ha'
hostid: '02'
ceph:
- role: "cephmon"
- role: "storage"
dns:
- role: "db"
- role: "admin"
- role: "ns"
hostid: "01"
- role: "ns"
hostid: "02"
networks:
mgmt:
net: "172.31.0"
auto_config: false
forwarding: "none"
trp:
net: "172.31.8"
auto_config: false
forwarding: "none"
public:
net: "192.168.0"
auto_config: false
forwarding: "route"
#
# To use cumulus in vagrant:
#
# Install gcc-c++
# Then run: vagrant plugin install vagrant-cumulus