Commit a3d8191d authored by Jérémie Gaidamour's avatar Jérémie Gaidamour
Browse files

[nancy] Update dev branch

parent 4f354c36
site :nancy do |site_uid|
cluster :graoully do |cluster_uid|
model "Dell PowerEdge R630"
created_at Time.parse("2016-01-04").httpdate
kavlan true
queues ['admin', 'production']
16.times do |i|
node "#{cluster_uid}-#{i+1}" do |node_uid|
performance({
:core_flops => 0.G,
:node_flops => 0.G
})
supported_job_types({
:deploy => true,
:besteffort => true,
:max_walltime => (31536000 if i >= 12) || (172800 if i >= 9) || (86400 if i >= 6) || (7200 if i >= 3) || (3600 if i >= 0),
:virtual => lookup(node_uid, node_uid, 'supported_job_types', 'virtual'),
:queues => ['admin', 'production']
})
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 => lookup(node_uid, node_uid, 'operating_system', 'name'),
:release => "Jessie",
:version => lookup(node_uid, node_uid, 'operating_system', 'version'),
:kernel => lookup(node_uid, node_uid, 'operating_system', 'kernel')
})
storage_devices [{
:interface => 'SCSI',
:size => lookup(node_uid, node_uid, 'block_devices', 'sda', 'size'),
:driver => "megaraid_sas",
:device => lookup(node_uid, node_uid, 'block_devices', 'sda', 'device'),
:model => lookup(node_uid, node_uid, 'block_devices', 'sda', 'model'),
:vendor => 'LSI Logic / Symbios Logic',
:rev => lookup(node_uid, node_uid, 'block_devices', 'sda', 'rev'),
:storage => 'HDD'
},
{
:interface => 'SCSI',
:size => lookup(node_uid, node_uid, 'block_devices', 'sdb', 'size'),
:driver => "megaraid_sas",
:device => lookup(node_uid, node_uid, 'block_devices', 'sdb', 'device'),
:model => lookup(node_uid, node_uid, 'block_devices', 'sdb', 'model'),
:vendor => 'LSI Logic / Symbios Logic',
:rev => lookup(node_uid, node_uid, 'block_devices', 'sdb', '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 => true,
:management => lookup(node_uid, node_uid, 'network_interfaces', 'eth0', 'management'),
:mountable => true,
:mounted => lookup(node_uid, node_uid, 'network_interfaces', 'eth0', 'mounted'),
:bridged => true,
:device => "eth0",
:vendor => 'Intel Corporation',
:model => '82599ES 10-Gigabit SFI/SFP+ Network Connection',
:driver => lookup(node_uid, node_uid, 'network_interfaces', 'eth0', 'driver'),
:mac => lookup(node_uid, node_uid, 'network_interfaces', 'eth0', 'mac'),
:switch => net_switch_lookup('nancy', 'graoully', node_uid),
:switch_port => net_port_lookup('nancy', 'graoully', node_uid),
:ip => lookup(node_uid, node_uid, 'network_interfaces', 'eth0', 'ip'),
:network_address => "#{node_uid}.#{site_uid}.grid5000.fr"
},
{
:interface => lookup(node_uid, node_uid, 'network_interfaces', 'eth1', 'interface'),
:rate => 10.G,
:enabled => false,
:management => lookup(node_uid, node_uid, 'network_interfaces', 'eth1', 'management'),
:mountable => false,
:mounted => lookup(node_uid, node_uid, 'network_interfaces', 'eth1', 'mounted'),
:bridged => false,
:device => "eth1",
:vendor => 'Intel Corporation',
:model => '82599ES 10-Gigabit SFI/SFP+ Network Connection',
: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', 'eth2', 'interface'),
:rate => 10.G,
:enabled => false,
:management => lookup(node_uid, node_uid, 'network_interfaces', 'eth2', 'management'),
:mountable => false,
:mounted => lookup(node_uid, node_uid, 'network_interfaces', 'eth2', 'mounted'),
:bridged => false,
:device => "eth2",
:vendor => 'Intel Corporation',
:model => 'Ethernet 10G 2P X520 Adapter',
:driver => lookup(node_uid, node_uid, 'network_interfaces', 'eth2', 'driver'),
:mac => lookup(node_uid, node_uid, 'network_interfaces', 'eth2', 'mac'),
},
{
:interface => lookup(node_uid, node_uid, 'network_interfaces', 'eth3', 'interface'),
:rate => 10.G,
:enabled => false,
:management => lookup(node_uid, node_uid, 'network_interfaces', 'eth3', 'management'),
:mountable => false,
:mounted => lookup(node_uid, node_uid, 'network_interfaces', 'eth3', 'mounted'),
:bridged => false,
:device => "eth3",
:vendor => 'Intel Corporation',
:model => 'Ethernet 10G 2P X520 Adapter',
:driver => lookup(node_uid, node_uid, 'network_interfaces', 'eth3', 'driver'),
:mac => lookup(node_uid, node_uid, 'network_interfaces', 'eth3', 'mac'),
},
{
:interface => lookup(node_uid, node_uid, 'network_interfaces', 'eth4', 'interface'),
:rate => 1.G,
:enabled => false,
:management => lookup(node_uid, node_uid, 'network_interfaces', 'eth4', 'management'),
:mountable => false,
:mounted => lookup(node_uid, node_uid, 'network_interfaces', 'eth4', 'mounted'),
:bridged => false,
:device => "eth4",
:vendor => 'Intel Corporation',
:model => 'I350 Gigabit Network Connection',
:driver => lookup(node_uid, node_uid, 'network_interfaces', 'eth4', 'driver'),
:mac => lookup(node_uid, node_uid, 'network_interfaces', 'eth4', 'mac'),
},
{
:interface => lookup(node_uid, node_uid, 'network_interfaces', 'eth5', 'interface'),
:rate => 1.G,
:enabled => false,
:management => lookup(node_uid, node_uid, 'network_interfaces', 'eth5', 'management'),
:mountable => false,
:mounted => lookup(node_uid, node_uid, 'network_interfaces', 'eth5', 'mounted'),
:bridged => false,
:device => "eth5",
:vendor => 'Intel Corporation',
:model => 'I350 Gigabit Network Connection',
:driver => lookup(node_uid, node_uid, 'network_interfaces', 'eth5', 'driver'),
:mac => lookup(node_uid, node_uid, 'network_interfaces', 'eth5', 'mac'),
},
{
:interface => lookup(node_uid, node_uid, 'network_interfaces', 'ib0', 'interface'),
:rate => lookup(node_uid, node_uid, 'network_interfaces', 'ib0', 'rate'),
:enabled => true,
:management => lookup(node_uid, node_uid, 'network_interfaces', 'ib0', 'management'),
:mountable => true,
:mounted => true,
:bridged => false,
:device => "ib0",
:vendor => 'Mellanox',
:model => 'MT27500 Family [ConnectX-3]',
:version => lookup(node_uid, node_uid, 'network_interfaces', 'ib0', 'version'),
:driver => lookup(node_uid, node_uid, 'network_interfaces', 'ib0', 'driver'),
:mac => lookup(node_uid, node_uid, 'network_interfaces', 'ib0', 'mac'),
:ip => "172.18.70.#{i+1}",
:ip6 => lookup(node_uid, node_uid, 'network_interfaces', 'ib0', 'ip6'),
:network_address => "#{node_uid}-ib0.#{site_uid}.grid5000.fr",
:guid => lookup(node_uid, node_uid, 'network_interfaces', 'ib0', 'guid'),
:hwid => lookup('graoully_manual', node_uid, 'network_interfaces', 'ib0', 'hwid'),
:switch => "sgraoullyib",
:ib_switch_card => lookup('graoully_manual', node_uid, 'network_interfaces', 'ib0', 'line_card'),
:ib_switch_card_pos => lookup('graoully_manual', node_uid, 'network_interfaces', 'ib0', 'position'),
},
{
:interface => 'Ethernet',
:rate => 1.G,
:network_address => "#{node_uid}-bmc.#{site_uid}.grid5000.fr",
:ip => "172.17.70.#{i+1}",
:mac => lookup(node_uid, node_uid, 'network_interfaces', 'bmc', 'mac'),
:enabled => true,
:mounted => false,
:mountable => false,
:management => true,
:device => "bmc"
}]
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 => false
})
sensors({
:power => {
:available => true,
:via => {
:api => { :metric => 'power' },
:pdu => [ {
:uid => lookup('graoully_manual', node_uid, 'pdu', 'pdu_name'),
:port => lookup('graoully_manual', node_uid, 'pdu', 'pdu_position'),
} ]
}
}
})
end
end
end # cluster graoully
end # nancy
---
graoully-1:
architecture:
smp_size: 2
smt_size: 16
platform_type: x86_64
bios:
vendor: Dell Inc.
version: 1.3
release_date: 06/03/2015
chassis:
serial_number: 3DYYH82
manufacturer: Dell Inc.
product_name: PowerEdge R630
block_devices:
sda:
device: sda
size: 600127266816
model: ST600MM0088
rev: TT31
timeread: 1307
timewrite: 2926
sdb:
device: sdb
size: 600127266816
model: ST600MM0088
rev: TT31
supported_job_types:
virtual: ivt
main_memory:
ram_size: 135291469824
network_interfaces:
eth4:
interface: Ethernet
driver: igb
mac: 24:6e:96:03:0d:0c
mounted: false
management: false
eth0:
interface: Ethernet
ip: 172.16.70.1
driver: ixgbe
mac: 24:6e:96:03:0d:08
rate: 10000000000
mounted: true
management: false
eth5:
interface: Ethernet
driver: igb
mac: 24:6e:96:03:0d:0d
mounted: false
management: false
eth1:
interface: Ethernet
driver: ixgbe
mac: 24:6e:96:03:0d:0a
mounted: false
management: false
eth2:
interface: Ethernet
driver: ixgbe
mac: a0:36:9f:7e:4a:c0
mounted: false
management: false
eth3:
interface: Ethernet
driver: ixgbe
mac: a0:36:9f:7e:4a:c2
mounted: false
management: false
ib0:
interface: InfiniBand
driver: mlx4_core
guid: 20:00:55:00:41:80:00:00:00:00:00:00:e4:1d:2d:03:00:bf:52:41
rate: 56000000000
version: MT4099
mounted: false
management: false
operating_system:
name: debian
kernel: 3.16.0-4-amd64
version: 8.2
processor:
clock_speed: 3200000000
instruction_set: x86-64
model: Intel Xeon
version: E5-2630 v3
vendor: Intel
other_description: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz
cache_l1i: 32768
cache_l1d: 32768
cache_l2: 262144
cache_l3: 20971520
---
graoully-10:
architecture:
smp_size: 2
smt_size: 16
platform_type: x86_64
bios:
vendor: Dell Inc.
version: 1.3
release_date: 06/03/2015
chassis:
serial_number: 3Z93J82
manufacturer: Dell Inc.
product_name: PowerEdge R630
block_devices:
sda:
device: sda
size: 600127266816
model: ST600MM0088
rev: TT31
timeread: 1257
timewrite: 2891
sdb:
device: sdb
size: 600127266816
model: ST600MM0088
rev: TT31
supported_job_types:
virtual: ivt
main_memory:
ram_size: 135291469824
network_interfaces:
eth4:
interface: Ethernet
driver: igb
mac: 24:6e:96:03:0d:fc
mounted: false
management: false
eth0:
interface: Ethernet
ip: 172.16.70.10
driver: ixgbe
mac: 24:6e:96:03:0d:f8
rate: 10000000000
mounted: true
management: false
eth5:
interface: Ethernet
driver: igb
mac: 24:6e:96:03:0d:fd
mounted: false
management: false
eth1:
interface: Ethernet
driver: ixgbe
mac: 24:6e:96:03:0d:fa
mounted: false
management: false
eth2:
interface: Ethernet
driver: ixgbe
mac: a0:36:9f:7f:34:ac
mounted: false
management: false
eth3:
interface: Ethernet
driver: ixgbe
mac: a0:36:9f:7f:34:ae
mounted: false
management: false
ib0:
interface: InfiniBand
driver: mlx4_core
guid: 20:00:55:00:41:80:00:00:00:00:00:00:e4:1d:2d:03:00:bf:4f:a1
rate: 56000000000
version: MT4099
mounted: false
management: false
operating_system:
name: debian
kernel: 3.16.0-4-amd64
version: 8.2
processor:
clock_speed: 3200000000
instruction_set: x86-64
model: Intel Xeon
version: E5-2630 v3
vendor: Intel
other_description: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz
cache_l1i: 32768
cache_l1d: 32768
cache_l2: 262144
cache_l3: 20971520
---
graoully-11:
architecture:
smp_size: 2
smt_size: 16
platform_type: x86_64
bios:
vendor: Dell Inc.
version: 1.3
release_date: 06/03/2015
chassis:
serial_number: 3ZBZH82
manufacturer: Dell Inc.
product_name: PowerEdge R630
block_devices:
sda:
device: sda
size: 600127266816
model: ST600MM0088
rev: TT31
timeread: 1265
timewrite: 2967
sdb:
device: sdb
size: 600127266816
model: ST600MM0088
rev: TT31
supported_job_types:
virtual: ivt
main_memory:
ram_size: 135291469824
network_interfaces:
eth0:
interface: Ethernet
ip: 172.16.70.11
driver: ixgbe
mac: 24:6e:96:03:1f:98
rate: 10000000000
mounted: true
management: false
eth4:
interface: Ethernet
driver: igb
mac: 24:6e:96:03:1f:9c
mounted: false
management: false
eth5:
interface: Ethernet
driver: igb
mac: 24:6e:96:03:1f:9d
mounted: false
management: false
eth1:
interface: Ethernet
driver: ixgbe
mac: 24:6e:96:03:1f:9a
mounted: false
management: false
eth2:
interface: Ethernet
driver: ixgbe
mac: a0:36:9f:7f:39:64
mounted: false
management: false
eth3:
interface: Ethernet
driver: ixgbe
mac: a0:36:9f:7f:39:66
mounted: false
management: false
ib0:
interface: InfiniBand
driver: mlx4_core
guid: 20:00:55:00:41:80:00:00:00:00:00:00:e4:1d:2d:03:00:bf:50:51
rate: 56000000000
version: MT4099
mounted: false
management: false
operating_system:
name: debian
kernel: 3.16.0-4-amd64
version: 8.2
processor:
clock_speed: 3200000000
instruction_set: x86-64
model: Intel Xeon
version: E5-2630 v3
vendor: Intel
other_description: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz
cache_l1i: 32768
cache_l1d: 32768
cache_l2: 262144
cache_l3: 20971520
---
graoully-12:
architecture:
smp_size: 2
smt_size: 16
platform_type: x86_64
bios:
vendor: Dell Inc.
version: 1.3
release_date: 06/03/2015
chassis:
serial_number: 3DW1J82
manufacturer: Dell Inc.
product_name: PowerEdge R630
block_devices:
sda:
device: sda
size: 600127266816
model: ST600MM0088
rev: TT31
timeread: 1269
timewrite: 2906
sdb:
device: sdb
size: 600127266816
model: ST600MM0088
rev: TT31
supported_job_types:
virtual: ivt
main_memory:
ram_size: 135291469824
network_interfaces:
eth4:
interface: Ethernet
driver: igb
mac: 24:6e:96:03:09:9c
mounted: false
management: false
eth0:
interface: Ethernet
ip: 172.16.70.12
driver: ixgbe
mac: 24:6e:96:03:09:98
rate: 10000000000
mounted: true
management: false
eth5:
interface: Ethernet
driver: igb
mac: 24:6e:96:03:09:9d
mounted: false
management: false
eth1:
interface: Ethernet
driver: ixgbe
mac: 24:6e:96:03:09:9a
mounted: false
management: false
eth2:
interface: Ethernet
driver: ixgbe
mac: a0:36:9f:7e:4c:30
mounted: false
management: false
eth3: