Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

How to upgrade an NSMXpress appliance to a new major release of NSM

0

0

Article ID: KB11802 KB Last Updated: 27 Jun 2019Version: 7.0
Summary:
When upgrading to a new major release of NSM, it is required to use the following procedure to upgrade the NSMXpress operating system version and the NSM version simultaneously.
Symptoms:
Upgrade or NSMXpress failed due to not using the special NSMXpress OS upgrade script.
Solution:
Upgrading the NSM version on NSMXpress Appliance

NOTE: NSM releases require a License File if you are managing more than 25 devices. You must have the License file available before performing the upgrade to the new NSM release. NSM installer will not proceed without the License file.

Use the following procedure to upgrade the NSM on an NSMXpress appliance.
  1. On the Juniper Support Download Page, type Network and Security manager (NSM).
  2. Click on Download Software.
  3. Select the NSM version you wish to upgrade to.
  4. Download the file "Linux Server" (nsm<version>_servers_linux_x86.zip).
  5. From the "Tools" Tab, depending on the CentOS version, select the upgrade script file "NSM Appliance Generic Online Upgrade Script_v4_CentOS <version>.x" (upgrade-os_v4.zip).
  6. FTP or SCP these files onto your NSMXpress appliance.
  7. Log in as the admin user, and enter n when prompted to run the setup wizard.
  8. Execute sudo su - and enter the admin password to gain root access.
  9. Confirm the unzip utility is present on the NSMXpress appliance by executing the following command:
    # which unzip

    This provides the location of the file if it is available. If it is not available, use the following procedure to install this utility.

    # yum install unzip
  10. Navigate to the directory where you saved the management system installer file (typically the /tmp/ subdirectory).
  11. Execute the following command to unzip and save the two files   (nsm<version>_servers_linux_x86.sh, upgrade-os.sh) and a directory (apps-rpms) on the NSMXpress system:
    # unzip nsm<version>linux.zip
    # unzip upgrade-os_v4.zip
  12. Run the following command to automatically start the installation.
    # sh upgrade-os.sh nsm<version>_servers_linux_x86.sh Online

    The installer begins a series of pre-installation checks that ensures:
    • Installing the correct software for your operating system.
    • All the necessary software binaries are present.
    • Correctly logged in as root.
    • A previous version of NetScreen-Security Manager is installed preceding the current version you are installing.
    • The system has sufficient disk space and RAM.
    • The installer then stops any running servers.
  13. Type 2 to specify that you want to upgrade both device server and GUI server.
    The installer next prompts you to configure additional options specific to your installation during the upgrade. This can include:
    • Configuring High Availability
    • Configuring interoperability with NetScreen-Statistical Report Server
    • Configuring backup options
    • Configuring https ports

    If applicable, follow the installer prompts to configure these options.
  14. Type y then press Enter to restart the server(s) when finished or type n, then press Enter, if you do not want to restart server processes. The script prompts you to verify your upgrade configuration settings.
  15. Verify your settings.  If correct, type y then press Enter to proceed or type n, then press Enter, for the installer to return you to the original selection prompt.
    The upgrade proceeds automatically with the installer performing the following actions:
    • Extracts and decompresses the software payloads.
    • Upgrades the device server.
    • Upgrades the GUI server.
    • Installs the HA server.
    • Sets start scripts.
    • Performs post-installation tasks such as removing the staging directory and starting the server processes (if configured).

    Several messages display to confirm the installation progress. The installer runs for several minutes, then exits.
  16. After the successful installation, copy the installer file nsm<version>_servers_linux_x86.sh to /var/install directory and run the following commands as follows:
    # rm -f NSM-RS
    # chmod 755 nsm<version>_servers_linux_x86.sh
    # ln -s nsm<version>_servers_linux_x86.sh NSM-RS 

     
Modification History:
2019-06-27: Updated steps in the solution.
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search