Xen on Pre- Production Service Marco Verlato INFN-Padova High Availability Group Meeting, 3 October 2006 www.eu-egee.org EGEE-II INFSO-RI-031688EGEE and.

Slides:



Advertisements
Similar presentations
Linux Boot Loaders. ♦ Overview A boot loader is a small program that exists in the system and loads the operating system into the system’s memory at system.
Advertisements

INSTALLING LINUX.  Identify the proper Hardware  Methods for installing Linux  Determine a purpose for the Linux Machine  Linux File Systems  Linux.
NWCLUG 01/05/2010 Jared Moore Xen Open Source Virtualization.
Xen Virtualization Andrew Hamilton
VSphere vs. Hyper-V Metron Performance Showdown. Objectives Architecture Available metrics Challenges in virtual environments Test environment and methods.
Modern Operating Systems 2014 Practice Tasks. Lab1. OS Installation. Boot configuration Install Dual boot system Linux / Windows 7 or 8 / win server 2012(Dreamspark.
A comparison between xen and kvm Andrea Chierici Riccardo Veraldi INFN-CNAF.
Introduction to DoC Private Cloud
 Contents 1.Introduction about operating system. 2. What is 32 bit and 64 bit operating system. 3. File systems. 4. Minimum requirement for Windows 7.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
Installing Linux Redhat: A how to guide in installing and configuring Redhat 6.2.
SUNY IT Master's Project Using Open Source Virtualization Technology In Computer Education By: Ronny L. Bull Advised By: Geethapriya Thamilarasu, Ph.D.
Using Virtualization in the Classroom. Using Virtualization in the Classroom Session Objectives Define virtualization Compare major virtualization programs.
Condor Project Computer Sciences Department University of Wisconsin-Madison Virtual Machines in Condor.
Virtualization. What is Virtualization Virtualization is a technique of partitioning or dividing the resources of a single server into multiple segregated.
Jaime Frey Computer Sciences Department University of Wisconsin-Madison Virtual Machines in Condor.
CIS 193A – Lesson10 Protecting Your Network. CIS 193A – Lesson10 Focus Question What information contained in packets can be used as matching criteria.
Tanenbaum 8.3 See references
1 Web Server Administration Chapter 3 Installing the Server.
Neng XU University of Wisconsin-Madison X D.  This instruction is for beginners to setup and test an Xrootd/PROOF pool quickly.  Following up each step.
Chapter 2 Installation Overview. Planning the Installation Questions: –Size of partitions –Where to put partitions –Which software packages to install.
LOGO Linux Installation. Linux Distribution Including shells, libraries, tools, compiler, servers, applications. Redhat, Fedora, Mandrake, SuSE, Debian,
COSC 4750 Customizing and maintenance. Installing software Redhat/Fedora (and linux in general) has a package installer, called rpm Many programs will.
October, Scientific Linux INFN/Trieste B.Gobbo – Compass R.Gomezel - T.Macorini - L.Strizzolo INFN - Trieste.
Chapter 2 BAI517 Chris Redford.  Different version of Linux are called Distributions or Distros. Each one has its strengths and focus: Red Hat / Fedora.
Benefits: Increased server utilization Reduced IT TCO Improved IT agility.
การติดตั้งและทดสอบการทำคลัสเต อร์เสมือนบน Xen, ROCKS, และไท ยกริด Roll Implementation of Virtualization Clusters based on Xen, ROCKS, and ThaiGrid Roll.
ITServices Virtualization Terry Black January 2013.
Linux in a Virtual Environment Nagarajan Prabakar School of Computing and Information Sciences Florida International University.
Guide to Linux Installation and Administration, 2e1 Chapter 2 Planning Your System.
A study of introduction of the virtualization technology into operator consoles T.Ohata, M.Ishii / SPring-8 ICALEPCS 2005, October 10-14, 2005 Geneva,
Installation Overview Lab#2 1Hanin Abdulrahman. Installing Ubuntu Linux is the process of copying operating system files from a CD, DVD, or USB flash.
Chapter 2: Installation Overview Part 1. Installing Fedora/RHEL is the process of copying operating system files from media to the local system and setting.
1 Objectives Manage and install new file systems.
Vagrant workflow Jul. 15, 2014.
Windows Azure Migrating Applications and Workloads Speaker Title Organization.
INFSO-RI Enabling Grids for E-sciencE Installation of an APT+kickstart server Giuseppe Platania INFN Catania EMBRACE Tutorial Clermont-Ferrand,
CIS Lesson 5 Lesson 5 New Skills Boot time GRUB edits (review) Changing BIOS boot order on a VM (review) Mounting CD ISO and floppy Image files on.
Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Usage of virtualization in gLite certification Andreas Unterkircher.
Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Tools and techniques for managing virtual machine images Andreas.
Ian Gable HEPiX Spring 2009, Umeå 1 VM CPU Benchmarking the HEPiX Way Manfred Alef, Ian Gable FZK Karlsruhe University of Victoria May 28, 2009.
Chapter 8: Installing Linux The Complete Guide To Linux System Administration.
VirtualBox: How to create a Linux Virtual Machine.
Chapter 2 BAI517 Chris Redford.  Different version of Linux are called Distributions or Distros. Each one has its strengths and focus: Red Hat / Fedora.
Platform & Engineering Services CERN IT Department CH-1211 Geneva 23 Switzerland t PES AI Images, flavours and partitions Vítor Gouveia,
36 th LHCb Software Week Pere Mato/CERN.  Provide a complete, portable and easy to configure user environment for developing and running LHC data analysis.
“Build that Virtual Lab you always wanted” Information Assurance Group 2011.
KVM tutorial #3 Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010.
Implementation Method Linux-USB Gadget Framework –The Linux-USB Gadget Framework makes it easy for peripherals and other devices embedding GNU/Linux system.
A comparison between xen and kvm Andrea Chierici Riccardo Veraldi INFN-CNAF CCR 2009.
Thousands of Linux Installations (and only one administrator) A Linux cluster client for the University of Manchester A V Le Blanc I T Services University.
 Each interface card that was detected correctly will be listed under the Network Devices section. Ethernet devices in Linux are named eth0, eth1, eth2,
Intro To XEN By Derek Carter
BY: SALMAN 1.
Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010
Chapter 8 Unix & Linux.
bitcurator-access-webtools Quick Start Guide
Installing VMware ESX and ESXi
Implementation of Embedded OS
BY: SALMAN.
Progress on NA61/NA49 software virtualisation Dag Toppe Larsen Wrocław
UBUNTU INSTALLATION
StratusLab Tutorial (Bordeaux, France)
Machine Learning Workshop
OS Virtualization.
Lab #1 Install Linux & How to Build Live CD
Installing Linux Redhat:
Linux Operations and Administration
bitcurator-access-webtools Quick Start Guide
RHCSA Study Prep.
Presentation transcript:

Xen on Pre- Production Service Marco Verlato INFN-Padova High Availability Group Meeting, 3 October EGEE-II INFSO-RI EGEE and gLite are registered trademarks

High Availability Group Meeting, 3 October Introduction Work from experience at UFRJ (thanks to Pedro Rausch) Just notes written down during the setup Hardware:  Oxyria 1U  2xCPU Xeon 2800  2 GB RAM  2x80 GB SATA Hosting PPS-PADOVA site since 1 month:  prep-ce-01 (gLite-CE)  prep-ce-02 (lcg-CE)  prep-se-01 (DPM-SE)  cert-mon-01 (rgma-server)

High Availability Group Meeting, 3 October Quick how-to (1) Everything available at: Step by step: 1)install fedora core 5 using fedora5_8GB.cfg e fedora5_8GB.ks in gimo.pd.infn.it 2)“yum update”, “yum install kernel-xen0”, “yum install kernel-xenU” do install xen FC5 + kernels 3)remove kernel-xenU and set default=0 in /etc/grub.conf (set the default to the xen0 kernel) ~]# uname -a Linux cert-08.pd.infn.it _FC5xen0 #1 SMP Tue Aug 8 17:03:19 EDT 2006 i686 i686 i386 GNU/Linux 4)add commands in the kernel lines this way: kernel /boot/xen.gz _FC5 dom0_mem=49152 i.e. set domain-0 memory = 48 MB (if you want four 492 MB VM guests having 2GB available in your hardware), and set (dom0-min-mem 48) in the /etc/xen/xend-config.sxp file

