Changes between Version 2 and Version 3 of Internal/RunningInventory


Ignore:
Timestamp:
May 8, 2013, 4:36:15 PM (12 years ago)
Author:
ssugrim
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/RunningInventory

    v2 v3  
    22To run inventory preform the following:
    33
    4 From repository1:
    5 {{{
    6 1. root@repository1:~# cd /tftpboot/pxelinux.cfg/
    7 }}}
    8 Create link to domain
    9 {{{
    10 2. root@repository1:/tftpboot/pxelinux.cfg# ln -s inventory-nb-grid 0A0A
    11 }}}
    12 || '''HEX''' || '''Domain'''  ||
    13 || 0A0A || Grid    ||
    14 || 0A0B || SB1     ||
    15 || 0A0C || SB2     ||
    16 || 0A0D || SB3     ||
    17 || 0A0E || SB4     ||
    18 || 0A0F || SB5     ||
    19 || 0A11 || SB6     ||
    20 || 0A12 || SB7     ||
    21 || 0A13 || SB8     ||
    22 || 0A14 || SB9     ||
    23 || 0A28 || Outdoor ||
    24 From grid:
    25 {{{
    26 3. omf tell -a on -t <topo>
    27 }}}
    28 4. Wait 5-10 minutes for nodes to boot and load inventory information. If doing a large portion of the grid the nodes should be turned on in small batches to avoid overloading the server.
    29 5. Turn nodes back off
    30 6. '''Break the link''' if this is not done the next person to use the grid will have a bad time.
    31 {{{
     4 From repository1::
     5 1. Goto the tfptboot directory and make a symbolic link for the appropriate domain
     6    {{{
     7root@repository1:~# cd /tftpboot/pxelinux.cfg/
     8root@repository1:/tftpboot/pxelinux.cfg# ln -s inventory-nb-grid 0A0A
     9    }}}
     10
     11    || '''HEX''' || '''Domain'''  ||
     12    || 0A0A      || Grid          ||
     13    || 0A0B      || SB1           ||
     14    || 0A0C      || SB2           ||
     15    || 0A0D      || SB3           ||
     16    || 0A0E      || SB4           ||
     17    || 0A0F      || SB5           ||
     18    || 0A11      || SB6           ||
     19    || 0A12      || SB7           ||
     20    || 0A13      || SB8           ||
     21    || 0A14      || SB9           ||
     22    || 0A28      || Outdoor       ||
     23
     24 2. goto the /export/nfsroot/etc/resolvconf/resolv.conf.d and make a symbolic link to head for the proper domain
     25    {{{
     26cd /export/nfsroot/etc/resolvconf/resolv.conf.d
     27root@repository1:/export/nfsroot/etc/resolvconf/resolv.conf.d# ln -s head.grid head
     28    }}}
     29 From grid::
     30 3. Turn on nodes
     31    {{{
     32omf tell -a on -t <topo>
     33    }}}
     34 1. Wait 5-10 minutes for nodes to boot and load inventory information. If doing a large portion of the grid the nodes should be turned on in small batches to avoid overloading the server.
     35 1. Turn nodes back off
     36    {{{
     37omf tell -a offh -t <topo>
     38    }}}
     39
     40 From repository1::
     41 6. '''Break the link''' if this is not done the next person to use the grid will have a bad time.
     42    {{{
    3243rm 0A0A
    33 }}}
    34 From internal1, run the ruby scripts:
    35 {{{
    36 7. root@internal1:~# cd /usr/share/omf-aggmgr-5.4/omf-aggmgr/ogs_inventory/
    37    root@internal1:/usr/share/omf-aggmgr-5.4/omf-aggmgr/ogs_inventory# ruby mktopo_cpu.rb
    38    root@internal1:/usr/share/omf-aggmgr-5.4/omf-aggmgr/ogs_inventory# ruby mktopo_dev.rb
    39    root@internal1:/usr/share/omf-aggmgr-5.4/omf-aggmgr/ogs_inventory# ruby mktopo_disk.rb
    40 }}}
    41 
    42 '''Note''': each ruby script takes some time to preform all the actions, and the omf-agg-manager restarts every even hour on the 11th minute. If the ruby process is running at that time it will fail.
     44    }}}
     45 From internal1::
     46 7.  run the ruby scripts:
     47    {{{
     48root@internal1:~# cd /usr/share/omf-aggmgr-5.4/omf-aggmgr/ogs_inventory/
     49root@internal1:/usr/share/omf-aggmgr-5.4/omf-aggmgr/ogs_inventory# ruby mktopo_cpu.rb
     50root@internal1:/usr/share/omf-aggmgr-5.4/omf-aggmgr/ogs_inventory# ruby mktopo_dev.rb
     51root@internal1:/usr/share/omf-aggmgr-5.4/omf-aggmgr/ogs_inventory# ruby mktopo_disk.rb
     52    }}}
     53    '''Note''': each ruby script takes some time to preform all the actions, and the omf-agg-manager restarts every even hour on the 11th minute. If the ruby process is running at that time it will fail.