OpenLDAP Development Back-config –Configuration Backend Howard ODD/Wien July 18, 2003.

Slides:



Advertisements
Similar presentations
Threads, SMP, and Microkernels
Advertisements

October Dyalog File Server Version 2.0 Morten Kromberg CTO, Dyalog LTD Dyalog’13.
Technical Aspects of Peering Session 4. Overview Peering checklist/requirements Peering step by step Peering arrangements and options Exercises.
Slide 1Explain LiteONE -2 OPAC Network in Europe Explain Lite Research and Development activity in the ONE-2 Project - OPAC Network in Europe 2.
“THREADS CANNOT BE IMPLEMENTED AS A LIBRARY” HANS-J. BOEHM, HP LABS Presented by Seema Saijpaul CS-510.
CMPT 300: Operating Systems Review THIS REIVEW SHOULD NOT BE USED AS PREDICTORS OF THE ACTUAL QUESTIONS APPEARING ON THE FINAL EXAM.
Chapter 7.1: Deadlocks.
Chapter 13 Embedded Systems
Extensibility, Safety and Performance in the SPIN Operating System Dave Camarillo.
1 New Architectures Need New Languages A triumph of optimism over experience! Ian Watson 3 rd July 2009.
PRASHANTHI NARAYAN NETTEM.
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Emery Berger University of Massachusetts, Amherst Operating Systems CMPSCI 377 Lecture.
Configuration Management Supplement 67 Robert Horn, Agfa Healthcare.
Chapter 51 Threads Chapter 5. 2 Process Characteristics  Concept of Process has two facets.  A Process is: A Unit of resource ownership:  a virtual.
Virtualization Technology Prof D M Dhamdhere CSE Department IIT Bombay Moving towards Virtualization… Department of Computer Science and Engineering, IIT.
SSIS Over DTS Sagayaraj Putti (139460). 5 September What is DTS?  Data Transformation Services (DTS)  DTS is a set of objects and utilities that.
Experience with Processes and Monitors in Mesa
Profiling Metadata Specifications David Massart, EUN Budapest, Hungary – Nov. 2, 2009.
Distributed File Systems
Data File Access API : Under the Hood Simon Horwith CTO Etrilogy Ltd.
Eric Keller, Evan Green Princeton University PRESTO /22/08 Virtualizing the Data Plane Through Source Code Merging.
By Lecturer / Aisha Dawood 1.  You can control the number of dispatcher processes in the instance. Unlike the number of shared servers, the number of.
Cosc 4740 Chapter 6, Part 3 Process Synchronization.
SB Implementing ScriptBasic Multi- Thread How to embed ScriptBasic multi-thread?
Extending OpenLDAP Luke Howard PADL Software Pty Ltd Copyright © 2003 PADL Software Pty Ltd. All rights reserved. PADL is a registered trademark of PADL.
Abierman-nanog-30may03 1 XML Router Configs BOF Operator Involvement Andy Bierman
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 7: Deadlocks.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
The LDAP Schema Registry and its requirements on Slapd development OpenLDAP Developers' Day San Francisco 21 March 2003 Peter Gietz, DAASI International.
Advantage of File-oriented system: it provides useful historical information about how data are managed earlier. File-oriented systems create many problems.
Operating Systems Part III: Process Management (Deadlocks)
Chapter 38 Persistence Framework with Patterns 1CS6359 Fall 2011 John Cole.
® IBM Software Group © 2007 IBM Corporation Best Practices for Session Management
Writing Systems Software in a Functional Language An Experience Report Iavor Diatchki, Thomas Hallgren, Mark Jones, Rebekah Leslie, Andrew Tolmach.
Samba – Good Just Keeps Getting Better The new and not so new features available in Samba, and how they benefit your organization. Copyright 2002 © Dustin.
Integrating EPICS and LabVIEW on Windows using DCOM Freddie Akeroyd ISIS Computing Group.
CE Operating Systems Lecture 13 Linux/Unix interprocess communication.
Scaling Heterogeneous Databases and Design of DISCO Anthony Tomasic Louiqa Raschid Patrick Valduriez Presented by: Nazia Khatir Texas A&M University.
Chapter 4 – Threads (Pgs 153 – 174). Threads  A "Basic Unit of CPU Utilization"  A technique that assists in performing parallel computation by setting.
Lundi 7 décembre 2015 Lavoisier. Motivations data sources provided by many partners –heterogeneity of used technologies objectives –reduce complexity.
Developing Applications with the CSI Framework A General Guide.
COMMON INTERFACE FOR EMBEDDED SOFTWARE CONFIGURATION by Yatiraj Bhumkar Advisor Dr. Chung-E Wang Department of Computer Science CALIFORNIA STATE UNIVERSITY,
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Using GStat 2.0 for Information Validation.
Full and Para Virtualization
Paul Graham Software Architect, EPCC PCP – The P robes C oordination P rotocol A secure, robust framework.
CS533 – Spring Jeanie M. Schwenk Experiences and Processes and Monitors with Mesa What is Mesa? “Mesa is a strongly typed, block structured programming.
U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science Computer Systems Principles Synchronization Emery Berger and Mark Corner University.
LDAP (Lightweight Directory Access Protocol)
Migrating ASP to ASP.NET Matt Gibbs ASP.NET Development Manager.
Marco Cattaneo, 26-Jan LHCb OO course  Format of course Current format Can we improve?  Some messages from the course Very selective What I still.
STAR Scheduling status Gabriele Carcassi 9 September 2002.
1 Storing and Maintaining Semistructured Data Efficiently in an Object- Relational Database Mo Yuanying and Ling Tok Wang.
Module 5: Managing Content. Overview Publishing Content Executing Reports Creating Cached Instances Creating Snapshots and Report History Creating Subscriptions.
3 Copyright © 2006, Oracle. All rights reserved. Designing and Developing for Performance.
3rd July 2007Open Repository, Open Source 1 Where we were, What we've learnt, And what it means to you.
LDAP Overview Kevin Moseley Server Team Manager Walgreen Co.
Samba4. What is Samba4? ● A replacement for Active Directory ● The centre of a windows domain: – Windows domain logon server – Windows-compatible LDAP.
Revelations of a 9iAS Implementation Michael A. Kirchenbauer P.Eng. Infrastructure Architect Sierra Systems Consultants Inc. Session id:
EGI NA3 – Web site training services University of Edinburgh (0.25 funded FTE)
October 2014 HYBRIS ARCHITECTURE & TECHNOLOGY 01 OVERVIEW.
Jean-Philippe Baud, IT-GD, CERN November 2007
Chapter 7: Modifiability
Improving Performance
LOCO Extract – Transform - Load
Simple Concurrent Object-Oriented Programming
Chapter 7: Deadlocks Source & Copyright: Operating System Concepts, Silberschatz, Galvin and Gagne.
Implementation and configuration of LDAP
Concurrency: Mutual Exclusion and Process Synchronization
Server Management and Automation Windows Server 2012 R2
Presentation transcript:

