Site Administration Tools: Ansible

Slides:



Advertisements
Similar presentations
About Me CTO, Individual Digital, Inc. (Startup) Author of ext/tidy, PHP 5 Unleashed, Zend Ent. PHP Patterns
Advertisements

12th EELA TUTORIAL - USERS AND SYSTEM ADMINISTRATOR E-infrastructure shared between Europe and Latin America CE + WN installation and configuration.
Instalación y configuración de CE+WN Angelines Alberto CIEMAT Grid Tutorial, Sept
The SAM-Grid Fabric Services Gabriele Garzoglio (for the SAM-Grid team) Computing Division Fermilab.
STIG Compliance and Remediation with Ansible April 2015.
HPDC 2007 / Grid Infrastructure Monitoring System Based on Nagios Grid Infrastructure Monitoring System Based on Nagios E. Imamagic, D. Dobrenic SRCE HPDC.
DORII Joint Research Activities DORII Joint Research Activities Status and Progress 6 th All-Hands-Meeting (AHM) Alexey Cheptsov on.
Phone: Mega AS Consulting Ltd © 2007  CAT – the problem & the solution  Using the CAT - Administrator  Mega.
Configuration Management with Cobbler and Puppet Kashif Mohammad University of Oxford.
ICS Software Development Environment Blaž Zupanc and Leandro Fernandez 31 August 2015.
Fermilab Distributed Monitoring System (NGOP) Progress Report J.Fromm K.Genser T.Levshina M.Mengel V.Podstavkov.
EMI is partially funded by the European Commission under Grant Agreement RI Argus Policies Tutorial Valery Tschopp - SWITCH EGI TF Prague.
UMD TIER-3 EXPERIENCES Malina Kirn October 23, 2008 UMD T3 experiences 1.
9th EELA TUTORIAL - USERS AND SYSTEM ADMINISTRATORS E-infrastructure shared between Europe and Latin America CE + WN installation and configuration.
1 PUPPET AND DSC. INTRODUCTION AND USAGE IN CONTINUOUS DELIVERY PROCESS. VIKTAR VEDMICH PAVEL PESETSKIY AUGUST 1, 2015.
Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Usage of virtualization in gLite certification Andreas Unterkircher.
Ansible with vCloud Air Workshop
4th EELA TUTORIAL - USERS AND SYSTEM ADMINISTRATORS E-infrastructure shared between Europe and Latin America CE + WN installation and configuration.
Glite. Architecture Applications have access both to Higher-level Grid Services and to Foundation Grid Middleware Higher-Level Grid Services are supposed.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE Site Architecture Resource Center Deployment Considerations MIMOS EGEE Tutorial.
EMI INFSO-RI Argus Policies in Action Valery Tschopp (SWITCH) on behalf of the Argus PT.
SAM Sensors & Tests Judit Novak CERN IT/GD SAM Review I. 21. May 2007, CERN.
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks GLite testing status and future Gianni Pucciani.
Third EELA Tutorial for Managers and Users E-infrastructure shared between Europe and Latin America CE + WN installation and configuration.
INFSO-RI Enabling Grids for E-sciencE /10/20054th EGEE Conference - Pisa1 gLite Configuration and Deployment Models JRA1 Integration.
The EDG Testbed The European DataGrid Project Team
TP: Grid site installation BEINGRID site installation.
INFSO-RI Enabling Grids for E-sciencE File Transfer Software and Service SC3 Gavin McCance – JRA1 Data Management Cluster Service.
Co-ordination & Harmonisation of Advanced e-Infrastructures for Research and Education Data Sharing Research Infrastructures Grant Agreement n
Ansible and Ansible Tower 1 A simple IT automation platform November 2015 Leandro Fernandez and Blaž Zupanc.
EMI is partially funded by the European Commission under Grant Agreement RI Argus Policies Tutorial Valery Tschopp (SWITCH) – Argus Product Team.
Co-ordination & Harmonisation of Advanced e-Infrastructures for Research and Education Data Sharing Research Infrastructures Grant Agreement n
INFN/IGI contributions Federated Clouds Task Force F2F meeting November 24, 2011, Amsterdam.
APEL Architecture Alison Packer. Overview Grid jobs accounting tool APEL Client software - installed in sites (CEs, gLite- APEL node) APEL Server accepts.
INFSO-RI Enabling Grids for E-sciencE Worker Node installation & configuration Giuseppe Platania INFN Catania EMBRACE Tutorial Clermont-Ferrand,
Introduction to Ansible
1 Policy Based Systems Management with Puppet Sean Dague
Argus EMI Authorization Integration
Introduction to Ansible
Gri2Win: Porting gLite to run under Windows XP Platform
Renewal of Puppet for Australia-ATLAS
@ Bucharest DevOps Hacker Meetup
Web application hosting with Openshift, and Docker images
Modernize Your Operations
NGI and Site Nagios Monitoring
Web application hosting with Openshift, and Docker images
The New APEL Client Will Rogers, STFC.
DPM Installation Configuration
How to connect your DG to EDGeS? Zoltán Farkas, MTA SZTAKI
Security aspects of the CREAM-CE
Introduction to Ansible
StratusLab Final Periodic Review
StratusLab Final Periodic Review
Global Banning List and Authorization Service
on behalf of the NRC-KI Tier-1 team
Testing for patch certification
Grid Services Ouafa Bentaleb CERIST, Algeria
Machine Learning Workshop
IT Atoumation / Conf. Mgmt...
A Messaging Infrastructure for WLCG
Gri2Win: Porting gLite to run under Windows XP Platform
Mario Reale – IGI / GARR Lyon, Sept 19, 2011
Ansible and Zabbix Rushikesh Prabhune (Software Technical Consultant)
Scaling Experiments.
Introduction to Ansible
Presented By - Avinash Pawar
GBIF CESP Workshop, Madrid 2018 Dave Martin
Installation/Configuration
PyWBEM Python WBEM Client: Overview #2
Presentation transcript:

