![]() | Linux Professional Institute Certification I |
Chapter 5 Booting, Initializing, and Virtualizing LinuxSommaire
Understanding the Boot ProcessBooting Steps
Looking at FirmwareLooking at Boot LoadersThe Initialization ProcessUsing the systemd Initialization ProcessUsing the SysV Initialization ProcessStopping the SystemNotifying the UsersVirtualizing LinuxVirtualizationGoalTo create and use Red Hat Enterprise Linux virtual machines with Kernel-based Virtual Machine (KVM) and libvirt.Red Hat’s default virtual machine (VM) solution, the Kernel-based Virtual Machine (KVM) Before installing Red Hat Enterprise Linux (RHEL), you need the right hardware. You’ll need to have a physical system with a 64-bit CPU capable of hardware Virtualization Qemu= virtualization emulator = red hat hypervisor KVM= software which use qemu If you want to know if your machine support virtualization open /proc/cpuinfo if you see flags:vmx,svm then your machine support virtualization Vmx (intel) svm (AMD) Files and directories/var/lib/libvirt/var/lib/libvirt/images/ default directory to save virtual OS images /etc/init.d/libvirtd virtualisation service /etc/libvirt/qemu /etc/libvirt/qemu/networks/….xml virtual network config file Managing VMsvirt-manager open GUI VM managervirt-install virt-install [+] virsh [+] Kernel-based Virtual Machine (KVM)InstallationEssentials Packagesqemu-kvm KVM principal package python-virtinst command line tools and libraries for VMs creation virt-manager GUI VM administration tool virt-top VMs statistics commands virt-viewer graphical connection to configured Vms libvirt C language tools with libvirtd service libvirt-client C language toolkit for VM clients Principals Packages to install qemu-kvm modules de virtualization, hypervisor virt-manager VMs GUI manager libvirt libvirtd service package To create and use Red Hat Enterprise Linux virtual machines with Kernel-based Virtual Machine (KVM) and libvirt. Red Hat’s default virtual machine (VM) solution, the Kernel-based Virtual Machine (KVM) Before installing Red Hat Enterprise Linux (RHEL), you need the right hardware. You’ll need to have a physical system with a 64-bit CPU capable of hardware Virtualization Qemu= virtualization emulator = red hat hypervisor KVM= software which use qemu If youwant to know if your machine support virtualization open /proc/cpuinfo if you see flags:vmx,svm then your machine support virtualization Vmx (intel) svm (AMD) Necessary Packages qemu-kvm KVM principal package python-virtinst command line tools and libraries for VMs creation virt-manager GUI VM administration tool virt-top VMs statistics commands virt-viewer graphical connection to configured Vms libvirt C language tools with libvirtd service libvirt-client C language toolkit for VM clients Principals Packages to install qemu-kvm modules de virtualization, hypervisor virt-manager VMs GUI manager libvirt libvirtd service package Important files and directories /var/lib/libvirt /var/lib/libvirt/images/ default directory to save virtual OS images /etc/init.d/libvirtd virtualisation service /etc/libvirt/qemu /etc/libvirt/qemu/networks/….xml virtual network config file Commands virt-manager open GUI VM manager virt-install - -prompt install OS in interactive style virt-install options -n machine name -r RAM capacity in MB - - disk path= image path size= size in Go -l OS source -x extra arguments file virsh Options list- - all show all machines status autostart machinename start VM at host boot autostart -disable machinename deactivate VM autostart at host boot start machinename start VM shutdown machinename destroy machinename force machine stop |