Platform & Engineering Services CERN IT Department CH-1211 Geneva 23 Switzerland www.cern.ch/i t PES AI Images, flavours and partitions Vítor Gouveia,

Slides:



Advertisements
Similar presentations
© 2014 Persistent Systems Ltd Enabling DraaS on OpenStack Speakers: Haribabu Kasturi, Amitabh Shukla.
Advertisements

INSTALLING LINUX.  Identify the proper Hardware  Methods for installing Linux  Determine a purpose for the Linux Machine  Linux File Systems  Linux.
2.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 2: Installing Windows Server.
Guide To UNIX Using Linux Third Edition
Welcome Course 20410B Module 0: Introduction Audience
Installing and Setting up mongoDB replica set PREPARED BY SUDHEER KONDLA SOLUTIONS ARCHITECT.
Getting Started with Oracle Compute Cloud
CERN IT Department CH-1211 Genève 23 Switzerland t Next generation of virtual infrastructure with Hyper-V Michal Kwiatek, Juraj Sucik, Rafal.
System Center 2012 Setup The components of system center App Controller Data Protection Manager Operations Manager Orchestrator Service.
SharePoint Farm On Azure IAAS Prepared By : Prakhar Rastogi Premier Field engineer Microsoft India.
Deploying and Managing Windows Server 2012
1 Web Server Administration Chapter 3 Installing the Server.
Client Installation StratusLab Tutorial (Orsay, France) 28 November 2012.
AI project components: Facter and Hiera
Chapter 2 BAI517 Chris Redford.  Different version of Linux are called Distributions or Distros. Each one has its strengths and focus: Red Hat / Fedora.
Machine Creation Services (MCS)
Installing Windows Vista Lesson 2. Skills Matrix Technology SkillObjective DomainObjective # Performing a Clean Installation Set up Windows Vista as the.
| nectar.org.au NECTAR TRAINING Module 9 Backing up & Packing up.
Guide to Linux Installation and Administration, 2e1 Chapter 2 Planning Your System.
Puppet with vSphere Workshop Install, configure and use Puppet on your laptop for vSphere DevOps Billy Lieberman August 1, 2015.
Chapter 1 Managing Storage. Contents Understanding Partitioning Understanding LVM Understanding RAID Understanding Clustering and GFS Using Access Control.
CERN IT Department CH-1211 Geneva 23 Switzerland t Daniel Gomez Ruben Gaspar Ignacio Coterillo * Dawid Wojcik *CERN/CSIC funded by Spanish.
Continuous Integration and Code Review: how IT can help Alex Lossent – IT/PES – Version Control Systems 29-Sep st Forum1.
Configuring Disk Devices. Module 4 – Configuring Disk Devices ♦ Overview This module deals with making partitions using fdisk, implementing RAID and Logical.
Introduction to AFS IMSA Intersession 2003 AFS Servers and Clients Brian Sebby, IMSA ‘96 Copyright 2003 by Brian Sebby, Copies of these.
Platform & Engineering Services CERN IT Department CH-1211 Geneva 23 Switzerland t PES AI’s user access, OpenStack security groups and firewall.
Creating and Managing File Systems. Module 5 – Creating and Managing File Systems ♦ Overview This module deals with the structure of the file system,
Virtualization Infrastructure Administration Virtual machine Jakub Yaghob.
DoC Private IaaS Cloud Thomas Joseph Cloud Manager
Computing Facilities CERN IT Department CH-1211 Geneva 23 Switzerland t CF Automatic server registration and burn-in framework HEPIX’13 28.
CERN IT Department CH-1211 Genève 23 Switzerland t IT Configuration Activities Gavin McCance Online Cross-experiment Meeting, 14 June 2012.
1 CERN IT Department CH-1211 Genève 23 Switzerland t Puppet in the CERN CC Tomas Karasek Steve Traylen Oct
2012 Objectives for CernVM. PH/SFT Technical Group Meeting CernVM/Subprojects The R&D phase of the project has finished and we continue to work as part.
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
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.
Data & Storage Services CERN IT Department CH-1211 Genève 23 Switzerland t DSS New tape server software Status and plans CASTOR face-to-face.
Scaling the CERN OpenStack cloud Stefano Zilli On behalf of CERN Cloud Infrastructure Team 2.
Platform & Engineering Services CERN IT Department CH-1211 Geneva 23 Switzerland t PES Development Workflow of the Configuration Management.
Operating Systems & Information Services CERN IT Department CH-1211 Geneva 23 Switzerland t OIS Drupal at CERN Juraj Sucik Jarosław Polok.
CERN IT Department CH-1211 Genève 23 Switzerland t Migration from ELFMs to Agile Infrastructure CERN, IT Department.
CERN - IT Department CH-1211 Genève 23 Switzerland t Operating systems and Information Services OIS Proposed Drupal Service Definition IT-OIS.
CERN IT Department CH-1211 Genève 23 Switzerland t Next generation of virtual infrastructure with Hyper-V Juraj Sucik, Michal Kwiatek, Rafal.
Grid Technology CERN IT Department CH-1211 Geneva 23 Switzerland t DBCF GT Grid Technology SL Section Software Lifecycle Duarte Meneses.
1 Cloud Services Requirements and Challenges of Large International User Groups Laurence Field IT/SDC 2/12/2014.
CERN IT Department CH-1211 Geneva 23 Switzerland t ES 1 how to profit of the ATLAS HLT farm during the LS1 & after Sergio Ballestrero.
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.
Capacity Planning in a Virtual Environment Chris Chesley, Sr. Systems Engineer
CERN AI Config Management 16/07/15 AI for INFN visit2 Overview for INFN visit.
Windows Certification Paths OR MCSA Windows Server 2012 Installing and Configuring Windows Server 2012 Exam (20410) Administering Windows Server.
Platform & Engineering Services CERN IT Department CH-1211 Geneva 23 Switzerland t PES Agile Infrastructure Project Overview : Status and.
Configuring SQL Server for a successful SharePoint Server Deployment Haaron Gonzalez Solution Architect & Consultant Microsoft MVP SharePoint Server
UFIT Infrastructure Self-Service. Service Offerings And Changes Virtual Machine Hosting Self service portal Virtual Machine Backups Virtual Machine Snapshots.
ServerTemplate TM Deep Dive: Configuration for Multi-Cloud Environments Tim Miller Sr. Director ServerTemplate TM Development Cary Penniman Sr. Software.
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.
Platform & Engineering Services CERN IT Department CH-1211 Geneva 23 Switzerland t PES GIT Service in the Agile Infrastructure Project Vítor.
Solaris containers (Zones) Server virtualization What zones are and how they are used in ECE/CIS at the University of Delaware Ben Miller.
CERN IT Department CH-1211 Geneva 23 Switzerland t OIS Operating Systems & Information Services CERN IT Department CH-1211 Geneva 23 Switzerland.
Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010
AI How to: System Update and Additional Software
The Architecture of oVirt Node
UBUNTU INSTALLATION
Change Deployment in ServiceN w
Design and Implement Cloud Data Platform Solutions
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
OPS235: Week 5 Lab4: Investigations 1 – 3
Cloud computing mechanisms
Upgrading Your Private Cloud with Windows Server 2012 R2
Introduction to Docker
Presentation transcript:

Platform & Engineering Services CERN IT Department CH-1211 Geneva 23 Switzerland t PES AI Images, flavours and partitions Vítor Gouveia, IT-PES-PS

CERN IT Department CH-1211 Geneva 23 Switzerland t PES Agenda AI development lifecycle [revisited] AI Images AI flavours AI projects Partitioning 2

CERN IT Department CH-1211 Geneva 23 Switzerland t PES AI development lifecycle [revisited] Complete info: herehere AI configuration components: –Modules Individual, shared and core –ex core modules: base, cernfw, certmgr custom, concat, firewall, etc… –ex shared modules: afs, apache, autofs, bdii, castor, etc… Hieradata of each module is separated from the module and found in hieradata/module_names/ Changes in share and core modules lead to a testing phase before pushing into the master branch –hostgroups manifests Puppet manifests describing the desired configuration of a hostgroup (cluster) Hieradata of each hostgroup is separated from the hostgroup and found in hieradata/hostgroups/ 3

CERN IT Department CH-1211 Geneva 23 Switzerland t PES AI development lifecycle [revisited] Branches –devel entry point for the development cycle –testing the usage of the testing branch is mandatory for changes in core and shared modules Every week, the testing branch is open during a period for pushing the changes and is closed during the tests of the changes. –Master production environment in puppet 4

CERN IT Department CH-1211 Geneva 23 Switzerland t PES AI development lifecycle [revisited] Custom branches –must not be used for production environments –can be used for development and eventually merged into the devel branch Please squash your commits before the merge –Should be used for playing, risk changes, major features, experiments, etc… –should be temporary 5

CERN IT Department CH-1211 Geneva 23 Switzerland t PES AI development lifecycle [revisited] 6

CERN IT Department CH-1211 Geneva 23 Switzerland t PES AI Images and flavours Images –Disk images that work as templates for the virtual machines –All documentation: herehere –nova image-list Currently, IT provides a set of minimal images that are available to be used –There is only one version of the SLC 6 Server 7

CERN IT Department CH-1211 Geneva 23 Switzerland t PES AI Images Custom images –You can create your own images but You need to maintain them –Ex: if you use a image provider from a third party supplier all support should be address to him In any case the Cloud Infrastructure service does not provide any kind of maintenance of the custom images they are private images (i.e. only available in the project you are authenticated for) –The documentation includes the necessary steps to upload your own image The recipe to image creation, conversion and upload is documented A tool is available for this 8

CERN IT Department CH-1211 Geneva 23 Switzerland t PES AI Flavours …define the size of the VM –Number of virtual CPU cores –amount of memory –disk space nova flavor-list a standard set of flavours is already available all documentation herehere 9

