Navigation

    ML
    • Register
    • Login
    • Search
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Tags
    3. kvm
    Log in to post
    • CCWTech

      Proxmox install
      IT Discussion • debian kvm proxmox 6.3 proxmox ve • • CCWTech

      4
      0
      Votes
      4
      Posts
      129
      Views

      scottalanmiller

      minfree Defines the amount of free space left in the LVM volume group pve. With more than 128GB storage available the default is 16GB, else hdsize/8 will be used.

      This is space to leave behind for snapshots. They suggest 1/8th the size of your hard drive.

    • V

      Cannot Connect to Virt-Manager
      IT Discussion • kvm linux virt-manager • • Vitja

      4
      0
      Votes
      4
      Posts
      116
      Views

      V

      @scottalanmiller I have tried to connect via virtualbox before but after the windows and linux setups the screen would just turn black so i resorted to qemu and followed your discussion but now it wont connect on ubuntu

    • P

      Virtual appliances?
      IT Discussion • hyper-v kvm ova virtual appliance vmware xen • • Pete.S

      27
      1
      Votes
      27
      Posts
      177
      Views

      travisdh1

      @stacksofplates said in Virtual appliances?:

      @travisdh1 said in Virtual appliances?:

      @stacksofplates What the what?

      Install Fedora sudo dnf install -y kubernetes `systemctl enable --now podman1

      That's all it takes.

      Yeah I see you haven't actually done that.

      Podman is not Kubernetes. Also when you install Kubernetes you don't get a podman1 service (or any type of podman service). When you install Kubernetes that way you don't get a Kubernetes service. You seemingly have to start the kube-proxy, kube-scheduler, kube-controller-manager, kube-api-server, and the kubelet separately. It installs docker, which is deprecated in k8s now. They have switched to using containerd which is pretty much the standard runtime now.

      So I'll stick with my original recommendation.

      Yep, this is why I need to mess with this stuff in my home lab. I can't even talk about it intelligently yet!

    • EddieJennings

      Script for Creating VMs from Template VM in KVM
      IT Discussion • automation bash kvm linux • • EddieJennings

      9
      0
      Votes
      9
      Posts
      142
      Views

      P

      @EddieJennings said in Script for Creating VMs from Template VM in KVM:

      @travisdh1 said in Script for Creating VMs from Template VM in KVM:

      @EddieJennings said in Script for Creating VMs from Template VM in KVM:

      @Pete-S said in Script for Creating VMs from Template VM in KVM:

      Not the exactly the same thing but you might want to look into how to create a VM from scratch.
      Meaning a script that will set up a VM with vCPU, memory, storage, network etc and then boot it from iso and have it do an unattended install, create what users you want and install the packages you need.

      That's one of the next things I'm looking into.

      @EddieJennings Also remember about things like kickstart in RedHat based operating systems. In Fedora/CentOS/RHOS you can use a kickstart file to automatically select all the install time options for the OS. A short time later you've got a fresh server and all the time it took you to setup was running the creation script on your hypervisor.

      One of the things I'll need to figure out going the Kickstart route is setting the hostname what I want it to be at the time of installation. Likely not difficult to do, I just have to figure it out. Or perhaps, I can just truly take the approach of just making a clean minimal install, and then later configure to whatever specific thing I'm wanting the VM to do for my lab / testing.

      Inside the kickstart file you'll find something like this:

      network --hostname=centos8-4.example.com

      We use debian as our goto and then it's called a preseed file. The only real thing that can be tricky is to tell the installation what kickstart/preseed file you want to use. You can do it in different ways. If you don't want to rely on dhcp/tftp/pxe etc you can roll your own iso file. I think the kickstart file can also be mounted as a drive that the installation will detect when it starts.

      I think the best approach is to make an automated installation with same basic settings and some of those will get changed later in the installation. For example you can use a fixed hostname that is later changed from ansible.

    • FATeknollogee

      P2V: Fedora 33 desktop to KVM vm
      IT Discussion • desktop fedora 33 kvm p2v vm • • FATeknollogee

      10
      1
      Votes
      10
      Posts
      190
      Views

      FATeknollogee

      Reporting back: The only tool that I had success with was https://relax-and-recover.org/
      F33 desktop is now p2v'd.

    • WrCombs

      Printer keeps reinstalling?
      IT Discussion • customer sites kvm printer bs wrcombs • • WrCombs

      9
      0
      Votes
      9
      Posts
      162
      Views

      black3dynamite

      Since you are connected to the printer via USB. Disable plug and play. And then delete all those extra printers.

    • CCWTech

      Configuring network settings for Proxmox installs
      IT Discussion • kvm linux networking proxmox • • CCWTech

      5
      0
      Votes
      5
      Posts
      2129
      Views

      CCWTech

      TY @black3dynamite

    • scottalanmiller

      Import a QCOW2 Into Proxmox
      IT Discussion • kvm proxmox qcow qcow2 storage • • scottalanmiller

      13
      3
      Votes
      13
      Posts
      12629
      Views

      JaredBusch

      @scottalanmiller said in Import a QCOW2 Into Proxmox:

      This works for many formats other than qcow2 as well. A straight block image in ISO / img format will work just fine, too.

      Yes it does.

      root@pm01:~# qm importdisk 100 tophat/Manual_DD_Unzipped/live_sda.img local-zfs importing disk 'tophat/Manual_DD_Unzipped/live_sda.img' to VM 100 ... transferred: 0 bytes remaining: 73274490880 bytes total: 73274490880 bytes progression: 0.00 % >snippy snip< transferred: 72666312605 bytes remaining: 608178275 bytes total: 73274490880 bytes progression: 99.17 % transferred: 73274490880 bytes remaining: 0 bytes total: 73274490880 bytes progression: 100.00 % transferred: 73274490880 bytes remaining: 0 bytes total: 73274490880 bytes progression: 100.00 % Successfully imported disk as 'unused0:local-zfs:vm-100-disk-0' root@pm01:~#
    • scottalanmiller

      SOLVED Virt-Manager on Ubuntu 20.04 Getting Cannot Access Storage File Permission Denied
      IT Discussion • kvm linux ubuntu ubuntu 20.04 virt-manager • • scottalanmiller

      3
      0
      Votes
      3
      Posts
      2795
      Views

      scottalanmiller

      To do that....

      Edit...

      sudo vi /etc/libvirt/qemu.conf

      And set...

      user = "root" group = "root"

      And then...

      sudo systemctl restart libvirtd
    • EddieJennings

      MacVTap Modes
      IT Discussion • hairpin kvm macvtap networking reflective relay vepa virtualization • • EddieJennings

      7
      0
      Votes
      7
      Posts
      215
      Views

      black3dynamite

      @EddieJennings said in MacVTap Modes:

      One option I didn't see in the redhat doc was openvswitch. Don't they support it?

      The link I posted was for RHEL 6. I just now saw that RHEL 8's documentation is online. I glanced through it and didn't see that mentioned. I'll read it more closely tomorrow.

      https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_virtualization/configuring-virtual-machine-network-connections_configuring-and-managing-virtualization

      There's no mention of openvswitch anywhere in that document. I am aware of XenServer and XCP-ng uses it by default. So its possible RHEL just prefers using macvlan/macvtap instead of openvswitch.

    • scottalanmiller

      Reconsidering ProxMox
      IT Discussion • kvm lxc proxmox • • scottalanmiller

      241
      5
      Votes
      241
      Posts
      4069
      Views

      DustinB3403

      @JaredBusch https://pve.proxmox.com/wiki/ZFS_on_Linux

      chrome_2b6U1mR9nN.png

    • scottalanmiller

      SOLVED Mouse Issues on Windows 2019 on KVM Through Virt-Manager
      IT Discussion • fedora fedora 31 kvm linux mouse virt-manager windows 2019 • • scottalanmiller

      12
      0
      Votes
      12
      Posts
      818
      Views

      scottalanmiller

      @black3dynamite said in Mouse Issues on Windows 2019 on KVM Through Virt-Manager:

      EvTouch USB Graphics Tablet is the default when selecting Server 2019 config template.

      That's the one.

      And the template didn't load properly when we selected it! It kept going back to Alpine!

    • scottalanmiller

      Catalogic vProtect for KVM
      IT Discussion • backup kvm vprotect • • scottalanmiller

      36
      3
      Votes
      36
      Posts
      437
      Views

      CCWTech

      I asked if they really had customers who would pay that amount. They said hundreds... Ummm ok, not thousands? Really?

    • Emad R

      Spin VMs quickly with KVM + virt-sysprep
      IT Discussion • kvm sysprep virt • • Emad R

      4
      0
      Votes
      4
      Posts
      178
      Views

      stacksofplates

      @black3dynamite said in Spin VMs quickly with KVM + virt-sysprep:

      @stacksofplates said in Spin VMs quickly with KVM + virt-sysprep:

      I usually use virt-builder to build the image, and then I can clone from that. Then you have nice really small images to build from.

      Have you ever created your own repo using virt-builder-repository?

      No I've always pulled from upstream. I've honestly never looked into that before.

    • FATeknollogee

      Hypervisors: revisit your choices!
      IT Discussion • esxi hyper-v hypervisors kvm type 1 xenserver • • FATeknollogee

      36
      1
      Votes
      36
      Posts
      736
      Views

      JaredBusch

      @FATeknollogee said in Hypervisors: revisit your choices!:

      One downside to KVM (in virt-manager) is lack of snapshots for UEFI VMs.

      yes it is.

    • scottalanmiller

      Converting VMware VMs to KVM
      IT Discussion • fedora fedora 31 kvm p2v v2v virtualization vmware esxi • • scottalanmiller

      15
      0
      Votes
      15
      Posts
      257
      Views

      scottalanmiller

      @black3dynamite said in Converting VMware VMs to KVM:

      I haven't been keeping up with Windows Admin Center for awhile. Was that an option to manage Hyper-V?

      It will be, but I'm not sure that it is yet. We've tried and not been able to get it working even internally anywhere, let alone externally. Once they figure out stability and authentication, I assume that it will be great for that. Being that this is 2016, it's going to suck hard. And if there is a Hyper-V issue, WAC would be down which is a problem in a small environment like this.

    • EddieJennings

      SOLVED Network Interfaces in Virt-Manager
      IT Discussion • fedora 30 kvm virt-manager • • EddieJennings

      5
      1
      Votes
      5
      Posts
      292
      Views

      EddieJennings

      Mystery solved.
      5baedcc3-22e9-4805-9818-839253c16b64-image.png

    • AdamF

      Automated Provisioning - KVM & CM tools
      IT Discussion • ansible automation kvm libvirt saltstack • • AdamF

      11
      1
      Votes
      11
      Posts
      428
      Views

      AdamF

      @stacksofplates said in Automated Provisioning - KVM & CM tools:

      @fuznutz04 said in Automated Provisioning - KVM & CM tools:

      @stacksofplates said in Automated Provisioning - KVM & CM tools:

      Terraform will do this and I have an Ansible role to do it also.
      As @IRJ mentioned Vagrant will work also. However I feel Terraform is a better fit as you have more control over the specific pieces of your infrastructure.

      You would still prefer Terraform over Ansible for this as well?

      Yeah. My role can create the VMs, but Terraform had more functionality for that. Ansible overlaps in the infrastructure provisioning space a lot, but it lacks keeping states like Terraform does.

      I'd like to learn both. I just started with Ansible a day or two ago. I have been (and still am) using SaltStack.

    • scottalanmiller

      P2V Windows 2000 on KVM
      IT Discussion • kvm p2v virtualization windows 2000 windows server 2000 • • scottalanmiller

      10
      0
      Votes
      10
      Posts
      363
      Views

      Dashrender

      @scottalanmiller said in P2V Windows 2000 on KVM:

      So this is ridiculous, but we just found out that it is actually 2003 R2, not 2000. So I assume that this will be way better.

      I had a ton of issues getting mine to work - I had to run chkdsk like 15 times before it finally booted... I don't recall what migration tool I used.

    • Doyler3000

      KVM on Fedora 30, Error creating virtual network
      IT Discussion • fedora 30 kvm • • Doyler3000

      33
      0
      Votes
      33
      Posts
      1435
      Views

      stacksofplates

      @Emad-R said in KVM on Fedora 30, Error creating virtual network:

      @black3dynamite said in KVM on Fedora 30, Error creating virtual network:

      @Emad-R said in KVM on Fedora 30, Error creating virtual network:

      @stacksofplates said in KVM on Fedora 30, Error creating virtual network:

      Can you create it with virsh? Wondering if it's just a virt-manager issue since they are deprecating it.

      Over my dead body. I love virt-manager they kick that out and I will be kicking them out. not everyone wants web gui using resources and being inefficient with VNC protocol and opening another port.

      The web gui hardly use enough resources for you to even notice.

      I do agree, cause I have split personality but that said I still want virt-manager to be around. It is very mature and snappy.

      Deprecated is probably the same as how ifconfig is deprecated it will be around forever.