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 (maximum defined with maxvz: hdsize - rootsize - swapsize - minfree. Must be at least 4 GB)
    • swap (define with swapsize)
  • For HP DL380G5 (and other on VGA?) blank screen during install:
    • Edit "e" -> add "nomodeset" as Linux kernel option

ISO Uploads:

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