prepare an additional compute node

This commit is contained in:
Jörg Thalheim 2014-01-27 16:07:31 +01:00
parent 7abff8b0c7
commit 412990653f
3 changed files with 14 additions and 1 deletions

1
Vagrantfile vendored
View File

@ -12,6 +12,7 @@ end
boxes = [ boxes = [
{ name: "node0.lctp", role: :head_node, mac: "5CA1AB1E0001", json: load_json("node0.json") }, { 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: "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| ["vbguest", "berkshelf"].each do |plugin|

View File

@ -25,6 +25,9 @@
"hosts": { "hosts": {
"node1": { "node1": {
"mac": "5c:a1:ab:1e:00:02" "mac": "5c:a1:ab:1e:00:02"
},
"node2": {
"mac": "5c:a1:ab:1e:00:03"
} }
} }
}, },
@ -36,7 +39,8 @@
"lctp": { "lctp": {
"records": [ "records": [
{ "name": "node0", "type": "A", "value": "172.28.128.1" }, { "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": { "128.28.172.in-addr.arpa": {

8
nodes/node2.json Normal file
View File

@ -0,0 +1,8 @@
{
"lctp_network": {
"interfaces": {
"eth0": { "metric": 100 },
"eth1": { "metric": 50 }
}
}
}