Move Firewall Analyzer Server installation to another server


    This procedure is applicable for Firewall Analyzer version 7.5 (Build 7500) onwards

    How to find build number?

    In the Firewall Analyzer web client, and click the About link in the top pane. You will find the build number mentioned below the build version. This is the build number of the currently installed Firewall Analyzer.

    This procedure is applicable for Firewall Analyzer version 7.5 (Build 7500) onwards 

    How to move Firewall Analyzer installation to a new server? 

    Note:

    Ensure that the License file in the old server is copied to the new server after moving the Firewall Analyzer to the new server.

    Before moving the Firewall Analyzer installation to a new machine, ensure that the build of the old installation is latest. If not, upgrade in the old installation to the latest build and proceed further. To find out the build number:

    • You can click on About link in the top right hand corner, the build number will be displayed in the About pop-up screen. 
    • If you are not able to open the UI, go to the folder C:ManageEngineFirewalltroubleshooting and open the file build.properties in a notepad, you can find the build number in the file.

    Follow the steps given below to move Firewall Analyzer installation to a different server:

    1. Stop the Firewall Analyzer server/service.
    2. Check the Windows Task Manager for the processes 'java.exe' and 'postgres.exe', if any of these processes is running, kill only the Firewall Analyzer related process. 
    3. Copy the following folders (including the files and sub-folders) completely to another drive or to a mapped network drive as a precautionary measure. 

      This will help us to restore the settings and data in-case of any issue with the new machine. 
      1. The folder, 'pgsql' located under <Firewall Analyzer Home>. 
      2. The folder, 'Archive' located under <Firewall Analyzer Home>serverdefaultarchive.
    4. Download and install the latest build of Firewall Analyzer from the following link in the new server: 

      https://www.manageengine.com/products/firewall/download.html 
       
    5. Once you install the application in the new machine, ensure that you do not start the application or shutdown the application, if started. 
    6. Rename the folder <Firewall Analyzer Home>pgsqldata as 'data_ori'. 
    7. Copy the pgsqldata folder (which is located under <Firewall Analyzer Home>pgsqldata) from the old machine to the new machine in the same location. 
    Warning:

    Take extra care and ensure that the Firewall Analyzer is not running on both the machines while performing this operation

     
    1. Restart the Firewall Analyzer on the new machine and check whether the data and configurations are intact.

    How to move PosrgreSQL data from 32 bit machine to 64 bit machine? 

    • Stop Firewall Analyzer Server
    • Kill PostgreSQL and java processes
    • Execute startDB.bat/sh script and traverse to pgsql/bin folder in command prompt
    • Take database dump using below command:
    pg_dump.exe -U postgres -p 33336 firewall > dump.sql
    • The dump.sql file will be under <database home>/bin folder
    • Install Firewall Analyzer 64 bit edition on 64 bit machine
    • Do not start the new installation or reinitialize db if already started
    • Copy 32 bit machine dump.sql file to 64 bit machine <FIrewall Analyzer home>/pgsql/bin folder
    • To restore data on 64 bit machine, execute below command:
    bin>psql.exe -U postgres -p 33336 firewall < dump.sql
    • Copy archive from 32 bit machine to 64 bit machine
    • Start Firewall Analyzer

    Procedure to move Firewall Analyzer Server installation to another server for MSSQL database 

    1. Stop Firewall Analyzer server/service.
    2. Download and install the latest build of Firewall Analyzer from the following link:

      https://www.manageengine.com/products/firewall/download.html
       
    3. Once you install the application in the new machine, kindly make sure that you do not start the application or shutdown the Firewall Analyzer if started.
    4. Please configure the MSSQL server credentials of the earlier Firewall Analyzer server installation as explained in the Configure MSSQL Database topic.
    5. Start the Firewall Analyzer server/service on the new machine and check whether the data and the configurations are intact.

    To move the Firewall Analyzer's Indexes to new server

    • Go to Archive Settings page.
    • Enable Change Raw Logs Indexing Location check box.
    • Modify the Log Indexing Location to the new location and save.
    • Move all the directories from previous location to the new location.