PES. Creating Load-Balanced Services on top of Cloud Infrastructure and Puppet. Platform & Engineering Services. Vítor Gouveia, vitor.gouveia@cern.

Similar documents
PES. Ermis service for DNS Load Balancer configuration. HEPiX Fall Aris Angelogiannopoulos, CERN IT-PES/PS Ignacio Reguero, CERN IT-PES/PS

PES. High Availability Load Balancing in the Agile Infrastructure. Platform & Engineering Services. HEPiX Bologna, April 2013

Configuration report 04/09-17/09.

CERN Cloud Architecture

Openshift for Continuous Integration

The Agile Infrastructure Project. Monitoring. Markus Schulz Pedro Andrade. CERN IT Department CH-1211 Genève 23 Switzerland

Openstack. Cloud computing with Openstack. Saverio Proto

Configuration Management Evolution at CERN. Gavin

Deploying Foreman in Enterprise Environments 2.0. best practices and lessons learned. Nils Domrose Cologne, August,

Agile Infrastructure: an updated overview of IaaS at CERN

Project Documentation

Release Notes for Fuel and Fuel Web Version 3.0.1

CloudCIX Bootcamp. The essential IaaS getting started guide.

Guide to the LBaaS plugin ver for Fuel

Copyright 2014, Oracle and/or its affiliates. All rights reserved. 2

It should be noted that the installer will delete any existing partitions on your disk in order to install the software required to use BLËSK.

CERN Cloud Infrastructure. Cloud Networking

Puppet Firewall Module and Landb Integration

UZH Experiences with OpenStack

Operating an OpenStack Cloud

Talk-101 User Guide. DNSGate

A central continuous integration platform

White Paper. ThinRDP Load Balancing

VNLINFOTECH JOIN US & MAKE YOUR FUTURE BRIGHT. mcsa (70-413) Microsoft certified system administrator. (designing & implementing server infrasturcure)

Installation and Configuration Guide

Designing and Implementing a Server Infrastructure

SUSE OpenStack Cloud 4 Private Cloud Platform based on OpenStack. Gábor Nyers Sales gnyers@suse.com

Understand Troubleshooting Methodology

Simplifying Private Cloud Deployments through Network Automation

AMD SEAMICRO OPENSTACK BLUEPRINTS CLOUD- IN- A- BOX OCTOBER 2013

How to Configure an Initial Installation of the VMware ESXi Hypervisor

ArcGIS for Server: In the Cloud

The RT module VT6000 (VT6050 / VT6010) can be used to enhance the RT. performance of CANoe by distributing the real-time part of CANoe to a

Web Application Hosting Cloud Architecture

Customer Tips. Configuration and Use of the MeterAssistant Option. for the user. Purpose. Xerox Device Configuration. Xerox Multifunction Devices

SUSE Cloud 2.0. Pete Chadwick. Douglas Jarvis. Senior Product Manager Product Marketing Manager

Designing and Implementing a Server Infrastructure MOC 20413

OPENSTACK IN THE ENTERPRISE Best practices for deploying enterprise-grade OpenStack implementations

SDN v praxi overlay sítí pro OpenStack Daniel Prchal daniel.prchal@hpe.com

Apache Stratos (incubating) M5 Installation Guide

Zabbix for Hybrid Cloud Management

Cloud Services. Sharepoint. Admin Quick Start Guide

Oracle Virtualization Strategy and Roadmap

How to Guide: StorageCraft Cloud Services VPN

Service Catalogue. virtual services, real results

CERN local High Availability solutions and experiences. Thorsten Kleinwort CERN IT/FIO WLCG Tier 2 workshop CERN

Server configuration for layer 4 DSR mode

OpenStack. Orgad Kimchi. Principal Software Engineer. Oracle ISV Engineering. 1 Copyright 2013, Oracle and/or its affiliates. All rights reserved.

1 Basic Configuration of Cisco 2600 Router. Basic Configuration Cisco 2600 Router

FIREWALL - NETWORK FUNCTION VIRTUALIZATION. June 2013

