Changes between Version 7 and Version 8 of Internal/InventoryV3


Ignore:
Timestamp:
Oct 6, 2009, 3:51:00 PM (15 years ago)
Author:
ssugrim
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/InventoryV3

    v7 v8  
    11James is working on a second generation inventory script.
    22
    3 Currently on: Gatherer
     3Currently on: Writer
    44
    55
     
    7272}}}
    7373
     74
     75
    7476----
    7577=== 10/2/09 ===
    7678
    77 Minus error chechking for failed commands, the gatherer is complete. I'm now moving onto writer.  I'm going to keep them in the same script for now, so I don't have to deal with reimporting the data and extracting it from xml, at some point that'll be a todo, so that way we can call just the gatherer if we want to.
     79Minus error checking for failed commands, the gatherer is complete. I'm now moving onto writer.  I'm going to keep them in the same script for now, so I don't have to deal with reimporting the data and extracting it from xml, at some point that'll be a todo, so that way we can call just the gatherer if we want to.
    7880
    7981Fow now, I need to determine what node I am based on the resolved host name. The scheme is nodex-y.testbedname# I can extract the x and y cooridnates from the node part, and then The testbed name will have to be a lookup. (this should probably be in gatherer as parameters.
    8082
    8183Once I have that I can look up my unique mysql id from the mysql databse. This id will then allow me to correlate devices with the ones I have.
     84
     85----
     86Following the instructions on http://support.tigertech.net/mysql-duplicate
     87
     88I copied the mysql database from invetory1 to inventory2.
     89
     90One Caveat is noted on http://forums.digitalpoint.com/showthread.php?t=259486
     91{{{
     92In the top of the database file you are trying to dump you will see that :
     93CREATE DATABASE `gunit_pimpjojo` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
     94Just remove this from the dump ( Notepad or wherever you have the dump)
     95Then re paste the file
     96You just need to remove that line....and you will be good to go
     97}}}
    8298
    8399=== 10/5/09 ===