Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010

Slides:



Advertisements
Similar presentations
With ovirt & virt manager
Advertisements

Installation of Ubuntu on a Virtual machine. VirtualBox allows you to run an entire operating system inside another operating system. Please be aware.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
Linux+ Guide to Linux Certification, Second Edition
Windows Deployment Services WDS for Large Scale Enterprises and Small IT Shops Presented By: Ryan Drown Systems Administrator for Krannert.
Leveraging WinPE and Linux Preboot for Effective Provisioning Jonathan Richey | Director of Development | Altiris, Inc.
Linux+ Guide to Linux Certification, Second Edition Chapter 3 Linux Installation and Usage.
Lesson 15 – INSTALL AND SET UP NETWARE 5.1. Understanding NetWare 5.1 Preparing for installation Installing NetWare 5.1 Configuring NetWare 5.1 client.
14.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft Windows Server 2003 Active Directory Infrastructure.
1 Web Server Administration Chapter 3 Installing the Server.
Lesson 5-Accessing Networks. Overview Introduction to Windows XP Professional. Introduction to Novell Client. Introduction to Red Hat Linux workstation.
MCITP: Microsoft Windows Vista Desktop Support - Enterprise Section 1: Prepare to Deploy.
Lesson 4-Installing Network Operating Systems. Overview Installing and configuring Novell NetWare 6.0. Installing and configuring Windows 2000 Server.
Installation. Installation   There are three phases to building an LTSP server: – –Installing the LTSP utilities – –Installing the LTSP client packages.
Overview Basic functions Features Installation: Windows host and Linux host.
Creating Clusters in a Virtual Environment Purpose: To create a development environment with limited hardware resources that allows the testing of parallel.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
WINDOWS 7 AND UBUNTU INSTALLING LINUX WITHIN WINDOWS.
Red Hat Installation. Installing Red Hat Linux is the process of copying operating system files from a CD, DVD, or USB flash drive to hard disk(s) on.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
Condor Project Computer Sciences Department University of Wisconsin-Madison Virtual Machines in Condor.
Jaime Frey Computer Sciences Department University of Wisconsin-Madison Virtual Machines in Condor.
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
Tutorial 11 Installing, Updating, and Configuring Software
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
NUMOSS NURUL ‘IZZATI BINTI OTHMAN A
Operating Systems  A collection of programs that  Coordinates computer usage among users  Manages computer resources  Handle Common Tasks.
Setting Up a Local WordPress Development Environment By Gregory Young Alternative Hosting
Enabling Palacios PXE-Boot Chen Jin Bharath Pattabiraman Patrick Foley.
By Rashid Khan Lesson 10-From Here to There: Remote Installation of the Windows XP Professional Client.
Module 1: Installing and Configuring Servers. Module Overview Installing Windows Server 2008 Managing Server Roles and Features Overview of the Server.
Linux in a Virtual Environment Nagarajan Prabakar School of Computing and Information Sciences Florida International University.
INFSO-RI Enabling Grids for E-sciencE Installation of an APT+kickstart server Giuseppe Platania INFN Catania EMBRACE Tutorial Clermont-Ferrand,
Kickstart Installation
Terminal Servers in Schools A second life for your older computers.
Virtualization Technology and Microsoft Virtual PC 2007 YOU ARE WELCOME By : Osama Tamimi.
Chapter 8: Installing Linux The Complete Guide To Linux System Administration.
VirtualBox: How to create a Linux Virtual Machine.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
The 2001 Tier-1 prototype for LHCb-Italy Vincenzo Vagnoni Genève, November 2000.
KVM tutorial #3 Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010.
Libvirt management Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010.
Introduction to KVM Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010.
Planning Server Deployments Chapter 1. Server Deployment When planning a server deployment for a large enterprise network, the operating system edition.
Performance analysis comparison Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010.
KVM tutorial #2 Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010.
Operated by Los Alamos National Security, LLC for NNSA U N C L A S S I F I E D Slide 1 Institutional Install of Red Hat Enterprise Linux From One CD In.
Intro To Virtualization Mohammed Morsi
Linux Introduction Linux was developed in the early 1990’s by Linus Torvald computer science student at the University of Helsinki Linux is distributed.
Ganeti Instance Creation
Secure remote management with virtualization Daniel P. Berrangé.
1 Remote Installation Service Windows 2003 Server Prof. Abdul Hameed.
TIZEN STUDIO INSTALLATION & ENVIRONMENT SETUP FOR DEVLAB
CompTIA Server+ Certification (Exam SK0-004)
Computers: Tools for an Information Age
Virtualization Mini Summit, Austin 2008 mmm, tasty penguins...
Ovirt guest agent Date: November 2011 Speaker Name: Barak Azulay
Creating Clusters in a Virtual Environment
Installing VMware ESX and ESXi
Guide to Linux Installation and Administration, 2e
Linux Containers Overview & Roadmap
Creating a Windows Server 2012 R2 Datacenter Virtual machine
Creating a Windows Server 2016 Datacenter Virtual machine
Creating a Windows 7 Professional SP1 Virtual machine
Create A Virtual Machine
OPNFV Arno Installation & Validation Walk-Through
Linux+ Guide to Linux Certification, Third Edition
OPS235: Week 1 Installing Linux ( Lab1: Investigations 1-4)
SUSE Linux Enterprise Desktop Administration
Presentation transcript:

Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010 KVM tutorial #1 Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010

