Everything about TELL1 installation(quattor,firmware update,etc)

Fetching MAC of TELL1s and preparing for quattor_files

A single script for generating a list which can be used as a input parameter of lbmkquattor(see after) is provided in /home/kaikuo/tell1misc. You can use this script to generate a range of TELL1s.
[gw01] /home/kaikuo/tell1misc > ./preQuattor
Usage:./preQuattor <serial_list> <prefix> [number_from [ip_prefix [ip_from]]]
Example:./preQuattor D3E08U tttell 1 10.130.34. 1
[gw01] /home/kaikuo/tell1misc > ./preQuattor d3e08u.lst tttell 1 10.130.34.
0112 ... OK
0108 ... OK
0094 ... OK
0079 ... OK
0085 ... OK
0076 ... OK
0065 ... OK
0075 ... OK
0073 ... OK
0117 ... OK
0141 ... OK
0077 ... OK
0072 ... OK
0088 ... OK
0115 ... OK
0071 ... OK
Generating host from 1 to 16 save to mac.d3e08u.lst
tttell01        00:30:59:01:C4:03       10.130.34.1
tttell02        00:30:59:01:C4:05       10.130.34.2
tttell03        00:30:59:01:C4:11       10.130.34.3
tttell04        00:30:59:01:C4:12       10.130.34.4
tttell05        00:30:59:01:C4:13       10.130.34.5
tttell06        00:30:59:01:C8:D8       10.130.34.6
tttell07        00:30:59:01:C8:C4       10.130.34.7
tttell08        00:30:59:01:C8:C3       10.130.34.8
tttell09        00:30:59:01:C8:BE       10.130.34.9
tttell10        00:30:59:01:C8:BD       10.130.34.10
tttell11        00:30:59:01:C8:BC       10.130.34.11
tttell12        00:30:59:01:C3:FF       10.130.34.12
tttell13        00:30:59:01:C4:00       10.130.34.13
tttell14        00:30:59:01:C8:C2       10.130.34.14
tttell15        00:30:59:01:C8:BF       10.130.34.15
tttell16        00:30:59:01:C8:C0       10.130.34.16
Comments: currently, the preQuattor invokes getMAC first to get MAC information from the mactable(alltell.txt by default), and then invoke mkList to generate a list of number (name, and IP). In the mactable, each record takes one line, in which there are serial of the boards, and MAC address and some comments. MAC address should take the 3rd field of it.

Generating quattor_template

I wrote a script lbmkquattors to generate quattor files for TELL1s as well as hugins. You can generate quattor files very easily now.

It depence on a file called profile_.tpl on pwd, it can copy it from my home if it does not exist.

The script is here /group/online/tell1/lbmkquattors * /home/kaikuo/scripts/lbmkquattors*

Generating a single item

[pc01] /home/kaikuo/lhcb_quattor_templates > lbmkquattors tttell01 1:2:3:4:5:6
Generating template for tttell01...

Generating template for one ccpc server

lbmkquattors r2daq01 #if ccpc host does not exist, do nothing and print the usage

Generating a list of TELL1s

[pc01] /home/kaikuo/lhcb_quattor_templates > cat mac.list
r2ukl106        00:30:59:01:C7:C8
r2ukl107        00:30:59:01:C7:C9
r2ukl108        00:30:59:01:C7:D5
r2ukl109        00:30:59:01:C7:D6
r2ukl110        00:30:59:01:C7:D7
r2ukl111        00:30:59:01:C7:D8
r2ukl112        00:30:59:01:C7:D9
[pc01] /home/kaikuo/lhcb_quattor_templates > lbmkquattors mac.list r2daq01  #can ignore r2daq01 if last server is r2daq01
Replacing tmp template with r2daq01
Generating template for r2ukl106...
Generating template for r2ukl107...
Generating template for r2ukl108...
Generating template for r2ukl109...
Generating template for r2ukl110...
Generating template for r2ukl111...
Generating template for r2ukl112...
[pc01] /home/kaikuo/lhcb_quattor_templates >

Available TELL1s

-- KaikuoZHUO - 31 May 2007

Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r8 - 2007-07-05 - KaikuoZHUO
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback