Changes between Initial Version and Version 1 of Internal/RunningInventory


Ignore:
Timestamp:
Apr 29, 2013, 6:44:22 PM (12 years ago)
Author:
Ilya Chigirev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/RunningInventory

    v1 v1  
     1== How to Run Inventory ==
     2To run inventory preform the following:
     3
     4From repository1:
     5{{{
     61. root@repository1:~# cd /tftpboot/pxelinux.cfg/
     7}}}
     8Create link to domain
     9{{{
     102. 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 ||
     24From grid:
     25{{{
     263. omf tell -a on -t <topo>
     27}}}
     284. 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.
     295. Turn nodes back off
     306. '''Break the link''' if this is not done the next person to use the grid will have a bad time.
     31{{{
     32?
     33}}}
     34From internal1, run the ruby scripts:
     35{{{
     367. 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.