Commit 5dff2ecf authored by Jérémie Gaidamour's avatar Jérémie Gaidamour

[dev] First version of the new input files

(removed .rb, created .yaml  etc.)
parent 7b10e33b
site :grenoble do |site_uid|
cluster :adonis do |cluster_uid|
model "Bull R422-E2 dual mobo + Tesla S1070"
created_at Time.parse("2010-09-02").httpdate
kavlan true
production true
10.times do |i|
node "#{cluster_uid}-#{i+1}" do |node_uid|
performance({
:core_flops => 7139000000,
:node_flops => 55510000000
})
supported_job_types({
:deploy => true,
:besteffort => true,
:virtual => lookup(node_uid, node_uid, 'supported_job_types', 'virtual')
})
architecture({
:smp_size => lookup(node_uid, node_uid, 'architecture', 'smp_size'),
:smt_size => lookup(node_uid, node_uid, 'architecture', 'smt_size'),
:platform_type => lookup(node_uid, node_uid, 'architecture', 'platform_type')
})
processor({
:vendor => lookup(node_uid, node_uid, 'processor', 'vendor'),
:model => lookup(node_uid, node_uid, 'processor', 'model'),
:version => lookup(node_uid, node_uid, 'processor', 'version'),
:clock_speed => lookup(node_uid, node_uid, 'processor', 'clock_speed'),
:instruction_set => lookup(node_uid, node_uid, 'processor', 'instruction_set'),
:other_description => lookup(node_uid, node_uid, 'processor', 'other_description'),
:cache_l1 => lookup(node_uid, node_uid, 'processor', 'cache_l1'),
:cache_l1i => lookup(node_uid, node_uid, 'processor', 'cache_l1i'),
:cache_l1d => lookup(node_uid, node_uid, 'processor', 'cache_l1d'),
:cache_l2 => lookup(node_uid, node_uid, 'processor', 'cache_l2'),
:cache_l3 => lookup(node_uid, node_uid, 'processor', 'cache_l3')
})
main_memory({
:ram_size => lookup(node_uid, node_uid, 'main_memory', 'ram_size'),
:virtual_size => nil
})
operating_system({
:name => "debian",
:release => "Wheezy",
:version => "7",
:kernel => "3.2.0-4-amd64"
})
storage_devices [{
:interface => 'SATA',
:size => lookup(node_uid, node_uid, 'block_devices', 'sda', 'size'),
:driver => "ahci",
:device => lookup(node_uid, node_uid, 'block_devices', 'sda', 'device'),
:model => lookup(node_uid, node_uid, 'block_devices', 'sda', 'model'),
:vendor => lookup(node_uid, node_uid, 'block_devices', 'sda', 'vendor'),
:rev => lookup(node_uid, node_uid, 'block_devices', 'sda', 'rev'),
:storage => 'HDD'
}]
network_adapters [{
:interface => lookup(node_uid, node_uid, 'network_interfaces', 'eth0', 'interface'),
:rate => lookup(node_uid, node_uid, 'network_interfaces', 'eth0', 'rate'),
:enabled => lookup(node_uid, node_uid, 'network_interfaces', 'eth0', 'enabled'),
:management => lookup(node_uid, node_uid, 'network_interfaces', 'eth0', 'management'),
:mountable => lookup(node_uid, node_uid, 'network_interfaces', 'eth0', 'mountable'),
:mounted => lookup(node_uid, node_uid, 'network_interfaces', 'eth0', 'mounted'),
:bridged => true,
:device => "eth0",
:vendor => 'Intel',
:version => "Device 10c9 (rev 01)",
:driver => lookup(node_uid, node_uid, 'network_interfaces', 'eth0', 'driver'),
:network_address => "#{node_uid}.#{site_uid}.grid5000.fr",
:ip => lookup(node_uid, node_uid, 'network_interfaces', 'eth0', 'ip'),
:ip6 => lookup(node_uid, node_uid, 'network_interfaces', 'eth0', 'ip6'),
:switch => net_switch_lookup('grenoble', 'adonis', node_uid, 'eth0'),
:switch_port => net_port_lookup('grenoble', 'adonis', node_uid, 'eth0'),
:mac => lookup(node_uid, node_uid, 'network_interfaces', 'eth0', 'mac')
},
{
:interface => lookup(node_uid, node_uid, 'network_interfaces', 'eth1', 'interface'),
:rate => 1.G,
:enabled => lookup(node_uid, node_uid, 'network_interfaces', 'eth1', 'enabled'),
:management => lookup(node_uid, node_uid, 'network_interfaces', 'eth1', 'management'),
:mountable => lookup(node_uid, node_uid, 'network_interfaces', 'eth1', 'mountable'),
:mounted => lookup(node_uid, node_uid, 'network_interfaces', 'eth1', 'mounted'),
:bridged => false,
:device => "eth1",
:vendor => 'Intel',
:version => "Device 10c9 (rev 01)",
:driver => lookup(node_uid, node_uid, 'network_interfaces', 'eth1', 'driver'),
:mac => lookup(node_uid, node_uid, 'network_interfaces', 'eth1', 'mac')
},
{
:interface => lookup(node_uid, node_uid, 'network_interfaces', 'ib0', 'interface'),
:rate => lookup(node_uid, node_uid, 'network_interfaces', 'ib0', 'rate'),
:device => "ib0",
:enabled => lookup(node_uid, node_uid, 'network_interfaces', 'ib0', 'enabled'),
:management => lookup(node_uid, node_uid, 'network_interfaces', 'ib0', 'management'),
:mountable => lookup(node_uid, node_uid, 'network_interfaces', 'ib0', 'mountable'),
:mounted => lookup(node_uid, node_uid, 'network_interfaces', 'ib0', 'mounted'),
:vendor => 'Mellanox',
:version => lookup(node_uid, node_uid, 'network_interfaces', 'ib0', 'version'),
:driver => lookup(node_uid, node_uid, 'network_interfaces', 'ib0', 'driver'),
:network_address => "#{node_uid}-ib0.#{site_uid}.grid5000.fr",
:ip => lookup(node_uid, node_uid, 'network_interfaces', 'ib0', 'ip'),
:ip6 => lookup(node_uid, node_uid, 'network_interfaces', 'ib0', 'ip6'),
:guid => lookup(node_uid, node_uid, 'network_interfaces', 'ib0', 'guid')
},
{
:interface => 'Ethernet',
:rate => 1.G,
:enabled => true,
:management => true,
:mountable => false,
:mounted => false,
:device => "bmc",
:network_address => "#{node_uid}-bmc.#{site_uid}.grid5000.fr",
:ip => lookup(node_uid, node_uid, 'network_interfaces', 'bmc', 'ip'),
:vendor => 'Super Micro Computer Inc.',
:version => "1.15",
:mac => lookup(node_uid, node_uid, 'network_interfaces', 'bmc', 'mac')
}]
chassis({
:serial => lookup(node_uid, node_uid, 'chassis', 'serial_number'),
:name => lookup(node_uid, node_uid, 'chassis', 'product_name'),
:manufacturer => lookup(node_uid, node_uid, 'chassis', 'manufacturer')
})
bios({
:version => lookup(node_uid, node_uid, 'bios', 'version'),
:vendor => lookup(node_uid, node_uid, 'bios', 'vendor'),
:release_date => lookup(node_uid, node_uid, 'bios', 'release_date')
})
gpu({
:gpu => true,
:gpu_count => lookup('adonis_manual', node_uid, 'gpu', 'gpu_count'),
:gpu_vendor => lookup('adonis_manual', node_uid, 'gpu', 'gpu_vendor'),
:gpu_model => lookup('adonis_manual', node_uid, 'gpu', 'gpu_model'),
})
sensors({
:power => {
:available => true,
:via => {
:pdu => [
[ { :measure => lookup('adonis_manual', node_uid, 'sensors', 'measure1'),
:uid => lookup('adonis_manual', node_uid, 'sensors', 'pdu')},
{ :measure => lookup('adonis_manual', node_uid, 'sensors', 'measure2'),
:uid => lookup('adonis_manual', node_uid, 'sensors', 'pdu')}
],
[ { :measure => "global",
:uid => lookup('adonis_manual', node_uid, 'sensors', 'block')}
]
]
}
}
})
end
end
end
end
---
# Cluster description
model: Bull R422-E2 dual mobo + Tesla S1070
created_at: 2010-09-02
kavlan: true
production: true
nodes:
# Global node properties
adonis-[1-10]:
performance:
core_flops: 7139000000
node_flops: 55510000000
supported_job_types:
deploy: true
besteffort: true
main_memory:
virtual_size: null
operating_system:
name: debian
release: Wheezy
version: 7
kernel: 3.2.0-4-amd64
block_devices:
sda:
interface: SATA
driver: ahci
storage: HDD
network_interfaces:
eth0:
bridged: true
device: eth0
vendor: Intel
version: Device 10c9 (rev 01)
eth1:
rate: 1000000000
bridged: false
device: eth1
vendor: Intel
version: Device 10c9 (rev 01)
ib0:
device: ib0
vendor: Mellanox
bmc:
interface: Ethernet
rate: 1000000000
enabled: true
management: true
mountable: false
mounted: false
device: bmc
vendor: Super Micro Computer Inc.
version: "1.15"
gpu:
gpu: true
sensors:
power:
available: true
via:
pdu:
---
adonis-1:
network_interfaces:
eth0:
switch_name: gw-grenoble
switch_port: '3:11'
sensors:
measure1: outlet-11
measure2: outlet-12
pdu: adonis-pdu-1.grenoble.grid5000.fr
block: block-1
gpu:
gpu_count: 2
gpu_vendor: Nvidia
gpu_model: Tesla-C1060
adonis-2:
network_interfaces:
eth0:
switch_name: gw-grenoble
switch_port: '3:12'
sensors:
measure1: outlet-11
measure2: outlet-12
pdu: adonis-pdu-1.grenoble.grid5000.fr
block: block-1
gpu:
gpu_count: 2
gpu_vendor: Nvidia
gpu_model: Tesla-C1060
adonis-3:
network_interfaces:
eth0:
switch_name: gw-grenoble
switch_port: '3:13'
sensors:
measure1: outlet-13
measure2: outlet-14
pdu: adonis-pdu-1.grenoble.grid5000.fr
block: block-2
gpu:
gpu_count: 2
gpu_vendor: Nvidia
gpu_model: Tesla-C1060
adonis-4:
network_interfaces:
eth0:
switch_name: gw-grenoble
switch_port: '3:14'
sensors:
measure1: outlet-13
measure2: outlet-14
pdu: adonis-pdu-1.grenoble.grid5000.fr
block: block-2
gpu:
gpu_count: 2
gpu_vendor: Nvidia
gpu_model: Tesla-C1060
adonis-5:
network_interfaces:
eth0:
switch_name: gw-grenoble
switch_port: '3:15'
sensors:
measure1: outlet-5
measure2: outlet-6
pdu: adonis-pdu-1.grenoble.grid5000.fr
block: block-1
gpu:
gpu_count: 2
gpu_vendor: Nvidia
gpu_model: Tesla-C1060
adonis-6:
network_interfaces:
eth0:
switch_name: gw-grenoble
switch_port: '3:16'
sensors:
measure1: outlet-5
measure2: outlet-6
pdu: adonis-pdu-1.grenoble.grid5000.fr
block: block-1
gpu:
gpu_count: 2
gpu_vendor: Nvidia
gpu_model: Tesla-C1060
adonis-7:
network_interfaces:
eth0:
switch_name: gw-grenoble
switch_port: '3:17'
sensors:
measure1: outlet-1
measure2: outlet-2
pdu: adonis-pdu-2.grenoble.grid5000.fr
block: block-1
gpu:
gpu_count: 2
gpu_vendor: Nvidia
gpu_model: Tesla-C1060
adonis-8:
network_interfaces:
eth0:
switch_name: gw-grenoble
switch_port: '3:18'
sensors:
measure1: outlet-1
measure2: outlet-2
pdu: adonis-pdu-2.grenoble.grid5000.fr
block: block-1
gpu:
gpu_count: 2
gpu_vendor: Nvidia
gpu_model: Tesla-C1060
adonis-9:
network_interfaces:
eth0:
switch_name: gw-grenoble
switch_port: '3:19'
sensors:
measure1: outlet-13
measure2: outlet-14
pdu: adonis-pdu-2.grenoble.grid5000.fr
block: block-2
gpu:
gpu_count: 2
gpu_vendor: Nvidia
gpu_model: Tesla-C1060
adonis-10:
network_interfaces:
eth0:
switch_name: gw-grenoble
switch_port: '3:20'
sensors:
measure1: outlet-13
measure2: outlet-14
pdu: adonis-pdu-2.grenoble.grid5000.fr
block: block-2
gpu:
gpu_count: 2
gpu_vendor: Nvidia
gpu_model: Tesla-C1060
nodes:
adonis-1:
network_interfaces:
eth0:
switch: gw-grenoble
switch_port: '3:11'
sensors:
measure1: outlet-11
measure2: outlet-12
pdu: adonis-pdu-1.grenoble.grid5000.fr
block: block-1
gpu:
gpu_count: 2
gpu_vendor: Nvidia
gpu_model: Tesla-C1060
adonis-2:
network_interfaces:
eth0:
switch: gw-grenoble
switch_port: '3:12'
sensors:
measure1: outlet-11
measure2: outlet-12
pdu: adonis-pdu-1.grenoble.grid5000.fr
block: block-1
gpu:
gpu_count: 2
gpu_vendor: Nvidia
gpu_model: Tesla-C1060
adonis-3:
network_interfaces:
eth0:
switch: gw-grenoble
switch_port: '3:13'
sensors:
measure1: outlet-13
measure2: outlet-14
pdu: adonis-pdu-1.grenoble.grid5000.fr
block: block-2
gpu:
gpu_count: 2
gpu_vendor: Nvidia
gpu_model: Tesla-C1060
adonis-4:
network_interfaces:
eth0:
switch: gw-grenoble
switch_port: '3:14'
sensors:
measure1: outlet-13
measure2: outlet-14
pdu: adonis-pdu-1.grenoble.grid5000.fr
block: block-2
gpu:
gpu_count: 2
gpu_vendor: Nvidia
gpu_model: Tesla-C1060
adonis-5:
network_interfaces:
eth0:
switch: gw-grenoble
switch_port: '3:15'
sensors:
measure1: outlet-5
measure2: outlet-6
pdu: adonis-pdu-1.grenoble.grid5000.fr
block: block-1
gpu:
gpu_count: 2
gpu_vendor: Nvidia
gpu_model: Tesla-C1060
adonis-6:
network_interfaces:
eth0:
switch: gw-grenoble
switch_port: '3:16'
sensors:
measure1: outlet-5
measure2: outlet-6
pdu: adonis-pdu-1.grenoble.grid5000.fr
block: block-1
gpu:
gpu_count: 2
gpu_vendor: Nvidia
gpu_model: Tesla-C1060
adonis-7:
network_interfaces:
eth0:
switch: gw-grenoble
switch_port: '3:17'
sensors:
measure1: outlet-1
measure2: outlet-2
pdu: adonis-pdu-2.grenoble.grid5000.fr
block: block-1
gpu:
gpu_count: 2
gpu_vendor: Nvidia
gpu_model: Tesla-C1060
adonis-8:
network_interfaces:
eth0:
switch: gw-grenoble
switch_port: '3:18'
sensors:
measure1: outlet-1
measure2: outlet-2
pdu: adonis-pdu-2.grenoble.grid5000.fr
block: block-1
gpu:
gpu_count: 2
gpu_vendor: Nvidia
gpu_model: Tesla-C1060
adonis-9:
network_interfaces:
eth0:
switch: gw-grenoble
switch_port: '3:19'
sensors:
measure1: outlet-13
measure2: outlet-14
pdu: adonis-pdu-2.grenoble.grid5000.fr
block: block-2
gpu:
gpu_count: 2
gpu_vendor: Nvidia
gpu_model: Tesla-C1060
adonis-10:
network_interfaces:
eth0:
switch: gw-grenoble
switch_port: '3:20'
sensors:
measure1: outlet-13
measure2: outlet-14
pdu: adonis-pdu-2.grenoble.grid5000.fr
block: block-2
gpu:
gpu_count: 2
gpu_vendor: Nvidia
gpu_model: Tesla-C1060
\ No newline at end of file
site :grenoble do |site_uid|
cluster :edel do |cluster_uid|
model "Bull bullx B500 compute blades"
created_at Time.parse("2008-10-03").httpdate
kavlan true
production true
72.times do |i|
node "#{cluster_uid}-#{i+1}" do |node_uid|
performance({
:core_flops => 7134000000,
:node_flops => 55450000000
})
supported_job_types({
:deploy => true,
:besteffort => true,
:virtual => lookup(node_uid, node_uid, 'supported_job_types', 'virtual')
})
architecture({
:smp_size => lookup(node_uid, node_uid, 'architecture', 'smp_size'),
:smt_size => lookup(node_uid, node_uid, 'architecture', 'smt_size'),
:platform_type => lookup(node_uid, node_uid, 'architecture', 'platform_type')
})
processor({
:vendor => lookup(node_uid, node_uid, 'processor', 'vendor'),
:model => lookup(node_uid, node_uid, 'processor', 'model'),
:version => lookup(node_uid, node_uid, 'processor', 'version'),
:clock_speed => lookup(node_uid, node_uid, 'processor', 'clock_speed'),
:instruction_set => lookup(node_uid, node_uid, 'processor', 'instruction_set'),
:other_description => lookup(node_uid, node_uid, 'processor', 'other_description'),
:cache_l1 => lookup(node_uid, node_uid, 'processor', 'cache_l1'),
:cache_l1i => lookup(node_uid, node_uid, 'processor', 'cache_l1i'),
:cache_l1d => lookup(node_uid, node_uid, 'processor', 'cache_l1d'),
:cache_l2 => lookup(node_uid, node_uid, 'processor', 'cache_l2'),
:cache_l3 => lookup(node_uid, node_uid, 'processor', 'cache_l3')
})
main_memory({
:ram_size => lookup(node_uid, node_uid, 'main_memory', 'ram_size'),
:virtual_size => nil
})
operating_system({
:name => "debian",
:release => "Wheezy",
:version => "7",
:kernel => "3.2.0-4-amd64"
})
storage_devices [{
:interface => 'SATA',
:size => lookup(node_uid, node_uid, 'block_devices', 'sda', 'size'),
:driver => "ahci",
:device => lookup(node_uid, node_uid, 'block_devices', 'sda', 'device'),
:model => lookup(node_uid, node_uid, 'block_devices', 'sda', 'model'),
:vendor => lookup(node_uid, node_uid, 'block_devices', 'sda', 'vendor'),
:rev => lookup(node_uid, node_uid, 'block_devices', 'sda', 'rev'),
:storage => 'SSD'
}]
network_adapters [{
:interface => lookup(node_uid, node_uid, 'network_interfaces', 'eth0', 'interface'),
:rate => lookup(node_uid, node_uid, 'network_interfaces', 'eth0', 'rate'),
:enabled => lookup(node_uid, node_uid, 'network_interfaces', 'eth0', 'enabled'),
:management => lookup(node_uid, node_uid, 'network_interfaces', 'eth0', 'management'),
:mountable => lookup(node_uid, node_uid, 'network_interfaces', 'eth0', 'mountable'),