Ganeti Instance Creation

Slides:



Advertisements
Similar presentations
Seamless migration from Nova-network to Neutron in eBay production Chengyuan Li, Han Zhou.
Advertisements

What’s New: Windows Server 2012 R2 Tim Vander Kooi Systems Architect
DHCP -Ameeta and Haripriya -cmsc 691x. DHCP ► Dynamic Host Configuration Protocol ► It controls vital networking parameters of hosts with the help of.
Linux+ Guide to Linux Certification, Second Edition
NWCLUG 01/05/2010 Jared Moore Xen Open Source Virtualization.
Sandor Acs 05/07/ OpenNebula 3.6 (beta) Hands-on.
Automating SQL Buildouts With Hyper-V and SQL Server 2008 R2 Robert L Davis, Sr. DBA, Microsoft Corp.
Linux+ Guide to Linux Certification, Second Edition Chapter 3 Linux Installation and Usage.
Linux Intro Linux, the do it yourself OS Linux, successor to MINIX Linux, Unix for the masses (PC users) History:
Network Performance Toolkit (NPToolkit) A Knoppix Live-CD Rich Carlson Tools Tutorial 12/4/06.
VMware is a registered trademark of VMware, Inc. (an EMC company).
WINDOWS 7 AND UBUNTU INSTALLING LINUX WITHIN WINDOWS.
Remote Accessing Your Home Computer Using VNC and a Dynamic DNS Name.
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.
Free, online, technical courses Take a free online course. Microsoft Virtual Academy.
Migrating Applications to Windows Azure Virtual Machines Michael Washam Senior Technical Evangelist Microsoft Corporation.
System Center 2012 Setup The components of system center App Controller Data Protection Manager Operations Manager Orchestrator Service.
Changing the Way Systems are Deployed 1. 2 * Ghost since 1999 * Almost 4500 licenses * Prior to 2007 license count increase of 5% or greater a year *
Chapter-4 Windows 2000 Professional Win2K Professional provides a very usable interface and was designed for use in the desktop PC. Microsoft server system.
© 2005,2006 NeoAccel Inc. Partners Presentation SSL VPN-Plus 2.0 Quick Start Guide.
Hands-On Virtual Computing
Client Installation StratusLab Tutorial (Orsay, France) 28 November 2012.
CIS 191 – Lesson 2 System Administration. CIS 191 – Lesson 2 System Architecture Component Architecture –The OS provides the simple components from which.
Appendix B Planning a Virtualization Strategy for Exchange Server 2010.
Exercise #1: Exploring Open- Source Operating Systems with Virtual Machines J. H. Wang Mar. 9, 2010.
Xen Virtualization Last Update Copyright 2011 Kenneth M. Chipps Ph.D.
Presented by: Sanketh Beerabbi University of Central Florida COP Cloud Computing.
Linux in a Virtual Environment Nagarajan Prabakar School of Computing and Information Sciences Florida International University.
Vagrant workflow Jul. 15, 2014.
Advanced Topics StratusLab Tutorial (Orsay, France) 28 November 2012.
Windows Azure Migrating Applications and Workloads Speaker Title Organization.
CHAPTER 2. Overview 1. Pre-Installation Tasks 2. Installing and Configuring Linux 3. X Server 4. Post Installation Configuration and Tasks.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
Exercise #1: Exploring Open- Source Operating Systems with Virtual Machines J. H. Wang Sep. 25, 2015.
© 2008 Cisco Systems, Inc. All rights reserved.CIPT1 v6.0—1-1 Getting Started with Cisco Unified Communications Manager Installing and Upgrading Cisco.
Poor Man’s VIRL How to run VIRL as Bare Metal on resource-constrained PC (works on as well) Dec 30, 2015 Kaoru Yamashita.
VirtualBox: How to create a Linux Virtual Machine.
Computing Services Charles (Cal) Loomis & Mohammed Airaj LAL, Univ. Paris-Sud, CNRS/IN2P October 2013.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
KVM tutorial #3 Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010.
Chapter Seven Installing and Configuring, Operating Systems.
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
Virtualisation Exercise Installing VirtualBox Installing FreeBSD in a virtual machine Chris Wilson Joel Jaeggli AfNOG 2012.
1 Free Electrons. Kernel, drivers and embedded Linux development, consulting, training and support. http//free-electrons.com SSH Thomas Petazzoni Free.
Welcome to the Virtual Machine Mark Cyzyk The Sheridan Libraries Johns Hopkins University.
VirtualBox. VirtualBox – key points ● What is a virtual machine. ● How to get the software. ● Install the host software. ● General Tweeks. ● Security.
Virtualization With:. Virtualization With: What Kind of Virtualization? Full virtualization Platform Resource.
BY: SALMAN 1.
Version Control Systems
Mininet and Openflow Labs
Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010
Exercise #1: Exploring Open-Source Operating Systems with Virtual Machines J. H. Wang Sep. 20, 2016.
Creating Clusters in a Virtual Environment
Vytautas Traškevičius Software Engineering
BY: SALMAN.
StratusLab Tutorial (Bordeaux, France)
Exercise #1: Exploring Open-Source Operating Systems with Virtual Machines J. H. Wang Sep. 19, 2017.
Diskless Remote Boot Linux
Virtualization overview
Version Control Systems
Introduction to Networking
OPNFV Arno Installation & Validation Walk-Through
HC Hyper-V Module GUI Portal VPS Templates Web Console
Exercise #1: Exploring Open-Source Operating Systems with Virtual Machines J. H. Wang Sep. 21, 2018.
* Introduction to Cloud computing * Introduction to OpenStack * OpenStack Design & Architecture * Demonstration of OpenStack Cloud.
Different types of Linux installation
Nutanix / Veeam SE Zero to Protect
Azure Container Service
Presentation transcript:

