prepare an additional compute node
This commit is contained in:
parent
7abff8b0c7
commit
412990653f
1
Vagrantfile
vendored
1
Vagrantfile
vendored
@ -12,6 +12,7 @@ end
|
||||
boxes = [
|
||||
{ name: "node0.lctp", role: :head_node, mac: "5CA1AB1E0001", json: load_json("node0.json") },
|
||||
{ name: "node1.lctp", role: :compute_node, mac: "5CA1AB1E0002", json: load_json("node1.json") }
|
||||
#{ name: "node2.lctp", role: :compute_node, mac: "5CA1AB1E0003", json: load_json("node2.json") }
|
||||
]
|
||||
|
||||
["vbguest", "berkshelf"].each do |plugin|
|
||||
|
@ -25,6 +25,9 @@
|
||||
"hosts": {
|
||||
"node1": {
|
||||
"mac": "5c:a1:ab:1e:00:02"
|
||||
},
|
||||
"node2": {
|
||||
"mac": "5c:a1:ab:1e:00:03"
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -36,7 +39,8 @@
|
||||
"lctp": {
|
||||
"records": [
|
||||
{ "name": "node0", "type": "A", "value": "172.28.128.1" },
|
||||
{ "name": "node1", "type": "A", "value": "172.28.128.101" }
|
||||
{ "name": "node1", "type": "A", "value": "172.28.128.101" },
|
||||
{ "name": "node2", "type": "A", "value": "172.28.128.102" }
|
||||
]
|
||||
},
|
||||
"128.28.172.in-addr.arpa": {
|
||||
|
8
nodes/node2.json
Normal file
8
nodes/node2.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"lctp_network": {
|
||||
"interfaces": {
|
||||
"eth0": { "metric": 100 },
|
||||
"eth1": { "metric": 50 }
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user