Containers

From ISPWiki
Jump to: navigation, search

In this module you can use a wide range of tools for managing your virtual containers: a container can be started, stopped, migrated, added easily with just a click of the mouse.

Consult the article VMmanager OVZ at work for more information about the system configuration.

Please note that VMmanager OVZ users have fewer features.

Module «Containers»
T-bullet.gif View a list of containers
T-new.png Add container
T-edit.png Edit container
T-delete.png Delete container
T-start.png Start container
T-stop.png Stop container
T-restart.png Restart container
T-install.png Reinstall OS
T-toarchive.png Convert file system into ploop (available only on Centos)
T-iplist.png IP address assigned to container
T-toarchive.png Migrate container
T-snapshotdisk.png Snapshots
T-attr.png System information
T-stat.png Container load
T-go.png Drill down to User panel
T-go.png Switch to ISPmanager

View a list of containers

  • Id - unique identifier of the container.
  • Name - the name of the container.
  • Cluster node - the cluster node where this container is installed.
  • Owner - the control panel's user who owns this container.
  • Primary IP address - the primary IP address assigned to the container.
  • Domain name - the domain name of the container.
  • OS template - the template of the operating system installed on the server.
  • File system type - type of the container's file system (ploop/simfs), only for Centos!
  • RAM, MiB - the amount of RAM allocated to this container.
  • Status - the current status of the container:
    • P-onn.png - this container is active.
    • P-off.png - this container is disabled.
    • P-admindown.png - this container is suspended by the administrator.
    • P-install.gif - reinstallation of the operating system in progress.
    • P-lock.png - this container is blocked.

Add container

To add a new container, click the "New" icon and will out the form.

This feature is not available for VMmanager OVZusers.

Module «Containers»
  • Name - enter the name for the container you want to create.
  • Owner - select a user who will be the owner of this container.
  • Cluster node - select a cluster node where the container will be located.
  • Container template - select a template, which the container 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.
  • File system - select a file system (ploop/simfs). (Available only if you run Centos)
  • 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 MB you want to assign to this container. You won't be able to edit this field upon creation.
  • Swap/Ram ratio - speciy the ratio between Swap and RAM in %. This field is available with the "Individual swap limits" check box selected in the Policy module.
  • CPU - enter the number of CPUs you want to allocate to the container. The container must be restarted to apply this value.
  • CPU frequency - enter the |processor frequency. The container must be restarted to apply this value.
  • File descriptors - provide the maximum number of open file descriptors.
  • Processes - provide the maximum number of processes that can run simultaneously.
  • Incoming - provide the limit on incoming traffic in Kbit/sec (this field is only available if the "Enable traffic shaping" check box is selected in the "Policy" module).
  • Outgoing - provide the limit on outgoing traffic in Kbit/sec (this field is only available when the "Enable traffic shaping" check box is selected in the "Policy" module).
  • I/O limit (iolimit) - provide the maximum amount of data throughput with disk.
  • I/O-operations per second (iopslimit) - provide the maximum number of incoming/outgoing operations per second.

Note the iolimit and iopslimit are only available if you kernel version is >= 042stab84.3 and vzctl >= 4.6

  • Password - enter the superuser password.
  • Confirmation - re-type the password to ensure it has been entered correctly.
  • Blocked - select the check box to protect the server from destructive actions.

Edit container

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

Модуль «Containers»

The Basic tab

  • Name - name of the container. The field is read-only.
  • Owner - select the user who will be the owner of the container.
  • VM template - select the template that will be used for creation of this container.
  • Main disk size - enter the amount of disk size you want to assign to this container.
  • RAM - enter an appropriate amount of memory you want to assign to this container in MiB. You won't be able to edit this field upon creation
  • Swap/Ram ratio - speciy the ratio between Swap and RAM in %. This field is available with the "Individual swap limits" check box selected in the Policy module.
  • CPU - enter the number of CPUs you want to allocate to the container. The container must be restarted to apply this value.
  • CPU frequency - enter the |processor frequency. The container must be restarted to apply this value.
  • File descriptors - provide the maximum number of open file descriptors.
  • Processes - provide the maximum number of processes that can run simultaneously.
  • Incoming - provide the limit on incoming traffic in Kbit/sec (this field is only available when the "Enable traffic shaping" check box is selected in the "Policy" module).
  • Outgoing - provide the limit on outgoing traffic in Kbit/sec (this field is only available when the "Enable traffic shaping" check box is selected in the "Policy" module).
  • I/O limit (iolimit) - provide the maximum amount of data throughput with disk.
  • I/O-operations per second (iopslimit) - provide the maximum number of incoming/outgoing operations per second.
  • Password - enter the superuser password.
  • Confirmation - re-type the password to ensure it has been entered correctly.
  • Blocked - select the check box to protect the server from destructive actions.

The Notes tab

Provide information related to the container which properties you are editing.

Delete container

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

This feature is not available for VMmanager OVZ users.

Start container

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

Stop container

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

Restart container

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

Reinstall OS

To reinstall the operating system of the container, select it from the list and click the "Reinstall" icon.

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

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

Module «Containers»

Convert file system into ploop

This option is only available on Centos.

The container's file system can be converted only from simfs into ploop. The container will be suspended during conversion.

Once completed, the container will get the same status as prior to conversion.

Migrate container

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

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

Note! Rebooting the container will terminate the live migration process with the container remaining on the source node.

This feature is not available to VMmanager OVZ user.

Drill down to User panel

You can access the control panel as any user of VMmanager OVZ. 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 OVZ users.

Switch to ISPmanager

If ISPmanager is installed on the container, when clicking "ISPmger" you can switch to the control panel with permissions of the container's owner.