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
a8f15361
Commit
a8f15361
authored
Jan 10, 2011
by
Sebastien Badia
Browse files
[nancy] Add Graphene cluster prod
parent
74638098
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
generators/input/nancy.rb
View file @
a8f15361
...
...
@@ -8,10 +8,11 @@ site :nancy do |site_uid|
sys_admin_contact
"nancy-staff@lists.grid5000.fr"
security_contact
"nancy-staff@lists.grid5000.fr"
user_support_contact
"nancy-staff@lists.grid5000.fr"
(
%w{sid-x64-base-1.0 sid-x64-base-1.1 sid-x64-nfs-1.0 sid-x64-nfs-1.1 sid-x64-big-1.1}
+
(
%w{sid-x64-base-1.0 sid-x64-base-1.1 sid-x64-nfs-1.0 sid-x64-nfs-1.1 sid-x64-big-1.1}
+
%w{etch-x64-base-1.0 etch-x64-base-1.1 etch-x64-nfs-1.0 etch-x64-nfs-1.1 etch-x64-big-1.0 etch-x64-big-1.1 etch-x64-xen-1.0 etch-x64-base-2.0 etch-x64-nfs-2.0 etch-x64-big-2.0}
+
%w{lenny-x64-base-0.9 lenny-x64-nfs-0.9 lenny-x64-big-0.9 lenny-x64-base-1.0 lenny-x64-nfs-1.0 lenny-x64-big-1.0 lenny-x64-xen-1.0 lenny-x64-base-2.0 lenny-x64-nfs-2.0 lenny-x64-big-2.0}
).
each
{
|
env_uid
|
environment
env_uid
,
:refer_to
=>
"grid5000/environments/
#{
env_uid
}
"
}
compilation_server
false
cluster
:griffon
do
|
cluster_uid
|
model
"Carri System CS-5393B"
created_at
Time
.
parse
(
"2009-04-10"
).
httpdate
...
...
@@ -20,7 +21,7 @@ site :nancy do |site_uid|
serial
lookup
(
'nancy'
,
node_uid
,
'serial'
)
supported_job_types
({
:deploy
=>
true
,
:besteffort
=>
true
,
:virtual
=>
"ivt"
})
architecture
({
:smp_size
=>
2
,
:smp_size
=>
2
,
:smt_size
=>
8
,
:platform_type
=>
"x86_64"
})
...
...
@@ -60,9 +61,10 @@ site :nancy do |site_uid|
:management
=>
false
,
:switch
=>
lookup
(
'nancy'
,
"
#{
node_uid
}
"
,
'switch_eth0'
),
:mac
=>
lookup
(
'nancy'
,
"
#{
node_uid
}
"
,
'mac_eth0'
),
:switch_port
=>
lookup
(
'nancy'
,
"
#{
node_uid
}
"
,
'switch_pos_eth0'
),
:switch_port
=>
lookup
(
'nancy'
,
"
#{
node_uid
}
"
,
'switch_pos_eth0'
),
:network_address
=>
"
#{
node_uid
}
.
#{
site_uid
}
.grid5000.fr"
,
:ip
=>
dns_lookup
(
"
#{
node_uid
}
.
#{
site_uid
}
.grid5000.fr"
),
#:ip => dns_lookup("#{node_uid}.#{site_uid}.grid5000.fr"),
:ip
=>
lookup
(
'nancyipgrif'
,
node_uid
,
'ip_eth0'
),
:driver
=>
"e1000e"
,
:vendor
=>
"intel"
,
:version
=>
"80003ES2LAN"
},
{
...
...
@@ -117,5 +119,151 @@ site :nancy do |site_uid|
end
end
# cluster griffon
cluster
:graphene
do
|
cluster_uid
|
model
"Carri System 5393"
created_at
Time
.
parse
(
"2011-01-01"
).
httpdate
144
.
times
do
|
i
|
node
"
#{
cluster_uid
}
-
#{
i
+
1
}
"
do
|
node_uid
|
serial
lookup
(
'nancy'
,
node_uid
,
'serial'
)
supported_job_types
({
:deploy
=>
true
,
:besteffort
=>
true
,
:virtual
=>
"ivt"
})
architecture
({
:smp_size
=>
1
,
:smt_size
=>
4
,
:platform_type
=>
"x86_64"
})
processor
({
:vendor
=>
"Intel"
,
:model
=>
"Intel Xeon"
,
:version
=>
"X3440"
,
:clock_speed
=>
2.53
.
G
,
:instruction_set
=>
""
,
:other_description
=>
""
,
:cache_l1
=>
nil
,
:cache_l1i
=>
nil
,
:cache_l1d
=>
nil
,
:cache_l2
=>
8
.
MiB
})
main_memory
({
:ram_size
=>
16
.
GiB
,
:virtual_size
=>
nil
})
operating_system
({
:name
=>
"Debian"
,
:release
=>
"5.0"
,
:version
=>
nil
,
:kernel
=>
"2.6.26"
})
storage_devices
[{
:interface
=>
'SATA II'
,
:size
=>
320
.
GB
,
:driver
=>
"ahci"
,
:device
=>
"sda"
,
:model
=>
lookup
(
'nancy'
,
node_uid
,
'disk_model'
),
:rev
=>
lookup
(
'nancy'
,
node_uid
,
'disk_rev'
)
}]
network_adapters
[{
:interface
=>
'Ethernet'
,
:rate
=>
1
.
G
,
:device
=>
"eth0"
,
:enabled
=>
true
,
:mounted
=>
true
,
:mountable
=>
true
,
:management
=>
false
,
:switch
=>
lookup
(
'nancy'
,
"
#{
node_uid
}
"
,
'switch_eth0'
),
:mac
=>
lookup
(
'nancy'
,
"
#{
node_uid
}
"
,
'mac_eth0'
),
:switch_port
=>
lookup
(
'nancy'
,
"
#{
node_uid
}
"
,
'switch_pos_eth0'
),
:network_address
=>
"
#{
node_uid
}
.
#{
site_uid
}
.grid5000.fr"
,
#:ip => dns_lookup("#{node_uid}.#{site_uid}.grid5000.fr"),
:ip
=>
lookup
(
'nancy'
,
node_uid
,
'ip_eth0'
),
:driver
=>
"e1000e"
,
:vendor
=>
"intel"
,
:version
=>
"82574L"
},
{
:interface
=>
'Ethernet'
,
:rate
=>
1
.
G
,
#:device => "eth1",
:enabled
=>
false
,
#:mounted => false,
:mac
=>
lookup
(
'nancy'
,
"
#{
node_uid
}
"
,
'mac_eth1'
),
#:management => false,
#:driver => "e1000e",
:vendor
=>
"intel"
,
:version
=>
"82574L"
},
{
:interface
=>
'Ethernet'
,
:rate
=>
1
.
G
,
#:device => "eth2",
:enabled
=>
false
,
#:mounted => false,
:mac
=>
lookup
(
'nancy'
,
"
#{
node_uid
}
"
,
'mac_eth2'
),
#:management => false,
#:driver => "e1000e",
:vendor
=>
"intel"
,
:version
=>
"82574L"
},
{
:interface
=>
'InfiniBand'
,
:rate
=>
20
.
G
,
:device
=>
"ib0"
,
:enabled
=>
true
,
:mounted
=>
true
,
:mountable
=>
true
,
:management
=>
false
,
:ip
=>
lookup
(
'nancy'
,
"
#{
node_uid
}
"
,
'ip_ib'
),
:network_address
=>
"
#{
node_uid
}
-ib0.
#{
site_uid
}
.grid5000.fr"
,
:switch
=>
"sgrapheneib"
,
#:ib_switch_card => lookup('nancy',"#{node_uid}", 'switch_ib_card'),
#:ib_switch_card_pos => lookup('nancy',"#{node_uid}", 'switch_ib_card_pos'),
:driver
=>
"mlx4_core"
,
:vendor
=>
"Mellanox"
,
:version
=>
"MT26418"
,
:mac
=>
lookup
(
'nancy'
,
node_uid
,
'guidib0'
)
},
{
:interface
=>
'InfiniBand'
,
:rate
=>
20
.
G
,
:enabled
=>
false
,
#:device => "ib1",
#:driver => "mlx4_core",
:vendor
=>
"Mellanox"
,
:version
=>
"MT26418"
,
#:mountable => false,
#:mounted => false,
#:management => false
:mac
=>
lookup
(
'nancy'
,
node_uid
,
'guidib1'
)
},
{
:interface
=>
'Ethernet'
,
:rate
=>
100
.
M
,
:enabled
=>
true
,
:mounted
=>
false
,
:mountable
=>
false
,
:management
=>
true
,
:vendor
=>
"Tyan"
,
:version
=>
"AST2050"
,
:device
=>
"bmc"
,
:ip
=>
lookup
(
'nancy'
,
"
#{
node_uid
}
"
,
'ip_mgt'
),
:network_address
=>
"
#{
node_uid
}
-bmc.
#{
site_uid
}
.grid5000.fr"
,
:switch
=>
lookup
(
'nancy'
,
"
#{
node_uid
}
"
,
'switch_ipmi'
),
:switch_port
=>
lookup
(
'nancy'
,
"
#{
node_uid
}
"
,
'switch_ipmi_pos'
),
:mac
=>
lookup
(
'nancy'
,
"
#{
node_uid
}
"
,
'mac_mgt'
),
}]
pdu
({
:vendor
=>
"American Power Convertion"
,
:pdu
=>
lookup
(
'nancy'
,
"
#{
node_uid
}
"
,
'pdu'
),
:pdu_port
=>
lookup
(
'nancy'
,
"
#{
node_uid
}
"
,
'pdu_pos'
)
})
bios
({
:version
=>
lookup
(
'nancy'
,
node_uid
,
'bios_ver'
),
:vendor
=>
"American Megatrends Inc."
,
:release_date
=>
lookup
(
'nancy'
,
node_uid
,
'bios_release'
)
})
end
end
end
# cluster graphene
end
generators/input/nancy.yaml
View file @
a8f15361
This diff is collapsed.
Click to expand it.
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