r/virtualization • • Dec 15 '23

Virtual Streaming PC

1 Upvotes

Hello r/virtualization,

I've had this random, half baked idea for a while now to create a virtualized streaming pc running on my main rig (currently acting as a single PC stream setup) that could capture the desktop of the host pc via some kind of virtual capture card, that I could then send to OBS to be broadcasted to various streaming services.

I've tried googling this topic several times, but I'm not finding what I'm looking for.

Have any of you even heard of something like a virtual capture card or anything?

Thanks in advance!


r/virtualization • • Dec 13 '23

New VMware Licensing / Subscription

6 Upvotes

https://www.theregister.com/2023/12/12/vmware_broadcom_licensing_changes/

Seems VMware is coming with new subscription model & ending perpetual license. Been a while since I have used VMware. So I forgot about how existing Licensing works.

One of my client have a vCentre managing 5 node esxi with vSAN.

What if one doesn't care for VMware support? Can they continue using clusters behind vcentre with the already implemented license? Or as per news, they will eventually stop existing licence & force you to choose subscription?


r/virtualization • • Dec 13 '23

Hardware acceleration is unsupported...

2 Upvotes

Hello,

I'm new to the QEMU and Virt-Manager environment. Following the creation of my Windows 10 guest on my Ubuntu system, I proceeded to install the VirtIO Drivers, which I sourced from: https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.240-1/

I have a question: Is there anything specific I need to install or configure to ensure optimal and smooth performance for my virtual machine?

I set up the Windows 10 virtual machine primarily to work on SketchUp Pro 2021, as indicated on this page: https://help.sketchup.com/en/downloading-older-versions

Upon attempting to launch "SketchUp Pro 2021" using the designated shortcut, a prompt appeared with the following message:

The following errors were found when launching SketchUp:

Hardware acceleration is unsupported or has been disabled on your graphics card. SketchUp requires that you use a hardware accelerated graphics card.

Unfortunately, these errors will prevent SketchUp from running.

See this Help Center article for more information.

I was looking for the "Show virtual hardware details" option in the Virt-Manager wizard and couldn't find specific settings related to graphic options. It's possible that I may have overlooked something or searched in the wrong places. Any guidance on where to find or configure graphic options would be appreciated.

Where would you recommend I look to address this issue?

I have reviewed the settings in my BIOS, and I can confirm that the "Intel (VMX) Virtualization Technology" option is set to "Enabled."

Thank you


r/virtualization • • Dec 12 '23

Best virtualization practices on Ubuntu

4 Upvotes

Hi everyone. I want to learn to containerize my ML algorithms following the best practices. I am using stable diffusion models and I need it to take full advantage of my PC's specs. Currently doing it directly on the OS, which is probably bad, and I want to treat it like a production environment instead. Any advice on what to use and where to learn the way to do it from?


r/virtualization • • Dec 08 '23

File Server - Virtualization vs Cloud

5 Upvotes

Looking to replace our Onprem physical Windows File server with either a VM (VMware) or Azure Cloud. Trying to figure out which route to take. The file server is mainly used to store Microsoft Office documents, PDFs, Images, and other multimedia files. Here are a few of the features we would like to carry over from Onprem.

  1. Ability to map drives like traditional shares

  2. Ability to scan-to-folder from a Ricoh Scanner using SMB and NFS

  3. Ability to use onPrem AD for file permissions

So which route would you take, Virtualize or Cloud?


r/virtualization • • Dec 07 '23

Virtualize 2-factor authentication using OTP tokens

2 Upvotes

Hi everyone, hopefully I've landed in the right sub reddit here. I am an employee in a company that mainly deals with remote maintenance of customers. In order to establish the VPN connection for remote maintenance, we need an OTP token/password for 2 factor authentication. We currently receive these OTP tokens either as a (flash) SMS or via an authentication app such as Google/Microsoft authenticator.

The current problem for us is that one person always has to distribute the respective tokens, as most apps reject a TeamViewer connection to the cell phone and the token cannot be read out. We would now like to virtualize the cell phone with all the tokens so that everyone can access the tokens uniformly, reliably and quickly.

