Re: [DNG] Devuan as a hypervisor?

2021-08-05 Thread Andrzej Peszynski


On 2021-08-02 11:16, hal wrote:
>

> I've been running KVM/QEMU/Virt-Manager on Devuan for many years with 
3-4 VMs and haven't had any issues directly related to Devuan. It's not 
my intent to bash systemd but it's worth mentioning that I've had many 
other issues with Debian based hypervisors over the past few years (50+ 
VMs across several hypervisors) that involve systemd when reviewing logs 
post-mortem. Hypervisors will sometimes not reboot. Even when trying to 
un-stick with Magic SysRq. The console will just show systemd errors 
instead. Likewise, when systems do reboot, sometimes they inexplicably 
stop booting and need to have the power button hit. Another time, 
OpenSSH would not work due to /var/run/sshd missing during boot. Another 
issue involved systemd and a LUKS encrypted partition. Another time was 
missing LVM devices. This happens across systems of varying age so 
hardware issues are kind of ruled out. The issues keep getting more 
frequent and odd as months go by. It's like these systems have regressed 
to what L

> inux was in 1995.
>
> I would strongly suggest running your virtualization on Devuan. The 
simplicity and stability is currently unmatched in my experience.

>

I would like to tell that in my experience the Debian KVM+QEMU+libvirt 
also started to suffer from some misbehaviour then I first time heard 
about systemd. I did not took a challenge and migrated to DEVUAN.


May be worth mentioning, that in my setup I use three virtual disks for 
one guest, which is not well supported by current apparmor 
configuration, so I took a shortcut: I switch the apparmour off 
(disable) during snapshots create/commit for back up script. Sure I 
better learn about the apparmor configuration, but not this time.


Cheers
Andrzej
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Devuan as a hypervisor?

2021-08-03 Thread Simon Walter
On 2021-07-31 10:25, yami...@cock.li wrote:
> Hi.
> 
> I want to install a bare metal hypervisor in my computer to get the
> benefits from dual booting except without the mess that is dual booting.
> 
> I'm going to use it for both linux and windows systems and all I want is
> for the vms and their files to be isolated, control over their
> resources, PCI passthrough, and good performance. I don't care for a GUI
> as long as scripts are an option.
> 
> Currently I'm between Xen and Qemu, but I'm open to other options.
> Which would be the best option in this case, and is this even a good idea?
> 

VirtualBox is also a good option if you need a GUI for Windows for
example. I find it more performant than SPICE or VNC.

Qemu is an emulator. I don't think that is what you want, as it's quite
slow. Qemu is also has a set of useful tools.

What works well for me WRT KVM is virt-manager.

I only started using because Oracle effed up VirtualBox, but I'm happy
to report that I tried out VirtualBox again a few days ago to access
some of my old VMs, and the nonsense had disappeared in ascii at least.

I don't think you need Xen, but it is a good option. LXC is great for
isolating Linux. They have no overhead.

Best regards,

Simon
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Devuan as a hypervisor?

2021-08-02 Thread hal


On 7/30/21 20:25, yami...@cock.li wrote:


Currently I'm between Xen and Qemu, but I'm open to other options.
Which would be the best option in this case, and is this even a good idea?


I've been running KVM/QEMU/Virt-Manager on Devuan for many years with 3-4 VMs 
and haven't had any issues directly related to Devuan. It's not my intent to 
bash systemd but it's worth mentioning that I've had many other issues with 
Debian based hypervisors over the past few years (50+ VMs across several 
hypervisors) that involve systemd when reviewing logs post-mortem. Hypervisors 
will sometimes not reboot. Even when trying to un-stick with Magic SysRq. The 
console will just show systemd errors instead. Likewise, when systems do 
reboot, sometimes they inexplicably stop booting and need to have the power 
button hit. Another time, OpenSSH would not work due to /var/run/sshd missing 
during boot. Another issue involved systemd and a LUKS encrypted partition. 
Another time was missing LVM devices. This happens across systems of varying 
age so hardware issues are kind of ruled out. The issues keep getting more 
frequent and odd as months go by. It's like these systems have regressed to 
what L
inux was in 1995.

I would strongly suggest running your virtualization on Devuan. The simplicity 
and stability is currently unmatched in my experience.

