How to run ZfD4 Inventory on an Oracle 9i Database
Novell Cool Solutions: Trench
By Mike Mason
Digg This -
Posted: 5 May 2004
Novell says it cannot be done but...we have been running ZfD 4.0.1 (clustered) with an Oracle 9i inventory database on Linux for about 6 months now. Shhh...don't tell support or they may not answer our phone calls any more.
Here's how to do it.
Your DBA will have to do a little bit of work (steps 1-5) to get the 9i schema created. This is the method we used since we don't have much depth in Oracle. Hopefully some Oracle Gurus out there can come up with a better solution for this part.
- Create a temporary Oracle 8i DB on a Windows box.
- Create the ZfD4 WS inventory DB instance on the Oracle 8i box by following Novell documentation.
- Configure the ZfD DB listener to talk to the temporary Oracle 8i DB and start the ZfD inventory service to make sure that it connects successfully to the DB.
- Export the table space from the Oracle 8i DB and import it into the Oracle 9i DB.
- Start the DB instance and modify the ZENworks Inventory Server to point to the Oracle 9i server.
- Make a backup copy of the file ZENworks\Inv\server\WmInv\lib\ZENInvServer.jar
- Open ZENworks\Inv\server\WmInv\lib\ZENInvServer.jar with WinZip
- Right-click the file (in WinZip) DatabaseProperties.properties and "Open With" Notepad.
- Replace the line "BaseVersion_oracle=220.127.116.11.0" with "BaseVersion_oracle=18.104.22.168.0"
- Close the Notepad window and click Yes to save.
- Click Yes to update the WinZip archive with the changed file.
- Close WinZip and start the ZENworks Inventory Service.
- Keep a close eye on the ZENworks Inventory Service screen during startup and the first few inventory scans for any errors.
We had some problems with a few triggers that had to be cleaned up, but it could have been all of the messing around we were doing that caused it.
If you have any questions you may contact Mike at MasonM@vovlograders.com
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com