NetFlow Analyzer DB folder Migration after 12.5 and above

NetFlow Analyzer DB folder Migration after 12.5 and above

Please follow the below steps to migrate Postgres DB folder alone from one setup to another:
Note: The steps can be followed between 2 installation of same version of application


In Old Install:

1. Stop the OpManager Service from the Services (Windows)


Steps to Stop in Linux:
Navigate to OpManager_Home/bin and execute ./na_service stop
Once executed please execute ./stopPgsql.sh 2 times from OpManager_Home/bin


2. Open Task Manager and kill any process like java.exe, postgres and  OpManagerTrayIcon, NetFlowAnalyzerTrayIcon, NetworkConfigurationManagerTrayIcon, OpUtilsTrayIcon or FirewallAnalyzerTrayIcon if running and the proceed with the upgrade process. ( Windows only )

3. Open command prompt as Administrator and navigate to OpManager_Home\troubleshooting and execute rawCleanup.bat (Windows) / sh rawCleanup.sh (Linux), Type y when prompted.

4. Once done exit the CMD and rename exiting folder named as OpManager_old and uninstall the product (Window)

In New Install of save version:

1. Install the product and start the product once and make sure you are able to login to the UI.

2. Once confirmed, please stop the OpManager service.

Rename the existing data, reports and pgsql folder under the OpManager_Home folder as pgsql_new, data_new and reports_new.
Rename the exiting file named database_params.conf and customer-config.xml under OpManager_Home\conf folder to as database_params_new and customer-config_new

3. Copy the below folders from the old install to the new install:

Copy folder named data, reports and pgsql folder under the OpManager_Home from the old install to the new in the same location.
copy file named database_params.conf and customer-config.xml under OpManager_Home\conf from the old install to the new in the same location.

4. Open command prompt as Administrator and navigate to OpManager_home and execute initPgsql.bat (Windows) / sh initPgsql.sh (Linux)

5. Start the OpManager service and check.