X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=qm.adoc;h=a0492fb1145ed46b69d9e834004741314d4e9621;hb=c73c190f98aeb5b5f5add5f9d1a0c52640739495;hp=47813f777f812daf022b42697e2aac8e71ec1215;hpb=a69bfc83f6d2b79e94eeb39781d89b720b4482dc;p=pve-docs.git diff --git a/qm.adoc b/qm.adoc index 47813f7..a0492fb 100644 --- a/qm.adoc +++ b/qm.adoc @@ -101,6 +101,8 @@ could incur a performance slowdown, or putting your data at risk. General Settings ~~~~~~~~~~~~~~~~ +[thumbnail="gui-create-vm-general.png"] + General settings of a VM include * the *Node* : the physical server on which the VM will run @@ -113,6 +115,8 @@ General settings of a VM include OS Settings ~~~~~~~~~~~ +[thumbnail="gui-create-vm-os.png"] + When creating a VM, setting the proper Operating System(OS) allows {pve} to optimize some low level parameters. For instance Windows OS expect the BIOS clock to use the local time, while Unix based OS expect the BIOS clock to have @@ -150,6 +154,7 @@ containing the drivers during the installation. the Virtio SCSI controller, is an older type of paravirtualized controller which has been superseded in features by the Virtio SCSI Controller. +[thumbnail="gui-create-vm-hard-disk.png"] On each controller you attach a number of emulated hard disks, which are backed by a file or a block device residing in the configured storage. The choice of a storage type will determine the format of the hard disk image. Storages which @@ -196,6 +201,8 @@ Note that backups do not currently work with *IO Thread* enabled. CPU ~~~ +[thumbnail="gui-create-vm-cpu.png"] + A *CPU socket* is a physical slot on a PC motherboard where you can plug a CPU. This CPU can then contain one or many *cores*, which are independent processing units. Whether you have a single CPU socket with 4 cores, or two CPU @@ -262,9 +269,15 @@ For each VM you have the option to set a fixed size memory or asking {pve} to dynamically allocate memory based on the current RAM usage of the host. +.Fixed Memory Allocation +[thumbnail="gui-create-vm-memory-fixed.png"] + When choosing a *fixed size memory* {pve} will simply allocate what you specify to your VM. +.Automatic Memory Allocation +[thumbnail="gui-create-vm-memory-dynamic.png", float="left"] + // see autoballoon() in pvestatd.pm When choosing to *automatically allocate memory*, {pve} will make sure that the minimum amount you specified is always available to the VM, and if RAM usage on @@ -304,6 +317,8 @@ of RAM available to the host. Network Device ~~~~~~~~~~~~~~ +[thumbnail="gui-create-vm-network.png"] + Each VM can have many _Network interface controllers_ (NIC), of four different types: @@ -442,10 +457,14 @@ the following command: qm set -onboot 1 -In some case you want to be able to fine tune the boot order of your VMs, for -instance if one of your VM is providing firewalling or DHCP to other guest -systems. -For this you can use the following parameters: +.Start and Shutdown Order + +[thumbnail="gui-qemu-edit-start-order.png"] + +In some case you want to be able to fine tune the boot order of your +VMs, for instance if one of your VM is providing firewalling or DHCP +to other guest systems. For this you can use the following +parameters: * *Start/Shutdown order*: Defines the start order priority. E.g. set it to 1 if you want the VM to be the first to be started. (We use the reverse startup @@ -465,6 +484,24 @@ start after those where the parameter is set, and this parameter only makes sense between the machines running locally on a host, and not cluster-wide. + +[[qm_migration]] +Migration +--------- + +If you have a cluster, you can migrate your VM to another host with + + qm migrate + +When your VM is running and it has no local resources defined (such as disks +on local storage, passed through devices, etc.) you can initiate a live +migration with the -online flag. + +If you have local resources, you can still offline migrate your VMs, +as long as all disk are on storages, which are defined on both hosts. +Then the migration will copy the disk over the network to the target host. + + Managing Virtual Machines with `qm` ------------------------------------