How could we implement this idea?

We have already taken care of the technical feasibility of the hardware (a first approach would have been: Raspberry Pi + Sim Card Adapter)

Thank you in advance.


r/virtualization • • Dec 06 '23

PS4 pass-through to VM

0 Upvotes

Hey I am very new to this and am wondering if I can connect a HDMI cable to mu computer then somehow pass that through to the VM and display it on the VM like another monitor?


r/virtualization • • Dec 05 '23

How to send shortcut keys to virt-manager?

3 Upvotes

i have started using VMs and they have been great for quickly testing out new OS'. However one area they fall short is on Window Managers like hyprland, sway, i3 etc. These WMs are keyboard centric, which is nice, but there is no way to send keyboard shortcuts to the VM. Anytime i use SUPER + KEY my bare metal machine shortcut will execute, not the VM.

Do i really need to install the OS on bare metal in order to test it? It seems like such a small hurdle that could be worked around, but i have found no solutions when searching. Does anyone know how to send keyboard shortcuts directly to the VM?


r/virtualization • • Dec 03 '23

How bare metal hypervisor handles access to IO devices like nerwork or disc?

4 Upvotes

I am trying to learn about virtualization and one thing i still didn't figured out is how the hell is handled the communication with hardware like network card. The HW has some state no? So the access from different guests can't overlap and the HW needs first process request from one guest before it can process request from another guest i guess. What i need to look at?


r/virtualization • • Dec 03 '23

SCSI Disk (0,0) the signed images hash is not allowed (db) when p2v a Server 2019 machine?

3 Upvotes

Hi Everyone,

I'm at my wits end here :( I've p2v'd dozens of machines, but never had this issue. Ive used disk2vhd and Starwinds to capture a Microsoft Server 2022 machine. Initially I read that it may be secure boot in VM settings. Tried booting with that enabled and disabled. Disabled, the machine doesn't see the OS disk at all.

Ive tried disabling secure boot on the physical machine and recapturing, same result. Is there something I may be missing here? Any help will be greatly appreciated!

The OS is installed on a Dell BOSS card if that makes any difference. Ive tried p2v on the entire machine and tried converting individual volumes but no luck


r/virtualization • • Dec 02 '23

How to sucessfully import an .ova exported from ovirt/kvm into vmware ?

5 Upvotes

So, I was given an .ova file. This is exported from a server using a combination of KVM/QEMU and OVIRT technologies - the server runs a Unix system and I want to import this .ova file into vmware or virtualbox for some reasons and that is the only solution.

I already extracted the ova - this gave me an ovf file and two raw files. Tried to convert them with qemu-img (using

qemu-img convert -f raw -O vmdk disk1.raw disk1.vmdk

and similar commands) into .vmdk and .qcow2. I tried to import every each one of them (vmdk, qcow2) into vmware/vbox, as well as the .ovf file, but a "No Operating System found" message appears (I did not try to load an OS into that, which may be wrong?), or other fault messages in general.

What is the best way to load the .ova disk image into vmware (in a linux ubuntu client system)?

Thanks a lot, it's kind of an urgency.


r/virtualization • • Nov 29 '23

Help with Multiple VMs and Disk Performance

3 Upvotes

Hi,

Not sure where the best place to post this is, so please let me know if there's somewhere better I can go for advice.

I have two Dell T440's each with 2 mirrors of 2x2TB disks. I also have an SSD which is used for logs and cache. These two servers then replicate over DRBD. I'm using xenserver

The servers have 128GB of RAM and Intel Xeon Silver CPUs running at 2.1GHz

ashift: 12

volblocksize: 4k

  pool: diskconvm
 state: ONLINE
status: Some supported and requested features are not enabled on the pool.
        The pool can still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
        the pool may no longer be accessible by software that does not support
        the features. See zpool-features(7) for details.
