Guide to Virtualization on Red Hat Enterprise Linux 6 Virtualization Guide

Total Page:16

File Type:pdf, Size:1020Kb

Guide to Virtualization on Red Hat Enterprise Linux 6 Virtualization Guide Red Hat Enterprise Linux 6 Virtualization Guide Guide to Virtualization on Red Hat Enterprise Linux 6 Virtualization Guide Red Hat Enterprise Linux 6 Virtualization Guide Guide to Virtualization on Red Hat Enterprise Linux 6 Edition 1 Author Copyright © 2008,2009,2010 Red Hat, Inc. The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version. Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law. Red Hat, Red Hat Enterprise Linux, the Shadowman logo, JBoss, MetaMatrix, Fedora, the Infinity Logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries. Linux® is the registered trademark of Linus Torvalds in the United States and other countries. Java® is a registered trademark of Oracle and/or its affiliates. XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries. MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries. All other trademarks are the property of their respective owners. 1801 Varsity Drive Raleigh, NC 27606-2072 USA Phone: +1 919 754 3700 Phone: 888 733 4281 Fax: +1 919 754 3701 The Red Hat Enterprise Linux Virtualization Guide contains information on installation, configuring, administering, and troubleshooting virtualization technologies included with Red Hat Enterprise Linux. Preface vii 1. Document Conventions .................................................................................................. vii 1.1. Typographic Conventions .................................................................................... vii 1.2. Pull-quote Conventions ........................................................................................ ix 1.3. Notes and Warnings ............................................................................................ ix 2. We need your feedback .................................................................................................. x 1. Introduction 1 1.1. What is virtualization? .................................................................................................. 1 1.2. KVM and virtualization in Red Hat Enterprise Linux ........................................................ 1 1.3. libvirt and the libvirt tools .............................................................................................. 2 1.4. Virtualized hardware devices ........................................................................................ 2 1.4.1. Virtualized and emulated devices ....................................................................... 3 1.4.2. Para-virtualized drivers ...................................................................................... 4 1.4.3. Physically shared devices .................................................................................. 5 1.5. Storage ........................................................................................................................ 6 1.6. Virtualization security features ....................................................................................... 7 1.7. Migration ...................................................................................................................... 7 1.8. V2V ............................................................................................................................. 8 I. Requirements and limitations 9 2. System requirements 11 3. KVM compatibility 13 4. Virtualization limitations 15 4.1. General limitations for virtualization ..................................................................... 15 4.2. KVM limitations .................................................................................................. 15 4.3. Application limitations ......................................................................................... 16 II. Installation 19 5. Installing the virtualization packages 21 5.1. Installing KVM with a new Red Hat Enterprise Linux installation ............................. 21 5.2. Installing KVM packages on an existing Red Hat Enterprise Linux system ............... 25 6. Virtualized guest installation overview 27 6.1. Virtualized guest prerequisites and considerations ................................................ 27 6.2. Creating guests with virt-install ............................................................................ 27 6.3. Creating guests with virt-manager ....................................................................... 28 6.4. Installing guests with PXE ................................................................................... 37 7. Installing Red Hat Enterprise Linux 6 as a virtualized guest 43 7.1. Creating a Red Hat Enterprise Linux 6 guest with local installation media ............... 43 7.2. Creating a Red Hat Enterprise Linux 6 guest with a network installation tree ........... 53 7.3. Creating a Red Hat Enterprise Linux 6 guest with PXE ......................................... 55 8. Installing Red Hat Enterprise Linux 6 as a para-virtualized guest on Red Hat Enterprise Linux 5 59 8.1. Using virt-install .................................................................................................. 59 8.2. Using virt-manager ............................................................................................. 60 9. Installing a fully-virtualized Windows guest 71 9.1. Using virt-install to create a guest ....................................................................... 71 9.2. Installing Windows 2003 ..................................................................................... 72 iii Virtualization Guide III. Configuration 73 10. Network Configuration 75 10.1. Network Address Translation (NAT) with libvirt .................................................... 75 10.2. Bridged networking with libvirt ........................................................................... 76 11. KVM Para-virtualized Drivers 79 11.1. Using the para-virtualized drivers with Red Hat Enterprise Linux 3.9 guests ........... 79 11.2. Installing the KVM Windows para-virtualized drivers ............................................ 82 11.2.1. Installing the drivers on an installed Windows guest .................................. 82 11.2.2. Installing drivers during the Windows installation ...................................... 92 11.3. Using KVM para-virtualized drivers for existing devices ....................................... 99 11.4. Using KVM para-virtualized drivers for new devices ........................................... 100 12. PCI passthrough 107 12.1. Adding a PCI device with virsh ........................................................................ 108 12.2. Adding a PCI device with virt-manager ............................................................. 110 12.3. PCI passthrough with virt-install ....................................................................... 114 13. SR-IOV 117 13.1. Introduction .................................................................................................... 117 13.2. Using SR-IOV ................................................................................................. 118 13.3. Troubleshooting SR-IOV .................................................................................. 121 14. KVM guest timing management 123 IV. Administration 127 15. Server best practices 129 16. Security for virtualization 131 16.1. Storage security issues ................................................................................... 131 16.2. SELinux and virtualization ............................................................................... 131 16.3. SELinux ......................................................................................................... 133 16.4. Virtualization firewall information ...................................................................... 133 17. sVirt 135 17.1. Security and Virtualization ............................................................................... 136 17.2. sVirt labeling ................................................................................................... 136 18. KVM live migration 139 18.1. Live migration requirements ............................................................................ 139 18.2. Shared storage example: NFS for a simple migration ........................................ 140 18.3. Live KVM migration with virsh ......................................................................... 141 18.4. Migrating with virt-manager ............................................................................. 142 19. Remote management of virtualized guests 155 19.1. Remote management with SSH ....................................................................... 155 19.2. Remote management over TLS and SSL ......................................................... 156 19.3. Transport modes ............................................................................................. 157 20. Overcommitting with KVM 161 21. KSM 165 22. Advanced virtualization administration 169 22.1. Guest scheduling
Recommended publications
  • Virtualization Getting Started Guide
    Red Hat Enterprise Linux 7 Virtualization Getting Started Guide Introduction to virtualization technologies available with RHEL Last Updated: 2020-02-24 Red Hat Enterprise Linux 7 Virtualization Getting Started Guide Introduction to virtualization technologies available with RHEL Jiri Herrmann Red Hat Customer Content Services [email protected] Yehuda Zimmerman Red Hat Customer Content Services [email protected] Dayle Parker Red Hat Customer Content Services Laura Novich Red Hat Customer Content Services Jacquelynn East Red Hat Customer Content Services Scott Radvan Red Hat Customer Content Services Legal Notice Copyright © 2019 Red Hat, Inc. This document is licensed by Red Hat under the Creative Commons Attribution-ShareAlike 3.0 Unported License. If you distribute this document, or a modified version of it, you must provide attribution to Red Hat, Inc. and provide a link to the original. If the document is modified, all Red Hat trademarks must be removed. Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law. Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries. Linux ® is the registered trademark of Linus Torvalds in the United States and other countries. Java ® is a registered trademark of Oracle and/or its affiliates. XFS ® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
    [Show full text]
  • Fortianalyzer VM Install Guide This Document, Which Describes Installing Fortianalyzer VM in Your Virtual Environment
    FortiAnalyzer VM - Install Guide VERSION 5.4 FORTINET DOCUMENT LIBRARY http://docs.fortinet.com FORTINET VIDEO GUIDE http://video.fortinet.com FORTINET BLOG https://blog.fortinet.com CUSTOMER SERVICE & SUPPORT https://support.fortinet.com FORTIGATE COOKBOOK http://cookbook.fortinet.com FORTINET TRAINING SERVICES http://www.fortinet.com/training FORTIGUARD CENTER http://www.fortiguard.com END USER LICENSE AGREEMENT http://www.fortinet.com/doc/legal/EULA.pdf FEEDBACK Email: [email protected] May 18, 2017 FortiAnalyzer VM 5.4 Install Guide 05-540-309958-20170518 TABLE OF CONTENTS Change Log 5 Introduction 6 FortiAnalyzer documentation 6 License and System Requirements 7 Licensing 7 Evaluation license 7 Minimum system requirements 8 Registration and Deployment 9 Register with Customer Service & Support 9 Deployment package 11 Deployment package contents 12 Deploying the appliance 13 Citrix XenServer deployment example 14 Create the virtual machine 14 Configure hardware settings 15 Start the virtual machine 17 Hyper-V deployment example 18 Create the virtual machine 18 Configure hardware settings 19 Start the virtual machine 23 KVM deployment example 24 Create the virtual machine 24 Configure hardware settings 26 Start the virtual machine 27 Open Xen deployment example 28 Create and configure the virtual machine 28 VMware deployment example 31 VMware vSphere 31 Deploy the OVF file 31 Configure hardware settings 34 Power on the virtual machine 35 Azure deployment example 37 Deploy the virtual machine 37 AWS deployment example 39 AWS Marketplace 1-Click Launch 39 AWS EC2 console 41 Initial Configuration 46 GUI access 46 Enable GUI access 46 Connect to the GUI 47 Upload the license file 48 Configure your FortiAnalyzer VM 48 Index 50 Change Log Change Log Date Change Description 2016-03-17 Initial release.
    [Show full text]
  • KVM Based Virtualization and Remote Management Srinath Reddy Pasunuru St
    St. Cloud State University theRepository at St. Cloud State Culminating Projects in Information Assurance Department of Information Systems 5-2018 KVM Based Virtualization and Remote Management Srinath Reddy Pasunuru St. Cloud State University, [email protected] Follow this and additional works at: https://repository.stcloudstate.edu/msia_etds Recommended Citation Pasunuru, Srinath Reddy, "KVM Based Virtualization and Remote Management" (2018). Culminating Projects in Information Assurance. 53. https://repository.stcloudstate.edu/msia_etds/53 This Starred Paper is brought to you for free and open access by the Department of Information Systems at theRepository at St. Cloud State. It has been accepted for inclusion in Culminating Projects in Information Assurance by an authorized administrator of theRepository at St. Cloud State. For more information, please contact [email protected]. 1 KVM Based Virtualization and Remote Management by Srinath Reddy Pasunuru A Starred Paper Submitted to the Graduate Faculty of St. Cloud State University in Partial Fulfillment of the Requirements for the Degree Master of Science in Information Assurance May, 2018 Starred Paper Committee Susantha Herath, Chairperson Ezzat Kirmani Sneh Kalia 2 Abstract In the recent past, cloud computing is the most significant shifts and Kernel Virtual Machine (KVM) is the most commonly deployed hypervisor which are used in the IaaS layer of the cloud computing systems. The Hypervisor is the one which provides the complete virtualization environment which will intend to virtualize as much as hardware and systems which will include the CPUs, Memory, network interfaces and so on. Because of the virtualization technologies such as the KVM and others such as ESXi, there has been a significant decrease in the usage if the resources and decrease in the costs involved.
    [Show full text]
  • ZERTO VIRTUAL REPLICATION - PREREQUISITES & REQUIREMENTS for MICROSOFT HYPER-V ENVIRONMENTS ZVR-REH-5.5U3 Rev01 Dec2017
    ZERTO VIRTUAL REPLICATION - PREREQUISITES & REQUIREMENTS FOR MICROSOFT HYPER-V ENVIRONMENTS ZVR-REH-5.5U3 Rev01 Dec2017 Zerto Virtual Replication is installed in a site with virtual machines to be protected as well as in the site where these virtual machines will be recovered. This document describes Zerto Virtual Replication - Prerequisites and Requirements for Microsoft Hyper-V Environments. For the requirements of VMware, Microsoft Azure or AWS protected sites, go to myZerto > Technical Documentation portal. ■ The Zerto Virtual Replication installation includes: ■ A Zerto Virtual Manager (ZVM): This is a Windows service, and manages replication at the site level. ■ A Virtual Replication Appliance (VRA): This is a virtual machine installed on each Hyper-V host to move the data to be replicated from the protected to the recovery site. ■ A Virtual Backup Appliance (VBA): This is a Windows service and manages offsite backups within Zerto Virtual Replication on each site. The VBA service runs on the same machine as the Zerto Virtual Manager service. ■ Zerto Virtual Replication can be installed at multiple sites and each site can be paired to any other site. ■ Each site is managed with the Zerto User Interface. ■ Zerto Virtual Replication also supports both the protected and recovery sites being managed by one SCVMM, for small branch offices. For example, from one datacenter to another datacenter, both managed by the same SCVMM. See the following sections: ■ “For Each Zerto Virtual Replication Hyper-V Site”, on page 1 ■ “Considerations and Guidelines”, on page 2 ■ “For Virtual Replication Appliances on the Hyper-V Host”, on page 3 ■ “Routable Networks”, on page 3 ■ “Minimum Bandwidth”, on page 3 ■ “Requirements for the Zerto Virtual Manager Web Client”, on page 3 ■ “Recommended Best Practices for the Zerto Virtual Replication Hyper-V Site”, on page 4 ■ “Open Firewall Ports for Hyper-V Environments”, on page 5 For Each Zerto Virtual Replication Hyper-V Site ■ Microsoft System Center 2012 R2, or 2016 with VMM (SCVMM) and at least one Hyper-V host.
    [Show full text]
  • Cisco Vwaas on Microsoft Hyper-V
    Cisco vWAAS on Microsoft Hyper-V This chapter describes how to use Cisco vWAAS on Microsoft Hyper-V, and contains the following sections: • About Cisco vWAAS on Microsoft Hyper-V, on page 1 • Supported Host Platforms, Software Versions, and Disk Type, on page 2 • System Requirements for Cisco vWAAS on Microsoft Hyper-V, on page 2 • Deployment Options for Cisco vWAAS on Microsoft Hyper-V, on page 3 • OVA Package Formats for vWAAS on Microsoft Hyper-V, on page 4 • Installing Cisco vWAAS on Microsoft Hyper-V, on page 6 • Activating and Registering vWAAS on Hyper-V, on page 8 • Traffic Interception Methods for Cisco vWAAS on Microsoft Hyper-V, on page 9 • Operating Guidelines for Cisco vWAAS on Microsoft Hyper-V, on page 11 • Configuring GPT Disk Format for vWAAS-50000 on Hyper-V with Akamai Connect, on page 14 About Cisco vWAAS on Microsoft Hyper-V Microsoft Hyper-V, available for Cisco vWAAS in WAAS Version 6.1.x and later, is a native hypervisor for x86_64 systems to enable platform virtualization. Cisco vWAAS on Microsoft Hyper-V extends Cisco networking benefits to Microsoft Windows Server Hyper-V deployments. It improves utilization, consolidates server workloads, and reduces costs. To achieve this, Cisco vWAAS on Hyper-V uses hardware virtualization to enable multiple operating systems to run on a single host, and allows the operating systems to share the same underlying physical hardware. Cisco vWAAS on Microsoft Hyper-V supports all the WAN-optimization functionalities that are supported by physical Cisco WAAS devices. Physical memory for Cisco vWAAS on Hyper-V is provided by a Cisco UCS server.
    [Show full text]
  • Lokke, a Hybrid Security Hypervisor
    Lokke, a hybrid security hypervisor Otavio´ A. A. Silva1, Paulo L´ıcio de Geus1 1 Universidade Estadual de Campinas (Unicamp) [email protected] , [email protected] Abstract. This work did ample research on techniques used by advanced threats that aim to evade detection systems, elevate privileges and manipulate objects in a modern OS kernel, using the Windows 10 kernel as a test bench. Given state-of-the-art attacks in kernelspace, this work’s main goal is to design a se- cure mechanism to protect the OS kernel against a class of attacks, not relying upon any specific vector. This mechanism is based on hybrid virtualization and combines the advantages of Type 1 and 2 hypervisors, where the hypervisor runs at the same level as the OS kernel does, but within a privileged execution framework. The design of this security framework allows for the integration with other security subsystems, by providing security policies enforced by the hypervisor and independently of the kernel. 1. Introduction Modern OS kernels are built with security as a moving concept, where many approach were made to decrease the kernel overhead, enhance user-level switch and performance, with security policies integrated as best practices or bug fixing. This introduced in many aspects behaviors which were exploited by attacks in the fashion of OS design, as the first wildly use of buffer overflow attack, by the Morris Worm [22], or many user privileged elevations in Windows User Account Control[7]. Although, over the years, these attacks demanded changes in the design concept of any modern OS, as in dynamic libraries, process, and memory organization, most sophisticated attacks nowadays are still abusing in some fashion the behave of the OS to provide userspace services.
    [Show full text]
  • Comparison of Platform Virtual Machines - Wikipedia
    Comparison of platform virtual machines - Wikipedia... http://en.wikipedia.org/wiki/Comparison_of_platform... Comparison of platform virtual machines From Wikipedia, the free encyclopedia The table below compares basic information about platform virtual machine (VM) packages. Contents 1 General Information 2 More details 3 Features 4 Other emulators 5 See also 6 References 7 External links General Information Name Creator Host CPU Guest CPU Bochs Kevin Lawton any x86, AMD64 CHARON-AXP Stromasys x86 (64 bit) DEC Alphaserver CHARON-VAX Stromasys x86, IA-64 VAX x86, x86-64, SPARC (portable: Contai ners (al so 'Zones') Sun Microsystems (Same as host) not tied to hardware) Dan Aloni helped by other Cooperati ve Li nux x86[1] (Same as parent) developers (1) Denal i University of Washington x86 x86 Peter Veenstra and Sjoerd with DOSBox any x86 community help DOSEMU Community Project x86, AMD64 x86 1 of 15 10/26/2009 12:50 PM Comparison of platform virtual machines - Wikipedia... http://en.wikipedia.org/wiki/Comparison_of_platform... FreeVPS PSoft (http://www.FreeVPS.com) x86, AMD64 compatible ARM, MIPS, M88K GXemul Anders Gavare any PowerPC, SuperH Written by Roger Bowler, Hercul es currently maintained by Jay any z/Architecture Maynard x64 + hardware-assisted Hyper-V Microsoft virtualization (Intel VT or x64,x86 AMD-V) OR1K, MIPS32, ARC600/ARC700, A (can use all OVP OVP Imperas [1] [2] Imperas OVP Tool s x86 (http://www.imperas.com) (http://www.ovpworld compliant models, u can write own to pu OVP APIs) i Core Vi rtual Accounts iCore Software
    [Show full text]
  • International Journal for Scientific Research & Development
    IJSRD - International Journal for Scientific Research & Development| Vol. 2, Issue 02, 2014 | ISSN (online): 2321-0613 Virtualization : A Novice Approach Amithchand Sheety1 Mahesh Poola2 Pradeep Bhat3 Dhiraj Mishra4 1,2,3,4 Padmabhushan Vasantdada Patil Pratishthan’s College of Engineering, Eastern Express Highway, Near Everard Nagar, Sion-Chunabhatti, Mumbai-400 022, India. Abstract— Virtualization provides many benefits – greater as CPU. Although hardware is consolidated, typically efficiency in CPU utilization, greener IT with less power OS are not. Instead, each OS running on a physical consumption, better management through central server becomes converted to a distinct OS running inside environment control, more availability, reduced project a virtual machine. The large server can "host" many such timelines by eliminating hardware procurement, improved "guest" virtual machines. This is known as Physical-to- disaster recovery capability, more central control of the Virtual (P2V) transformation. desktop, and improved outsourcing services. With these 2) Consolidating servers can also have the added benefit of benefits, it is no wondered that virtualization has had a reducing energy consumption. A typical server runs at meteoric rise to the 2008 Top 10 IT Projects! This white 425W [4] and VMware estimates an average server paper presents a brief look at virtualization, its benefits and consolidation ratio of 10:1. weaknesses, and today’s “best practices” regarding 3) A virtual machine can be more easily controlled and virtualization. inspected from outside than a physical one, and its configuration is more flexible. This is very useful in I. INTRODUCTION kernel development and for teaching operating system Virtualization, in computing, is a term that refers to the courses.
    [Show full text]
  • Rapporto Tecnico N.42
    Consiglio Nazionale delle Ricerche ISTITUTO DI RICERCA SULL’IMPRESA E LO SVILUPPO Settembre 2013 Rapporto tecnico N.4 4 KVM: AN OPEN-SOURCE FRAMEWORK FOR VIRTUALIZATION Giancarlo Birello, Ivano Fucile, Valter Giovanetti, Anna Perin Rapporto Tecnico, Anno 8, n° 44 settembre 2013 Istituto di Ricerche sull’Impresa e Lo Sviluppo Rapporti tecnici CERIS ISSN: 2282-5665 online Anno 8, N. 44; settembre 2013 Direttore Responsabile Secondo Rolfo Direzione e Redazione CNR-Ceris Istituto di Ricerca sull’Impresa e lo Sviluppo Via Real Collegio, 30 10024 Moncalieri (Torino), Italy Tel. +39 011 6824.911 Fax +39 011 6824.966 [email protected] http://www.ceris.cnr.it Sede di Roma Via dei Taurini, 19 00185 Roma, Italy Tel. 06 49937810 Fax 06 49937884 Sede di Milano Via Bassini, 15 20121 Milano, Italy tel. 02 23699501 Fax 02 23699530 Segreteria di redazione Enrico Viarisio [email protected] Copyright © Settembre 2013 by CNR-Ceris Rapporto Tecnico, Anno 8, n° 44 settembre 2013 KVM: AN OPEN-SOURCE FRAMEWORK FOR VIRTUALIZATION Giancarlo Birello*, Ivano Fucile Valter Giovanetti (CNR-Ceris, IT Office) Anna Perin (CNR-Ceris, Library) CNR-Ceris IT Office Strada delle Cacce, 73 10135 Torino – Italy Phone: +39 011 3977533/4/5 CNR-Ceris Library Via Real Collegio, 30 10024 Moncalieri (Torino) – Italy Phone: +39 011 6824928 * Corresponding author: [email protected] ABSTRACT: This report analyses the configuration steps of the open-source hypervisor component KVM, (Kernel- based Virtual Machine). KVM solution is used for digiBESS (open-source project of digital archive) and all network services as web and application servers, user backup, long term archive and e-mail.
    [Show full text]
  • A Comparative Study of Containers and Virtual Machines in Big Data Environment
    A Comparative Study of Containers and Virtual Machines in Big Data Environment Qi Zhang1, Ling Liu2, Calton Pu2, Qiwei Dou3, Liren Wu3, and Wei Zhou3 1IBM Thomas J. Watson Research, New York, USA 2College of Computing, Georgia Institute of Technology, Georgia, USA 3Department of Computer Science, Yunnan University, Yunnan, China Abstract—Container technique is gaining increasing attention able to handle peak resources demands, even when there in recent years and has become an alternative to traditional exist free resources [37], [36]. Another example is the poor virtual machines. Some of the primary motivations for the reproducibility for scientific research when the workloads are enterprise to adopt the container technology include its convenience to encapsulate and deploy applications, lightweight moved from one cloud environment to the other [15]. Even operations, as well as efficiency and flexibility in resources though the workloads are the same, their dependent softwares sharing. However, there still lacks an in-depth and systematic could be slightly different, which leads to inconsistent results. comparison study on how big data applications, such as Spark Recently, container-based techniques, such as Docker[3], jobs, perform between a container environment and a virtual OpenVZ [8], and LXC(Linux Containers) [5], become machine environment. In this paper, by running various Spark applications with different configurations, we evaluate the two an alternative to traditional virtual machines because of environments from many interesting aspects, such as how their agility. The primary motivations for containers to be convenient the execution environment can be set up, what are increasingly adopted are their conveniency to encapsulate, makespans of different workloads running in each setup, how deploy, and isolate applications, lightweight operations, as well efficient the hardware resources, such as CPU and memory, are as efficiency and flexibility in resource sharing.
    [Show full text]
  • Creating a Virtual Network with Virt-Manager
    Creating a Virtual Network with Virt-manager Our goal today will be to create three virtual machines on our host machine, network them together using virtual bridges, and pass some very simple traffic between them. This small network will operate in the same manner as a physical network, and will help us to better understand how the larger networks we use every day (including the Internet) function. To create virtual machines, we will use QEMU/KVM and Virtual Machine Manager (VMM), which are already installed on your computer. QEMU/KVM is a virtualization software that will allow a guest operating system to run on our host operating system. VMM is a set of tools that will allow us to create, start, stop, and interact with guest machines. To connect virtual machines together to form a network, we will use OpenVswitch, which is also installed on your computer. OpenVswitch is a software that will simulate a switch (or bridge) that will allow us to form a link between two different machines. Our guest operating system is Ubuntu 18.04 Linux. Our guest machines will be Kali Linux. We use Kali because it is lightweight, simple, and comes with a number of networking tools pre­installed. To begin, we will need a disk image of Kali known as an ISO (kali­linux­2018.2­amd64.iso). An ISO file is basically a simulation of an optical disk, and can be booted from within your virtual machine. To save time (this file is about 2.7 GB), a copy of the kali ISO is on the server and can be quickly copied to your local file system.
    [Show full text]
  • Redhat Virtualization Tuning and Optimization Guide
    Red Hat Enterprise Linux 7 Virtualization Tuning and Optimization Guide Using KVM performance features for host systems and virtualized guests on RHEL Last Updated: 2020-09-10 Red Hat Enterprise Linux 7 Virtualization Tuning and Optimization Guide Using KVM performance features for host systems and virtualized guests on RHEL Jiri Herrmann Red Hat Customer Content Services [email protected] Yehuda Zimmerman Red Hat Customer Content Services [email protected] Dayle Parker Red Hat Customer Content Services Scott Radvan Red Hat Customer Content Services Red Hat Subject Matter Experts Legal Notice Copyright © 2019 Red Hat, Inc. This document is licensed by Red Hat under the Creative Commons Attribution-ShareAlike 3.0 Unported License. If you distribute this document, or a modified version of it, you must provide attribution to Red Hat, Inc. and provide a link to the original. If the document is modified, all Red Hat trademarks must be removed. Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law. Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries. Linux ® is the registered trademark of Linus Torvalds in the United States and other countries. Java ® is a registered trademark of Oracle and/or its affiliates. XFS ® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
    [Show full text]