Migrating NetFlow Analyzer from MySQL to MSSQL Database

Product Limitations:


Note: Please login to the NetFlow Analyzer server as Local Administrator and make sure that the database user, which you have specified on the product has Sys Admin permission


The steps to migrate and run the NetFlow Analyzer server with SQLSERVER as the database is given below:

  1. Stop the NetFlow Analyzer Server/Service.
  2. Invoke the <NetFlow Analyzer Home>\troubleshooting\Mysql_Mssql_BackUpConfig.bat, to backup the data available in MySQL database and wait till the data backup is getting completed. By default backup file will be stored under <NetFlow Analyzer Home>\backup directory with the file name like 'BackupConfig_NFA_<Build_Number>_MM_DD_YYYY_hh_mm.data'.
  3. From the installed MS SQLSERVER, copy the files bcp.exe and bcp.rll to <NetFlow Analyzer Home>\bin folder.
  4. Invoke the <NetFlow Analyzer Home>\bin\changeDBServer.bat, to configure the MS SQLSERVER credentials like ServerName, Port, UserName and Password.
  5. Database Setup Wizard pops-up.
  6. In the wizard screen, select Server Type as SQL Server. Available SQL Server Instances are listed in a combo box. Enter the Host Name and Port of the SQL Server from the instances. ( NetFlow Analyzer will work only with default instance)
  7. Select the authentication type using the "Connect Using:" options.
  8. The options are:
    1. Windows Authentication
    2. For Windows Authentication, enter the Domain Name, User Name and Password. Ensure that both NetFlow Analyzer server and SQL Server are in the same domain and logged in with the same Domain Administrator account.


    3. SQL Server Authentication

    For SQL Server Authentication, enter the User Name and Password.


    1. Click Test button to check whether the credentials are correct. If the test fails, the credentials may be wrong, recheck and enter the correct credentials.
    2. Click Save button to save the SQL Server configuration. Note that, it will take few minutes to configure the settings of the SQL Server database.
    3. Invoke the <NetFlow Analyzer Home>\bin\run.bat to start the NetFlow Analyzer server in the command prompt.
    4. After the server is started completely, stop the server by terminating the run.bat in the command prompt or invoke the <NetFlow Analyzer Home>\bin\shutdown.bat
    5. Invoke the <NetFlow Analyzer Home>\troubleshooting\Mysql_Mssql_RestoreConfig.bat.
    6. Start the NetFlow Analyzer server/service.
Copyright © 2012, ZOHO Corp. All Rights Reserved.