CERN IT Department CH-1211 Geneva 23 Switzerland t PES Some notes about the AI Flavours ephemeral parameter –add a secondary disk –exists only during the life time of the VM i.e. when the machine is disappears the ephemeral disk disappear as well –associated with a single VM –persistent across reboots –with ai-bs-vm is mounted as /mnt swap parameter –add a another disk to your VM configured as swap space 10

CERN IT Department CH-1211 Geneva 23 Switzerland t PES Some notes about the AI Flavours Current situation: –we are providing a small set of flavours –...but If you want a specific flavour It is possible to ask –trough the cloud infrastructure support line –should be reasonable flavours (cpu, ram, disk, etc… ) –Ex: Ram <= 16 GB Disk <= 200GB Number of CPUS <= 8 Currently, all the flavours are seen by everyone Future plans: –the possibility to each user create their own private flavours 11

CERN IT Department CH-1211 Geneva 23 Switzerland t PES AI Flavours Current situation if we create a machine with ai-bs- vm with the following flavour /vda -> disk /vdb -> ephemeral /vdc -> swap 12

CERN IT Department CH-1211 Geneva 23 Switzerland t PES AI Projects Projects are groups of related virtual machines such as those concerning a specific activity or production service. –Previously know as tenants Personal Projects –Each user has a personal project associated with a small quota Testing VMs, private VMs, experiences, etc… Shared projects –Provide management of VMs to groups of users for production services Creation of shared project (On Request ) Instructions herehere 13

CERN IT Department CH-1211 Geneva 23 Switzerland t PES AI Projects Currently, the AI Project structure is flat structure. –You cannot have subprojects inside a project Future plans: –Top-level projects managed by a team/service manager with the possibility of delegate subprojects to other team members / users 14

CERN IT Department CH-1211 Geneva 23 Switzerland t PES AI Projects Current shared projects… 15

CERN IT Department CH-1211 Geneva 23 Switzerland t PES Images, Flavours and Projects Support Images, Flavours and Projects support line: portal/search.do?q=cloud+infrastructure 16

CERN IT Department CH-1211 Geneva 23 Switzerland t PES Partitioning Some notes: –Images created with the tool provided have 10GB (default) –The last partition in the main disk doesn’t grow with the different flavours –The unallocated space can be added to the last partition 17

CERN IT Department CH-1211 Geneva 23 Switzerland t PES Partitioning Recipe If you want to use the extra space of the main disk of the VM This recipe needs manual intervention...to be used with care In the future this will be automated 18 yum –y install cloud-utils growpart reboot pvresize lvextend Resize2fs

CERN IT Department CH-1211 Geneva 23 Switzerland t PES Partitioning We can define two type of partitions: –partitions that need to exist before the boot of the VM “system partitions” (/var, /usr, etc…) –partitions that can be created after the boot of the VM “data partitions” (/usr/vice/cache, /var/lib/mysql, /var/lib/squid, /data) How do we create partitions? –system partitions: The only place available is the kickstart file of the image 19

CERN IT Department CH-1211 Geneva 23 Switzerland t PES Partitioning with Puppet –“Data partitions” Use the ephemeral disk with puppet to create new partitions the puppet module lvm provides the means to create and configure logical volumes, volume groups, etc… –easy to use and configure –provides a starting place to configure your partitions 20

CERN IT Department CH-1211 Geneva 23 Switzerland t PES Partitioning with Puppet Minimal steps to configure new partitions with the lvm module if $ec2_block_device_mapping_ephemeral0 == "/dev/vdb" { #step1: unmont default mount point for the ephemeral disk mount { "/mnt": ensure => absent, } #step2: create the logical volumes (PV/VG are set up automatically) -> lvm::volume { 'mysql': ensure => present, pv => "/dev/vdb", vg => "VolGroup01", fstype => "ext4", size => "120G", } #step3: create the mount points -> file { "/var/lib/mysql": ensure => directory, } -> mount { "/var/lib/mysql": device => "/dev/VolGroup01/mysql", fstype => "ext4", ensure => "mounted", options => "defaults", atboot => true, } -> Class[‘mysql’] make sure this is done before mysql is set up

CERN IT Department CH-1211 Geneva 23 Switzerland t PES AFS cache example Add an AFS cache using the rest of the disk space on the ephemeral disk include afs; #AFS will automatically use all of a /usr/vice/cache partition if present #create partition lvm::volume { ‘afscache': ensure => present, pv => "/dev/vdb", vg => "VolGroup01", fstype => "ext4", require => Lvm::Volume[‘mysql’], #use the remaining space after the mysql partition } #create the mount point -> file { "/usr/vice/cache": ensure => directory, } ->mount { "/usr/vice/cache": device => "/dev/VolGroup01/afscache", fstype => "ext4", ensure => "mounted", options => "defaults", atboot => true, } ->Class[‘afs’] #make sure this is done before AFS is set up

CERN IT Department CH-1211 Geneva 23 Switzerland t PES Partitioning support All questions though the configuration management support line: portal/function.do?name=Configuration- Management 23

CERN IT Department CH-1211 Geneva 23 Switzerland t PES ???????????????????????