Description

In the event that an exception occurs in the automatic update and the update cannot be completed, we can try to update it manually.

This KB describes how to manually update the J-web application for a virtual-chassis. 

Solution

Updating the application manually for a VC is essentially the same as updating the application for a standalone switch. 

{master:0}

root@d19-39> show virtual-chassis status 

 

Preprovisioned Virtual Chassis

Virtual Chassis ID: 6c35.eced.2eb1

Virtual Chassis Mode: Enabled

                        Mstr      Mixed Route Neighbor List

Member ID Status  Serial No  Model     prio Role   Mode Mode ID Interface

0 (FPC 0) Prsnt  NY3619110116 ex3400-48p   129  Master*   N VC  1 vcp-255/1/0

                                      1 vcp-255/1/1

1 (FPC 1) Prsnt  NY3619140323 ex3400-48p   129  Backup    N VC  0 vcp-255/1/0

                                      0 vcp-255/1/1


 

Step 1: On the master device, save the update package to the var/tmp path.

{master:0}   

root@d19-39:RE:0% pwd 

/var/tmp

root@d19-39:RE:0% ls -l 

total 15968

-rw-r--r-- 1 root wheel    0 Jan 28 18:57 LOCK_FILE

-rw-r--r-- 1 root wheel    11 Jan 28 18:51 alarmd.ts

prw-rw-rw- 1 root wheel    0 Jan 10 13:40 ebmq_authd_vty

-rw-r----- 1 root wheel 8091422 Jan 29 17:07 jweb-ex-app-common-23.4A1.4.tgz <<<
 

Step 2: Execute command ‘> request system software add /var/tmp/<image name> member 0’ on the master device to update the master device installation. Here master switch is member 0.

{master:0}

root@d19-39> request system software add /var/tmp/jweb-ex-app-common-23.4A1.4.tgz member 0

Verified jweb-ex-app-common-23.4A1.4 signed by PackageProductionECP256_2023 method ECDSA256+SHA256

Installing jweb-ex-app package..

Mounting jweb-ex-app..

Successfully installed jweb-ex-app.
 

Step3: Confirm the Jweb version.

{master:0}

root@d19-39> show version | match web 

JUNOS Web Management Platform Package [20231216.005403_builder_junos_234_r1]

JUNOS Web Management Application package [23.4A1.4] <<<

JUNOS Web Management Platform Package [20231216.005403_builder_junos_234_r1]
 

Step4: Execute command ‘> request system software add /var/tmp/<image name> member 1’ on the backup switch to update the device installation. Here backup switch is member 1.

{master:0}

root@d19-39> request system software add /var/tmp/jweb-ex-app-common-23.4A1.4.tgz member 1    

 

[Jan 29 17:11:20]: Checking pending install on fpc1

Pushing /var/tmp/jweb-ex-app-common-23.4A1.4.tgz to fpc1:/var/tmp/jweb-ex-app-common-23.4A1.4.tgz

Verified jweb-ex-app-common-23.4A1.4 signed by PackageProductionECP256_2023 method ECDSA256+SHA256

Installing jweb-ex-app package..

Mounting jweb-ex-app..

Successfully installed jweb-ex-app.
 

Step5: Confirm the Jweb version.

{master:0}

root@d19-39> show version | match web 

JUNOS Web Management Platform Package [20231216.005403_builder_junos_234_r1]

JUNOS Web Management Application package [23.4A1.4] <<<

JUNOS Web Management Platform Package [20231216.005403_builder_junos_234_r1]

JUNOS Web Management Application package [23.4A1.4] <<<

 

In short, we simply save the Jweb image to var/tmp on the master device and then execute the command ''> request system software add /var/tmp/<image name> member <number>'' on the master device for each member to complete the installation for each member.

 

Reboot is not required.

Modification History

2024-01-30 : Article Created
2024-01-30 : Ver.1