The primary purpose is to provide users with an experimentation experience and a quick test, or the production of software that can not be installed directly on servers managed by CVT FI (for example, Anxur or Aisa) for various reasons.
- Cloud versus User view
- Configure user context
- I want to quickly create a preinstalled virtual machine
- Quotas and rules of use
- I want to install my operating system
You can find the Stratus.FI web interface at the following URL:
Login to the web interface with faculty login and faculty password (more about faculty account and password change here ).
Cloud versus User view
The Stratus.FI web interface is available to users in two versions: a simpler cloud view , which is set by default, and which is described in chapter I want to create a virtual machine quickly , and a more complex user view with the menu on the left and more controls. Switch between them by clicking on the user name and choosing the last item called Views . Compare - cloud view:
... a user view:
Configure user context
Pre-installed virtual machine images are configured to retrieve certain information from the user's settings (SSH key, superuser password, ...). Therefore, before setting up the virtual machine, these parameters must be set. Sign in to web interface , click on the top right of the user name and select Settings from the menu:
If you do not already have one, create an SSH key, for example, on the Aise command:
ssh-keygen -b 4096 -t rsa
The secret key is saved to a file
$HOME/.ssh/id_rsa and the public there in the file
id_rsa.pub . When creating, you can enter the
passphrase that will be required each time the SSH key is used.
In the web interface in the user settings, click on the Config section and then Add SSH Key and copy the mouse
public key to the form box
Create an encrypted password for a virtual machine, such as a command
openssl passwd -1 on Aise or other Linux:
xnekdo@aisa$ openssl passwd -1 Password: correct horse battery staple Retype password: correct horse battery staple $1$t2DaE4vm$i8A...630 xnekdo@aisa$
In the Stratus.FI Web User Interface, add a new attribute named "
Attributes " at the bottom of the
CRYPTED_PASSWORD , the value created above (string
$1$... ) and save by clicking
Password for Windows VM
To use a virtual machine with Windows, you need to add two additional attributes to the user attributes:
WIN_USERNAME with the user login name and
WIN_PASSWORD containing an
unencrypted login password. Here, we recommend choosing a different password than you are using on faculty systems.
Overall, contextual information looks like this:
I want a preinstalled virtual machine
Use the following procedure if you need to try something on a pre-installed machine (run / compile your software version, etc.) and you do not want to waste your time on installing and configuring the operating system.
Configure the user context as described in the previous chapter .
Open yourself main page Stratus.FI (from the other page of Stratus.FI, click on the top of the Dashboard ).
On the left side of the page, click on green
Choose from a pre-installed system menu (such as CentOS 7) and click on the selected system.
Tip: If you want to try the Stratus.FI interface quickly, use the pre-installed ttylinux minidistribution system. There is no need to configure the context here: the superuser password is fixed and is displayed on the system console.
On the left side of the page, fill in the name of the virtual machine you are creating (for example, Test CentOS ) and click on the green Create on the right.
Wait for a green square instead of an orange to be created with the name of the virtual machine you just created (restore the view with the two arrows in the circle shown at the top right).
Once the virtual machine is active, you can try to log in via SSH to the IP address shown in the virtual machine (if the template uses SSH contextualization, SSH server and IP address). You can reach the machine console by clicking on its caption and then on the bottom left of the blue icon on the terminal. You can log in as a root with a previously entered password.
For newly-instantiated machines, we recommend updating packages, especially if you plan to use the machine for longer periods of time and restart the machine for full application.
Newly created virtual machines have a NAT NAT private IPv4 and a public IPv6 address. There is no need to use the HTTP proxy cache to access the public IPv4 Internet. You can read more about the technical solution in our blog post in ISe.
Quotas and rules of use
Our goal is to allow users to use a large number of computing resources in the short run (8 virtual machines). Users will be able to test distributed apps for example. System resource quotes are therefore set to this mode of use. For exact quota information, see the Quotas section of the web interface in the user settings.
Please be aware of other users: Current hardware does not have the capacity to allow every FI user to use all the resources permanently up to the size of his quota. The quota set does not apply to permanently running virtual machines . If we detect virtual machines running for more than a day or a maximum of small units of days, we will terminate these machines and later disable their drives.
If you need a longer running test or production virtual machine, or an over-limit amount of computing resources for a short time, contact your system administrator at
When using virtual machines, keep in mind that even here Operating rules , in particular the ban on the provision of publicly available network services without the prior approval of CVT FI.
I want to install my operating system
In this chapter, we assume that the user has the interface switched to User view .
For your virtual machine you will need the installation media (CD-ROM image), the system disk and possibly volatile disk for temporary data, such as storage space. Available discs can be viewed by clicking Storage → Images in the left menu.
If you do not find the installation media of the system you choose between the available drives, you can create them:
- click on the top of the page to the top [+] ,
- fill in a disk name (for example, CentOS 7.1511 netinst.iso ) or a description,
- as a type, select the Read-only CD-ROM and the storage ( datastore ) leave the cephds ,
- under Image location, select Upload and scroll to ISO image on your computer,
- Create an image by clicking on the green Create above.
The newly created disk should appear in the list of available disks. In order to save disk space, please offer your ISO image to other users as well: click on the appropriate row in the disk list and add the right Use for Group and Other right in the right-hand side of the page.
Similarly, create a system disk. On the Storage → Images page, click the green [+] , fill in the disk name (for example, MujTest ) or the description. Select Generic storage datablock as the type , leave the cephds storage. Important: check the checkbox This image is persistent . (Non persistent image: created instances using copy-on-write copy of the image. When canceling VM changes will be lost. Persistent image: it can only be used by one VM, the changes are retained even after the abolition of the VM.) Next, select the source Empty disk image and enter the size. Complete the action by clicking the green Create button at the top of the page. Once you create a disc, you can still click on the row in the discs list to change the disk type from DATABLOCK to OS .
Virtual machine template
Stratus.FI (OpenNebula) uses templates to describe how the virtual machine should look. Primarily, templates are designed for you to efficiently create a larger number of identical virtual machines, for example, for load distribution. Each virtual machine must have a template, although we know in advance that it will always run in only one instance.
In the left menu, select Templates → VMs to view a list of available templates (all of yours and public aliases). Click on the green [+] to create a new template. On the General tab, fill out the name of the template, the default memory size, and the processor information: The CPU item determines the hardness of this virtual machine for selecting the physical node where the machine will run. Because the machine may not handle the entire processor 100% of time, set the value to about 0.2 . The VCPU tells you how many virtual machine operating systems will see the processors. Set the value to 1 . Leave Hypervisor on KVM.
Next, click the Storage tab at the top of the page (next to the General tab). Select (select) Image Type as Disk 0 and select the above created disc from the list. Add another disc to blue (+) . Select Drive CD-ROM as Disk 1 . Similarly, you can add Volatile disc , such as swap . This disk is not a standalone image, it is always created again when the template is instantiated. One convenient type of use is just the storage space.
On the third Network tab, you set the virtual machine's network interfaces. Connect the NIC 0 network card to the 503- net network.
The fourth OS Booting tab controls the order of disks when booting the system. To install the operating system from the CD-ROM image, select this image first (check the boot from Disk 1 and use the arrows to move the disk above).
On the other tabs at this stage you do not have to set anything else, just click on the green Create at the top of the page.
Start virtual machine
Based on the created template, we can create ( instantiate ) a virtual machine. Select the appropriate template from the list by clicking on its line and click on the blue Instantiate from the detailed page about the template. Here, it is possible to change some parameters for a particular instance, this is mainly used when customizing pre-installed pre-installed images and templates. Click on the green Instantiate at the top of the page.
The newly created virtual machine is visible in the list of virtual machines: Instances → VMs from the left menu. Here are also assigned network addresses. When installing a new system, set the network statically; write this information to the installer. For production virtual machines, it is better to use contextual packages that the system sets themselves, for example addon-context-linux , addon-context-windows .
At the virtual machine console, you can use the terminal icon to the right in the virtual machine list or the VNC terminal icon from the single-machine detail page. Here you can continue to install the system.
After installing, just boot from disk. Turn off the installed virtual machine ( Shutdown button at the top of the details page about this virtual machine, and then Undeploy ). Then, select the Conf tab to the far right, click on the green Update Configuration, and change the boot order. Save the changes by clicking on the green Update at the top of the page. Then you can run the virtual machine with the triangle button to the right ("Play", ⏵ ). Alternatively, a similar effect can be achieved by virtually canceling the virtual machine (persistent disk remains), modifying the template, and re-instantiating.
Finally, we recommend checking the list tips when installing the machine on FI . It contains useful advice on how to use a variety of services specific to the faculty network.