Using tpvm deploy

The tpvm deploy command is a container command, rolling several SLX commands into one, to perform TPVM and Insight Interface set up and configuration.

Command Overview

The tpvm deploy command performs the following installation and configuration operations:
  • Installation of TPVM
  • TPVM Networking set up
  • Enable Passwordless ssh to TPVM from root@slx
  • Enable passwordless sudo inside TPVM
  • Set the TPVM password for the default administrator-level account
  • Set TPVM autoboot
  • Start or boot the TPVM
Note

Note

SLX 20.1.2 and later releases have the flexibility to run either tpvm-3.0.0 or tpvm-4.0.0. The default administrator passwords are different for each version. tpvm-3.0.0 uses admin/password, and tpvm-4.0.0 uses extreme/password.

SLX 9540 is upgraded from hypervisor mode to bare metal mode.

Prerequisites and considerations when using the tpvm deploy command:
  • TPVM Debian package image – available in the /tftpboot/SWBD2900 folder. If TPVM is already installed, skip this step.
  • An Advanced Features License. Use the following command to activate the license: license eula accept ADVANCED_FEATURES.
  • SLX 20.1.2 and later releases have the flexibility to run either tpvm-3.0.0 or tpvm-4.0.0. Either one of the TPVM Debian package images can be copied to /tftpboot/SWBD2900 and installed using tpvm install or tpvm deploy. However, it is recommended that only one TPVM Debian package image (the desired version tpvm) exists under /tftpboot/SWBD2900 before executing tpvm install or tpvm deploy.

TPVM Installation

Verify the presence of the TPVM firmware package in the SLXVM /tftpboot/SWBD2900 directory. If the latest version is not there, download before running the TPVM deploy command.

The tpvm deploy command begins with the standard TPVM installation.

TPVM Networking Setup

TPVM has two ethernet interfaces eth0 and eth1. When using tpvm install the default setting is eth0 and DHCP. When using the tpvm deploy, the user can specify the interface to use eth0 or eth1 and set it to use either DHCP or specify an IP/netmask and gateway. In either case, the unused interface it set to manual mode without any IP configuration.
Note

Note

The user can manually configure or override these settings by logging into the TPVM via ssh or tpvm console and manually modifying the linux network configuration.

Passwordless SSH

The passwordless parameter within tpvm deploy allows you to configure ssh access from the root user account on the SLX-OS to TPVM without a password. For example:
root@SLX# ssh -o "StrictHostKeyChecking no" extreme@10.23.30.153
When using the passwordless parameter, note the following:
  • Passwordless ssh capability will be retained across firmware downgrade and upgrade.
  • Passwordless ssh capability is lost in the case of a netinstall where tpvm deploy is used, regardless of whether TPVM is reinstalled or retained from previous install.
  • The SLX-OS must be running and a compatible version of TPVM currently installed.

Passwordless SUDO

The TPVM default user is admin with sudo privileges. The tpvm deploy command configures TPVM so that sudo for this user does not ask for a password. Once set, this parameter persists for the lifetime of the TPVM.

If not set, the default behavior requires a password for sudo activities, as dictated by the Ubuntu 18.04 LTS Server Operating System.

TPVM Password

The tpvm-4.0.0 package ships with SLX-OS 20.1.2 and uses extreme/password as the default login credential. To automate the TPVM setup and achieve one touch provisioning of TPVM, this optional parameter sets the password for the TPVM admin user account. Once set, this parameter persists for the lifetime of the TPVM.

Note

Note

The tpvm-3.0.0 package can be used/installed with SLX-OS 20.1.2. If you are using this TPVM package, note that the default login credentials are admin/password.

TPVM Auto-boot

This option restarts the TPVM image automatically in subsequent reboots, such as an SLX-OS start on a Baremetal platform, or a HOST start on a VM-based platform.

TPVM Start

After configuring the TPVM, tpvm deploy starts TPVM. On the SLX-9150/9250, and the SLX-9650, a reboot of the SLX-OS reboots TPVM. On the SLX-9450, an SLX-OS reboot does not affect TPVM, however if the HOST reboots for any reason, TPVM also reboots.