Differences between revisions 6 and 7
Revision 6 as of 2017-11-11 23:43:03
Size: 956
Editor: PieterSmit
Comment:
Revision 7 as of 2017-11-12 01:38:21
Size: 1106
Editor: PieterSmit
Comment: Ubuntu cloud images
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:

== Ubuntu cloud images on KVM ==
 * Need a config iso to configure user and ssh keys on boot
   * {{{ sudo apt install cloud-image-utils }}}

KVM - Linux kernel virtualization manager

  • Links: docker containers

  • Similar in function to VMware, it uses linux as a hypervisor for guest virtual machines.
  • Makes use of hardware virtualization built into most CPU's.
  • Gui - Virtual Machine Manager
  • Memory dedup with KSM

    • Monitor ksm with
      •      watch -d "tail  /sys/kernel/mm/ksm/* | sed -e :a -e 's/\(.*[0-9]\)\([0-9]\{3\}\)/\1,\2/;ta'"

Storage virsh/kvm

  • Disk storage is a pool, volumes is created from the pool and assigned to individual VM's.
    •  virsh vol-list default 

Ubuntu cloud images on KVM

  • Need a config iso to configure user and ssh keys on boot
    •  sudo apt install cloud-image-utils 

VBox - Oracle virtual box

  • Create physical disk drive
    •  \Program Files\Oracle\VirtualBox\VBoxManage.exe" internalcommands createrawvmdk -filename "C:\Users\<user_name>\VirtualBox VMs\<VM_folder_name>\<file_name>.vmdk" -rawdisk \\.\PhysicalDrive# 

...

linux/KVM (last edited 2017-11-12 22:18:05 by PieterSmit)