Virtualisation

From Smithnet Wiki
Jump to navigation Jump to search

Hyper-V

Convert VMware to Hyper-V with qemu-img:

qemu-img convert -p -f vmdk -O vpc centos_disk.vmdk centos_disk.vhd

Proxmox

Main documentation:

Installation:

  • hdsize defines sieze of disk, to reserve space for additional VGs
  • minfree defines unallocates space in the VG, required for LVM snapshots (hdsize/8 to a max of 16 GB)
  • VG "pre" is created with LVs:
    • root (define with maxroot, limit is hdsize/4)
    • data (defined with hdsize - rootsize - swapsize - minfree. Must be at least 4 GB)
    • swap (define with swapsize)

ISO Uploads:

  • /var/lib/vz/template/iso/