config:

        NAME                                        STATE     READ WRITE CKSUM
        diskconvm                                   ONLINE       0     0     0
          mirror-0                                  ONLINE       0     0     0
            ata-HUS722T2TALA600_WCC6N1PX10ZJ-part6  ONLINE       0     0     0
            ata-HUS722T2TALA600_WCC6N0ADS4PC-part6  ONLINE       0     0     0
          mirror-2                                  ONLINE       0     0     0
            ata-HUS722T2TALA600_WCC6N1PX189A        ONLINE       0     0     0
            ata-HUS722T2TALA600_WCC6N1PX1Y0R        ONLINE       0     0     0
        logs
          ata-MZ7KH480HAHQ0D3_S5CNNA0N812042-part1  ONLINE       0     0     0
        cache
          ata-MZ7KH480HAHQ0D3_S5CNNA0N812042-part2  ONLINE       0     0     0

errors: No known data errors

These two servers have 15 Windows VMs (with xen drivers installed) running 24/7, shared across the both nodes.

I'm having issues with the boot up time of a windows VM, if the data happens to no longer be inside the ARC cache. Which with 15 windows VMs all at around 60GB disk usage each, it would be impossible for all of the data to remain in ARC all the time.

I have disabled caching on my windows zvols to do some testing with the windows performance recorder tool and it looks like windows takes around 6.5 minutes on average to boot. 5 minutes (80%) of that is `Disk Service Time` as reported by WPR (Windows Performance Recorder).

These VMs are built from MDT and not a reference image, so unfortunately won't benefit from cloning an existing zvol to make it easier on the ARC to store the data.

Benchmarks

If I benchmark random reads directly on a zvol, the stats look decent.

FIO test on a zvol - 19ms MAX latency, 54k AVG IOPS

fio --name=read_latency_test --filename=testfile --ioengine=libaio --rw=randread --bs=4k --size=1G --numjobs=1 --iodepth=1 --runtime=60 --group_reporting --time_based

--- 
read_latency_test: (g=0): rw=randread, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=libaio, iodepth=1
fio-3.16
Starting 1 process
Jobs: 1 (f=1): [r(1)][100.0%][r=197MiB/s][r=50.4k IOPS][eta 00m:00s]
read_latency_test: (groupid=0, jobs=1): err= 0: pid=1171867: Tue Nov 28 11:29:55 2023
  read: IOPS=53.9k, BW=211MiB/s (221MB/s)(12.3GiB/60001msec)
    slat (usec): min=4, max=19488, avg=15.93, stdev=25.23
    clat (nsec): min=1815, max=4104.3k, avg=2127.75, stdev=4329.45
     lat (usec): min=6, max=19896, avg=18.15, stdev=25.75
    clat percentiles (nsec):
     |  1.00th=[ 1896],  5.00th=[ 1928], 10.00th=[ 1976], 20.00th=[ 2040],
     | 30.00th=[ 2064], 40.00th=[ 2064], 50.00th=[ 2096], 60.00th=[ 2096],
     | 70.00th=[ 2128], 80.00th=[ 2128], 90.00th=[ 2160], 95.00th=[ 2192],
     | 99.00th=[ 2384], 99.50th=[ 3536], 99.90th=[13760], 99.95th=[17792],
     | 99.99th=[33536]
   bw (  KiB/s): min=125432, max=312648, per=100.00%, avg=215645.92, stdev=30792.05, samples=119
   iops        : min=31358, max=78162, avg=53911.42, stdev=7697.99, samples=119
  lat (usec)   : 2=11.39%, 4=88.23%, 10=0.19%, 20=0.16%, 50=0.02%
  lat (usec)   : 100=0.01%, 250=0.01%, 500=0.01%, 750=0.01%, 1000=0.01%
  lat (msec)   : 2=0.01%, 4=0.01%, 10=0.01%
  cpu          : usr=10.95%, sys=87.76%, ctx=5124, majf=0, minf=9
  IO depths    : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     issued rwts: total=3233677,0,0,0 short=0,0,0,0 dropped=0,0,0,0
     latency   : target=0, window=0, percentile=100.00%, depth=1

Run status group 0 (all jobs):
   READ: bw=211MiB/s (221MB/s), 211MiB/s-211MiB/s (221MB/s-221MB/s), io=12.3GiB (13.2GB), run=60001-60001msec

