Attention une mise à jour du service Gitlab va être effectuée le mardi 30 novembre entre 17h30 et 18h00. Cette mise à jour va générer une interruption du service dont nous ne maîtrisons pas complètement la durée mais qui ne devrait pas excéder quelques minutes. Cette mise à jour intermédiaire en version 14.0.12 nous permettra de rapidement pouvoir mettre à votre disposition une version plus récente.

Commit 73e79ec6 authored by Sebastien Badia's avatar Sebastien Badia
Browse files

[grenoble] Split clusters

parent 85f196f7
require 'net/ssh'
site :grenoble do |site_uid|
host = "adminfront.#{site_uid}.grid5000.fr"
user = "g5kadmin"
ssh = Net::SSH.start(host,user)
# nn = dns_lookup_through_ssh(ssh,"gdx-1.orsay.grid5000.fr")
# puts "from dns = #{nn}"
# end
name "Grenoble"
location "Grenoble, France"
web
description ""
web "http://www.grid5000.fr/mediawiki/index.php/Grenoble:Home"
description "Grid'5000 Grenoble site"
latitude 45.1833
longitude 5.7167
email_contact
sys_admin_contact
security_contact
user_support_contact
cluster :genepi do |cluster_uid|
model "Bull R422-E1"
created_at Time.parse("2008-10-01").httpdate
34.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 => 8,
:platform_type => "x86_64"
})
processor({
:vendor => "Intel",
:model => "Intel Xeon",
:version => "E5420 QC",
:clock_speed => 2.5.G,
:instruction_set => "",
:other_description => "",
:cache_l1 => nil,
:cache_l1i => nil,
:cache_l1d => nil,
:cache_l2 => nil
})
main_memory({
:ram_size => 8.GiB, # bytes
:virtual_size => nil
})
operating_system({
:name => nil,
:release => nil,
:version => nil
})
storage_devices [
{:interface => 'SATA', :size => 160.GB, :driver => nil}
]
network_adapters [{
:interface => 'InfiniBand',
:rate => 10.G,
:device => "ib0",
:enabled => true,
:mountable => true,
:mounted => true,
:management => false,
:vendor => 'Mellanox',
:version => "InfiniHost MHGH29-XTC",
:network_address => "#{node_uid}-ib0.#{site_uid}.grid5000.fr",
:ip => dns_lookup_through_ssh(ssh,"#{node_uid}-ib0.#{site_uid}.grid5000.fr"),
:driver => "mlx4_core",
:ib_guid => lookup('grenoble', "#{node_uid}", 'ib_guid')
},
{
:interface => 'Ethernet',
:rate => 1.G,
:device => "eth0",
:enabled => false,
:management => false,
:mac => lookup('grenoble', "#{node_uid}", 'mac_eth0'),
:vendor => "Intel",
:version => "Intel 80003ES2LAN Gigabit Ethernet Controller (Copper) (rev 01)"
},
{
:interface => 'Ethernet',
:rate => 1.G,
:device => "eth1",
:enabled => true,
:mountable => true,
:mounted => true,
:management => false,
:network_address => "#{node_uid}.#{site_uid}.grid5000.fr",
:ip => dns_lookup_through_ssh(ssh,"#{node_uid}.#{site_uid}.grid5000.fr"),
:mac => lookup('grenoble', "#{node_uid}", 'mac_eth1'),
:vendor => "Intel",
:version => "Intel 80003ES2LAN Gigabit Ethernet Controller (Copper) (rev 01)",
:driver => "e1000e"
},
{
:interface => 'Ethernet',
:rate => 1.G,
:enabled => true,
:mountable => false,
:management => true,
:network_address => "#{node_uid}-bmc.#{site_uid}.grid5000.fr",
:ip => dns_lookup_through_ssh(ssh,"#{node_uid}-bmc.#{site_uid}.grid5000.fr"),
:mac => lookup('grenoble', "#{node_uid}", 'mac_mgt'),
:vendor => "Peppercon AG (10437)",
:version => "1.50"
}]
end
end
end
cluster :adonis do |cluster_uid|
created_at Time.parse("2010-09-02").httpdate
10.times do |i|
model "Bull R422-E2 dual mobo + Tesla S1070"
node "#{cluster_uid}-#{i+1}" do |node_uid|
supported_job_types({:deploy => true, :besteffort => true, :virtual => "ivt"})
architecture({
:smp_size => 2,
:smt_size => 8,
:platform_type => "x86_64"
})
processor({
:vendor => "Intel",
:model => "Intel Xeon",
:version => "E5520",
:clock_speed => 2.26.G,
:instruction_set => "",
:other_description => "",
:cache_l1 => nil,
:cache_l1i => nil,
:cache_l1d => nil,
:cache_l2 => nil
})
main_memory({
:ram_size => 24.GiB, # bytes
:virtual_size => nil
})
operating_system({
:name => nil,
:release => nil,
:version => nil
})
storage_devices [
{:interface => 'SATA', :size => 250.GB, :driver => nil}
]
network_adapters [{
:interface => 'InfiniBand',
:rate => 40.G,
:device => "ib0",
:enabled => true,
:mounted => true,
:mountable => true,
:management => false,
:vendor => 'Mellanox',
:version => "MT26428 ConnectX IB QDR, PCIe 2.0 5.0GT/s",
:driver => "mlx4_core",
:network_address => "#{node_uid}-ib0.#{site_uid}.grid5000.fr",
:ip => dns_lookup_through_ssh(ssh, "#{node_uid}-ib0.#{site_uid}.grid5000.fr"),
:ib_guid => lookup('grenoble', "#{node_uid}", 'ib_guid')
},
{
:interface => 'Ethernet',
:rate => 1.G,
:device => "eth0",
:enabled => true,
:mounted => true,
:mountable => true,
:management => false,
:vendor => 'Intel',
:version => "Device 10c9 (rev 01)",
:network_address => "#{node_uid}-eth0.#{site_uid}.grid5000.fr",
:ip => dns_lookup_through_ssh(ssh,"#{node_uid}-eth0.#{site_uid}.grid5000.fr"),
:mac => lookup('grenoble', "#{node_uid}", 'mac_eth0'),
:driver => "igb"
},
{
:interface => 'Ethernet',
:rate => 1.G,
:device => "eth1",
:enabled => false,
:mountable => false,
:mounted => false,
:management => false,
:vendor => 'Intel',
:version => "Device 10c9 (rev 01)",
:mac => lookup('grenoble', "#{node_uid}", 'mac_eth1')
},
{
:interface => 'Ethernet',
:rate => 1.G,
:enabled => true,
:mounted => false,
:mountable => false,
:management => true,
:network_address => "#{node_uid}-bmc.#{site_uid}.grid5000.fr",
:ip => dns_lookup_through_ssh(ssh,"#{node_uid}-bmc.#{site_uid}.grid5000.fr"),
:mac => lookup('grenoble', "#{node_uid}", 'mac_mgt'),
:vendor => 'Super Micro Computer Inc.',
:version => "1.15"
}]
end
end
2.times do |i|
model "Bull R425-E2 4U + Tesla C2050"
node "#{cluster_uid}-#{i+11}" do |node_uid|
supported_job_types({:deploy => true, :besteffort => true, :virtual => "ivt"})
architecture({
:smp_size => 2,
:smt_size => 8,
:platform_type => "x86_64"
})
processor({
:vendor => "Intel",
:model => "Intel Xeon",
:version => "E5620",
:clock_speed => 2.4.G,
:instruction_set => "",
:other_description => "",
:cache_l1 => nil,
:cache_l1i => nil,
:cache_l1d => nil,
:cache_l2 => nil
})
main_memory({
:ram_size => 24.GiB, # bytes
:virtual_size => nil
})
operating_system({
:name => nil,
:release => nil,
:version => nil
})
storage_devices [
{:interface => 'SATA', :size => 250.GB, :driver => nil}
]
network_adapters [{
:interface => 'InfiniBand',
:rate => 40.G,
:device => "ib0",
:enabled => true,
:mounted => true,
:mountable => true,
:management => false,
:vendor => 'Mellanox',
:version => "MT26428 ConnectX IB QDR, PCIe 2.0 5.0GT/s",
:driver => "mlx4_core",
:network_address => "#{node_uid}-ib0.#{site_uid}.grid5000.fr",
:ip => dns_lookup_through_ssh(ssh,"#{node_uid}-ib0.#{site_uid}.grid5000.fr"),
:ib_guid => lookup('grenoble', "#{node_uid}", 'ib_guid')
},
{
:interface => 'Ethernet',
:rate => 1.G,
:device => "eth0",
:enabled => true,
:mountable => true,
:mounted => true,
:management => false,
:vendor => 'Intel',
:version => "Device 10c9 (rev 01)",
:network_address => "#{node_uid}-eth0.#{site_uid}.grid5000.fr",
:ip => dns_lookup_through_ssh(ssh,"#{node_uid}-eth0.#{site_uid}.grid5000.fr"),
:mac => lookup('grenoble', "#{node_uid}", 'mac_eth0'),
:driver => "igb"
},
{
:interface => 'Ethernet',
:rate => 1.G,
:device => "eth1",
:enabled => false,
:mountable => false,
:mounted => false,
:management => false,
:vendor => 'Intel',
:version => "Device 10c9 (rev 01)",
:mac => lookup('grenoble', "#{node_uid}", 'mac_eth1')
},
{
:interface => 'InfiniBand',
:rate => 40.G,
:device => "ib1",
:enabled => true,
:mounted => false,
:mountable => true,
:management => false,
:vendor => 'Mellanox',
:version => "MT26428 ConnectX IB QDR, PCIe 2.0 5.0GT/s (rev a0)",
:ip => "",
:driver => "mlx4_core",
:ib_guid => lookup('grenoble', "#{node_uid}", 'ib_guid')
},
{
:interface => 'Ethernet',
:rate => 1.G,
:enabled => true,
:mounted => false,
:mountable => false,
:management => true,
:network_address => "#{node_uid}-bmc.#{site_uid}.grid5000.fr",
:ip => dns_lookup_through_ssh(ssh,"#{node_uid}-bmc.#{site_uid}.grid5000.fr"),
:mac => lookup('grenoble', "#{node_uid}", 'mac_mgt'),
:vendor => 'Super Micro Computer Inc.',
:version => "1.33"
}
]
end
end
end
cluster :edel do |cluster_uid|
model "Bull bullx B500 compute blades"
created_at Time.parse("2008-10-03").httpdate
email_contact "grenoble-staff@lists.grid5000.fr"
sys_admin_contact "grenoble-staff@lists.grid5000.fr"
security_contact "grenoble-staff@lists.grid5000.fr"
user_support_contact "grenoble-staff@lists.grid5000.fr"
compilation_server false
72.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 => 8,
:platform_type => "x86_64"
})
processor({
:vendor => "Intel",
:model => "Intel Xeon",
:version => "E5520",
:clock_speed => 2.27.G,
:instruction_set => "",
:other_description => "",
:cache_l1 => nil,
:cache_l1i => nil,
:cache_l1d => nil,
:cache_l2 => nil
})
main_memory({
:ram_size => 24.GiB, # bytes
:virtual_size => nil
})
operating_system({
:name => nil,
:release => nil,
:version => nil
})
storage_devices [
{:interface => 'SATA', :size => 60.GB, :driver => nil}
]
network_adapters [{
:interface => 'InfiniBand',
:rate => 40.G,
:enabled => true,
:device => "ib0",
:mounted => true,
:mountable => true,
:management => false,
:vendor => 'Mellanox',
:version => "MT26428 ConnectX IB QDR, PCIe 2.0 5.0GT/s (rev a0)",
:network_address => "#{node_uid}-ib0.#{site_uid}.grid5000.fr",
:ip => dns_lookup_through_ssh(ssh,"#{node_uid}-ib0.#{site_uid}.grid5000.fr"),
:driver => "mlx4_core",
:ib_guid => lookup('grenoble', "#{node_uid}", 'ib_guid')
},
{
:interface => 'InfiniBand',
:rate => 40.G,
:enabled => true,
:device => "ib1",
:mounted => false,
:mountable => true,
:management => false,
:vendor => 'Mellanox',
:version => "MT26428 ConnectX IB QDR, PCIe 2.0 5.0GT/s (rev a0)",
:ip => "",
:driver => "mlx4_core",
:ib_guid => lookup('grenoble', "#{node_uid}", 'ib_guid')
},
{
:interface => 'Ethernet',
:rate => 1.G,
:enabled => true,
:device => "eth0",
:mounted => true,
:mountable => true,
:management => false,
:network_address => "#{node_uid}-eth0.#{site_uid}.grid5000.fr",
:ip => dns_lookup_through_ssh(ssh,"#{node_uid}-eth0.#{site_uid}.grid5000.fr"),
:mac => lookup('grenoble', "#{node_uid}", 'mac_eth0'),
:vendor => "Intel",
:version => "Device 10e7 (rev 01)",
:driver => "igb"
},
{
:interface => 'Ethernet',
:rate => 1.G,
:device => "eth1",
:enabled => false,
:mounted => false,
:mountable => false,
:management => false,
:vendor => "Intel",
:version => "Device 10e7 (rev 01)",
:mac => lookup('grenoble', "#{node_uid}", 'mac_eth1')
},
{
:interface => 'Ethernet',
:rate => 100.M,
:enabled => true,
:mounted => false,
:mountable => false,
:management => true,
:network_address => "#{node_uid}-bmc.#{site_uid}.grid5000.fr",
:ip => dns_lookup_through_ssh(ssh,"#{node_uid}-bmc.#{site_uid}.grid5000.fr"),
:mac => lookup('grenoble', "#{node_uid}", 'mac_mgt'),
:vendor => "Unknown",
:version => "1.7"
}]
end
end
end
ssh.close
end
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment