VMmanager 6: Administrator guide

Operations with virtual machines

ISPSystem

All operations performed in VMmanager can be divided into main and additional. Operations with a virtual machine launched in VMmanager are recorded to the log.  Go to Virtual machines → open the VM page →  History to view them. All active operations are represented on the tab Tasks.

Main operations


The main operations are available in Virtual machines → menu or in Virtual machines → open a virtual machine page → menu:

  • Start/Stop — start/stop a virtual machine;
  • Restart — restart a virtual machine;
  • Reinstall — install a new operating system on your virtual machine:
    • select an Operating system;
    • select a Script to be launched upon operating system installation. Scripts help prepare virtual machines for operation. E.g. you can use them to install any software or set up configuration files. Read more in Scripts
    • specify the VM password. Click on Generate for an automatically generated password.
  • Recovery mode — start/stop the recovery mode;
  • Migrate — change the cluster node where the virtual machine is located. If the virtual machine is on at the time the operation is started, migration takes place in live mode;

    Note

    Migration of virtual machines between cluster nodes with the "Routing" network configuration type is not supported.

    Note

    To speed up migration, VMmanager compresses the VM disk before migration. If you do not need disk compression, you can disable the "Shrink the VM disk prior to migration" option in the migration settings. The option is available only when migrating powered off VMs.

  • Console go to the console of the LXD container. The console will open in a separate browser tab. Available only for VMs in LXD clusters;
  • Change password — create a new root password for the virtual machine;
  • VNC — use the web interface to connect to the working area of your virtual machine. Read more in VNC;
  • Create backup copy — create a backup copy of virtual machine. Read more in Backups;
  • Clone — create a copy of your virtual machine. For a cloned VM, platform:
    • adds the _cloned prefix to the name;

    • generates a new domain name and MAC address;

    • allocates new IP addresses from the same pool as the original VM;

    • saves all other settings, including owner and password;

    • sets the status to "Stopped".

  • Create VM image — create a user image based on the disk of the virtual machine. Read more in Creating a disk image;
  • Run script — select a script that will be started on the virtual machine via the SSH protocol. If necessary, specify the requested script parameters. To interrupt execution of the script, press image2021-2-9_10-22-27.png in the VM card or the task queue;
  • Notes — add notes to a virtual machine;
  • Delete — delete a virtual machine.

Additional operations


The additional operations are available in Virtual machines → open a virtual machine page.

Open the Information tab and click on Edit resources:

  • vCPU (number of processors) in units;
  • RAM in Mb;
  • Storage in Mb.

You need to reboot your virtual machine to apply the changes in resources. Click on Edit and reboot to start rebooting, or click on Delay restart to do it later.

To change the owner of a virtual machine, open the Information tab, click Owneredit → select a new one.

Use the tab IP addresses to see the IPs and domains assigned to your virtual machine:

  • click on Add an IP address to add a new IP. Select whether the address belongs to the Main or Additional network, the Number of IPv4 addresses and select a Pool that will be used to take the IP from. VMmanager will change the network settings in the VM operating system automatically.

    Note

     VMmanager does not change network settings for virtual machines running Windows. 

  • click edit in the Domain column to change the domain name of the VM.

Open the Statistics tab to find the information about the resources consumed by the virtual machine. Here you can specify the period and the type of the resource:

  • CPU load;
  • RAM consumed;
  • Storage consumed;
  • Input-output operations (IOPS);
  • Incoming traffic speed;
  • Outgoing traffic speed.


Note

The Storage parameter shows how much the disk actually occupies on the cluster node at a given time.
When using LVM storage, all the required disk space is allocated immediately.
When using file storage, the VM disk will grow as it becomes full. However, when freeing up space on the VM disk, the disk size will not decrease.
For more information on storages, see the article Storage types.

Use the tab VNC settings to view the data used to connect to a virtual machine via VNC:

  • Server;
  • Port;
  • Password for access to a VNC server.

Read more in VNC.

Open the tab Images for recovery to see the list of disk images of the virtual machine which you can use as backup copies. A backup copy allows you to restore the state of the disk of your virtual machine.

  • Click on Create an image to create a new disk image of the virtual machine. Read more in the article Creating a disk image.
  • Click on Restore to delete the current virtual machine disk irreversibly and replace it with a disk from a backup copy.

Open the tab Fine-tuning settings to fine-tune parameters of the virtual machine. Read more in the article Fine-tuning of virtual machines.

Thank you for your feedback!
Was the article useful?
Tell us why not:

it does not match the title

it was hard to understand

I didn't find the answer

recommendations from the article did not help

other

Tell us what you didn't like in the article: