AFACT Cloud Computing Working Group Chia Hung Kao Institute for Information Industry 1
Outline CAKE (Cloud Appliance Kernel Environment) by III Migration to Cloud Open Virtualization Format Collaboration with ETDA (Thailand) Working Items 2
CAKE Introduction Cloud Appliance Kernel Environment by III (KVM-based Virtual Machine Management) Virtual Machines Virtual Machine Resources Administrator Web-based UI End User Physical Machine Resources 3
CAKE Introduction (cont.) Administration: Resource status, User management, VM management, Event and Configuration
CAKE Introduction (cont.) Virtual machine list and related operations (e.g., remote control, boot up, shutdown, edit and delete)
CAKE Introduction (cont.) Virtual machine creation (from template, ISO and disk image)
Remote control by VNC CAKE Introduction (cont.)
CAKE Introduction (cont.) Successful story of CAKE (Hosted Private Cloud by TOKAI) http://www.broadcenter.jp/cloudservice/hostedprivatecloud-pracla/ 8
Migration to Cloud Physical to Virtual Physical to virtual (P2V) is the process of converting and migrating a physical computer image into a virtual machine (VM). It allows a physical machine to transform into a VM with the same state, stored data, applications and required system configuration and resources Virtual to Virtual Virtual to virtual (V2V) is a process of copying, migrating or replicating a virtual machine image, data or disk partition to another VM. It facilitates the migration of data or a machine instance between VMs and/or virtualization environments 9
Migration to Cloud (V2V) https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html-single/v2v_guide/ 10
Migration to Cloud (V2V) The qemu-img convert command can do conversion between multiple formats, including qcow2, QED, raw, VDI (VirtualBox), VHD (Hyper-V), and VMDK (VMware) Convert a raw image file to a qcow2 image file qemu-img convert -f raw -O qcow2 centos7.img centos7.qcow2 Convert a VMDK image file to a raw image file qemu-img convert -f vmdk -O raw centos7.vmdk centos7.img 11
OVF Open Virtualization Format OVF enables the packaging and secure distribution of virtual machines or appliances, providing cross-platform portability and simplified deployment across multiple platforms Using OVF, independent software vendors (ISVs) can create single, prepackaged appliances and providers can export and import virtual machines that can run across different virtualization platforms
OVF Package Structure The OVF package provides a means to distribute software solutions deployed in a virtual system or collection of virtual systems The OVF package consists of an OVF descriptor and related virtual disks
OVF Descriptor Example (ADSS) Disk image VM information
OVF Descriptor Example (ADSS) Virtual CPU Virtual Memory USB Controller
OVF Descriptor Example (ADSS) SCSI Controller IDE Controller
OVF Descriptor Example (ADSS) Ethernet adapter Sound card Video
Migration to Cloud / OVF Enhancement Consider migration at application or service level (not only on virtual machine) Example: Deploy one smart tourism application comprised by several virtual machines Configure network topology Example: Configure network topology of smart tourism application (how the services are connected) Consider scalability, availability and reliability
Collaboration with ETDA Migration of timestamp server from VMware to CAKE Examine the correctness of the timestamp server after migration Design functional and performance test cases for timestamp server Acquire or design test tools based on test cases Evaluate functional and performance of the timestamp server built on CAKE 19
Collaboration with ETDA (Test Cases) Generate timestamps without workload Generate timestamps with certain workload (e.g., CPU, memory and I/O) on ADSS virtual machine Generate timestamps with certain workload (e.g., CPU, memory and I/O) on virtualization host (CAKE) 20
Working Items Perform functional and performance testing of the timestamp server Choose another application to exercise the migration process Design a migration guideline for different cloud environments Draft a proposal about the enhancement of cloud migration and OVF 21
22