Virtual machines

From ISPWiki
Jump to: navigation, search

In this module you can use a wide range of tools to manage your virtual machines: the virtual machine can be started, stopped, migrated, added easily with just a click of the mouse.

Consult the articles How it works and Getting started with VMmanager for more information about the system configuration.

VMmanager users have a limited set of features to manage their virtual machines.

Module «Virtual machines»
T-bullet.gif View a list of virtual machines
T-new.png Add virtual machine
T-edit.png Edit virtual machine
T-delete.png Delete virtual machine
T-start.png Start virtual machine
T-stop.png Stop virtual machine
T-restart.png Restart virtual machine
T-install.png Reinstall virtual machine
T-iplist.png IP address assigned to virtual machine
T-toarchive.png Migrate virtual machine
T-rights.png Change root-password of virtual machine
T-server-disks.png Disks of virtual machine
T-filterchange.png TCP-ports filter
T-snapshotdisk.png VM snapshots
T-attr.png System information
T-stat.png Virtual machine load
T-vnc.png VNC-client
T-go.png Drill down to User panel

View a list of virtual machines

  • Id - unique identifier of the virtual machine.
  • Name - the name of the virtual machine.
  • Domain name - the domain name of this virtual machine.
  • Cluster node - the cluster node where this virtual machine is installed.
  • Owner - the control panel's user who owns this virtual machine.
  • Primary IP address - the primary IP address assigned to the virtual machine.
  • OS template - the template of the operating system installed on the server.
  • RAM, MiB - amount of RAM allocated to this VM.
  • Number of cores - number of cores allocated to this VM.
  • Disk size - disk size of this VM.
  • Status - the current status of the virtual machine:
    • P-onn.png - this virtual machine is active.
    • P-off.png - this virtual machine is disabled.
    • P-admindown.png - this virtual machine is suspended by the administrator.
    • P-install.gif - reinstallation of the operating system in progress.
    • P-lock.png - this virtual machine is protected from destructive actions.
    • P-camera.png - snapshots can be made for this virtual machine.

Add virtual machine

To add a new virtual machine, click the "New" icon and will out the form. This feature is not available for VMmanager users.

The Basic tab

Module «Virtual machines»
  • Name - enter the name for the virtual machine you want to create.
  • Owner - select a user who will be the owner of this virtual machine.
  • Cluster node - select a cluster node where the virtual machine will be located.
  • VM template - select a template, which the virtual machine is based on. Such parameters as Disk size, RAM, number and CPU frequency will be added automatically.
  • OS template - select a template of the operating system.
  • IP address type - select a type of of the IP address:
    • Public - this IP address is accessible from the Internet.
    • Private - this IP address is not accessible from the Internet.
  • IP address - the following variants are possible: an Ipv4 address will be assigned automatically, select an IP address from the list or type a certain address into the "Certain IP address" form.
  • Domain name - enter the domain name.
  • Main disk size - enter the disk size in MB. You won't be able to edit this field upon creation
  • RAM - enter the amount of memory in MiB you want to assign to this virtual machine. You won't be able to edit this field upon creation.
  • CPU - enter the number of processors you want to allocate to the virtual machine. The virtual machine must be restarted to apply this value.
  • CPU frequency - enter the processor frequency. The virtual machine must be restarted to apply this value.
  • Password - enter the superuser password. It will be also used to access via VNC.
  • Confirmation - re-type the password to ensure it has been entered correctly.

Note! If you run the KVM virtualization, the CPU limit cannot be specified. CPU frequency should be understood as weight cgroups.

The Load limit tab

Module «Virtual machines»
  • CPU frequency - provide processor frequency. Once you change this value, restart the virtual machine.
  • I/O usage weight - provide the cgroup weight on group operations. It enables to increase or decrease the priority in comparison with other virtual machines. The default value is 500.
  • Incoming, KiB/sec - provide the outgoing traffic bandwidth limit.
  • Outgoing, KiB/sec - provide the incoming traffic bandwidth limit.

