== How to Run Inventory == To run inventory preform the following: From repository1: {{{ 1. root@repository1:~# cd /tftpboot/pxelinux.cfg/ }}} Create link to domain {{{ 2. root@repository1:/tftpboot/pxelinux.cfg# ln -s inventory-nb-grid 0A0A }}} || '''HEX''' || '''Domain''' || || 0A0A || Grid || || 0A0B || SB1 || || 0A0C || SB2 || || 0A0D || SB3 || || 0A0E || SB4 || || 0A0F || SB5 || || 0A11 || SB6 || || 0A12 || SB7 || || 0A13 || SB8 || || 0A14 || SB9 || || 0A28 || Outdoor || From grid: {{{ 3. omf tell -a on -t }}} 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. 5. Turn nodes back off 6. '''Break the link''' if this is not done the next person to use the grid will have a bad time. {{{ rm 0A0A }}} From internal1, run the ruby scripts: {{{ 7. root@internal1:~# cd /usr/share/omf-aggmgr-5.4/omf-aggmgr/ogs_inventory/ root@internal1:/usr/share/omf-aggmgr-5.4/omf-aggmgr/ogs_inventory# ruby mktopo_cpu.rb root@internal1:/usr/share/omf-aggmgr-5.4/omf-aggmgr/ogs_inventory# ruby mktopo_dev.rb root@internal1:/usr/share/omf-aggmgr-5.4/omf-aggmgr/ogs_inventory# ruby mktopo_disk.rb }}} '''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.