Site Administration Tools: Ansible Christos Kanellopoulos, GRNET SAGrid All-Hands Meeting, 26 March 2013

Started back on Feb 2012 (The new kid in block) Project History Started back on Feb 2012 (The new kid in block) More than 1300 followers on GitHub 100+ Contributors in just 1 year Diverse user base (large .coms, hosting providers, universities, consultants, government agencies)

Config & Deployment over SSH Features Config & Deployment over SSH Eliminate adoption overhead (eg No requirement for PKI) Self-bootstrapping No extra daemons, No Server, Nothing to Install on Client Machines Multi-Tier Management Very Simple management language

Paramiko: Python SSH (very easy to use) Transport Options Paramiko: Python SSH (very easy to use) SSH: User plain OpenSSH (useful in cases where the authentication on the infrastructure is using Kerberor) Local: Runs directly on the client usually via cron Pull: Same like local mode, but with periodic pull request Fireball: Ephemeral 0mq daemon

Architecture

ansible/inventory [grid-cluster-services:children] [grid-cluster-worker-nodes] wn001.localdomain … wn100.localdomain [grid-cluster-site-bdii] sbdii.localdomain [grid-cluster-cream-servers] cream01.localdomain [grid-cluster-storage-elements] se01.localdomain [grid-cluster-wms-servers] wms01.localdomain Wms02.localdomain [grid-cluster-apel-servers] apel01.localdomain [grid-cluster-site-services:children] grid-cluster-site-bdii grid-cluster-cream-servers grid-cluster-storage-elements grid-cluster-apel-servers … [grid-cluster-core-services:children] grid-cluster-wms-servers grid-cluster-myproxy-servers grid-cluster-logical-file-catalogs grid-cluster-nagios-servers [grid-cluster-services:children] grid-cluster-site-services grid-cluster-core-services [grid-cluster:children] grid-cluster-worker-nodes grid-cluster-services

More than 70 core modules Transport Options http://ansible.cc/docs/modules.html pip selinux git yum apt user service copy template file nagios virt ini_file mysql Postgresql facter ohai subversion ping fireball

Parallel Task Execution $ ansible ‘grid-cluster-wms-servers’ \ –m ping $ ansible ‘grid-cluster-worker-nodes’ –a \ ‘sudo –I /yaim -c –s site-info.def \ -n MPI_WN -n WN -n TORQUE_client` $ ansible all –m user ‘name=joe \ state=absent’

Idempotent Resource Model example Service started: Started if not running stopped: Stop if running restarted: restart regardless Yum absent: remove if installed present: install if not installed *name=version: install a specific version latest: update if not at latest version

Release Engineering / Rolling Updates Set up dev environment Playbooks OS Configuration App deployment Release Engineering / Rolling Updates Set up dev environment

Example playbook - include: tasks/yaim/config_dirs.yml - hosts: nagios-servers user: ansible sudo: True vars_files: - vars/yaim.yml - vars/distros/Centos-5. tasks: - include: tasks/certificates/config.yml - include: tasks/egi-sam/repo.yml - include: tasks/glite/bdii-repo.yml - include: tasks/egi-sam/install.yml - include: tasks/egi-sam/nagios-server.yml - include: tasks/yaim/config_dirs.yml - include: tasks/yaim/vos/ops.yml - include: tasks/yaim/vos/dteam.yml - include: tasks/yaim/siteinfo.yml handlers: - include: handlers/nagios-server.yml - include: handlers/network.yml

Playbooks for Grid Services Current Apel servers Cream CE SAM Nagios Site BDII Storage Element Worker Node Upcoming WMS MyProxy VOMS Top BDII

Further Information http://www.ansible.cc/ https://github.com/auth-scc/grid-services-deployment