Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Upgrading the CTP151 Devices to Dual Image of CTPOS 9.3R1

Starting from CTPOS Release 9.3R1, you can install and upgrade dual image of CTPOS 9.3R1 on CTP151 devices. This topic describes the the install and upgrade procedures.

Note:

CTPOS Release 9.3R1 supports only CTP151 devices.

Prerequisites for Dual Image Upgrade

Upgrading to Dual Image on CTP151

Before you upgrade to dual image, ensure that you meet the following broad level requirements.

  • You can perform Dual upgrade by using a console connection (and not SSH) to the device or through a non-interactive upgrade process on a SSH session.

  • We recommend the following working USB models when you are upgrading from an USB.

    • LEXAR USB Flash Drive

    • UNIGEN PSK8000S1

  • This dual image upgrade feature is supported from CTPOS 9.1R3 release. However, if you want to upgrade any earlier CTPOS versions to CTPOS 9.3R1, then you must first upgrade the earlier versions to CTPOS 9.1R3 on CTP151 devices and to CTPOS 9.3R1.

  • The partitions geometry details on both category of platforms are:

    Following partitions will be created on CTP151 for dual image and first two partitions will be common for both images. The first partition (BIOS Type) will have 1M size and will have no label name. This partition is required for supporting dual boot feature (legacy Bios + UEFI boot).

    Table 1: b. UEFI Supported Platforms–CTP151

    Label

    Size

    Type

    1M

    BIOS

    CTP_EFI

    100M

    EFI

    CTP_ROOT_1

    4000M

    Ext4

    CTP_HOME_1

    200M

    Ext4

    CTP_VAR_1

    200M

    Ext4

    CTP_LOCAL_1

    1000M

    Ext4

    CTP_ROOT_2

    4000M

    Ext4

    CTP_HOME_2

    200M

    Ext4

    CTP_VAR_2

    200M

    Ext4

    CTP_LOCAL_2

    1000M

    Ext4

    Total Size

    11 GB

     
  • Following files will be available in CTPOS 9.3R1 Release to install the dual image:

    File Name

    Purpose

    acorn_412_dual_image_upgrade_ctp151_251128.tgz

    Dual Image Upgrade script for CTP151 running a 9.2x release

    acorn_310_dual_image_upgrade_ctp151_251128.tgz

    Dual Image Upgrade script for CTP151 running a 9.1x release

    acorn_619_dual_image_upgrade_ctp151_251128.tgz

    Dual Image Upgrade script for CTP151 running a 9.3x release

    ctp_complete_9.3R1_251128.tgz

    Release Bundle (contains all upgrade files)

    CTPOS_9.3R1_partitions_ctp151_251128.tgz

    CTPOS Image file for CTP151.

    ctpos_usb_clean_install_9.3R1_ctp151_251128.img.gz

    Note:

    This file is provided as a compressed file (.gz) which was compressed using gzip. Instructions on how to uncompress it are included in the "Installing Clean Dual Image on CTP151 from USB" section below.

    Bootable USB image for performing factory install (repartitions CTP SSD)

    This file performs partitioning, formatting, and filesystem setup on the CTP flash device with dual image partitions.

    ctpos_usb_install_9.3R1_ctp151_251128.img.gz

    Bootable USB image for performing Dual Image Upgrade.

    This file loads a CTPOS image onto one of the dual partitions of the CTP flash.

    acorn_619_251128_fpga_150_s2d_t25_b03_S05_T06_B01_2000_s1f_t32_S05_T0A.tgz

    FPGA image. This file is required to upgrade the card with the latest fpga version on CTPOS 9.3R1.

Installing Clean Dual Image on CTP151 from USB

The USB flash image ctpos_usb_clean_install_9.3R1_ctp151_251128.img.gz is needed to install a clean CTPOS 9.3R1 in the CTP151 device. Download this image from the Juniper Networks download page at https://support.juniper.net/support/downloads/ for CTPOS 9.3R1 Release.When USB install for dual upgrade is executed:

On a single or dual image system, it will

  • prepare the system to accept image upgrade tar ball (create RAM disk)

  • perform partitioning, formatting, and filesystem setup on the CTP flash device with dual image partitions.

For a blank or corrupted system

Blank or corrupted “/dev/sda” disk may occur due to one of the following reasons:

  • /dev/sda disk is blank

  • /dev/sda is not having CTPOS 9.1Rx

  • /dev/sda is installed with CTPOS 9.1Rx but CTP151 node is not booting up from /dev/sda disk

If any of the above is true, you must recover CTP151 using the USB clean installation image of CTPOS 9.3R1. See Installing Clean Dual Image on CTP151 from USB.

