efa inventory device tpvm-upgrade execute

Asynchronously launches the TPVM upgrade process.

Syntax

efa inventory device tpvm-upgrade execute [--ip device-ip | --firmware-host firmware-host-ip-address | --tpvm-image tpvm-image-path-on-firmware-host | --trusted-peer-sudo-user sudo-user-id | --trusted-peer-password sudo-user-password | --auto-reboot ]

Parameters

--ip device-ip

Specifies a comma-separated range of device IP addresses. For example: 10.1.1.13,10.1.1.50,10.1.1.101.

--firmware-host firmware-host-ip-address
Specifies the IP address of the firmware host. The host must be registered beforehand.
--tpvm-image tpvm-image-path-on-firmware-host
Specifies the path and file name of the TPVM deb file located on the firmware-host.
--trusted-peer-sudo-user sudo-user-id
Specifies the user ID of the trusted peer sudo user to be reconfigured after TPVM is upgraded. If you do not specify a user, the default sudo user is used: extreme.
--trusted-peer-password sudo-user-password
Specifies the password of the trusted peer sudo user to be reconfigured after TPVM is upgraded.
--auto-reboot
If this option is given then automatically both standby and active TPVMs will be rebooted sequentially (if required). Default is false.

Examples

Upgrade one TPVM node:

efa inventory device tpvm-upgrade execute --ip 10.24.80.58 
--firmware-host 10.31.2.101 
--tpvm-image /buildsjc/sre_fusion/Nightly/raphael/slxos20.4.2/slxos20.4.2_220511_1000/dist/SWBD2900/tpvm_inc_upg-4.5.0-4.amd64.deb

Upgrade two TPVM nodes:

efa inventory device tpvm-upgrade execute --ip 10.24.80.58,10.20.80.56 
 --firmware-host 10.31.2.101 
 --tpvm-image /buildsjc/sre_fusion/Nightly/raphael/slxos20.4.2/slxos20.4.2_220511_1000/dist/SWBD2900/tpvm_inc_upg-4.5.0-4.amd64.deb
This example shows the tpvm upgrade configuration with auto-reboot option.
$ efa inventory device tpvm-upgrade execute --ip 1.1.1.1,1.1.1.2 --firmware-host 2.2.2.2 
--tpvm-image /buildsjc/sre_fusion/Nightly/tpvm/ci_tpvm/tpvm_inc_upg-4.5.5-5.amd64.deb --auto-reboot  
                    
TPVM Upgrade Execute [success] 
Monitor TPVM upgrade execution progress using: 
                    
efa inventory device tpvm-upgrade show --ip 1.1.1.1,1.1.1.2  
efa inventory device tpvm-upgrade show --execution-id aac8b30e-6911-4bea-8f67-986bd40528a9  
                    
Please do not execute other commands on the device until process is completed