The process of reinitializing WebNMS database is referred to as reinitializing WebNMS. WebNMS maintains data and configuration details in a relational database. The database tables used for storing configuration information is referred to as configuration tables and those created for storing data are referred to as data tables. Database tables are created both when WebNMS server is started and at runtime. On reinitializing WebNMS, all the data tables and configuration tables are dropped from the database. You can reinitialize the database either through the user interface or command line mode.
Reinitializing Database Through UI Mode
To reinitialize the database through the UI Mode,
Run the script reinitialize_nms.bat/sh present in <WebNMS HOME>/bin without any arguments.
The Reinitialize WebNMS Database dialog box prompts you to confirm if you want to reinitialize the database. Clicking on the Yes button will drop all the data and configuration details stored in the database.
Reinitializing Database Through Command Mode
Database can be reinitialized by invoking the following script:
reinitialize_nms.bat/sh MODE <Parameter>
where Parameter should be ALL
When you try to reinitialize the database, a check is made to ascertain whether the WebNMS server is running. If it is running, the database will not be reinitialized. The database will be reinitialized only when WebNMS is not running. When the WebNMS server is running with TCP as the mode of communication between BE and FE, the database can not be reinitialized through the reinitialize_nms.sh/bat script.
To Internationalize Reinitialize NMS UI, edit the file ReinitializeNmsResources.properties present in the <WebNMS Home>/html directory. The values for the keys should be substituted by new values.