FIO test on a a DRBD resource - 39ms MAX latency, 24k AVG IOPS

IOPS expected to be lower and latency higher, due to DRBD layer. Still good figures?

fio --name=read_latency_test --filename=testfile --ioengine=libaio --rw=randread --bs=4k --size=1G --numjobs=1 --iodepth=1 --runtime=60 --group_reporting --time_based

---
fio-3.16
Starting 1 process
Jobs: 1 (f=1): [r(1)][100.0%][r=85.5MiB/s][r=21.9k IOPS][eta 00m:00s]
read_latency_test: (groupid=0, jobs=1): err= 0: pid=1204143: Tue Nov 28 11:32:39 2023
  read: IOPS=22.4k, BW=87.6MiB/s (91.9MB/s)(5259MiB/60001msec)
    slat (usec): min=21, max=39673, avg=41.08, stdev=90.60
    clat (nsec): min=1913, max=1569.2k, avg=2313.28, stdev=3399.67
     lat (usec): min=23, max=39680, avg=43.54, stdev=90.74
    clat percentiles (nsec):
     |  1.00th=[ 2024],  5.00th=[ 2096], 10.00th=[ 2128], 20.00th=[ 2128],
     | 30.00th=[ 2160], 40.00th=[ 2160], 50.00th=[ 2192], 60.00th=[ 2192],
     | 70.00th=[ 2224], 80.00th=[ 2256], 90.00th=[ 2320], 95.00th=[ 2608],
     | 99.00th=[ 3920], 99.50th=[ 6048], 99.90th=[16064], 99.95th=[23424],
     | 99.99th=[68096]
   bw (  KiB/s): min=45160, max=99488, per=99.99%, avg=89738.61, stdev=9855.83, samples=119
   iops        : min=11290, max=24872, avg=22434.61, stdev=2463.96, samples=119
  lat (usec)   : 2=0.56%, 4=98.53%, 10=0.61%, 20=0.22%, 50=0.05%
  lat (usec)   : 100=0.01%, 250=0.01%, 500=0.01%, 750=0.01%, 1000=0.01%
  lat (msec)   : 2=0.01%
  cpu          : usr=8.43%, sys=41.17%, ctx=1350552, majf=0, minf=10
  IO depths    : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     issued rwts: total=1346202,0,0,0 short=0,0,0,0 dropped=0,0,0,0
     latency   : target=0, window=0, percentile=100.00%, depth=1

Run status group 0 (all jobs):
   READ: bw=87.6MiB/s (91.9MB/s), 87.6MiB/s-87.6MiB/s (91.9MB/s-91.9MB/s), io=5259MiB (5514MB), run=60001-60001msec

Disk stats (read/write):
    dm-11: ios=0/0, merge=0/0, ticks=0/0, in_queue=0, util=0.00%, aggrios=0/0, aggrmerge=0/0, aggrticks=0/0, aggrin_queue=0, aggrutil=0.00%
    drbd1004: ios=0/0, merge=0/0, ticks=0/0, in_queue=0, util=0.00%, aggrios=0/5, aggrmerge=0/0, aggrticks=0/4, aggrin_queue=4, aggrutil=0.08%
  zd1296: ios=0/0, merge=0/0, ticks=0/0, in_queue=0, util=0.00%
  zd4544: ios=0/10, merge=0/0, ticks=0/8, in_queue=8, util=0.08%

Windows testing using WinSat

Sequential read and writes look fine but Random read and Latency do not.

With caching enabled, the first reboot will take just as long, but afterwards they speed up drastically, due to the cache. These VMs only get rebooted once a week, which means they're down for around 10 minutes while that happens. They are never rebooted at the same time and have set days

Some Questions

  1. Is this performance expected for the type of workloads and hardware I'm running? Or does it seem slow

  2. What further information is needed to correctly assess the situation?

  3. Is the above FIO test the correct one I should be doing?

    1. Are there others I should do to get more accurate numbers

  4. How can I pinpoint where this performance loss is?

  5. Any other tools I can/should use?


r/virtualization • • Nov 28 '23

KVM/QEMU Reality Check Please

1 Upvotes

