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 “admin” user
  • Set TPVM autoboot
  • Start or boot the TPVM
There are two important pre-requisites to use the tpvm deploy command:
  • TPVM Debian package image – available in the /tftpboot/SWBD2900 folder. If TPVM has already been installed, then you may skip this step.
  • An Advanced Features License. Use the following command to activate the license: license eula accept ADVANCED_FEATURES.

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

By default the TPVM managment interface eth0 is configured to acquire an IP Address via DHCP, whereas the eth1 address is manually configured by adding a static entry in /etc/network/interfaces.

One of these interfaces may be configured using tpvm deploy. The tpvm deploy command uses the interface and ip address parameters to configure the TPVM interface.The interface not configured using tpvm deploy is put into manual mode with no IP address assigned, regardless of the current or previous state.

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" admin@10.23.30.153
When using the passwordless parameter, please 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 sudo for this user does not ask for a password. Setting this parameter once will persist for the lifetime of the TPVM.

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

TPVM Password

TPVM ships with admin/password as the default login credential. To automate the TPVM setup and achieve one touch provisioning of TPVM, this optional parameter will set the password for the TPVM admin user account. Setting this parameter once will persist for the lifetime of the TPVM.

TPVM Auto-boot

This option will restart 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 as described above, tpvm deploy will start the TPVM. On a baremetal platform, a reboot of SLX will reboot TPVM. On a VM based platform, an SLX-OS reboot does not affect TPVM, however if the HOST reboots for any reason, TPVM also reboots.
Note

Note

A firmware upgrade or downgrade will reboot the SLX-OS, but will not reboot TPVM.