Dynamically Provisioning Resources to KVM Hosted Linux Virtual Servers

Total Page:16

File Type:pdf, Size:1020Kb

Dynamically Provisioning Resources to KVM Hosted Linux Virtual Servers Dynamically provisioning resources to KVM hosted Linux virtual servers Richard Young Executive I.T. Specialist IBM Systems Lab Services Virtualization and Linux 2019 IBM Systems Technical University October 7 - 11 | Las Vegas Session: l109937 Tue 3:15-4:15 Veronese 2506-Level 2 LinuxONE Fast Start for Linux admins Lectures here Labs here IBM Systems Technical University (c) IBM Corporation 2019 2 LinuxONE Fast Start for Linux admins – Badge requirements To earn a badge for this track, you must do l109257 L4E: Open ecosystem exploits scalability and encryption on IBM z14 the following: l109420 L4E: IBM LinuxONE 101 1. Enroll in the LinuxONE Fast Start l109928 L4E: Options to consider when architecting a LinuxONE deployment (send email to [email protected]) l109930 L4E: Pervasive encryption in a Linux on Z environment 2. Attend at least 9 of 12 lectures listed l109932 L4E: Dynamically provisioning resources with LPAR or z/VM here (name and signature on sign-in sheet l109933 L4E: Hardware Management Console tour for newbies or badge scan) l109934 L4E: What is unique about Linux on Z - A Linux admin perspective 3. Complete all required lab exercises. You l109935 L4E: Simplify deployment with IBM Dynamic Partition will be assigned to one of 3 lab time slots. Manager Lab instructors will record your name after l109936 L4E: Networking with KVM -- So many choices! you show them you have completed those l109937 L4E: Dynamically provisioning resources with KVM exercises. l110571 L4E: Lab: Working with Dynamic Partition Manager on LinuxONE z109804 L4E: IBM z/VM virtualization basics z110037 L4E: Monitoring and Managing z/VM for Linux Virtual Servers IBM Systems Technical University (c) IBM Corporation 2019 3 Agenda 1 The Value of Dynamically Provisioning and Deprovisioning Resources 2 Channels and ignored devices 3 Dynamically Adjusting Disk Storage Resources 4 Dynamically Adjusting Networking Resources 5 Dynamically Adjusting Memory Resources 6 Dynamically Adjusting CPU Resources 7 Live migrating the workload to the available resource 2019 IBM Systems Technical University Agenda 1 The Value of Dynamically Provisioning and Deprovisioning Resources 2 Channels and ignored devices 3 Dynamically Adjusting Disk Storage Resources 4 Dynamically Adjusting Networking Resources 5 Dynamically Adjusting Memory Resources 6 Dynamically Adjusting CPU Resources 7 Live migrating the workload to the available resource 2019 IBM Systems Technical University Dynamic Resource Configuration • Helps to avoid Linux guest restarts and potential outage/downtime resource allocation changes • Accommodate unplanned increases in application workload demands or application that consume more resources than expected resource • It can allow for more efficient overall hypervisor operation (reduced operational overhead) • Automated policy based reconfiguration is more responsive than manual adjustments. • May provide assistance with upgrades by provisioning lower levels of resources both before a virtual server is in production and after it is removed from production. 2019 IBM Systems Technical University Agenda 1 The Value of Dynamically Provisioning and Deprovisioning Resources 2 Channels and ignored devices 3 Dynamically Adjusting Disk Storage Resources 4 Dynamically Adjusting Networking Resources 5 Dynamically Adjusting Memory Resources 6 Dynamically Adjusting CPU Resources 7 Live migrating the workload to the available resource 2019 IBM Systems Technical University Dynamically Provisioning Resources - Channels • All (non-PCI) IO devices are attached via a defined channel • In a native LPAR implementation you may need to change the channel (CHPID) state from Linux • Be aware that lscss does not display the CHPID state • Use chchp and lschp 2019 IBM Systems Technical University Ignored Devices • This example is from a 1st level Linux in a LPAR • Ignore <> offline • A cio_ignore list was used on boot to restrict the available devices • This list can be dynamically modified to make new devices available • While a disk example is shown, cio_ignore applies to all IO devices • There is a cio_ignore command and you do not have to use cat and echo 2019 IBM Systems Technical University Ignore Devices • There is a cio_ignore command and you do not have to use cat and echo • Most important for a first level Linux • -l lists • -u builds blacklist based on offline devices • -p purges from linux access until removed from blacklist • -r removes from blacklist • Don’t leave other systems devices exposed 2019 IBM Systems Technical University Ignoring devices • The cio_ignore list is shown on the kernel parameters line of the zipl.conf • Be sure to update it with newly (de)provisioned devices as you change the configuration of your system • Ignore list very important for first level Linux systems • Much less important for virtual servers running under a hypervisor 2019 IBM Systems Technical University Agenda 1 The Value of Dynamically Provisioning and Deprovisioning Resources 2 Channels and ignored devices 3 Dynamically Adjusting Disk Storage Resources 4 Dynamically Adjusting Networking Resources 5 Dynamically Adjusting Memory Resources 6 Dynamically Adjusting CPU Resources 7 Live migrating the workload to the available resource 2019 IBM Systems Technical University Dynamically Adding Disk Resources in a KVM environment — Disk Storage Resource Types • ECKD o Full Volume o Partition o Images files • SCSI Luns o Full LUN device via FCP o Partial LUN device via FCP o Images files • Virtual CD/DVD • Network attached storage — All types can be dynamically added — General Process • Add resource from hypervisor • Make new resource available to guest domain • Bring virtual device online in virtual server • Provision as usual 2019 IBM Systems Technical University Virtual CDROM in Virtual Machine Manager (aka Virt Manager) 2019 IBM Systems Technical University 14 © Copyright IBM Corporation 2019 Dynamic addition thru Virt Manager Attaching an ISO image to a guest with an existing virtual CDROM device works Trying to dynamically add a CDROM device via Virtual Machine Manager fails However there is another way 2019 IBM Systems Technical University 15 © Copyright IBM Corporation 2019 Before mounting ISO on guest device 2019 IBM Systems Technical University 16 © Copyright IBM Corporation 2019 Dynamically attach ISO to existing CDROM device – Virt Manager If the device already exists in the guest domain it is a simple matter of browsing for the desired ISO and clicking apply Whether the cdrom/iso is automatically mounted on a filesystem location is a function of guest 2019 IBM Systems Technical University 17 © Copyright IBM Corporation 2019 After adding ISO image and mounted on filesystem on guest Before adding ISO image After adding ISO image 2019 IBM Systems Technical University 18 © Copyright IBM Corporation 2019 Sample domain XML for virtual cdrom and iso image • Example of resulting XML generated by Virtual Machine Manager <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/var/lib/libvirt/images/RHEL-ALT-7.5-20180308.0-Server-s390x-dvd1.iso'/> <target dev='sda' bus='scsi'/> <readonly/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> 2019 IBM Systems Technical University 19 © Copyright IBM Corporation 2019 Adding device and attaching ISO directly via virsh • Does not dynamically attach as an IDE, only SCSI • Defines device and attach the ISO [root@lbskvm2 /]# virsh attach-disk guest1 /var/lib/libvirt/images/RHEL-ALT-7.5-20180308.0- Server-s390x-dvd1.iso sda --type cdrom Disk attached successfully [root@lbskvm2 /]# ssh ryoung1@guest1 ryoung1@guest1's password: Last login: Mon Apr 15 12:06:48 2019 from gateway [ryoung1@guest1 ~]$ sudo su [sudo] password for ryoung1: [root@guest1 ryoung1]# blkid /dev/vda1: UUID="8e5020b1-1be0-4f04-a1cf-ff8a6f284ff8" TYPE="xfs" /dev/vda2: UUID="7446f77f-2bb8-48b2-b4a7-520d44ebce66" TYPE="swap" /dev/vda3: UUID="5169d08e-bbab-4875-9df3-ee236acc0a82" TYPE="xfs" /dev/vdb1: UUID="BoFb06-qEM6-PjAT-9RkQ-slY2-77Pk-3o8Rbw" TYPE="LVM2_member" /dev/sr0: UUID="2018-03-08-07-42-03-00" LABEL="RHEL-ALT-7.5 Server.s390x" TYPE="iso9660" [root@guest1 ryoung1]# 2019 IBM Systems Technical University 20 © Copyright IBM Corporation 2019 Fiber attached Virtual Disk Storage Resources <disk type='block' device='disk'> d0 d1 d2 d3 <driver name='qemu' type='raw' cache='none‘ iothread=‘1’/> <source dev='/dev/disk/by-id/dm-uuid-mpath- vda vda vda vda 36005076309ffc56b0000000000000305'/> Guests <target dev='vda' bus='virtio'/> <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0002'/> </disk> .img .img <disk type='block' device='disk'> <driver name='qemu' type='raw' cache='none‘ iothread=‘1’/> <source dev='/dev/disk/by-id/ccw-0X9FC0'/> lvm lvm <target dev='vda' bus='virtio'/> dm-0 <address type='ccw' cssid='0xfe' ssid='0x0' dm-1 mpatha devno='0x0002'/> mpathb </disk> dasda dasdb <disk type='file' device='disk'> multipathd multipathd <driver name='qemu' type='qcow2‘ cache=‘none’ iothread=‘1’ /> <source file='/var/lib/libvirt/images/vs1_qcow2.img'/> <target dev='vda' bus='virtio'/> FCP FCP Ficon Ficon Ficon Ficon FCP FCP <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0002'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='qcow2‘ cache=‘none’ iothread=‘1’/> <source file='/var/lib/libvirt/images/vs1_qcow2.img'/> ECKD <target dev='vda' bus='virtio'/> ECKD SCSI <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0002'/> LUN ECKD LUN </disk> ECKD Hypervisor Hypervisor Layer 2018 IBM Systems Lab Services / © 2018
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]