PCI Passthrough gets tricky. I recently used it for a network card jacked into 
a SPAN port. It seems to be working OK. I've tried doing it in the past with my 
graphics card (for OpenGL support in the VM) and could not get it working. 
Maybe that has changed in the past couple years though, or I was doing 
something wrong. It wasn't quick-and-easy at the time.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Devuan as a hypervisor?

2021-08-01 Thread Rod Rodolico via Dng
We have been virtualizing machines, servers and workstations, for over a
decade. First on Debian, then Devuan.

My personal workstation is Devuan, and I have Windows 7 & 10, FreeBSD,
Devuan, and CentOS available as virtuals that I spool up as needed.

On our servers, we mainly virtualize Devuan servers;
dbs/web/mail/nextcloud/jitsi and even one database server (MySQL +
Postgres). We also have several Windows Server (2008r2, 2016 and 2019)
in production as virtuals.

Xen is historically good, but I've been having issues with it over the
past few years. The Windows PV drivers are not as available as they have
been in the past, and there have been some other issues. I tried some
other tools, notably Oracle Virtualbox, and they run fine, but I decided
I would not tie myself to them.

Instead, we are slowly moving to KVM, and actually are using libvirt
(from Redhat) to manage them. I have never been a big RedHat fan, but
they did good on this. It is a front end to Xen, KVM and maybe other
hypervisors, but you use a consistent set of commands to do things. It
also has a GUI if you want. I use it on my workstation, but we don't
install GUI's on our servers, so those are done via the cli. I think
there may even be a WebUI for it, but not sure.

One of the main reasons for going with KVM is the availability of PV
drivers for Windows. The difference between full virtualization and the
use of PV drivers is huge. About a 5-10 speedup (my personal guess).

Since we manage OS X machines also, I've thought about looking at the
legality of creating an OS X virtual. I understand it is fairly well
documented.

My notes on this are at kb.unixservertech.com. NOTE: these are my notes,
and as it says on the cover, if it makes your computer fall into a black
hole, it is not my fault. But, I try to put reference links at the
bottom of everything, so it may give you a start. It is notes, not
howto's or anything.

You can feel free to contact me off list if you decide to go this route
and need anything.

Rod

On 8/1/21 7:18 PM, Curtis Maurand via Dng wrote:
> I’ve been running a production system first on ascii, but upgraded to 
> beowulf.  the only trouble I’ve had has been hardware and that was just a 
> failed power supply.  i run the whole thing on kvm/libvirt.  runs great.  
> uptimes in the 100’s of days.
> 
> Your mileage may vary.
> 
> —Curtis 
> 
> Sent from my iPhone
> 
>> On Aug 1, 2021, at 7:45 PM, yami...@cock.li wrote:
>>
>> Hi.
>>
>> I want to install a bare metal hypervisor in my computer to get the benefits 
>> from dual booting except without the mess that is dual booting.
>>
>> I'm going to use it for both linux and windows systems and all I want is for 
>> the vms and their files to be isolated, control over their resources, PCI 
>> passthrough, and good performance. I don't care for a GUI as long as scripts 
>> are an option.
>>
>> Currently I'm between Xen and Qemu, but I'm open to other options.
>> Which would be the best option in this case, and is this even a good idea?
>>
>> Thanks.
>> ___
>> Dng mailing list
>> Dng@lists.dyne.org
>> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
> 

-- 
Rod Rodolico
Daily Data, Inc.
POB 140465
Dallas TX 75214-0465 US
http://dailydata.net
214.827.2170
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Devuan as a hypervisor?

2021-08-01 Thread Curtis Maurand via Dng
I’ve been running a production system first on ascii, but upgraded to beowulf.  
the only trouble I’ve had has been hardware and that was just a failed power 
supply.  i run the whole thing on kvm/libvirt.  runs great.  uptimes in the 
100’s of days.

Your mileage may vary.

—Curtis 

Sent from my iPhone

> On Aug 1, 2021, at 7:45 PM, yami...@cock.li wrote:
> 
> Hi.
> 
> I want to install a bare metal hypervisor in my computer to get the benefits 
> from dual booting except without the mess that is dual booting.
> 
> I'm going to use it for both linux and windows systems and all I want is for 
> the vms and their files to be isolated, control over their resources, PCI 
> passthrough, and good performance. I don't care for a GUI as long as scripts 
> are an option.
> 
> Currently I'm between Xen and Qemu, but I'm open to other options.
> Which would be the best option in this case, and is this even a good idea?
> 
> Thanks.
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng