Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Installing a Junos Space Image on a Junos Space Appliance by Using a USB Drive

Before you begin, ensure that:

  • You have a laptop or PC (running Windows or Linux) that is connected to the Internet.

  • If you are using a Windows laptop or PC, you must install the Win32 Disk Imager software on your computer to enable the software image to be written on the USB drive. You can download this software for free from https://sourceforge.net/projects/win32diskimager/.

  • You have a USB drive with at least 4 GB of free space for Junos Space Platform Release 11.4 or later.

  • You can connect to the appliance by using the management console.

  • You have configured a console terminal or terminal emulation utility to use the following serial connection parameters:

    • Baud rate: 9600 bits per second

    • Data: 8 bits

    • Flow control: None

    • Parity: None

    • Stop bits: 1

    Note:

    The console terminal or terminal emulation utility maps every key on the keyboard to a code that it then sends through the management console. In some cases, the Delete key on a PC keyboard does not send a DEL or Control-? character. You must ensure that the terminal utility that you are using to connect to the appliance maps a key to the DEL or Control-? character. Typically, this is accomplished by configuring the terminal utility to send a DEL or Control-? character when the Backspace key on the keyboard is pressed.

Note:
  • A Junos Space Appliance is shipped with a version of Junos Space Network Management Platform already installed on it.

  • You can install only Junos Space Network Management Platform Release 13.3 (or later) on the JA2500 Junos Space Appliance.

  • For information about how to upgrade Junos Space Network Management Platform, refer to the Upgrading Junos Space Software Overview and Upgrading Junos Space Network Management Platform topics in the Junos Space Network Management Platform Workspaces Feature Guide (available at https://www.juniper.net/documentation/en_US/release-independent/junos-space/index.html).

  • For information about upgrading to Junos Space Network Management Platform Release 16.1R1, see Upgrading to Junos Space Network Management Platform Release 16.1R1.

You can install a Junos Space Network Management Platform software image on an appliance by using a standard USB drive; both USB 2.0 and USB 3.0 are supported. You can use this procedure to restore the factory settings on an appliance or if you want to install a different version of the software.

This installation procedure has three main steps:

  1. Creating a bootable USB drive

  2. Ensuring that the appliance’s BIOS boots from the USB drive instead of the appliance’s hard disk

  3. Installing the software image on the appliance

To install a software image on a Junos Space Appliance by using a USB drive:

  1. Plug the USB drive into the USB port of a laptop or PC that is connected to the Internet.
  2. Using a Web browser, navigate to the Juniper Networks software download site (https://www.juniper.net/support/downloads/), then click Junos Space Network Management Platform.
  3. On the subsequent page, click the Software tab and then click Image for hardware Appliance to download the Junos Space software image.

    For Junos Space Platform Release 16.1R1 and later, the filename of the downloaded image is in the space-version.spin-number-usb.iso format, where version refers to the major version number and spin-number refers to the spin number within that release; for example, space-16.1R1.1-usb.iso.

    Note:

    For Junos Space Platform versions earlier than Release 16.1, the filename of the downloaded image is in the space-version.spin-number.img format, where version refers to the major version number and spin-number refers to the spin number within that release; for example, space-15.1R1.1.img.

    CAUTION:

    Do not modify the filename of the software image that you download from the Juniper Networks support site. If you modify the filename, the installation fails.

    Note:

    By default, the image for the latest version of the software is displayed on this page. To download previous versions of the software, select a release number from the Release list.

  4. Create a bootable USB drive by using one of the following procedures:
    Note:
    • If the USB drive has files that you would like to keep, save the files to your PC or laptop before you begin this procedure.

    • The bootable USB drive that you create using these procedures will not be usable as a normal USB drive. If you want to use the USB drive for storing files, you must reformat the drive.

    • If you are using a computer with Windows as the operating system:

      1. Open the Win32 Disk Imager software, which was installed on your computer.

      2. In the Win32 Disk Imager window, click the Open or Browse icon, and in the subsequent dialog box, select the image file that you want to copy to the USB drive.

      3. In the Win32 Disk Imager window, verify that the drive letter displayed in the Device drop-down box matches the chosen USB drive. If a different drive letter is displayed, select the drive letter that matches the USB device from the Device list.

      4. Click Write, and in the confirmation dialog box that appears, click Yes.

        A progress bar in the Win32 Disk Image window displays the status; if the write operation is successful, a message is displayed.

      5. Click Exit to exit the Win32 Disk Imager window.

      6. Eject the USB drive and unplug it from the computer.

    • If you are using a computer with Mac OS as the operating system:

      1. Open a shell (CLI).

      2. Use the cd command to go to the directory containing the software image file.

      3. Run the diskutil list command to determine the disk to which the USB is assigned.

      4. Run diskutil unmountDisk /dev/diskN to unmount the disk.

        where /dev/diskN is the disk to which the USB is assigned.

      5. For Junos Space Platform Release 16.1R1 and later, type the following command and press Enter:

        where space-version.spin-number-usb.iso is the name of the downloaded Junos Space image file, and /dev/usb-drive is the name of the device drive to which your USB drive is mapped.

        Note:

        For releases prior to Junos Space Platform Release 16.1R1, type the following command to copy the image file to the USB drive and press Enter.

        where space-version.spin-number.img is the name of the downloaded Junos Space image file, and /dev/usb-drive is the name of the device drive to which your USB drive is mapped.

        The image file is copied to the USB drive and you are taken to the command prompt.

      6. Unplug the USB drive from the computer.

    • If you are using a computer with Linux as the operating system:

      Note:

      Although you can use any of the available tools, we recommend that you use the dd command in Linux to create a bootable USB drive.

      1. Open a shell (CLI).

      2. Use the cd command to go to the directory containing the software image file.

      3. Run the fdisk –l command to determine the disk to which the USB is assigned; for example, disk/sdb.

      4. For Junos Space Platform Release 16.1R1, type the following command and press Enter:

        where space-version.spin-number-usb.iso is the name of the downloaded Junos Space image file, and /dev/sdb is the name of the device drive to which your USB drive is mapped.

        Note:

        For releases prior to Junos Space Platform Release 16.1R1, type the following command to copy the image file to the USB drive and press Enter.

        where space-version.spin-number.img is the name of the downloaded Junos Space image file, and /dev/sdb is the name of the device drive to which your USB drive is mapped.

        The image file is copied to the USB drive and you are taken to the command prompt.

      5. Eject and unplug the USB drive from the computer.

  5. Plug the USB drive into the USB port of the Junos Space Appliance on which you want to install the software image.
    Note:

    To install the software image from the USB drive, the boot priority order in the appliance must have USB boot at the top. By default, the appliance first attempts to boot from the USB drive first and then from the RAID volume or hard drive. However, if you have changed the boot order in the BIOS of the appliance, you must access the boot menu and change the boot order. You do this by sending the DEL or Control-? character three times as soon as you power on the appliance.

  6. To access the appliance boot menu:
    1. Power on the appliance.

    2. As soon as the appliance starts powering on, press the key that you have mapped to send the DEL character in the terminal emulation utility. In most cases, this would be the Backspace key.

      Note:

      If the hard disk LEDs begin to flash at this point for more than a few seconds, the appliance is booting from the hard disk instead of the USB drive, and the BIOS menu will not be loaded. In this case, you need to power down the appliance and repeat this step.

      If you are successful in accessing the BIOS setup, the boot menu appears after about one minute.

  7. Ensure that the USB boot is at the top of the appliance boot priority order. If USB KEY:CBM USB 2.0- (USB 2.0) is not at the top of the list, do the following:
    1. Use the down arrow to select USB KEY:CBM USB 2.0- (USB 2.0) and use the + key to move the entry to the top of the list.

    2. Press the F10 key to save your changes and exit the BIOS setup.

      The appliance restarts and uses the new boot order, thereby booting from the USB drive. The boot prompt displays a menu, as follows:

      • reinstall

      • rescue-kvm

      • rescue-serial

      • local

      You can use the up and down arrows to move between the options. Press Enter to make your selection.

    Warning:

    The reinstall command explained in the next step overwrites your hard disk drive with a new factory default Junos Space installation and erases the previous installation and configuration. If you do not want to proceed, power off the appliance immediately.

  8. At the boot prompt, type reinstall and press Enter.
    Note:

    If no input is provided for 30 seconds, the appliance boots from the local disk by default.

    The reinstallation process takes approximately 2 hours and 30 minutes. When the installation is complete, the appliance powers down.

  9. After the appliance has powered down, remove the USB drive from the appliance.
    Note:

    Because the appliance boot order was changed earlier in this procedure, the appliance will try to boot from the USB drive before choosing the next option. You can change the boot order of the appliance at any time using the method explained previously in this procedure.

  10. (Optional) Power on the appliance by toggling the power switch located at the rear panel of the appliance.

    The appliance boots with the version of the Junos Space Network Management Platform that you installed.

    You must configure the basic settings for your appliance before you can use it to manage devices. Refer to Configuring a Junos Space Appliance as a Junos Space Node and Configuring a Junos Space Appliance as a Standalone or Primary FMPM Node for details.