Changes between Version 1 and Version 2 of Doc/BasicConfig/Hardware_templates


Ignore:
Timestamp:
Jul 16, 2008, 3:48:05 PM (16 years ago)
Author:
/DC=es/DC=irisgrid/O=uam/CN=luisf-munnoz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/BasicConfig/Hardware_templates

    v1 v2  
    11= Hardware descriptions =
    22
    3 Hardware descriptions
     3The profiles contain also the description of the node's hardware. This includes the number of CPU chips, the number of cores on each chip, the number and type of each hard disk or RAID controller, the location and many others.
     4
     5[[TOC]]
     6
     7== Annotation structures ==
     8
     9Almost all hardware definitions include a generic {{{structure_annotation}}}, which is made of the following fields:
     10
     11 * {{{name}}} the product name
     12 * {{{type}}} the type of product
     13 * {{{model}}}
     14 * {{{manufacturer}}}
     15 * {{{version}}}
     16 * {{{chipset}}}
     17 * {{{serialnumber}}}
     18 * {{{arch}}} tipically, i386 or x86_64
     19 * {{{bus}}}
     20 * {{{clock}}} clock frequency
     21 * {{{lang}}} language
     22 * {{{location}}} physical location
     23
     24All these fields are optional, so you can use them in any context you need. For instance, you might want to describe a Sun XFire 4100 server with {{{arch}}} x86_64, {{{manufacturer}}} Sun and {{{model}}} XFire 4100.
     25
     26== RAM definitions ==
     27
     28RAM structures include, also
     29
     30 * {{{size}}} capacity of the RAM chip
     31 * {{{data_rate}}} an optional and mostly unused field.
     32
     33Ideally, you should define one RAM entry per RAM module the node has. For instance, if you have 4 modules, 2GB each, you should set
     34{{{
     35"/hardware/ram" = list (nlist ("capacity", 2*GB, # More annotation fields here),
     36        nlist ("capacity", 2*GB, # More annotation fields),
     37        nlist ("capacity", 2*GB, # More annotation fields),
     38        nlist ("capacity", 2*GB, # More annotation fields));
     39}}}
     40
     41== CPU definition ==
     42
     43CPU structures describe one CPU chip.
     44
     45 * {{{speed}}} clock speed. Hey, isn't this redundant with {{{clock}}} from {{{structure_annotation}}}?
     46 * {{{cores}}} amount of cores on this chip. Defaults to 1.
     47
     48CPUs are described as a list, with at least one element. Your nodes will always have at least one CPU, right?
     49{{{
     50"/hardware/cpu" = list (nlist (...
     51}}}
     52
     53== Network cards definition ==
     54
     55This structure is meant for Ethernet cards, if another type of structure was needed we might have to re-think this.
     56
     57 * {{{hwaddr}}} the MAC address
     58 * {{{driver}}}
     59 * {{{driverrpms}}}
     60 * {{{pxe}}} a boolean indicating if the interface supports PXE
     61 * {{{boot}}} a boolean indicating if this is the interface we want to boot from
     62 * {{{maxspeed}}} can someone from CERN clarify?
     63
     64These are included inside {{{/hardware/cards/nic}}} and indexed by device name (eth0, eth1...).
     65
     66== RAID controllers and hard disks ==
     67
     68They are all modelled inside {{{/hardware/cards}}}, please see [https://twiki.cern.ch/twiki/bin/view/FIOgroup/TsiCDBPhysicalDevices the full description]
     69
     70Please note that "normal" hard disks, even if they are IDE or SATA (as you see them on your desktop) should be described '''here'''.
     71
     72== Deprecated description for hard disks ==
     73
     74A much less accurate description is still available, but is strongly discouraged. It is described here for completeness, and kept for backwards compatibility. Please don't use it for new profiles.
     75
     76They are described as members of {{{/hardware/harddisks}}}, but keep no information on their exact port or the RAID controller they belong to. All they have is their interface (IDE, SATA, SAS, SCSI...), their size and their name, from the operating system's point of view. This is, "sda", "hda"...