To request a virtual machine, file an issue and pick the VM Provisioning issue template. With luck (and a bit of care taken when filling out the template, not mangling it in the process), the VM will be provisioned automatically and you will get notified with instructions on how to access it (faculty/staff only).
Not all VMs are eligible for automated provisioning. If you noted any special requirements in the template, requested significant resources or opened the issue from a student or non-FBI account, please allow some time for a human to process your request.
Managing your VM
After logging in to the oVirt VM portal using your department credentials (specify fbi.h-da.de as profile), you have access to a graphical or serial console and can start or shutdown your VM.
Note that access to the management portal is only available within the department network.
Access graphical console
To access the local console (e.g. in case of emergency), the virt-viewer/remote-viewer program is required.
- Linux: install package virt-viewer package in Debian/Fedora/… (e.g.
apt-get install virt-viewer)
- Windows: virt-viewer-x64-7.0.msi
brew tap jeffreywildman/homebrew-virt-manager && brew install virt-viewer
- Other: build from sources
Clicking the Console button in the oVirt VM portal should result in a file
console.vv. Open it with virt-viewer to connect to the VM console.
Access serial console
Prerequisite: you have entered your SSH public key in the oVirt VM portal (choose Options beneath the user icon on the top-right of your screen).
You can connect to a VM's serial console through a proxy service that handles authentication and abstracts away the need to locate the actual hypervisor host running your VM.
ssh -p 2222 firstname.lastname@example.org connect --vm-name $NAME
$NAME is the VM name as displayed in the web portal. To view a text-based menu
system for choosing a VM to connect to, leave off the
connect --vm-name …
SSH host key fingerprints for ovirt.fbi.h-da.de
256 SHA256:rl5ZX7kGKSfhL7CRIv8q6dme9m+Icc8lBvzvuHRlbVQ (ECDSA)
256 SHA256:MxL8Ji/bvOVA/FQrXwe5pPpfkqXJMYD9NlFD84sFD58 (ED25519)
2048 SHA256:o5s97g0cs6VkI0jUZS7e6rWri7bYu7eN33kxTooU0Hk (RSA)
Using the the oVirt VM portal, you can create snapshot for your VMs (and restore them on demand).
Opening the detail view for one of your VMs, you should see the snapshots section on the right-hand side:
When your VM is powered down, snapshot creation should happen almost instantly upon pressing the New snapshot button.
Creating a snapshot while the VM is running requires cooperation from the guest system to ensure that the snapshot contains a clean file system. This guest side of this cooperation is implemented as part of the QEMU and oVirt guest agent software which should be running within your VM. This is the case for virtual machines derived from one of the ITS-provided templates but may yet have to be setup if you installed the guest operating system for yourself.