Ganeti Instance Creation Network Startup Resource Center These materials are licensed under the Creative Commons Attribution-NonCommercial 4.0 International license (http://creativecommons.org/licenses/by-nc/4.0/)

How do you install an OS normally? Use a CD image (ISO) and manual install works for everything, including Windows Use a CD image with config file e.g. RedHat Kickstart, Ubuntu Preseed Fetch OS packages and unpack them debootstrap for .deb packages Clone an existing disk and make post-install adjustments, e.g. change hostname and IP

Ganeti OS creation scripts OS installation is designed to be scripted for hands-off, automated creation of VMs This is done via a set of pluggable scripts in an OS definition Probably the hardest part of Ganeti to get to grips with at first (but also very powerful) Note: you must install at least one instance OS definition!

Available instance OS definitions ganeti-os-noop empty script, does nothing ganeti-instance-debootstrap install Debian/Ubuntu from .deb packages downloaded over the net ganeti-instance-image unpacks prepared dump or tar images snf-image image cloning part of the synnefo cloud solution modify or write your own

How to install from ISO (CD)? Use ganeti-os-noop Set the hypervisor parameters to attach ISO(s) as virtual CD-ROM drive(s) Attach virtual console and install as normal Or you could just select any other definitions and pass the flag "--no-install", but that is a hack

Limitations of each approach Install from ISO? Have to learn to attach VGA console. Have to do manual install each time Install using debootstrap? Currently have to manually install grub in the guest; or have to boot from kernel on the host filesystem Install from filesystem dump? Have to prepare the dump. Have to script post-install tweaks Clone disk image? May need to resize partitions and filesystems to desired size snf-image does this for you

Suggestion Start with install from ISO You need to learn how to attach VGA console anyway, for fixing problems You need this for first install of Windows guests Move to the others as your experience grows

Consoles in ganeti Ganeti supports two types of instance console VNC (emulated VGA) console Serial console Serial console will only work if the guest is configured to allow logins on serial port Therefore VNC console is the most useful

Console security VNC console is disabled by default for security To get access over network, bind it to 0.0.0.0 gnt-instance … -H vnc_bind_address=0.0.0.0 … other option: can bind to 127.0.0.1 (localhost), but then it's only accessible with tricks like ssh port forwarding You need a VNC client (e.g. TigerVNC) You need to know which TCP port to connect to gnt-instance list -o name,pnode,network_port gnt-instance list -o +network_port

Console security To improve security you can set a console password (globally or per-instance) gnt-cluster modify -H kvm:vnc_password_file=/etc/ganeti/vnc- cluster-password You might want to keep your ganeti node management IPs on a private network note that the customer instances can stil connect to a public network

Separate service/mgmt nets 192.0.2.0/24 eth1 eth1 br-svc br-svc eth0 eth0 eth0 eth0 VM VM VM VM 192.0.2.53 192.0.2.76 192.0.2.25 192.0.2.80 10.0.0.1 10.0.0.2 br-lan br-lan eth0 eth0 10.0.0.0/24 VNC console connects here (different TCP port for each VM)

Reminder: -H options for ISO install boot_order=cdrom cdrom_image_path=/path/to/foo.iso vnc_bind_address=0.0.0.0 If you pass these to gnt-instance start then they are only effective until the instance shuts down. This is probably what you want.

Note for Windows guests Attach a second CD-ROM with the RedHat Windows Virtio drivers (free) cdrom2_image_path=... cdrom_disk_type=ide Install Windows with virtio disk, network and balloon memory drivers Makes Windows work much better in the virtual environment

Install a Ganeti instance using ISO image Exercise Install a Ganeti instance using ISO image