To install dual image from USB:

  1. Insert your USB disk in the server, and burn the USB install image to it. Uncompress ctpos_usb_clean_install_9.3R1_ctp151_251128.img.gz file using "gunzip" tool on your server and burn the USB install image to the USB drive remotely.

    You can check <check USB device name> using “fdisk -l” command for the inserted USB.

    Change "198.1.1.1" IP address in the above command with your server IP.

  2. Reboot CTP Node. Press Delete or ESC key to enter BIOS menu.
  3. Ensure that the Boot Option #1 has UEFI USB selected. If not, select UEFI USB as Boot Option #1.
  4. Ensure to disable all other Boot Options in boot menu, Only UEFI USB Boot Option #1 should be Enabled. For disabling a Boot Option, go to “Boot Option #” which needs to be disabled and press Enter and select Disabled.
  5. Go to Save and Exit menu.Select Save Changes and Exit.Press Enter and select Yes to confirm.

    The system will reboot.

  6. During the boot up process of USB install image, the user menu for USB installation for Dual Image Upgrade is displayed and you will be prompted to select the destination disk. Select 0 option and appropriate options for USB installation.

    Update the boot option with the disk partition image.

  7. Configure the IP address for the eth4 management interface and set the default gateway accordingly.
  8. Also, set the system date and time if the current timestamp is not correct.
  9. Once the node is up, log in using the default credentials and configure the system passwords for all default user accounts.
  10. The device boots up with CTPOS 9.3R1.

Upgrading CTPOS to Dual Image

Before you upgrade to CTPOS 9.3R1 dual image on CTP151, you must prepare your CTP151 device by installing a clean dual image on your CTP151 device, if not done earlier. Then upgrade to CTPOS 9.3R1. You can upgrade to CTPOS 9.3R1 on a CTP151 device through three different interface methods:

  1. USB

  2. CLI (interactive or non-interactive mode)

  3. CTPView

The node upgrades the image on the appropriate partition based on the following conditions.

  • If the node is running with a single partition, the image will be upgraded to the alternate partition along with personality transfer.

  • If the node is running with dual partitions, the image upgrade will occur based on the following conditions:

    1. Different release versions installed in both partitions > The partition having the lower release version/name will be upgraded.

    2. Same release versions installed in both partitions > The partition having the older “Root-FS/Kernel compile” timestamp will be upgraded.

    3. Same release versions and same “Root-FS/Kernel compile” timestamp in both partitions > The partition having the older “Image upgrade” timestamp will be upgraded.

Note: The boot image is displayed in the 9.3R1-comp-YYMMDD-HHMMSS-load-YYMMDD-HHMMSS format, where:
  1. 9.3R1: Release name

  2. comp-YYMMDD-HHMMSS: Root-FS / Kernel compile timestamp
  3. load-YYMMDD-HHMMSS: Image upgrade timestamp

Upgrading CTPOS to Dual Image via USB

Upgrading the ctpos_usb_clean_install_9.3R1_ctp151_251128.img.gz image through USB follows the same procedure as described in Installing Clean Dual Image on CTP151 from USB step 1 through step 6.

From Step 7 onwards, the system continues with the personality transfer of the currently running image and CTP151 will be up with 9.3R1.

Upgrading Dual Image through CLI (interactive mode)

The package acorn_310_dual_image_upgrade_ctp151_251128.tgz or acorn_412_dual_image_upgrade_ctp151_251128.tgz is needed to upgrade CTP151 to CTPOS 9.3R1 from CTPOS 9.1Rx or 9.2Rx respectively.

Download the CTP partition file CTPOS_9.3R1_partitions_ctp151_251128.tgz that is available in the Juniper Networks download page at https://support.juniper.net/support/downloads/ for CTPOS 9.3R1 Release.

The following steps illustrate how to manually upgrade a CTPOS 9.3R1 dual image from an existing single image or a dual image using CLI commands.

  1. Copy either acorn_310_dual_image_upgrade_ctp151_251128.tgz or acorn_412_dual_image_upgrade_ctp151_251128.tgz to /tmp folder of CTP Device.
  2. Run upgrade.
    Note:

    When "upgrade" is executed in interactive way, it allows you to select which image to overwrite on a dual image system. When issued with the “y” option, it will execute non-interactively, and choose which image to overwrite automatically. If you want to guide the upgrade process, then you must execute “upgrade” instead.

  3. The device boots up with the new CTPOS 9.3R1 software, as shown in the following example .

Upgrading Dual Image through CLI (non-interactive mode)

Upgrading the dual image through CLI in a non-interactive mode is similar to upgrading it using interactive mode, except that you need to run the command "upgrade y" instead of just "upgrade" in the CLI.

Once you run upgrade y, the device is upgraded with personality transfer feature.

Upgrading Dual Image on CTP151 from CTPView