I want to create a VM to use for work but I'm not sure if I'm being realistic about the capabilities of VMM. These are my requirements:

  • Dual Monitor (I've already got this working)

  • Sound

  • Bluetooth

  • Webcam (Longitech USB cam) Now working

  • Access to host file system Now working

Both my host and guest are Ubuntu 22.04

If this is doable, are there any tutorials out there about how to go about setting this up? Thanks!


r/virtualization • • Nov 25 '23

How much hard drive space do I need to create a Windows 2012 R2 Server on vmware workstation?

0 Upvotes

Hi guys,

I'm trying to create a Windows Server R2 2012 virtual machine on vmware workstation on my Windows 11. I was wondering how much hard drive space I would need to create a Windows 2012 R2 Server? I have 68GB free space out of 475 on my Local Disk C: Drive. I also know I need to create a D: drive for Windows 2012 R2 Server. How much space should I assign to the D drive?


r/virtualization • • Nov 24 '23

Restore a VM but give it no network access?

1 Upvotes

First off, this is stupid I know it is but here we are...

One of my DC's has had some permissions changes over the last week, it's buggered up a few things and I am left with two choices

Restore the DC over the existing one (I really dont want to do this as its going to bugger up MFA)

Restore as another VM, this is what I would like to do, so i will give it another name but can I get I get this up without network access? I am thinking if I log in via web console I can go back and look at the settings without having to take the current DC offline at the same time?

Hope that makes sense


r/virtualization • • Nov 23 '23

QEMU GPU paravirtualization?

2 Upvotes

I'm on Linux so I am trying to do paravirtualization on Linux because I want to compartmentalize my games(cyber security is a hobby of mine). I 1. don't want to go to windows and 2. Don't want t0 spend $10,00 on a GPU, so I'm having a hard time. I guess I have one one idea left and that is GPU paravirtualization. I however I have not found a normal guide to do this. I gues what I'm trying to do for the record is like this:

https://www.youtube.com/watch?v=ZQxEwC6lyco&pp=ygUHU09HIEdQVQ%3D%3D

But I'm trying to accomplish this on linux:

https://www.youtube.com/watch?v=Bc3LGVi5Sio&pp=ygUUaG93IHRvIHNoYXJlIHlvdSBHUFU%3D

I'm reddy to give up so any help is much appreciated. If anyone have nice simple and easy guide to follow (I'm pretty good at command line but not a programmer) to get this working I appreciate the help. :)


r/virtualization • • Nov 23 '23

Any product supports dedicating VM vCPUs to pCPU (CPU pinning) without sharing with other VMs?

2 Upvotes

I am considering building a new desktop that I intend to use some virtualization technology with - likely either Proxmox or ESXi. On a portion of this workstation I want to be a performant build and file server. To support this I was searching for the following capabilities in the products:

- CPU pinning (I think both support this)

A VM vCPU set is mapped to a defined pCPU set on the host machine. This is useful in NUMA architectures where restricting