High Availability Group Meeting, 3 October Quick how-to (2) 5)create the partitions (linux + swap) for each Virtual Machine 6)do the needed “mkfs -t ext3 /dev/sdaX” and “mkswap /dev/sda(X+1)” 5) and 6) needed only if not already done within kickstart 7)mount each guest partition and copy there the image of slc304 with the /etc/sysconfig/network and /etc/sysconfig/network-scripts/ifcfg-eth0 files modified in order to get Hostname and IP from DHCP, the /etc/fstab file slightly modified (LABEL=/ replaced with /dev/sda1) and a new /etc/modprob.conf file added containing the lines: alias eth0 xennet alias eth1 e1000 alias scsi_hostadapter ata_piix (I made a tgz with these changes already included, just do tar –zxvf slc304-i386.tgz –C $GUEST_PARTITION)

High Availability Group Meeting, 3 October Quick how-to (3) The following steps from 8) to 11) are collected in the script xenize.sh 8)copy the files from the kernel xenU into the relevant places of each guest partition, e.g.: cp -R /lib/modules/ _FC5xenU/ $GUEST_PARTITION/lib/modules/ cp /boot/vmlinuz _FC5xenU $GUEST_PARTITION/boot/ cp /boot/initrd _FC5xenU.img $GUEST_PARTITION/boot/ cp /boot/System.map _FC5xenU $GUEST_PARTITION/boot/ cp /boot/config _FC5xenU $GUEST_PARTITION/boot/ 9)overwrite the module-init-tools (for kernel 2.6), i made a tgz for you: tar –zxvf module-init-tools pre5.3.2.tgz –C $GUEST_PARTITION 10)copy the fedora5 e2fsck files to each guest partition, e.g.: cp /sbin/e2fsck $GUEST_PARTITION/sbin/ cp /sbin/fsck.ext3 $GUEST_PARTITION/sbin/ 11)change the mode of /dev/null at the guest boot: echo “chmod 666 /dev/null” >> $GUEST_PARTITION/etc/rc.d/rc.local

High Availability Group Meeting, 3 October Quick how-to (4) 12) Finally, you need to create in the master the guest configuration files. They should reside in /etc/xen, and later be placed under /etc/xen/auto, so that they are started on boot. Relevant configuration values for my glite-CE : memory = 492 name = "prep-ce-01" vcpus = 2 vif = [ 'mac=00:00:C1:CE:D2:40, bridge=xenbr0' ] (fake mac address) disk = [ 'phy:/dev/sda3,sda1,w','phy:/dev/sda6,sda2,w' ] dhcp="dhcp“ root = "/dev/sda1 rw" 13) xm create –c /etc/xen/auto/youreguestmachine, and if the VM boot is OK do: /sbin/chkconfig --level 345 xend on /sbin/chkconfig --level 345 xendomains on to automatically start the VMs at the boot.

High Availability Group Meeting, 3 October Average CPU Usage (by F.Nebiolo software) MonthlyWeekly DailyHourly

High Availability Group Meeting, 3 October …and SFT and SAM looks OK