KVM Kernel Virtualization Machine on Rocky Linux 9: Difference between revisions

mNo edit summary
mNo edit summary
Line 71: Line 71:
*
*


=== Tricks, Tips, and Other Useful Information (all of which applies to Rocky Linux 9, and others based on Red Hat) ===
===Tricks, Tips, and Other Useful Information (all of which applies to Rocky Linux 9, and others based on Red Hat)===
'''Network Configuration;'''
'''Network Configuration (from''' https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html-single/configuring_and_managing_networking/index#configuring-an-ethernet-connection-with-a-static-ip-address-by-using-nmstatectl_configuring-an-ethernet-connection<nowiki/>)''';'''


* NMCLI ( nmcli ): Command Line Interface
*NMCLI ( nmcli ): Command Line Interface
* NMTUI ( nmtui ): Text Based GUI
*NMTUI ( nmtui ): Text Based GUI
* NM-CONNETION-EDITOR ( nm-connection-editor ): "Control Panel Version" GUI
*NM-CONNETION-EDITOR ( nm-connection-editor ): "Control Panel Version" GUI
* "Control Center" for GNOME: "Windows 11 Version" GUI (IE, less capable than all of the above)
*"Control Center" for GNOME: "Windows 11 Version" GUI (IE, less capable than all of the above)
*NMSTATECTL ( nmstatesctl ): nmstatectl show will provide a LOT of information (plus other things, including configuration)


'''Other Tips and Information;'''
'''Other Tips and Information;'''
Line 95: Line 96:
****x = Exit / Quit and Save (AKA Write) (as in<span> </span>:x)
****x = Exit / Quit and Save (AKA Write) (as in<span> </span>:x)
****q = Quit (AKA Exit)
****q = Quit (AKA Exit)
***...and that is not enough, ALL of the following commands need to be run for configuration changes to take effect (the below examples assume ''default'' is the name of the network device)
****virsh net-destroy default (essentially stops the device, and also deletes it, as apparently restarting it alone isn't enough)
****virsh net-define default (in reality, the intent is to 're-define' the interface, but from the VIRTLIBD perspective the interface has been 'destroyed' and isn't there, so it needs to be defined)
****virsh net-start default
****Note: Hey, I've got an idea for you genzers that are programming this, why not create a virsh net-restart command that intuitively does what a bazillion other past command examples do to complete the above task?
*QEMU / KVM Additional Bridge Configuration: /etc/qemu-kvm/
*QEMU / KVM Additional Bridge Configuration: /etc/qemu-kvm/
*Documentation from QEMU / KVM on Bridges and Networking: https://libvirt.org/formatnetwork.html
*Documentation from QEMU / KVM on Bridges and Networking: https://libvirt.org/formatnetwork.html
Line 501: Line 507:




 
=== Rants and Temper Tantrums ===
 
Delete a bridge created by using an XML file.  It works most of the time.  But what happens if you get a dreaded "failed to get a 'forking' domain" error message?  What then?  Well, your SOL until you reboot the machine.  NOTHING works!