Commit 5280f2f1 authored by Simon Delamare's avatar Simon Delamare
Browse files

[lyon] Add hercule cluster

parent 4121c9e5
{
"created_at": "Tue, 02 Oct 2012 12:00:00 GMT",
"model": "Dell C6220",
"type": "cluster",
"uid": "hercule"
}
\ No newline at end of file
{
"architecture": {
"platform_type": "x86_64",
"smp_size": 2,
"smt_size": 12
},
"main_memory": {
"ram_size": 34359738368,
"virtual_size": null
},
"monitoring": {
"wattmeter": true
},
"network_adapters": [
{
"bridged": true,
"device": "eth1",
"driver": "ixgbe",
"enabled": true,
"interface": "Ethernet",
"ip": "10.69.3.1",
"mac": "00:8C:FA:0B:B9:C3",
"management": false,
"model": "82599EB 10-Gigabit SFI/SFP+ Network Connection",
"mountable": true,
"mounted": true,
"network_address": "hercule-1.lyon.grid5000.fr",
"rate": 10000000000,
"switch": "Force10",
"switch_port": null,
"vendor": "Intel"
},
{
"device": "eth1",
"driver": "ixgbe",
"enabled": false,
"interface": "Ethernet",
"mac": "00:8C:FA:0B:B9:C2",
"management": false,
"model": "82599EB 10-Gigabit SFI/SFP+ Network Connection",
"mountable": false,
"mounted": false,
"rate": 10000000000,
"vendor": "Intel"
},
{
"device": "eth2",
"driver": "igb",
"enabled": false,
"interface": "Ethernet",
"mac": "84:8f:69:fd:4d:36",
"management": false,
"model": "Intel Corporation",
"mountable": false,
"mounted": false,
"rate": 1000000000,
"vendor": "Intel"
},
{
"device": "eth3",
"driver": "igb",
"enabled": false,
"interface": "Ethernet",
"mac": "84:8f:69:fd:4d:36",
"management": false,
"model": "Intel Corporation",
"mountable": false,
"mounted": false,
"rate": 1000000000,
"vendor": "Intel"
}
],
"operating_system": {
"kernel": "2.6.32",
"name": "Debian",
"release": "6.0",
"version": null
},
"processor": {
"cache_l1": null,
"cache_l1d": null,
"cache_l1i": null,
"cache_l2": null,
"clock_speed": 2000000000.0,
"instruction_set": "",
"model": "Intel Xeon",
"other_description": "",
"vendor": "Intel",
"version": "E5-2620"
},
"storage_devices": [
{
"device": "sda",
"driver": "ahci",
"interface": "SATA",
"size": 1818989403545.86
},
{
"device": "sdb",
"driver": "ahci",
"interface": "SATA",
"size": 1818989403545.86
},
{
"device": "sdc",
"driver": "ahci",
"interface": "SATA",
"size": 1818989403545.86
}
],
"supported_job_types": {
"besteffort": true,
"deploy": true,
"virtual": "ivt"
},
"type": "node",
"uid": "hercule-1"
}
\ No newline at end of file
{
"architecture": {
"platform_type": "x86_64",
"smp_size": 2,
"smt_size": 12
},
"main_memory": {
"ram_size": 34359738368,
"virtual_size": null
},
"monitoring": {
"wattmeter": true
},
"network_adapters": [
{
"bridged": true,
"device": "eth1",
"driver": "ixgbe",
"enabled": true,
"interface": "Ethernet",
"ip": "10.69.3.2",
"mac": "00:8c:fa:0b:b4:bd",
"management": false,
"model": "82599EB 10-Gigabit SFI/SFP+ Network Connection",
"mountable": true,
"mounted": true,
"network_address": "hercule-2.lyon.grid5000.fr",
"rate": 10000000000,
"switch": "Force10",
"switch_port": null,
"vendor": "Intel"
},
{
"device": "eth1",
"driver": "ixgbe",
"enabled": false,
"interface": "Ethernet",
"mac": "00:8c:fa:0b:b4:bc",
"management": false,
"model": "82599EB 10-Gigabit SFI/SFP+ Network Connection",
"mountable": false,
"mounted": false,
"rate": 10000000000,
"vendor": "Intel"
},
{
"device": "eth2",
"driver": "igb",
"enabled": false,
"interface": "Ethernet",
"mac": "84:8f:69:fd:4f:3d",
"management": false,
"model": "Intel Corporation",
"mountable": false,
"mounted": false,
"rate": 1000000000,
"vendor": "Intel"
},
{
"device": "eth3",
"driver": "igb",
"enabled": false,
"interface": "Ethernet",
"mac": "84:8f:69:fd:4f:3d",
"management": false,
"model": "Intel Corporation",
"mountable": false,
"mounted": false,
"rate": 1000000000,
"vendor": "Intel"
}
],
"operating_system": {
"kernel": "2.6.32",
"name": "Debian",
"release": "6.0",
"version": null
},
"processor": {
"cache_l1": null,
"cache_l1d": null,
"cache_l1i": null,
"cache_l2": null,
"clock_speed": 2000000000.0,
"instruction_set": "",
"model": "Intel Xeon",
"other_description": "",
"vendor": "Intel",
"version": "E5-2620"
},
"storage_devices": [
{
"device": "sda",
"driver": "ahci",
"interface": "SATA",
"size": 1818989403545.86
},
{
"device": "sdb",
"driver": "ahci",
"interface": "SATA",
"size": 1818989403545.86
},
{
"device": "sdc",
"driver": "ahci",
"interface": "SATA",
"size": 1818989403545.86
}
],
"supported_job_types": {
"besteffort": true,
"deploy": true,
"virtual": "ivt"
},
"type": "node",
"uid": "hercule-2"
}
\ No newline at end of file
{
"architecture": {
"platform_type": "x86_64",
"smp_size": 2,
"smt_size": 12
},
"main_memory": {
"ram_size": 34359738368,
"virtual_size": null
},
"monitoring": {
"wattmeter": true
},
"network_adapters": [
{
"bridged": true,
"device": "eth1",
"driver": "ixgbe",
"enabled": true,
"interface": "Ethernet",
"ip": "10.69.3.3",
"mac": "00:8c:fa:0b:e1:79",
"management": false,
"model": "82599EB 10-Gigabit SFI/SFP+ Network Connection",
"mountable": true,
"mounted": true,
"network_address": "hercule-3.lyon.grid5000.fr",
"rate": 10000000000,
"switch": "Force10",
"switch_port": null,
"vendor": "Intel"
},
{
"device": "eth1",
"driver": "ixgbe",
"enabled": false,
"interface": "Ethernet",
"mac": "00:8c:fa:0b:e1:78",
"management": false,
"model": "82599EB 10-Gigabit SFI/SFP+ Network Connection",
"mountable": false,
"mounted": false,
"rate": 10000000000,
"vendor": "Intel"
},
{
"device": "eth2",
"driver": "igb",
"enabled": false,
"interface": "Ethernet",
"mac": "84:8f:69:fd:4c:1f",
"management": false,
"model": "Intel Corporation",
"mountable": false,
"mounted": false,
"rate": 1000000000,
"vendor": "Intel"
},
{
"device": "eth3",
"driver": "igb",
"enabled": false,
"interface": "Ethernet",
"mac": "84:8f:69:fd:4c:1f",
"management": false,
"model": "Intel Corporation",
"mountable": false,
"mounted": false,
"rate": 1000000000,
"vendor": "Intel"
}
],
"operating_system": {
"kernel": "2.6.32",
"name": "Debian",
"release": "6.0",
"version": null
},
"processor": {
"cache_l1": null,
"cache_l1d": null,
"cache_l1i": null,
"cache_l2": null,
"clock_speed": 2000000000.0,
"instruction_set": "",
"model": "Intel Xeon",
"other_description": "",
"vendor": "Intel",
"version": "E5-2620"
},
"storage_devices": [
{
"device": "sda",
"driver": "ahci",
"interface": "SATA",
"size": 1818989403545.86
},
{
"device": "sdb",
"driver": "ahci",
"interface": "SATA",
"size": 1818989403545.86
},
{
"device": "sdc",
"driver": "ahci",
"interface": "SATA",
"size": 1818989403545.86
}
],
"supported_job_types": {
"besteffort": true,
"deploy": true,
"virtual": "ivt"
},
"type": "node",
"uid": "hercule-3"
}
\ No newline at end of file
{
"architecture": {
"platform_type": "x86_64",
"smp_size": 2,
"smt_size": 12
},
"main_memory": {
"ram_size": 34359738368,
"virtual_size": null
},
"monitoring": {
"wattmeter": true
},
"network_adapters": [
{
"bridged": true,
"device": "eth1",
"driver": "ixgbe",
"enabled": true,
"interface": "Ethernet",
"ip": "10.69.3.4",
"mac": "00:8c:fa:0b:d8:53",
"management": false,
"model": "82599EB 10-Gigabit SFI/SFP+ Network Connection",
"mountable": true,
"mounted": true,
"network_address": "hercule-4.lyon.grid5000.fr",
"rate": 10000000000,
"switch": "Force10",
"switch_port": null,
"vendor": "Intel"
},
{
"device": "eth1",
"driver": "ixgbe",
"enabled": false,
"interface": "Ethernet",
"mac": "00:8c:fa:0b:d8:52",
"management": false,
"model": "82599EB 10-Gigabit SFI/SFP+ Network Connection",
"mountable": false,
"mounted": false,
"rate": 10000000000,
"vendor": "Intel"
},
{
"device": "eth2",
"driver": "igb",
"enabled": false,
"interface": "Ethernet",
"mac": "84:8f:69:fd:4a:51",
"management": false,
"model": "Intel Corporation",
"mountable": false,
"mounted": false,
"rate": 1000000000,
"vendor": "Intel"
},
{
"device": "eth3",
"driver": "igb",
"enabled": false,
"interface": "Ethernet",
"mac": "84:8f:69:fd:4a:51",
"management": false,
"model": "Intel Corporation",
"mountable": false,
"mounted": false,
"rate": 1000000000,
"vendor": "Intel"
}
],
"operating_system": {
"kernel": "2.6.32",
"name": "Debian",
"release": "6.0",
"version": null
},
"processor": {
"cache_l1": null,
"cache_l1d": null,
"cache_l1i": null,
"cache_l2": null,
"clock_speed": 2000000000.0,
"instruction_set": "",
"model": "Intel Xeon",
"other_description": "",
"vendor": "Intel",
"version": "E5-2620"
},
"storage_devices": [
{
"device": "sda",
"driver": "ahci",
"interface": "SATA",
"size": 1818989403545.86
},
{
"device": "sdb",
"driver": "ahci",
"interface": "SATA",
"size": 1818989403545.86
},
{
"device": "sdc",
"driver": "ahci",
"interface": "SATA",
"size": 1818989403545.86
}
],
"supported_job_types": {
"besteffort": true,
"deploy": true,
"virtual": "ivt"
},
"type": "node",
"uid": "hercule-4"
}
\ No newline at end of file
site :lyon do |site_uid|
cluster :hercule do |cluster_uid|
model "Dell C6220"
created_at Time.parse("2012-10-02 12:00 GMT").httpdate
4.times do |i|
node "#{cluster_uid}-#{i+1}" do |node_uid|
supported_job_types({:deploy => true, :besteffort => true, :virtual => "ivt"})
architecture({
:smp_size => 2,
:smt_size => 12,
:platform_type => "x86_64"
})
processor({
:vendor => "Intel",
:model => "Intel Xeon",
:version => "E5-2620",
:clock_speed => 2.0.G,
:instruction_set => "",
:other_description => "",
:cache_l1 => nil,
:cache_l1i => nil,
:cache_l1d => nil,
:cache_l2 => nil
})
main_memory({
:ram_size => 32.GiB,
:virtual_size => nil
})
operating_system({
:name => "Debian",
:release => "6.0",
:version => nil,
:kernel => "2.6.32"
})
storage_devices [{
:interface => 'SATA',
:size => 2.TB,
:driver => "ahci",
:device => "sda"
},{
:interface => 'SATA',
:size => 2.TB,
:driver => "ahci",
:device => "sdb"
},{
:interface => 'SATA',
:size => 2.TB,
:driver => "ahci",
:device => "sdc"
},
]
network_adapters [{
:interface => 'Ethernet',
:rate => 10.G,
:vendor => 'Intel',
:model => '82599EB 10-Gigabit SFI/SFP+ Network Connection',
:device => "eth1",
:enabled => true,
:management => false,
:mountable => true,
:mounted => true,
:bridged => true,
:driver => 'ixgbe',
:network_address => "#{node_uid}.#{site_uid}.grid5000.fr",
:ip => lookup('hercule', node_uid, 'network_interfaces', 'eth1', 'ip'),
:switch => "Force10",
:switch_port => lookup('hercule', node_uid, 'network_interfaces', 'eth1', 'switch_port'),
:mac => lookup('hercule',"#{node_uid}",'network_interfaces','eth1','mac'),
},
{
:interface => 'Ethernet',
:rate => 10.G,
:vendor => 'Intel',
:model => '82599EB 10-Gigabit SFI/SFP+ Network Connection',
:device => "eth1",
:enabled => false,
:management => false,
:mountable => false,
:mounted => false,
:driver => 'ixgbe',
:mac => lookup('hercule',"#{node_uid}",'network_interfaces','eth0','mac'),
},
{
:interface => 'Ethernet',
:rate => 1.G,
:vendor => 'Intel',
:model => 'Intel Corporation',
:device => "eth2",
:enabled => false,
:management => false,
:mountable => false,
:mounted => false,
:driver => 'igb',
:mac => lookup('hercule',"#{node_uid}",'network_interfaces','eth2','mac'),
},
{
:interface => 'Ethernet',
:rate => 1.G,
:vendor => 'Intel',