Re: VM Setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2022-02-28 at 18:26 -0500, Robert McBroom via users wrote:
> On 2/28/22 08:56, Tom Horsley wrote:
> > On Mon, 28 Feb 2022 00:21:30 -0500
> > Robert McBroom via users wrote:
> > 
> > > With 4 processors and 2G response is atrocious.
> > Make sure you are using proper virtual disk and network drivers.
> > If you installed it with some sort of emulated IDE disk, it will
> > definitely have the effect of making performance horrible. Also
> > the disk cache mode has an extreme effect on performance. I forget
> > which cache mode it was, but one of them dropped disk I/O about
> > 98% slower when I was testing them.
> > _______________________________________________
> 
> Exploring the use of VM's. Fairly plain install of CentOS8.
> Understood 
> that Fedora server installed the VM structure. Where would one see 
> alternate drivers? Networking seems to be all set up but doesn't see
> the 
> router or the outside internet.

If you install the VM using virt-manager, you can check the device
controller options directly. For disks and network interfaces, the
"virtio" option will generally give the best performance.

As regards the network, the virt-manager defaults should just work, but
for other stuff my personal notes say this:

   Libvirt creates VMs in the libvirt firewall zone, so services must
   be added there:
   
   For NFS:
   
   # firewall-cmd --add-service mountd --zone=libvirt
   # firewall-cmd --permanent --add-service mountd --zone=libvirt
   # firewall-cmd --add-service nfs --zone=libvirt
   # firewall-cmd --permanent --add-service nfs --zone=libvirt
   # firewall-cmd --add-service nfs3 --zone=libvirt
   # firewall-cmd --permanent --add-service nfs3 --zone=libvirt
   # firewall-cmd --add-service rpc-bind --zone=libvirt
   # firewall-cmd --permanent --add-service rpc-bind --zone=libvirt
   
   For Samba:
   
   # firewall-cmd --add-service samba --zone=libvirt
   # firewall-cmd --permanent --add-service samba --zone=libvirt
   # firewall-cmd --add-service samba-client --zone=libvirt
   # firewall-cmd --permanent --add-service samba-client --zone=libvirt
   

poc
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux