Description

This article explains on how to upgrade set p and set b in Routing Engine with VM Host Support

Symptoms

  • Device running dual Routing Engines (RE0 and RE1) shows different Junos versions between Set P and Set B.

  • Upgrade process does not automatically synchronize both sets on the backup RE.

  • After upgrading the backup RE, Set P remains on the older version while Set B shows the new version.

  • Need to manually perform an additional upgrade to align both sets and ensure VM Host image consistency.

Solution

Both the REs are on the same version as below:

user@router> show version invoke-on all-routing-engines | match : 
re0:
--------------------------------------------------------------------------
Hostname: router
Model: mx480
Junos: 22.1R3.9
re1:
--------------------------------------------------------------------------
Hostname: router
Model: mx480
Junos: 22.1R3.9


All the sets are on the same version as below:

user@router> show vmhost version invoke-on all-routing-engines 
re0:
--------------------------------------------------------------------------
Current root details,           Device sda, Label: jrootp_P, Partition: sda3
Current boot disk: Primary
Current root set: p
UEFI    Version: NGRE_v00.55.00.02

Primary Disk, Upgrade Time: Tue Jul 30 00:31:16 IST 2024

Version: set p
VMHost Version: 7.2581
VMHost Root: vmhost-x86_64-22.1R3-20221103_0139_builder
VMHost Core: vmhost-core-x86-64-22.1R3.9
kernel: 5.2.60-rt15-LTS19
Junos Disk: junos-install-mx-x86-64-22.1R3.9

Version: set b
VMHost Version: 7.2581
VMHost Root: vmhost-x86_64-22.1R3-20221103_0139_builder
VMHost Core: vmhost-core-x86-64-22.1R3.9
kernel: 5.2.60-rt15-LTS19
Junos Disk: junos-install-mx-x86-64-22.1R3.9

re1:
--------------------------------------------------------------------------
Current root details,           Device sda, Label: jrootp_P, Partition: sda3
Current boot disk: Primary
Current root set: p
UEFI    Version: NGRE_v00.53.00.01

Primary Disk, Upgrade Time: Mon Jul 29 23:52:50 IST 2024

Version: set p
VMHost Version: 7.2581
VMHost Root: vmhost-x86_64-22.1R3-20221103_0139_builder
VMHost Core: vmhost-core-x86-64-22.1R3.9
kernel: 5.2.60-rt15-LTS19
Junos Disk: junos-install-mx-x86-64-22.1R3.9

Version: set b                          
VMHost Version: 7.2581
VMHost Root: vmhost-x86_64-22.1R3-20221103_0139_builder
VMHost Core: vmhost-core-x86-64-22.1R3.9
kernel: 5.2.60-rt15-LTS19
Junos Disk: junos-install-mx-x86-64-22.1R3.9

 

After performing an upgrade on the backup routing engine i.e. RE1 in this case, we can see that set b is upgraded with current root set b, as below:

user@router> request vmhost software add /var/tmp/junos-vmhost-install-mx-x86-64-22.4R3.9.tgz no-validate reboot

user@router> show version invoke-on all-routing-engines | match :   
re0:
--------------------------------------------------------------------------
Hostname: router
Model: mx480
Junos: 22.1R3.9
re1:
--------------------------------------------------------------------------
Hostname: router
Model: mx480
Junos: 22.4R3.9

user@router> show vmhost version invoke-on all-routing-engines 
re0:
--------------------------------------------------------------------------
Current root details,           Device sda, Label: jrootp_P, Partition: sda3
Current boot disk: Primary
Current root set: p
UEFI    Version: NGRE_v00.55.00.02

Primary Disk, Upgrade Time: Tue Jul 30 00:31:16 IST 2024

Version: set p
VMHost Version: 7.2581
VMHost Root: vmhost-x86_64-22.1R3-20221103_0139_builder
VMHost Core: vmhost-core-x86-64-22.1R3.9
kernel: 5.2.60-rt15-LTS19
Junos Disk: junos-install-mx-x86-64-22.1R3.9

Version: set b
VMHost Version: 7.2581
VMHost Root: vmhost-x86_64-22.1R3-20221103_0139_builder
VMHost Core: vmhost-core-x86-64-22.1R3.9
kernel: 5.2.60-rt15-LTS19
Junos Disk: junos-install-mx-x86-64-22.1R3.9

re1:
--------------------------------------------------------------------------
Current root details,           Device sda, Label: jrootb_P, Partition: sda4
Current boot disk: Primary
Current root set: b
UEFI    Version: NGRE_v00.53.00.01

Primary Disk, Upgrade Time: Tue Jul 30 09:01:58 IST 2024

Version: set p
VMHost Version: 7.2581
VMHost Root: vmhost-x86_64-22.1R3-20221103_0139_builder
VMHost Core: vmhost-core-x86-64-22.1R3.9
kernel: 5.2.60-rt15-LTS19
Junos Disk: junos-install-mx-x86-64-22.1R3.9

Version: set b                          
VMHost Version: 7.2703
VMHost Root: vmhost-x86_64-22.4R3-20230927_1210_builder
VMHost Core: vmhost-core-x86-64-22.4R3.9
kernel: 5.2.60-rt15-LTS19
Junos Disk: junos-install-mx-x86-64-22.4R3.9


Performing another upgrade on backup RE i.e. RE1 will upgrade set p as below:

user@router> request vmhost software add /var/tmp/junos-vmhost-install-mx-x86-64-22.4R3.9.tgz no-validate reboot

user@router> show version invoke-on all-routing-engines | match :   
re0:
--------------------------------------------------------------------------
Hostname: router
Model: mx480
Junos: 22.1R3.9
re1:
--------------------------------------------------------------------------
Hostname: router
Model: mx480
Junos: 22.4R3.9

user@router> show vmhost version invoke-on all-routing-engines 
re0:
--------------------------------------------------------------------------
Current root details,           Device sda, Label: jrootp_P, Partition: sda3
Current boot disk: Primary
Current root set: p
UEFI    Version: NGRE_v00.55.00.02

Primary Disk, Upgrade Time: Tue Jul 30 00:31:16 IST 2024

Version: set p
VMHost Version: 7.2581
VMHost Root: vmhost-x86_64-22.1R3-20221103_0139_builder
VMHost Core: vmhost-core-x86-64-22.1R3.9
kernel: 5.2.60-rt15-LTS19
Junos Disk: junos-install-mx-x86-64-22.1R3.9

Version: set b
VMHost Version: 7.2581
VMHost Root: vmhost-x86_64-22.1R3-20221103_0139_builder
VMHost Core: vmhost-core-x86-64-22.1R3.9
kernel: 5.2.60-rt15-LTS19
Junos Disk: junos-install-mx-x86-64-22.1R3.9

re1:
--------------------------------------------------------------------------
 Current root details,          Device sda, Label: jrootp_P, Partition: sda3
Current boot disk: Primary
Current root set: p
UEFI    Version: NGRE_v00.53.00.01

Primary Disk, Upgrade Time: Tue Jul 30 11:23:08 IST 2024

Version: set p
VMHost Version: 7.2703
VMHost Root: vmhost-x86_64-22.4R3-20230927_1210_builder
VMHost Core: vmhost-core-x86-64-22.4R3.9
kernel: 5.2.60-rt15-LTS19
Junos Disk: junos-install-mx-x86-64-22.4R3.9

Version: set b                          
VMHost Version: 7.2703
VMHost Root: vmhost-x86_64-22.4R3-20230927_1210_builder
VMHost Core: vmhost-core-x86-64-22.4R3.9
kernel: 5.2.60-rt15-LTS19
Junos Disk: junos-install-mx-x86-64-22.4R3.9


You can perform the same above steps on RE0 as well to get both the sets on the same version in RE0.

Summary:

  • Both Routing Engines (RE0 and RE1) are running on the same Junos version.

  • Set P and Set B within each RE are aligned to the same version.

  • The upgrade on the backup RE (RE1) first updates Set B to the current root set.

  • Performing a second upgrade on RE1 updates Set P to match Set B.

  • Repeat the same steps on RE0 to bring both REs and their sets to identical software versions.

  • This ensures version consistency and proper synchronization across the entire system.

Modification History

2024-07-30 : Article Created