Secure Web Appliance. Reverse Proxy

ITIS 2110 Lab 11: Domain Name Server. Tyler Everhart 11/12/2010

SUSE Cloud 5 Private Cloud based on OpenStack

Sales Slide Midokura Enterprise MidoNet V1. July 2015 Fujitsu Limited

Virtualization, SDN and NFV

Mirantis OpenStack Express: Security White Paper

PLUMgrid Open Networking Suite Service Insertion Architecture

SUSE Cloud Installation: Best Practices Using an Existing SMT and KVM Environment

Web Application Platform for Sandia

Transparent Firewall/Filtering Bridge - pfsense By William Tarrh

Redundant Servers. APPolo Redundant Servers User Guide. User Guide. Revision: 1.2 Last Updated: May 2014 Service Contact:

ovirt self-hosted engine seamless deployment

Deployment Topologies

Designing and Implementing a Server Infrastructure

Ubuntu OpenStack on VMware vsphere: A reference architecture for deploying OpenStack while limiting changes to existing infrastructure

Designing and Implementing a Server Infrastructure

Designing and Implementing a Server Infrastructure

Introduction to OpenStack

developing sysadmin - sysadmining developers

CS312 Solutions #6. March 13, 2015

PES. Batch virtualization and Cloud computing. Part 1: Batch virtualization. Batch virtualization and Cloud computing

Isaku Yamahata CloudOpen Japan May 22, 2014

Installing and Configuring Windows Server Module Overview 14/05/2013. Lesson 1: Planning Windows Server 2008 Installation.

Panda Cloud Protection. Quick guide Service registration procedure

How to Configure Active Directory based User Authentication

Kamailio World Kamailio and OpenStack Together to build a truly scalable solution

How to Setup Bare Metal Adaxa Suite Demonstration Box

Networking Basics for Automation Engineers

Eylean server deployment guide

Pharos Uniprint 8.4. Maintenance Guide. Document Version: UP84-Maintenance-1.0. Distribution Date: July 2013

Cloud Service SLA Declaration

Building a big IaaS cloud with Apache CloudStack

Data Center Connector for OpenStack

Automated Configuration of Open Stack Instances at Boot Time

Managed Hosting is a managed service provided by MN.IT. It is structured to help customers meet:

Configuring the BIG-IP and Check Point VPN-1 /FireWall-1

PowerVC 1.2 Q Power Systems Virtualization Center

Identity and Access Management for the Cloud What You Need to Know About Managing Access to Your Clouds

20413C: Designing and Implementing a Server Infrastructure

Monitoring Windows Event Logs

Backup & Disaster Recovery Appliance User Guide

OpenSRS Service DNS Configuration Guide

Transcription:

PES Platform & Engineering Services Creating Load-Balanced Services on top of Cloud Infrastructure and Puppet Vítor Gouveia, vitor.gouveia@cern.ch IT-PES-PS

PES Agenda OpenStack Images Availability Zones Load Balancing Foreman parameters

PES OpenStack Images There are new images available The images that should be used with puppet and ai-bs-vm should not contain the CERN word on their name: SLC6 Server - x86_64 SLC6 CERN Server - x86_64 SLC6 Server - i386 SLC6 CERN Server - i386 SLC5 Server - All images have a timestamp associated with them E.g. [130920] - 20/09/2013 use the latest one (unless you use osrepos_date and want to avoid dowgrades improvements under discussion)

PES Availability Zones The ai-bs-vm environment variable to specify availability zones: AIBS_VMAVAILZONE_NAME Ex: AIBS_VMAVAILZONE_NAME= cern-geneva-b AIBS_VMIMAGE_NAME="SLC6 Server - x86_64 AIBS_HOSTGROUP_NAME="foo/spare" ai-bs-vm higgsbox

