Category: Proxmox

Enabling TOTP (2FA/MFA)

In our PVE, we currently support TOTP (Time-based One-time Password) and we highly recommend everyone using the system implement it to better secure their account. There are several options available for TOTP. Here, we show phone instructions but TOTP is available as a browser extension as well for Firefox and Chromium-based browsers such as Brave and Vivaldi.

How to set up TOTP for your ULID in PVE:

  1. Download and install the TOTP app from the appropriate app store
  2. Log in to PVE as you normally would
  3. In the left menu, select Datacenter at the top and go to Users
  4. Select your ULID and click on the TFA option at the top
  5. On your phone, open the TOTP app and add a new key by pressing the QR Scan button
  6. Scan the QR code generated by PVE on the computer screen with your phone, then enter the authentication PIN that is generated on your phone in the PVE TOTP configuration window
  7. Finally, enter your password to complete the TOTP setup

Next time you log in to PVE, after authenticating with your password, you will be asked for enter your TOTP PIN. To retrieve the PIN, open the TOTP app on your phone, and find the entry called Proxmox Web UI. The sequence of number being displayed for the entry is your PIN. Enter it into the PVE TOTP authenticator to complete your login.

Access a Proxmox VM console

The Virtual Machine (VM) console in proxmox gives a rudimentary interface – so we highly recommend utilizing the SPICE console through the virt-viewer client. To view SPICE consoles, you will need the virt-viewer client installed on your local device:


SPICE client for Windows
for MacOS, we currently recommend you use the IT Lab Pool to access PVE consoles
In Ubuntu 20.04, you can install virt-viewer

To open a SPICE console, there are four options available:

Note: In Chrome and Edge, when opening a console, a file will download automatically. You need to manually run that file, which will open the virt-viewer client and establish the console connection. In Firefox and Vivaldi, however, you are prompted to open or save the file, and you can select to open it to have the file launched as soon as it downloads.

OPTION 1

Right-click a VM and select console

OPTION 2

With the VM selected, click the Console button on the top right of the screen

OPTION 3

Click the drop-down option on the right of the Console button and select SPICE

OPTION 4

In Pool View, double-click a VM

How to Snapshot and Rollback

What is a snapshot?

  • A snapshot is a feature that lets you preserve the state of a virtual machine; so you can return to that state when needed.

How to Snapshot on Proxmox

Video Tutorial

Step 1

  • Go to Snapshot

Step 2

  • Shutdown your virtual machine.

Step 3

  • Click take a Snapshot.

Step 4

  • Name your Snapshot.

What is a Rollback

A Rollback returns the virtual machine to its state before you took the Snapshot.

How to Rollback Snapshots on Proxmox

Video Tutorial

Step 1

  • Click on Snapshot.

Step 2

  • Click on desired Snapshot to Rollback.

Step 3

  • Click Rollback.

How to shutdown/stop/start/reset/reboot VMs

In Proxmox, there are have multiple ways to utilize Power Commands. But before we discuss the ways to access the commands, I will describe to you the functionality of each individual Power Operation and what it affects.

Hibernate

  • Suspends the OS and enters a sleep state.

Pause

  • Pauses the OS.

Reboot

  • Properly shuts down and restarts the operating system.

Reset

  • Resets the virtual machine abruptly without consideration for your work in progress.

Reload

  • Reloads the virtual machines operating system.

Start

  • Turns on the virtual machine.

Suspend

  • Saves the state of your computer and powers off.

Stop

  • Powers off the virtual machine abruptly with no consideration for work in progress.

Three ways to access power options.

Method 1

  • Right click your virtual machine and you will have access to your power commands.

Method 2

  • Click on your virtual machine.
  • Go to your console to access your virtual environment.
  • Click the side bar
  • Click the power button to access the power commands.

Method 3

  • Click on your virtual machine.
  • Go to your console.
  • Go to the upper right hand corner and you will have access to your power commands.

CD-ROM mounting/unmounting in Proxmox

Mounting a CD-ROM

1. Click on your Virtual Machine

2. Click on Hardware

  1. Click CD/DVD Drive
  2. Click Edit

3. Click on use CD/DVD disc image file(iso)

  • Modify your Storage and ISO image as desired.

Unmounting a CD-ROM

1. Click on your Virtual Machine

2. Click on Hardware

  1. Click CD/DVD Drive
  2. Click Edit

3. Click on Do not use any media

Logging in to Proxmox

To log in to the School of IT Proxmox Virtual Environment (PVE):

  1. Go to login.it.ilstu.edu and select the Proxmox option
  2. At the PVE login screen, verify the realm is set to “adilstu” and enter your ULID and password
  3. Upon successful login, you are notified regarding your access to a restricted system and relevant compliance standards. You can close the notification by selecting “OK” or by clicking the “x” button.

**Optional

Once logged in, switch your view to Pool View by going to the top left drop-down and selecting “Pool View”