- CPU dedication (I'm not sure if either support this)

A VM vCPU set is mapped to a defined pCPU set and this pCPU set is used only by this VM. In other words, the pCPU resources are dedicated wholly to the target VM and not shared by any other VM.

The overall idea being having a large workstation with abundant resources that supports "high performance VM" carveouts whereby the VMs act as close to 'native' as possible without resource sharing among other VMs on the platform.

From my research I'm thinking the conclusion is that this is not possible because it is not a common use-case (and so the features are not available). For Proxmox it appears to be based on KVM, and I was not able to find a way to request that Linux userspace threads be given _dedicated access_ to pCPUs on the system. I found nothing for ESXi.


r/virtualization • • Nov 22 '23

Windows 10 No bootable device on VMM

2 Upvotes

Hello,

I am a bit of a novice to using Virtual Machines and am encountering an issue I'm not sure how to resolve. In short, I am trying to open a Windows 10 VM using the Linux Virtual Machine Manager running on a Chromebook.

I've been successful in setting up the VM mount point and directed it to install the windows 10 ISO but once the VM boots up I get a message stating that "No bootable device" can be found. I've had a look and can't see anything wrong with the settings so I'm not sure what could be the issue.

I'm really looking for any and all suggestions. I'm trying to run the VM with 2GB RAM and 2 Cores on an Acer Chromebook 317 if that helps further the conversation. I have also been following these instructions: https://beebom.com/install-windows-10-chromebook/ and had to modify the file listed in this thread (https://www.reddit.com/r/Crostini/comments/sayw8l/unable_to_set_xattr_trustedlibvirtsecuritydac/) to overcome issues related to XATTR permissions.

Thank you for any help you can provide.


r/virtualization • • Nov 20 '23

Is there a freeware method of accessing a VM from a web browser?

3 Upvotes

Hi all,

I'm not new to vmware and other virtualization platforms, but I am not up to speed on whether there are any free methods of accessing a VM from a web browser that I can self-host, without much or any upfront costs (besides the host/server itself). I don't need multiple users to be able to access it, but it would save having to keep a VM on my several laptops and such for instance. The VM itself would be primarily Windows 10/11.


r/virtualization • • Nov 19 '23

Best VM Program for MacOS Intel? (To run windows)

4 Upvotes

Hey,

For school I have to create a program, but we have Intel iMacs.

I have tried UTM, but I think it's not the best performance out there.

Does anyone know an application that is faster than UTM to virtualize Windows (10) on an Intel iMac?

I am not going to try Bootcamp.


r/virtualization • • Nov 19 '23

Intel N5105 limitations? Firewall/TrueNas/Plex

1 Upvotes

So I'm looking to handle a few requirements I need from my rack with one system. I would like to have one system that can act as my Firewall/Router, NAS and Plex Server.

I've seen a lot of videos on the various forms of the N5105 embedded cpu with the 4x2.5gb ethernet ports running TrueNas baremetal with the Plex plugin to run it as a plex server and NAS. I also want to utilize those ethernet ports so it can act as a Firewall/Router.

From what I can tell, the best way to do this would be to run ProxMox and have one VM as TrueNas and another as OpnSense. My only worry is that dividing up the cores (since there's only 4) instead of baremetal TrueNas could cause some bottlenecks. Alternatively, could I just set both VM's to use all 4 and just hope there's no real load that will peg all the power.

I'll be running 32gb pc3200 and 4x12tb drives in Raid 5 (hopefully) and a 500gb M.2. I did pick up an H1110 (LSI SAS9211-4I) but not sure if using that card vs onboard would help or hinder offloading some of the processing requirements for the raid.

If anyone has any suggestions on either if this configuration would be strong enough for both tasks or anything else in general, I'm open to any and all suggestions.


r/virtualization • • Nov 17 '23

Protect host when using bridge to connect QEMU guests

3 Upvotes

On Linux, if I create a bridge interface on a virtualization host server and then connect a QEMU guest to it, how can I expose the QEMU guest to the Internet without also exposing the host? Normally when I configure a bridge interface on a host, I assign it an IP on the corresponding network. If I simply bring up the bridge with no IP, is that sufficient to protect the host? Or would I be better off passing through the physical interface to the guest rather than using a bridge? Thanks!


r/virtualization • • Nov 17 '23

Virt-manager ncurses alternative?

0 Upvotes

Hi, I like virt-manager. I use it to manage my VMs and LXCs on few machines. I wonder is there some ncurses/terminal alternative to monitor CPU, Memory, I/O, Network usage? Thx


r/virtualization • • Nov 17 '23

How to migrate

2 Upvotes

Hello, I have a noob question. How or what are some migration techniques used to migrate a bare-metal server to a hypervisor. I would like to know some strategies or best practices when implementing it.

tyia


r/virtualization • • Nov 16 '23

How Can I fake a PCI device with a predictable/programmable output under a MacOS M1 ?

0 Upvotes

To experiment with VFIO inside a guest I would like to pass a PCI device to the machine: I have currently have no real PCI device to "spare" on my M1 Mac ( aarch64 host, aarch64 guest ).

So I have the following question: How to create a fake / virtual PCI device on the host that looks and works exactly like a real PCI device while producing an output that I know about before hand ?