Installing the virtualization packages Andrea Chierici

Installing KVM packages with Kickstart files In the %packages section of your Kickstart file, append the following package group: %packages @kvm Andrea Chierici

Installing KVM packages on an existing RHEL system The kvm package contains the KVM kernel module providing the KVM hypervisor on the default Red Hat Enterprise Linux kernel. To install the kvm package, run: # yum install kvm Recommended virtualization packages: python-virtinst, libvirt, libvirt-python, virt-manager, libvirt-client Check if service libvirtd is running Andrea Chierici

Virtualized guest prerequisites and considerations Various factors should be considered before creating any virtualized guests. Factors include: Performance Input/output requirements and types of input/output. Storage. Networking and network infrastructure. Guest load and usage for processor and memory resources. Andrea Chierici

Creating guests with virt-install You can use the virt-install command to create virtualized guests from the command line. virt-install is used either interactively or as part of a script to automate the creation of virtual machines virt-install –help Andrea Chierici

virt-install example This example creates a fedora14 guest with the following settings: Uses kvm acceleration X86_64 arch with 512mb ram, 30GB disk space Uses virtual networking Boots from remote kernel and initrd Uses VNC server/viewer # virt-install \ --connect qemu:///system \ --accelerate \ --arch x86_64 --name demo --ram 512 \ --os-variant fedora9 --network network:default \ --disk path=/var/lib/libvirt/images/rhel5support.img,size=30 --vnc --location http://bo.mirror.garr.it/mirrors/fedora/linux/releases/14/Fedora/x86_64/os/ Andrea Chierici

Creating guests with virt-manager Graphical tool for creating and managing virtualized guests Launch the Virtual Machine Manager application from the Applications menu and System Tools submenu. Alternatively, run the virt-manager command as root. Optional: Open a remote hypervisor Select the hypervisor and press the Connect button to connect to the remote hypervisor. Andrea Chierici

Create a new guest Specify name and installation type Easiest is network install Import existing disk image Andrea Chierici

Create a new guest It is recommend that you use the default directory for virtual machine images, /var/lib/libvirt/images/ If you are using a different location, make sure it is added to your SELinux policy and relabeled before you continue with the installation Andrea Chierici

Create a new guest Andrea Chierici

Create a new guest Care for network settings Bridge/NAT MAC address Andrea Chierici

Virt-manager main window Andrea Chierici

Guest details Andrea Chierici

Managing virtual network Andrea Chierici

Creating a virtual network Andrea Chierici

Installing guests with PXE Pre eXecution Environment requires a shared network device, also known as a network bridge The network infrastructure requires DHCP and tftp server properly configured Machine starts, sends a dhcp request with the next-server option, next-server sends kernel and initrd Check under rhel installation tree: SL/55/x86_64/images/pxeboot Andrea Chierici

Installing guests with PXE PXE installation with virt-install Use --pxe parameter at command line PXE installation with virt-manager Andrea Chierici

Installing a fully-virtualized Windows guest Install the machine using a iso image Download the virtio drivers http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/bin/virtio-win-1.1.11-0.iso Mount the iso image on the VM Install the drivers Andrea Chierici

Adding a virtual cd-rom Andrea Chierici

On windows guest Open My Computer and select the CD-ROM drive Select correct installation files Reboot Andrea Chierici