Download presentation
Presentation is loading. Please wait.
Published byRuby George Modified over 8 years ago
1
Quattor: An administration toolkit for optimizing resources Marco Emilio Poleggi - CERN/INFN-CNAF German Cancio - CERN {Marco.Poleggi,German.Cancio}@cern.ch
2
06/16/2006 Quattor @ LCG-T2 workshop 2 Outline Design concepts Configuration management Configuration deployment Target node administration
3
06/16/2006 Quattor @ LCG-T2 workshop 3 Design concepts: goal Taking care of the configuration, installation and management of target fabric nodes A Configuration Database holds the “desired state” of all fabric elements, arranged in template hierarchies Cluster information: name and type, operating system, architecture, etc. Node setup: hardware (HD, RAM, network…), software packages, system services, etc. On target nodes, autonomous management agents are responsible of Base installation Software installation and management Service (re-)configuration
4
06/16/2006 Quattor @ LCG-T2 workshop 4 Design concepts: features Centralized control of configuration data: Unique configuration storage Automatic notification of changes to the target nodes Autonomous target nodes: Pull-based re-configuration (no remote scripts, no network file systems) Local configuration files Reproducibility: Idempotent, atomic operations Scalability: Through load balancing, proxy caching, scalable protocols: O(10k) nodes! Based on well-known standards: HTTPS, XML, RPM/PKG, SysV init scripts, etc. Portability: Linux and Solaris currently supported
5
06/16/2006 Quattor @ LCG-T2 workshop 5 Outline Design concepts Configuration management Configuration Database (CDB) Configuration deployment Target node administration
6
06/16/2006 Quattor @ LCG-T2 workshop 6 Configuration Management Infrastructure users script Monitoring, auditing, presentation, … CDB panc XML RDBMS SOAP HTTP(S) PAN templates SQL HLD to LLD Target node Configuration agent CCM Cache perl Configuration agent Configuration Agent for service foo Quattor clients
7
06/16/2006 Quattor @ LCG-T2 workshop 7 Configuration Database (CDB)… Keeps complete configuration information in a unique repository Uses namespaces for a hierarchical management – NEW! Uses Access Control Lists (ACLs) to restrict user’s scope – NEW! Remote interaction but centralized control è All changes are tested on the server before commit Data consistency is enforced by a transactional mechanism Concurrent operations are isolated in user sessions è Allows disconnected operations All changes are done in transactions along a user session Conflicts of concurrent modification of the same template are detected Configuration is validated and kept under version control Built-in validation, e.g. types User-defined validation, e.g. range of high-level parameters
8
06/16/2006 Quattor @ LCG-T2 workshop 8 …Configuration Database (CDB) Going back to previous versions of the configuration is possible Full history is kept in CVS Support for different user authentication mechanisms: X.509 – NEW!, Kerberos5 – NEW!, encrypted passwords. Easily extensible! Optional SQL module for feeding data to Oracle and/or MySQL Subversion-based alternative (SCDB) Developed at LAL Decentralized control on user workstations Local data check-out Testing and validation Central Subversion (instead of CVS) repository
9
06/16/2006 Quattor @ LCG-T2 workshop 9 Outline Design concepts Configuration management Configuration deployment Automated Installation Infrastructure (AII) Configuration Cache Manager (CCM) Node Configuration Manager (NCM) Target node administration
10
06/16/2006 Quattor @ LCG-T2 workshop 10 Managing target nodes (clients) Install server dhcp pxe nfs/http Vendor System installer SL3/4, RHES,… System services AFS, LSF… Installed software kernel, system, applications… Target nodes CDB CCM Node Configuration Manager (NCM) Install Manager Node (re)install cache SW package Manager (SPMA) RPM, PKG nfs http ftp Software server Packages (RPM, PKG) SWRep packages Base OS
11
06/16/2006 Quattor @ LCG-T2 workshop 11 Automated Installation Infrastructure (AII) Sits on top of the standard vendor installer, and configures it Which OS version to install Network and partition information Core packages Custom post-installation instructions Two-phase process 1. Base OS installation 2. Quattor client SW installation and reconfiguration Automated generation of control file (KickStart) It also takes care of managing DHCP (and TFTP/PXE) entries Configuration information is taken from CDB or via command line Available for RedHat-based Linuxes, through the Anaconda installer
12
06/16/2006 Quattor @ LCG-T2 workshop 12 Configuration Cache Manager (CCM) Runs on every managed node Provides a local interface to the node’s configuration information (NVA API) Information is downloaded from CDB and cached: Faster access to the configuration Avoids peaks on CDB servers Supports disconnected operations Synchronization with CDB through notification/polling: Configuration Distribution Protocol (CDP) Client authentication trough X.509 – NEW! Client Node CCM CDB Profiles cache CCM fetchCDP listend NVA API CDP HTTP(S)
13
06/16/2006 Quattor @ LCG-T2 workshop 13 Node Configuration Manager (NCM)… NCM is responsible for ensuring that reality on a node reflects the desired state in CDB Service-specific plug-ins, called ncm- components, make the necessary changes: (Re-)generate local configuration files, e.g. /etc/sshd/sshd_config Restart/reload daemons via SysV-style scripts Resolve configuration dependencies, e.g. configure network before sendmail Triggering of ncm-components invoked on boot via cron upon changes in CDB Client Node CCM NVA API cdispd NCD ncm-foo foo’s configuration
14
06/16/2006 Quattor @ LCG-T2 workshop 14 … the NCM framework Is extensible Several ncm-components already available for system and Grid/LCG services è QWG’s suite è ncm-yaim minimal Perl skills required for writing new components ;-) Has Library support for easy development configuration data access file manipulation process management exception handling Features commands for querying the node’s configuration
15
06/16/2006 Quattor @ LCG-T2 workshop 15 Outline Design concepts Configuration management Configuration deployment Target node administration SoftWare Repository (SWRep) Software Package Management (SPM)
16
06/16/2006 Quattor @ LCG-T2 workshop 16 Software Repository (SWRep)… Hierarchical storage structure Platforms: e.g., i386, x86_64 Areas: e.g., /edg/quattor Extensible to accommodate different packagers: RedHat’s RPM, Solaris’ PKG, Debian’s pkg, etc. Multiple package versions support User management via ftp-like commands SOAP-based interface – NEW! - with the same plug-in-based authentication as for CDB (X.509, etc.- NEW! ) ACL-based mechanism to grant/deny modification rights for package “areas” Client Node nfshttpftp Software server SWRep packages SOAP user
17
06/16/2006 Quattor @ LCG-T2 workshop 17 …Software Repository (SWRep) Client access via standard protocols HTTP, AFS/NFS, FTP Based upon off-the-shelf software Apache Web server as file repository rsync for mirroring/redundancy Scalability: Up to ~800 nodes with single-server set-up O(10k) nodes with proxy-caches + load balancing (see CERN-CC reverse proxy network) CERN-CC reverse proxy network è Squid support through an NCM component – NEW!
18
06/16/2006 Quattor @ LCG-T2 workshop 18 Software Package Management (SPM)… The SPM subsystem manages all or a subset of packages on the nodes Full-control mode: wipe out unknown packages, (re-)install missing ones. Typical mode for production nodes Non-intrusive mode: configurable management to allow user-installed packages with priority control. Typical mode for development/desktop nodes SPMA (SPM Agent) is a package manager (does a lot more than upgrading!) Multiple versions of the same package can be installed Upgrade/downgrade control Transactional behavior through rpmt – NEW Python implementation nfshttpftp SWRep Client Node CCM NVA API NCD ncm-spma Package cache rpmt SPMA spma’s configuration
19
06/16/2006 Quattor @ LCG-T2 workshop 19 …Software Package Management (SPM) Portable, thanks to an extensible plug-in-based framework Plug-ins currently available for Linux RPM and Solaris PKG Scalability is assured by Standard protocols Time smearing Package pre-caching Forward/reverse proxy-cache support Support for multiple repositories Configurable remotely via CDB, or locally
20
06/16/2006 Quattor @ LCG-T2 workshop 20 http://quattor.org
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.