The SSH' tab

In this form you can provide provide public SSH keys that will be added to the operating system you are going to install. All of the keys of the virtual machine's owner will be added as well.

The 'Notes tab

In this form you can provide any information related to the newly created virtual machine.

Edit virtual machine

To edit properties of a virtual machine, select it on the list and click the "Edit" icon. On the user level all of the fields are read-only.

The Basic tab

  • Name - name of the virtual machine. The field is read-only.
  • Owner - select the user who will be the owner of the virtual machine.
  • RAM - enter an appropriate amount of memory you want to assign to this virtual machine in MiB. You won't be able to edit this field upon creation
  • Processors - select the number of processors you want to allocate to the virtual machine. The virtual machine must be restarted to apply this value.
  • CPU frequency - enter the processor frequency. The virtual machine must be restarted to apply this value.

The Load limit tab

  • CPU frequency - provide processor frequency. Once you change this value, restart the virtual machine.
  • I/O usage weight - provide the cgroup weight on group operations. It enables to increase or decrease the priority in comparison with other virtual machines. The default value is 500.
  • Incoming, KiB/sec - provide the outgoing traffic bandwidth limit.
  • Outgoing, KiB/sec - provide the incoming traffic bandwidth limit.

The VNC tab

  • Server - IP address assigned to the VNC-server. The field is read-only.
  • Port - VNC-port. The field is read-only.
  • Password - enter the password to access via VNC.

Delete virtual machine

To delete a virtual machine, select it from the list and click the "Delete" icon. Confirm that you wish to delete the virtual machine by clicking OK on the following form.

This feature is not available to VMmanager users.

Start virtual machine

To start a virtual machine, select it from the list and click the "Stop" icon. Confirm that you want to start the selected virtual machine by clicking OK in the following form.

This feature is not available to VMmanager users.

Stop virtual machine

To stop a virtual machine, select it from the list and click the "Start" icon. Confirm that you want to stop the selected virtual machine by clicking OK in the following form.

This feature is not available to VMmanager users.

Restart virtual machine

To restart a virtual machine, select it from the list and click the "Restart" icon. Confirm that you want to restart the selected virtual machine by clicking OK in the following form.

Reinstall virtual machine

To reinstall a virtual machine, select it from the list and click the "Reinstall" icon.

The root password, name and IP address of the virtual machine will not change after reinstallation.

NOTE! All the information stored on the virtual machine will be removed beyond recovery.

Module «Virtual machines»
  • OS template - select a template of the operating system.
  • Public SSH keys - you can provide public SSH keys that will be added to the operating system you are going to install. All of the keys of the virtual machine's owner will be added as well.

Migrate virtual machine

To perform migration of a virtual machine from one physical server to another, select it from the list and click the "Migrate" icon:

Module «Virtual machines»
  • Destination server - select a physical server to which you want to move the selected virtual machine.
  • Live migration - select the check box to eliminate downtime of the virtual machine during the migration process. The virtual machine will be suspended and migrated to the selected destination node.

Note! Rebooring the virtual machine will terminate the live migration process with the virtual machine remaining on the source node.

This feature is not available for VMmanager users.

Change root-password of virtual machine

To change the root-password of a virtual machine, select the machine and fill out the form:

Module «Virtual machines»
  • New password - enter a new root-password for the selected virtual machine.
  • Confirmation - retype the password to ensure it is correct.

For more information, please refer to the article VMmanager: Changing root password of the virtual machine.

VNC-client

This option can be used to access a virtual machine through the VNC-client, running your browser. If you use an built-in VNC-client, the vnc-password will be specified automatically. If you use a third-party VNC-client, you can see the password in the VNC tab of the virtual machine edit form.

Drill down to User panel

You can access the control panel as any user of VMmanager. Select it from the list and click the "Enter" icon.

Once drilled down, you will be able to use the same functions as the selected user.

To return to your level, click the link next to the welcome line.

This feature is not available to VMmanager users.