Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
grid5000
reference-repository
Commits
7d69d004
Commit
7d69d004
authored
Jan 21, 2014
by
Emile Morel
Browse files
[nancy] add pdu and mic for graphite
parent
e5cb5d40
Changes
6
Hide whitespace changes
Inline
Side-by-side
data/grid5000/sites/nancy/clusters/graphite/nodes/graphite-1.json
View file @
7d69d004
...
...
@@ -21,6 +21,11 @@
"ram_size"
:
270991937536
,
"virtual_size"
:
null
},
"mic"
:
{
"mic"
:
true
,
"mic_count"
:
1
,
"mic_model"
:
"7120P"
},
"network_adapters"
:
[
{
"bridged"
:
true
,
...
...
@@ -123,6 +128,20 @@
"vendor"
:
"Intel"
,
"version"
:
"E5-2650"
},
"sensors"
:
{
"power"
:
{
"available"
:
true
,
"via"
:
{
"api"
:
{
"metric"
:
"pdu"
},
"pdu"
:
{
"port"
:
24
,
"uid"
:
"graphene-pdu9.nancy.grid5000.fr"
}
}
}
},
"storage_devices"
:
[
{
"device"
:
"sda"
,
...
...
data/grid5000/sites/nancy/clusters/graphite/nodes/graphite-2.json
View file @
7d69d004
...
...
@@ -21,6 +21,11 @@
"ram_size"
:
270991937536
,
"virtual_size"
:
null
},
"mic"
:
{
"mic"
:
true
,
"mic_count"
:
1
,
"mic_model"
:
"7120P"
},
"network_adapters"
:
[
{
"bridged"
:
true
,
...
...
@@ -123,6 +128,20 @@
"vendor"
:
"Intel"
,
"version"
:
"E5-2650"
},
"sensors"
:
{
"power"
:
{
"available"
:
true
,
"via"
:
{
"api"
:
{
"metric"
:
"pdu"
},
"pdu"
:
{
"port"
:
22
,
"uid"
:
"graphene-pdu9.nancy.grid5000.fr"
}
}
}
},
"storage_devices"
:
[
{
"device"
:
"sda"
,
...
...
data/grid5000/sites/nancy/clusters/graphite/nodes/graphite-3.json
View file @
7d69d004
...
...
@@ -21,6 +21,11 @@
"ram_size"
:
270991937536
,
"virtual_size"
:
null
},
"mic"
:
{
"mic"
:
true
,
"mic_count"
:
1
,
"mic_model"
:
"7120P"
},
"network_adapters"
:
[
{
"bridged"
:
true
,
...
...
@@ -123,6 +128,20 @@
"vendor"
:
"Intel"
,
"version"
:
"E5-2650"
},
"sensors"
:
{
"power"
:
{
"available"
:
true
,
"via"
:
{
"api"
:
{
"metric"
:
"pdu"
},
"pdu"
:
{
"port"
:
20
,
"uid"
:
"graphene-pdu9.nancy.grid5000.fr"
}
}
}
},
"storage_devices"
:
[
{
"device"
:
"sda"
,
...
...
data/grid5000/sites/nancy/clusters/graphite/nodes/graphite-4.json
View file @
7d69d004
...
...
@@ -21,6 +21,11 @@
"ram_size"
:
270991937536
,
"virtual_size"
:
null
},
"mic"
:
{
"mic"
:
true
,
"mic_count"
:
1
,
"mic_model"
:
"7120P"
},
"network_adapters"
:
[
{
"bridged"
:
true
,
...
...
@@ -123,6 +128,20 @@
"vendor"
:
"Intel"
,
"version"
:
"E5-2650"
},
"sensors"
:
{
"power"
:
{
"available"
:
true
,
"via"
:
{
"api"
:
{
"metric"
:
"pdu"
},
"pdu"
:
{
"port"
:
8
,
"uid"
:
"graphene-pdu9.nancy.grid5000.fr"
}
}
}
},
"storage_devices"
:
[
{
"device"
:
"sda"
,
...
...
generators/input/sites/nancy/clusters/graphite.rb
View file @
7d69d004
...
...
@@ -160,10 +160,29 @@ site :nancy do |site_uid|
:release_date
=>
lookup
(
'graphite_generated'
,
node_uid
,
'bios'
,
'release_date'
)
})
mic
({
:mic
=>
true
,
:mic_count
=>
lookup
(
'graphite_manual'
,
node_uid
,
'mic'
,
'mic_count'
),
:mic_model
=>
lookup
(
'graphite_manual'
,
node_uid
,
'mic'
,
'mic_model'
),
})
gpu
({
:gpu
=>
false
})
sensors
({
:power
=>
{
:available
=>
true
,
:via
=>
{
:api
=>
{
:metric
=>
'pdu'
},
:pdu
=>
{
:uid
=>
lookup
(
'graphite_manual'
,
node_uid
,
'pdu'
,
'pdu_name'
),
:port
=>
lookup
(
'graphite_manual'
,
node_uid
,
'pdu'
,
'pdu_position'
),
}
}
}
})
end
end
end
# cluster graphite
...
...
generators/input/sites/nancy/clusters/graphite_manual.yaml
View file @
7d69d004
...
...
@@ -8,8 +8,11 @@ graphite-1:
switch_name
:
sgraphene3-ipmi
switch_port
:
1/0/41
pdu
:
pdu_name
:
graphene-pdu1.nancy.grid5000.fr
pdu_position
:
2
pdu_name
:
graphene-pdu9.nancy.grid5000.fr
pdu_position
:
24
mic
:
mic_count
:
1
mic_model
:
7120P
graphite-2
:
network_interfaces
:
eth0
:
...
...
@@ -19,8 +22,11 @@ graphite-2:
switch_name
:
sgraphene3-ipmi
switch_port
:
1/0/43
pdu
:
pdu_name
:
graphene-pdu1.nancy.grid5000.fr
pdu_position
:
3
pdu_name
:
graphene-pdu9.nancy.grid5000.fr
pdu_position
:
22
mic
:
mic_count
:
1
mic_model
:
7120P
graphite-3
:
network_interfaces
:
eth0
:
...
...
@@ -30,8 +36,11 @@ graphite-3:
switch_name
:
sgraphene3-ipmi
switch_port
:
1/0/45
pdu
:
pdu_name
:
graphene-pdu1.nancy.grid5000.fr
pdu_position
:
4
pdu_name
:
graphene-pdu9.nancy.grid5000.fr
pdu_position
:
20
mic
:
mic_count
:
1
mic_model
:
7120P
graphite-4
:
network_interfaces
:
eth0
:
...
...
@@ -41,5 +50,8 @@ graphite-4:
switch_name
:
sgraphene3-ipmi
switch_port
:
1/0/47
pdu
:
pdu_name
:
graphene-pdu1.nancy.grid5000.fr
pdu_position
:
5
pdu_name
:
graphene-pdu9.nancy.grid5000.fr
pdu_position
:
8
mic
:
mic_count
:
1
mic_model
:
7120P
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment