Changes between Version 7 and Version 8 of Internal/InventoryV3
- Timestamp:
- Oct 6, 2009, 3:51:00 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/InventoryV3
v7 v8 1 1 James is working on a second generation inventory script. 2 2 3 Currently on: Gatherer3 Currently on: Writer 4 4 5 5 … … 72 72 }}} 73 73 74 75 74 76 ---- 75 77 === 10/2/09 === 76 78 77 Minus error chec hking 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.79 Minus 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. 78 80 79 81 Fow 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. 80 82 81 83 Once 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 ---- 86 Following the instructions on http://support.tigertech.net/mysql-duplicate 87 88 I copied the mysql database from invetory1 to inventory2. 89 90 One Caveat is noted on http://forums.digitalpoint.com/showthread.php?t=259486 91 {{{ 92 In the top of the database file you are trying to dump you will see that : 93 CREATE DATABASE `gunit_pimpjojo` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; 94 Just remove this from the dump ( Notepad or wherever you have the dump) 95 Then re paste the file 96 You just need to remove that line....and you will be good to go 97 }}} 82 98 83 99 === 10/5/09 ===