OpenLDAP Development Back-config –Configuration Backend Howard ODD/Wien July 18, 2003

Objectives Support runtime reconfiguration without requiring server restarts –Allow ACL reconfiguration –Allow schema modification Support remote administration of slapd –Enable performing all configuration via LDAP

Rationale The objectives are not mutually assured: –Could e.g. use SIGHUP to force reread of config file, thus allowing runtime changes, but not allowing remote administration –Could provide LDAP interface to rewrite config file, without any mechanism for slapd to reload the changed configuration Fulfilling both objectives is desirable Either one may require significant effort

Runtime Reconfiguration Preliminary support embodied in Gentle HUP processing: –Aimed at allowing a new slapd instance to be started with minimal impact on existing sessions –The new slapd instance can use the same BDB database as the old, or can use a separate database

Gentle HUP, cont’d Implementation is awkward at best –Requires descriptor-passing to avoid session interruption –Database sharing requires back-bdb and shared mutex support Some benefits from starting a new instance –New executables can be installed with minimal service impact –Can temporarily recover from memory leaks

Runtime Constraints Config processing is currently single- threaded –Config file is processed before threads are spawned –Config data is not mutex protected –Adding mutexes may harm overall performance

Ensuring Config Consistency Use a single rdwr lock for access to global variables –Highly invasive code change, requires locking in many places –Doesn’t ensure consistency within the life of an operation Disable the thread pool –Wait for all executing operations to complete –Prevent new operations from being dispatched until config changes are processed

Remote Administration Varying degrees of “LDAP enablement” possible –Expose slapd.conf as generic text attributes, with no semantic awareness –Map coarse set of objects onto slapd.conf, minimal semantic awareness –Replace slapd.conf with LDIF/attribute-based format Each approach has tradeoffs

Slapd.conf as generic text Implementation is fairly trivial –Models already exist (e.g. back-passwd) for using flat text files as backends. –Has no impact on current config processing code Major disadvantages –Very difficult to support runtime reconfig –Ignores “include” directives –Makes it too easy to shoot yourself in the foot

Slapd.conf with partial semantics Targets specific functionality with explicit attributes, leaves remainder as generic text –Handle include, access, and schema keywords –Optionally handle database keywords as separate objects Drawbacks –Loses config file comments –Still requires some changes to existing config parsing code

Slapd.conf as LDIF Provides the most client-friendly support –Defines schema for all existing config functionality Requires extensive changes in slapd –Config parsing must be completely rewritten for slapd and all backends Needs to be table-driven Needs OID allocation methodology, etc. –Requires support for per-backend schema to avoid config syntax clashes

Which is best? Using generic text precludes changes taking effect immediately Supporting a small set of keywords provides some essential features now, others later/never Migrating to LDIF requires major overhauling of slapd

Conclusions The pure generic text solution is not useful enough The full LDIF solution is taking too much effort to complete Will probably fall back to partial support Open to suggestions and assistance!