Changes between Version 25 and Version 26 of Internal/InventoryV3


Ignore:
Timestamp:
May 22, 2010, 9:26:40 PM (14 years ago)
Author:
ssugrim
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/InventoryV3

    v25 v26  
    77 * Gather:0.87
    88 * Writer:0.99
     9 * logcopy:0.01
    910
    1011It's plan is to be simpler and less ambitious than it's predecessor, but still respect the sql table structure ("as much as possible.")
     
    281282 * there are 5 places where I need to try and catch exceptions, most of the other exceptions I want to go unhanded so it terminates:
    282283   I'll need to put in a bunch of debug loggin to make sure my data is what I think it is.
     284
     285=== 5/22/2010 ===
     286
     287I've put a bunch of logging and error handling code into the writer version 0.99. It should now log appropriately. To generate a bunch of meaning full results I've taken these steps:
     288 * Writer now logs to /tmp/writer.log
     289 * Wrote a new script called logcopy.rb
     290  1. It checks the log for errors
     291  1. if errors are found I  mount command the tmp directory on repo1
     292     {{{
     293     repository1:/export/orbit/image/tmp /mnt as my mount
     294     }}}
     295  1. In the tmp directory is a new directory called logs
     296  1. the /tmp/writer.log file is copied to this logs directory and stamped with the name of the node it came from
     297 * I've created a new image called inventoryV2.ndz which has all the updated scripts (writer and logcopy)
     298 * I've modified the inventoryV2.rb  script to call logcopy as the final step. it's now named inventoryV2-1.rb
     299 
     300   
     301   
     302
    283303