PES Availability Zones An user can specify a particular location in which a host should be booted. group together servers in terms osf availability, other features could be external network connectivity or redundant power $ nova availability-zone-list +--------------------+-----------+ Name Status +------------ -------+------------+ cern-geneva-a available cern-geneva-b available cern-geneva-c available +-------------------+-------------+ Each of these zones have different local network switch and power inputs. A failure in one hardware component of the cern-geneva-a should not affect VMs running in cern-geneva-b. The new CC Wigner: Batch starts using it, availability for other services to be announced.

PES Load Balancing To share the load among several VMs behind the same service is usual to use a load balancing Service. The DNS Load Balancer (lbd) is the recommended one. There are two instances One for Quattor managed machines One for Puppet managed machines If you want to create a new load balancer for your service: Do a DNS Load balancer aliases request using the web form in https://lbweb.web.cern.ch/ The form opens a ticket to CS group that creates the DNS zone and passes the case to PES group to define the alias in the servers. We are working to automate all this and integrate with Openstack (LBaaS). Keys: defines which of the Puppet LB server or the Quattor LB server will be able to update the DNS alias: IT/PES (Puppet managed machine) IT/FIO (Quattor managed machine)

PES Load Balancing and Puppet class xxxx::loadbalancing { class {'lbclient': } lbclient::config { 'xxxx config': nologin => 'on', tmpfull => 'on', sshdaemon => 'on', xsessions => 'on', afs => 'off' } # LB Alias to which I belong lbd::client{ 'xxxx LB alias': lbalias => 'xxxx.cern.ch', } }

PES Load Balancing and Puppet The elements are set on will be used for health monitoring of the load balanced alias. Ex: nologin => on the existence of either files /etc/iss.login or /etc/nologin will be checked so the machine will be removed from the load balanced alias when they exists afs => 'on' the machine will be removed from the load balanced alias when afs is not running More details: https://twiki.cern.ch/twiki/bin/viewauth/ag ileinfrastructure/dnslbdalias

PES How to temporarily remove machines from the DNSLB No state management in Puppet yet (no SMS) For the moment, make sure nologin is on (default) and touch /etc/iss.nologin to remove a machine, delete the file to add it back When the sms replacement (roger) is available, it will handle removal of machines in maintenance from DNSLB

PES Load Balancing Migration In principle you cannot mix Puppet and Quattor machines on an alias. Because we generate the config files very differently in the two environements: Using CDBsql in Quattor Using PuppetDB in Puppet However, as a migration aid, we have implemented the possibility of adding hardcoded Quattor alias members to an alias managed by the Puppet lbd. Using static data in hiera for the LBD service. You have to request the Quattor aliases to be added to it-puppet-hostgroup-ailbd/data/hostgroup/ailbd.yaml For any change, send a request to DNS Load Balancig

PES Moving alias from Quattor to Puppet This requires 3 steps: 1. Ask the same alias to be created in the Puppet environment General Request to DNS Load Balancing in the service-portal Don t forget to specify a list of Quattor machines you want to keep in the alias, if you want to mix both Puppet and Quattor machines When this is done, the DNS alias is still managed by the Quattor LBD and includes only Quattor machines 2. Ask netops to change the Key for the DNS alias to the Puppet one I.e. ticket to Network Operations asking to change the key for DNS alias xxxx from IT/FIO to IT/PES When this is done, the DNS alias becomes managed by the Puppet LBD and includes Puppet (and static) Quattor machines 3. Ask that the alias is removed from Quattor General Request to DNS Load Balancing in the service-portal

PES LBaaS Load Balancig as-a-service We are working to automate all this and integrate with Openstack (LBaaS). No need for tickets anymore, no specific web interface, much easier to create/manage DNS aliases Initially, only DNSLB With LBaaS we are also considering/evaluating other technologies to complement DNSLB: HAProxy for services that require session affinity/stickyness HAProxy is much more expensive, so is not intended to replace DNSLB But options limited by the absence of support for floating IP on the CERN network.

PES Foreman parameters writefirewall (true by defaul) firewall rules are managed by puppet alarmed (false by default) set to true to enable interactions with the Lemon Alarm System enable sysadmins access All the other parameters should be configured through hiera

PES???????????????????????