Upgrading Instructions

Upgrading to NFO 2.8 from OVA or other Unsupported Linux OSs

This section applies to deployments of NFO as a virtual appliance (OVA) or deployments on Linux kernel prior to 2.17 (e.g. CentOS 6.x, RHEL 6.x, Debian 7.x, etc) as these OSs are no longer supported.
If your NFO installed in currently supported Linux, please proceed to NFO Upgrade Procedure.
The following terms are used in this section:
  1. 1.
    NFO2.7_host – NFO host installed with unsupopreted Linux OS
  2. 2.
    NFO2.8_host – NFO host with the up-to-date Linux OS for NFO 2.8 release
  3. 3.
    install_dir – root install directory, typically /opt

Procedure

  1. 1.
    Create a new host or use the existing host with supported Linux OS (e.g. CentOS 7.x, RHEL 7.x, etc)
  2. 2.
    Uninstall NFO product on NFO2.7_host depending on install pack had been used for the installation (https://docs.netflowlogic.com/netflow_optimizer/installation-guide/removing-nfo)
    a. In case of RPM Installation, perform steps 1 through 5
    b. In case of TAR Installation, perform steps 1 through 4
    c. In case of NFO Virtual Appliance, use point ‘a’ above where NFO2.7_host is a virtual machine with the deployed virtual appliance
  3. 3.
    In case of NFO versions prior to 2.7, EDFN uninstall is required. See https://docs.netflowlogic.com/netflow_optimizer/installation-guide/upgrading-nfo/upgrading-steps, section ‘EDFN Uninstall Procedure’
  4. 4.
    Copy application directories from NFO2.7_host to NFO2.8_host. This could be performed by the following methods:
    a. Method 1 – direct copy. This method can be used, if ssh connection that uses root credentials is available:
    i. Log in to NFO2.7_host as root and open CLI, or execute command sudo –i in CLI in case of non-root logon
    ii. Then enter the following command:
    scp -r /<install_dir>/flowintegrator [email protected]<NFO2.8host>:/<install_dir>/
    iii. Confirm access rights, if needed
    iv. If nfi-updater directory exists in the install directory, execute the following command: scp -r /<install_dir>/nfi_updater [email protected]<NFO2.8host>:/<install_dir>/
    v. Confirm access rights, if needed
    b. Method 2 – copy using tarball(s). This method can be used, if ssh connection that uses root credentials is unavailable:
    i. Log in to NFO2.7_host as root and open CLI, or execute command sudo –i in CLI in case of non-root logon
    ii. Then enter the following command:
    cd /<install_dir>
    iii. Archive flowintegrator directory:
    tar -cz --owner=0 --group=0 flowintegrator/ > flowintegrator.tar.gz
    iv. If nfi-updater directory exists in the install directory, archive it:
    tar -cz --owner=0 --group=0 nfi-updater/ > nfi-updater.tar.gz
    v. Transfer the above tarball(s) to <install_dir> on NFO2.8_host by any available way
    vi. Log in to NFO2.8_host as root and open CLI, or execute command sudo –i in CLI in case of non-root logon
    vii. Then enter the following command:
    cd /<install_dir>
    viii. Untar flowintegrator.tar.gz tarball:
    tar zxvf flowintegrator.tar.gz -C /opt
    ix. Untar nfi-updater.tar.gz tarball, if any:
    tar zxvf nfi-updater.tar.gz -C /opt
  5. 5.
    Install NFO product on NFO2.8_host using the upgrading procedure (https://docs.netflowlogic.com/netflow_optimizer/installation-guide/upgrading-nfo/upgrading-steps):
    a. In case of RPM Installation, perform steps 1 through 2 in section ‘NFO Upgrade Procedure’, tab ‘NFO Virtual Appliance or RPM’;
    b. In case of TAR Installation, perform steps 2 through 3 in section ‘NFO Upgrade Procedure’, tab ‘TAR Installation’.

Upgrading to NFO 2.7 from NFO 2.6

If you are using RPM and upgrading from NFO release 2.6 or before to NFO 2.7, you need to uninstall External Data Feeder for NFO (EDFN), as NFO 2.7 includes EDFN installation.
To begin the upgrade of NFO Virtual Appliance or RPM perform the following:
  1. 1.
    Open a web browser and go to the NFO URL, entering the NFO hostname or IP address, for example:
    https://<nfo-host>:8443
  2. 2.
    Click on the ‘Stop’ button
    at the top of the page to stop the server
  3. 3.
    The ‘Play’ button will turn grey indicating that the NetFlow Optimizer has stopped
Uninstall EDFN if it was installed on NFO machine.

EDFN Uninstall Procedure

NFO Virtual Appliance or RPM
TAR Installation
Windows Installation
Open a shell prompt and enter the following command to begin the uninstall:
1
rpm -e nfi-updater
Copied!
Ignore this warning if you see it:
Warning: file /opt/nfi-updater/setupNFIU.sh: remove failed: No such file or directory
Do not remove installation directory to preserve NFO/EDFN configurations.
Go to the existing installation directory <install_dir>/nfi-updater and enter the following command to begin the uninstall
1
./setup.sh -u
Copied!
To begin the removal of EDFN Windows installation, perform the following:
  1. 1.
    Go to Control Panel > Programs > Programs and Features and select the External Data Feeder for NFO program
  2. 2.
    Follow the steps to uninstall the program
NOTE: You may need to manually remove the EDFN files from the installation directory prior to restarting the system.
Do not remove installation directory to preserve NFO/EDFN configurations.
If you need to install EDFN on a separate server you may want to disable EDFN after NFO installation. Please run the following:
1
cd /opt/nfi-updater
2
./register_daemon.sh -u
Copied!

NFO Upgrade Procedure

To begin the upgrade of NFO perform the following:
  1. 1.
    Open a web browser and go to the NFO URL, entering the NFO hostname or IP address, for example:
    https://<nfo-host>:8443
  2. 2.
    Click on the ‘Stop’ button
    at the top of the page to stop the server
  3. 3.
    The ‘Play’ button will turn grey indicating that the NetFlow Optimizer has stopped
  4. 4.
    Proceed as follows:
NFO Virtual Appliance or RPM
TAR Installation
Windows Installation
  1. 1.
    Copy the new installation file into the /opt installation directory
  2. 2.
    RPM the NetFlow Optimizer for Linux installation file into the /opt installation directory
    1
    rpm -Uhv <RPM-package>
    Copied!
  3. 3.
    A message will display indicating that the NFO setup has been successfully completed along with the URL for the login page
  1. 1.
    Go to the existing installation directory <install_dir>/flowintegrator and enter the following command to begin the uninstall
    1
    ./setup.sh -u
    Copied!
  2. 2.
    Enter the following command to uncompress the installer
    1
    tar zxvf <TAR-package> -C <install_dir>
    Copied!
  3. 3.
    Go to the <install_dir>/flowintegrator directory and enter the following command to begin the installation
    1
    ./setup.sh -i
    Copied!
  4. 4.
    A message will display indicating that the NFO setup has been successfully completed along with the URL for the login page
  1. 1.
    Open the upgrade installation file and click ‘Run’ to launch the installer and Click ‘Next’ To begin the ‘NetFlow Optimizer Setup’
  2. 2.
    Click ‘Next’ to install NetFlow Optimizer in the default location: C:\Program Files\NetFlow Logic\NetFlow Optimizer
  3. 3.
    Click on ‘Install’ To begin the installation (follow the installation steps)
  4. 4.
    Click on ‘Finish’ to complete the installation and exit the installer