Installing Software Upgrades on the SRX Series Services Gateways

This topic includes the following sections:

Installing Software Upgrades from a Remote Server on the SRX Series Services Gateways (J-Web Procedure)

You can use the J-Web interface to install software packages that are retrieved with FTP or HTTP from the specified location.

Figure 9 shows the Install Package page for the device.

Figure 9: Installing Software Upgrades

Image s031008.gif

To install software upgrades from a remote server:

  1. In the J-Web interface, select Maintain>Software>Install Package.
  2. On the Install Remote page, enter the required information into the fields described in Table 124.

    Table 124: Install Package Summary

    Field

    Function

    Your Action

    Package Location (required)

    Specifies the FTP or HTTP server, file path, and software package name.

    Type the full address of the software package location on the FTP or HTTP server—one of the following:

    ftp://hostname/pathname/package-name

    http://hostname/pathname/package-name

    User

    Specifies the username, if the server requires one.

    Type the username.

    Password

    Specifies the password, if the server requires one.

    Type the password.

    Reboot If Required

    If this box is checked, the device is automatically rebooted when the upgrade is complete.

    Check the box if you want the device to reboot automatically when the upgrade is complete.

    Do not save backup

    If this box is checked, the backup copy of current JUNOS package is not saved.

    Check the box if you want to save the backup copy of JUNOS package.

    Format and re-partition the media before installation

    If this box is checked, the storage media is formatted and new partitions are created.

    Check the box if you want to format the internal media with dual-root partitioning.

  3. Click Fetch and Install Package. The software is activated after the device reboots.

Installing Software Upgrades by Uploading Files on the SRX Series Services Gateways (J-Web Procedure)

You can use the J-Web interface to install software packages uploaded from your computer.

Before installing the software upgrade, you need to verify that there is enough available space on the internal media. For information about verifying available internal media card space, see the JUNOS Software Release Notes.

Figure 10 shows the Upload Package page for the device.

Figure 10: Upload Package Page

Image s031009.gif

  1. In the J-Web interface, select Maintain>Software>Upload Package.
  2. On the Upload Package page, enter information into the fields described in Table 125.

    Table 125: Upload Package Summary

    Field

    Function

    Your Action

    File to Upload (required)

    Specifies the location of the software package on the local system.

    Type the location of the software package, or click Browse to navigate to the location.

    Reboot If Required

    If this box is checked the device is automatically rebooted when the upgrade is complete.

    Select the check box if you want the device to reboot automatically when the upgrade is complete.

    Do not save backup

    If this box is checked, the backup copy of current JUNOS package is not saved.

    Check the box if you want to save the backup copy of JUNOS package.

    Format and re-partition the media before installation

    If this box is checked, the storage media is formatted and new partitions are created.

    Check the box if you want to format the internal media with dual-root partitioning.

  3. Click Upload Package. The software is activated after the device has rebooted.

Installing Software Upgrades on the SRX Series Services Gateways (CLI Procedure)

To install software upgrades on a device with the CLI:

  1. Before installing the software upgrade, verify the available space on the internal media. For information about verifying available internal media space, see the JUNOS Software Release Notes.
  2. Download the software package as described in Downloading JUNOS Software Upgrades for the SRX Series Services Gateways .
  3. If you are installing the software package from a local directory on the device, copy the software package to the device. We recommend that you copy it to the /var/tmp directory.
  4. To install the new package on the device, enter the following command in operational mode in the CLI:
    user@host> request system software add unlink no-copy package-name

    Replace package-name with one of the following paths:

    • For a software package that is installed from a local directory on the device—/pathname/package-name (for example, /var/tmp/junos-jsr-8.5R1.1.domestic.tgz)
    • For software packages that are downloaded and installed from a remote location:
      • ftp://hostname/pathname/package-name

        or

      • http://hostname/pathname/package-name

    By default, the request system software add command uses the validate option to validate the software package against the current configuration as a prerequisite to adding the software package. This validation ensures that the device can reboot successfully after the software package is installed. This is the default behavior when you are adding a software package.

    The unlink option removes the package at the earliest opportunity so that the device has enough storage capacity to complete the installation.

    (Optional) The no-copy option specifies that a software package is installed but a copy of the package is not saved. Include this option if you do not have enough space on the internal media to perform an upgrade that keeps a copy of the package on the device.

  5. After the software package is installed, reboot the device:
    user@host> request system reboot

When the reboot is complete, the device displays the login prompt.