| 43 | | 4. '''''If you are inventorying grid:''''' |
| 44 | | |
| 45 | | Run the run_inventory script (this script will take 45 minutes to run): |
| 46 | | {{{ |
| 47 | | cd /root/inventory/ |
| 48 | | }}} |
| 49 | | {{{ |
| 50 | | ./run_inventory.rb |
| 51 | | }}} |
| 52 | | Starting Output will look like: |
| 53 | | {{{ |
| 54 | | root@console.grid:/root/inventory# ./run_inventory.rb |
| 55 | | /usr/lib/ruby/vendor_ruby/restclient/response.rb:11: warning: method redefined; discarding old body |
| 56 | | I, [2013-06-26T16:55:18.502861 #30052] INFO -- : Database: Restfull DB connected to http://internal1.orbit-lab.org:5054/inventory/ |
| 57 | | =================== grid.orbit-lab.org ==================== |
| 58 | | =================== First pass ==================== |
| 59 | | Turning off 400 nodes |
| 60 | | Sleep for a minute |
| 61 | | Turning on 400 nodes |
| 62 | | Give it 900 to collect |
| 63 | | . |
| 64 | | . |
| 65 | | . |
| 66 | | }}} |
| 67 | | '''''If you are inventorying a sandbox:''''' |
| | 43 | 4. |