Zenoss Developer's Guide

Total Page:16

File Type:pdf, Size:1020Kb

Zenoss Developer's Guide Zenoss Developer’s Guide Version 2.3.3 February 19, 2009 Zenoss Developer’s Guide Version 2.3.3 Copyright © 2009 Zenoss, Inc. All rights reserved. The Zenoss logo is a registered trademark of Zenoss, Inc. Zenoss and Open Enterprise Management are trademarks of Zenoss, Inc. in the U.S. and other countries. Zenoss can be contacted at: Zenoss, Inc. 275 West St. Suite 204 Annapolis MD 21401 U.S.A. Flash is a registered trademark of Adobe Systems Incorporated. Java is a registered trademark of Sun Microsystems, Inc. Linux is a registered trademark of Linus Torvalds. SNMP Informant is a trademark of Garth K. Williams (Informant Systems, Inc.). Tomcat is a trademark of the Apache Software Foundation. Windows is a registered trademark of Microsoft Corporation in the United States and other countries. All other companies and products mentioned are trademarks and property of their respective owners. Table of Contents 1. Introduction .............................................................................................................................. 1 1.1. Overview ...................................................................................................................... 1 1.1.1. Model ................................................................................................................ 1 1.1.2. Availability ......................................................................................................... 1 1.1.3. Events ................................................................................................................ 1 1.1.4. Performance ........................................................................................................ 1 1.2. Detailed Architecture ....................................................................................................... 2 1.2.1. User Layer .......................................................................................................... 2 1.2.2. Data Layer .......................................................................................................... 2 1.2.3. Collection and Control Service Layer ....................................................................... 2 2. Getting Started ......................................................................................................................... 4 2.1. Working with the Source Code ......................................................................................... 4 2.1.1. Getting the Source Code ........................................................................................ 4 2.1.2. Keeping up-to-date with your checked-out code ......................................................... 5 2.1.3. Getting Patches .................................................................................................... 5 2.1.4. Style Guidelines ................................................................................................... 5 2.1.5. Generating Diffs for new Fixes ............................................................................... 7 2.1.6. Submitting a Fix .................................................................................................. 7 2.2. Development Toolchain Requirements ................................................................................ 8 2.2.1. Appliance ........................................................................................................... 8 2.3. Programming Techniques ............................................................................................... 10 2.3.1. Calling Methods Using REST ............................................................................... 10 2.3.2. Miscellaneous Notes ............................................................................................ 14 2.4. zendmd: Command-line Access to the Device Management Database (DMD) ........................... 14 2.5. Programming Documentation .......................................................................................... 16 2.5.1. Python .............................................................................................................. 16 2.5.2. Zenoss API ........................................................................................................ 16 2.5.3. Other Resources ................................................................................................. 16 2.5.4. Contributing to the Documentation ......................................................................... 17 3. ZenPacks ............................................................................................................................... 18 3.1. Overview ..................................................................................................................... 18 3.2. Creating a ZenPack ....................................................................................................... 18 3.2.1. ZenPack Names .................................................................................................. 18 3.2.2. Specifying Dependencies ...................................................................................... 19 3.2.3. Locating ZenPack Source Outside of Zenoss ............................................................ 19 3.2.4. Community ZenPack Subversion Access ................................................................. 19 3.3. ZenPack Structure and Contents ....................................................................................... 19 3.4. Developing the ZenPack ................................................................................................. 22 3.4.1. Base ZenPack Class ............................................................................................ 22 3.4.2. Storing Objects in the ZODB ................................................................................ 23 3.4.3. Providing DataSource classes ................................................................................ 23 3.4.4. Performance Template Checklist ............................................................................ 24 3.4.5. Providing daemons .............................................................................................. 26 3.4.6. setuptools and the zenpacksupport ......................................................................... 26 3.5. Building and Distributing ZenPacks .................................................................................. 26 3.5.1. Migrating between versions .................................................................................. 27 3.5.2. Converting older ZenPacks to ZenPack eggs ............................................................ 27 3.6. Where to Get More Information ....................................................................................... 27 4. Zenoss Datastores .................................................................................................................... 28 4.1. Zope Object Database (ZODB) ........................................................................................ 29 4.2. MySQL Event database .................................................................................................. 30 iii Zenoss Developer’s Guide 4.2.1. Connecting to the Database .................................................................................. 30 4.2.2. MySQL in 60 Seconds ........................................................................................ 31 4.3. Python Pickle Files ........................................................................................................ 32 4.4. Round-Robin Database ................................................................................................... 32 5. Events ................................................................................................................................... 35 5.1. Understanding an Event Entry ......................................................................................... 35 5.1.1. Event Design ..................................................................................................... 35 5.2. Sending an Event .......................................................................................................... 35 5.3. Adding an Event Class ................................................................................................... 36 5.3.1. Add to ZenEventClasses ...................................................................................... 37 5.3.2. Add the class to the import XML .......................................................................... 37 5.3.3. Write a migrate script .......................................................................................... 37 6. zProperty Management ............................................................................................................. 39 6.1. Adding a zProperty ....................................................................................................... 39 6.1.1. Adding a zProperty to an Event ............................................................................. 39 6.1.2. Adding a zProperty to a Device ............................................................................. 39 6.2. Migrating the zProperty Code .......................................................................................... 39 7. Device Management ................................................................................................................
Recommended publications
  • Hacker Public Radio
    hpr0001 :: Introduction to HPR hpr0002 :: Customization the Lost Reason hpr0003 :: Lost Haycon Audio Aired on 2007-12-31 and hosted by StankDawg Aired on 2008-01-01 and hosted by deepgeek Aired on 2008-01-02 and hosted by Morgellon StankDawg and Enigma talk about what HPR is and how someone can contribute deepgeek talks about Customization being the lost reason in switching from Morgellon and others traipse around in the woods geocaching at midnight windows to linux Customization docdroppers article hpr0004 :: Firefox Profiles hpr0005 :: Database 101 Part 1 hpr0006 :: Part 15 Broadcasting Aired on 2008-01-03 and hosted by Peter Aired on 2008-01-06 and hosted by StankDawg as part of the Database 101 series. Aired on 2008-01-08 and hosted by dosman Peter explains how to move firefox profiles from machine to machine 1st part of the Database 101 series with Stankdawg dosman and zach from the packetsniffers talk about Part 15 Broadcasting Part 15 broadcasting resources SSTRAN AMT3000 part 15 transmitter hpr0007 :: Orwell Rolled over in his grave hpr0009 :: This old Hack 4 hpr0008 :: Asus EePC Aired on 2008-01-09 and hosted by deepgeek Aired on 2008-01-10 and hosted by fawkesfyre as part of the This Old Hack series. Aired on 2008-01-10 and hosted by Mubix deepgeek reviews a film Part 4 of the series this old hack Mubix and Redanthrax discuss the EEpc hpr0010 :: The Linux Boot Process Part 1 hpr0011 :: dd_rhelp hpr0012 :: Xen Aired on 2008-01-13 and hosted by Dann as part of the The Linux Boot Process series.
    [Show full text]
  • Happy Birthday Linux
    25 Jahre Linux! Am Anfang war der Quellcode Entstehungsgeschichte und Werdegang von Linux Entwicklung und Diversifizierung der Distributionen Der Wert von Linux oder: „Wat nix kost, dat is och nix.“ Andreas Klein ORR 2016 1 Am Anfang war der Quellcode (70er) ● 1969, Ken Thompson u. Dennis Ritchie erstellen die erste Version von Unix in Assembler. ● Von 1969-1971 entwickeln sie gemeinsam die Programmiersprache B. ● Ab 1971 erweiterte in erster Linie Dennis Ritchie B, um weitere Elemente und nannte sie Anfangs NB (new B). ● 1973 waren die Erweiterungen soweit gediehen, das er die stark verbesserte Sprache C nannte (Brian W. Kernighan hat ebenfalls maßgeblich dazu beigetragen). //Unix=25 PCs ● Bis 1974 war das gesamte Betriebssystem UNIX vollständig in C implementiert und wurde mit einem C-Compiler kostenfrei an verschiedene Universitäten verteilt. ● 1978 wurden bereits über 600 Computer mit dem UNIX-Betriebssystemen betrieben. ● Das aufblühende Zeitalter der Computerisierung der 70er Jahre war geprägt vom regen und freien Austausch von Programmen und dessen zugrunde liegenden Ideen. Sinnvoller Weise tauschte man diese als Quellcode untereinander aus. ● 1979 wurde von AT&T die letzte UNIX-Version 7, mit freiem Quellcode veröffentlicht. Andreas Klein ORR 2016 2 Am Anfang war der Quellcode (80er) ● 1980 – 1983 AT&T sowie zahlreiche andere Unternehmen beginnen mit der Kommerzialisierung von UNIX, durch Koppelung an stark beschränkenden Lizenzen und Geheimhaltung des zugrunde liegenden Quelltextes. ● Richard Stallman kündigt am 27. September 1983 in den Newsgroups net.unix-wizards und net.usoft das GNU-Projekt an. ● Am 5. Januar 1984 begann Stallman offiziell mit der Arbeit am GNU-Projekt, nachdem er seine Stelle am MIT gekündigt hatte.
    [Show full text]
  • Linux Networking Cookbook™ by Carla Schroder
    Linux Networking Cookbook ™ Carla Schroder Beijing • Cambridge • Farnham • Köln • Paris • Sebastopol • Taipei • Tokyo Linux Networking Cookbook™ by Carla Schroder Copyright © 2008 O’Reilly Media, Inc. All rights reserved. Printed in the United States of America. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (safari.oreilly.com). For more information, contact our corporate/institutional sales department: (800) 998-9938 or [email protected]. Editor: Mike Loukides Indexer: John Bickelhaupt Production Editor: Sumita Mukherji Cover Designer: Karen Montgomery Copyeditor: Derek Di Matteo Interior Designer: David Futato Proofreader: Sumita Mukherji Illustrator: Jessamyn Read Printing History: November 2007: First Edition. Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly Media, Inc. The Cookbook series designations, Linux Networking Cookbook, the image of a female blacksmith, and related trade dress are trademarks of O’Reilly Media, Inc. Java™ is a trademark of Sun Microsystems, Inc. .NET is a registered trademark of Microsoft Corporation. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O’Reilly Media, Inc. was aware of a trademark claim, the designations have been printed in caps or initial caps. While every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.
    [Show full text]
  • Building Linux Software with Conary
    Building Linux Software with Conary Michael K. Johnson rpath, Inc. [email protected] Abstract of Conary terminology and design, you may want to read the paper Repository-Based Sys- tem Management Using Conary, in Proceed- This paper describes best practices in Conary ings of the Linux Symposium, Volume Two, packaging: writing recipes that take advan- 2004, kept updated at http://www.rpath. tage of Conary features; avoiding redundancy com/technology/techoverview/, which with recipe inheritance and design; implement- introduces Conary’s design and vocabulary in ing release management using branches, shad- greater detail. Terms called out in boldface in ows, labels, redirects, and flavors; and design- this paper without an explicit definition are de- ing and writing dynamic tag handlers. It de- fined in that overview. scribes how Conary policy prevents common packaging errors. It provides examples from our rpath Linux distribution, illustrating the de- sign principles of the Conary build process. It 1 Conary Source Management then describes the steps needed to create a new distribution based on the rpath Linux distribu- Unlike legacy package management tools, tion, using the distributed branch and shadow Conary has integral management for source features of Conary. code and binaries, and the binaries are directly associated with the source code from which Conary is a distributed software management they have been built. system for Linux distributions. Based on exten- sive experience developing Linux distributions Conary stores source files in source compo- and package management tools, it replaces tra- nents, and then uses a recipe (described later) ditional package management solutions (such to build binary components that it can in- as RPM and dpkg) with one designed to enable stall on a system.
    [Show full text]
  • Cernvm – a Virtual Software Appliance for LHC Applications
    17th International Conference on Computing in High Energy and Nuclear Physics (CHEP09) IOP Publishing Journal of Physics: Conference Series 219 (2010) 042003 doi:10.1088/1742-6596/219/4/042003 CernVM – a virtual software appliance for LHC applications P Buncic1, C Aguado Sanchez1, J Blomer1, L Franco1, A Harutyunian2,3, P Mato1, Y Yao3 1 CERN, 1211 Geneve 23, Geneva, Switzerland 2Armenian e-Science Foundation, Yerevan, Armenia 3Yerevan Physics Institute after A.I. Alikhanyan, Yerevan, Armenia 4 Lawrence Berkeley National Laboratory, 1 Cyclotron Road, CA 94720 Abstract. CernVM is a Virtual Software Appliance capable of running physics applications from the LHC experiments at CERN. It aims to provide a complete and portable environment for developing and running LHC data analysis on any end-user computer (laptop, desktop) as well as on the Grid, independently of Operating System platforms (Linux, Windows, MacOS). The experiment application software and its specific dependencies are built independently from CernVM and delivered to the appliance just in time by means of a CernVM File System (CVMFS) specifically designed for efficient software distribution. The procedures for building, installing and validating software releases remains under the control and responsibility of each user community. We provide a mechanism to publish pre-built and configured experiment software releases to a central distribution point from where it finds its way to the running CernVM instances via the hierarchy of proxy servers or content delivery networks. In this paper, we present current state of CernVM project and compare performance of CVMFS to performance of traditional network file system like AFS and discuss possible scenarios that could further improve its performance and scalability.
    [Show full text]
  • Zenoss Zeveloper's Guide Version
    Zenoss, Inc. www.zenoss.com Copyright © 2008 Zenoss, Inc., 275 West St. Suite 204, Annapolis, MD 21401, U.S.A. All rights reserved. The Zenoss logo is a registered trademark of Zenoss, Inc. Zenoss and Open Enterprise Management are trademarks of Zenoss, Inc. in the U.S. and other countries. Flash is a registered trademark of Adobe Systems Incorporated. Java is a registered trademark of Sun Microsystems, Inc. Linux is a registered trademark of Linus Torvalds. SNMP Informant is a trademark of Garth K. Williams (Informant Systems, Inc.). Tomcat is a trademark of the Apache Software Foundation. Windows is a registered trademark of Microsoft Corporation in the United States and other countries. All other companies and products mentioned are trademarks and property of their respective owners. Zenoss Developer’s Guide for Version 2.3 Zenoss Developer’s Guide for Version 2.3 Table of Contents 1. Introduction ............................................................................................................................... 1 1.1. Overview ........................................................................................................................ 1 1.1.1. Model ................................................................................................................. 1 1.1.2. Availability .......................................................................................................... 1 1.1.3. Events ................................................................................................................
    [Show full text]
  • The Future of Continuous Integration in GNOME
    The Future of Continuous Integration in GNOME Colin Walters Germán Poo-Caamaño Daniel M. German Red Hat, MA, USA University of Victoria, Canada University of Victoria, Canada GNOME Project GNOME Project [email protected] [email protected] [email protected] Abstract—In Free and Open Source Software (FOSS) projects In [1], Michlmayr et al. revealed three different types of based on Linux systems, the users usually install the software release management that occur in FOSS projects: development from distributions. The distributions act as intermediaries be- releases, major end-user stable releases, and minor releases tween software developers and users. Distributors collect the source code of the different projects and package them, ready (that update existing end-user releases). The major focus of to be installed by the users. Packages seems to work well for release management in FOSS managing and distributing stable major and minor releases. It has been in the last two, that in Linux systems is mainly presents, however, various release management challenges for done by distributors, leaving the first one up to the developers, developers of projects with multiples dependencies not always available in the stable version of their systems. In projects like who are considered experts. GNOME, composed of dozens of individual components, devel- Distributions, such as Ubuntu and SUSE, use packages to opers must build newer versions of the libraries and applications deliver software to their users. Unfortunately, the package that their applications depend upon before working in their own model has restrictions for development. Packages are not projects. This process can be cumbersome for developers who are not programmers, such as user interaction designers or technical created by distributions at the same pace as a software is writers.
    [Show full text]
  • Ellsworth American
    — : Tl ells 1 February 1 1 11 * “vw«.•%*"*™*-■; worth, Maine, Thursday, i:j, iw t AT ELLMWoKTIi POST OKKICK. * ni-whki 7 .loumisimrnts. LOCAL AFFAIRS. tin- h ! the lynx was treed, lie whs Highest of all in Leavening Tower.— Latest U. S. Gov't Report brought to the ground by a bullet from Mr. (ides* rifle. lie was a fellow si:\\ \l»\I Uil'l Ml Ms IIIIS \VK» K. large •• •• men stir 11 r about three f♦«■ ♦ from his nos* **:al<uu i,t Ni i^ara I it fn*» to t b» t of his short tui.. CE® 1 I- l''ter~ N ■■! ,.f force Insure’ •I. T u-hnian >licrifl"s -nlr-. He- Is-! of the series of icon I \' > noth K-t h.irle-t .1 Morrill. stercopt DaVaE V <t> Ur. lit Mcri anM!.- |- A M Ins Co. Icctuns m the Congregational chureh. -1 l K re M a rI nc I n § Co "bull nave so •• proven will be Kairs i,o>> as i,mh»‘si. C. C. BURRILL & !’ I»uf*• *i n iif for,•••losure. pojiular, SON. I:.»11• I» I; « u-lmiaii "Mukeol r.ayside." given s (Thursday; evening. The Solicited. Bkooki.in, Mi subject of tiie lecture will be of Corrp«pondrnrf IM. I .SWOItTI I Ml' “Home,” <ii'oi... I atoii Not; of f,,r« ■ -ure. (vvl! which many line views of Home of the 1.1 \\ M »N ABSOLUTELY PURE present day will be shown. Ten selected The Mm iiiiuf Sun. IAIUIAI. 1.1ST <‘t views famous will be shown 0 Mim i.i iMan s statuary before tin a short KLLSWORTII FALLS.
    [Show full text]
  • Deliverable Due Date : 1.11.2009 Start Date of Project : 01.01.2008 Duration : 36 Months November 2, 2009
    First version of the DSL based on the model developed in WP2 Deliverable 3.2 Nature : Deliverable Due date : 1.11.2009 Start date of project : 01.01.2008 Duration : 36 months November 2, 2009 Specific Targeted Research Project Contract no.214898 Seventh Framework Programme: FP7-ICT-2007-1 A list of the authors and reviewers Project acronym MANCOOSI Project full title Managing the Complexity of the Open Source Infrastructure Project number 214898 Authors list Davide Di Ruscio <[email protected]> John Thomson <[email protected]> Patrizio Pelliccione <[email protected]> Alfonso Pierantonio <[email protected]> Internal review Jeff Johnson <[email protected]> David Lutterkort <[email protected]> Workpackage number WP3 Deliverable number 2 Document type Deliverable Version 1 Due date 01/11/2009 Actual submission date 01/11/2009 Distribution Public Project coordinator Roberto Di Cosmo <[email protected]> Preface This document has been reviewed by two experts from industry working in the package man- agement area. They were chosen specifically for their experience and knowledge of topics that are addressed in this document. By doing this, we can be relatively assured that the proposed mechanisms and the DSL have covered sufficient grounds for the first version. Another reason for this selection is that they have detailed knowledge of implementing DSLs in practical sys- tems and as such allow us to be confident that the approach can be adopted by industry and not be solely a research topic. We would like to acknowledge their help and feedback which was invaluable not only for input into this document but also for enhancing our approach and how we will implement it in the scope of the rest of the Mancoosi project.
    [Show full text]
  • Antes De Empezar
    Antes de empezar... ● Láminas (y quizás video) en bureado.com ● Aplicaciones->Accesorios->Terminal – sudo aptitude update – sudo aptitude install gems – gems-client 10.2.205.219 ● Aplicaciones->Accesorios->Terminal – sudo aptitude install dpkg-dev devscripts Taller de empaquetamiento de software bajo el sistema APT José Miguel Parrella Romero (bureado) Debian Developer Problemática ● La mayoría del software libre crece de forma orgánica, generando un problema de acceso ● ca 1993 se empezó a atender el problema de la distribución de software libre al público ● En 1998, Debian libera APT: Advanced Packaging Tool como propuesta – Facilitar la distribución de software libre – Hacer elegante y escalable la distribución – Hoy en día, el sistema de paquetes más usado Otros sistemas de paquetes ● Derivados de APT ● Sistemas agnósticos (ipkg/opkg, Fink) postmodernos ● RPM y frontends – PackageKit contemporáneos – Conary usados en Red Hat, – Smart SuSe y derivados – ZeroInstall ● Paquetes basados – CoApp en fuentes como – Ponga su nombre Arch (pacman) y aquí... también Slackware (swaret) Objetivos funcionales ● Ubicar un pedazo de software en cualquier parte del mundo, en demanda – If you can't apt-get it, it isn't useful or doesn't exist ● Encargarse de conseguir y preparar todas las dependencias para el software ● Instalar el software para su uso inmediato ● Preconfigurar el software, opcionalmente de acuerdo a instrucciones del usuario ● Gestionar actualizaciones y remociones Componentes de APT Paquete Repo fuente ● Paquetes binarios físicos (.deb) ● Build Paquetes fuentes daemon físicos (.dsc, .tar.gz) Listas de paquetes ● Listas de paquetes (Release y Packages[.*]) ● Repositorios (HTTP, Developers FTP, SSH...) Paquetes binarios Escenarios (objetivos) ● Reconstruir un paquete de software existente con nuevas opciones y/o cambios ● Crear un paquete de software para una nueva aplicación ● Discusión sobre otros escenarios (si el tiempo lo permite) – Aplicaciones Web – Módulos de lenguajes (Perl, Python...) ● Buenos ciudadanos en Debian (y Ubuntu) Buscando las fuentes..
    [Show full text]
  • Zenoss Installation for Core Version
    Zenoss, Inc. www.zenoss.com Zenoss Installation for Core 2.4 Copyright © 2009 Zenoss, Inc., 275 West St. Suite 204, Annapolis, MD 21401, U.S.A. All rights reserved. This work is licensed under a Creative Commons Attribution Share Alike 3.0 License. To view a copy of this license, visit http:// creativecommons.org/licenses/by-sa/3.0/; or send a letter to Creative Commons, 171 2nd Street, Suite 300, San Francisco, California, 94105, USA. The Zenoss logo is a registered trademark of Zenoss, Inc. Zenoss and Open Enterprise Management are trademarks of Zenoss, Inc. in the U.S. and other countries. Flash is a registered trademark of Adobe Systems Incorporated. Java is a registered trademark of Sun Microsystems, Inc. Linux is a registered trademark of Linus Torvalds. Oracle and the Oracle logo are registered trademarks of the Oracle Corporation. SNMP Informant is a trademark of Garth K. Williams (Informant Systems, Inc.). Sybase is a registered trademark of Sybase, Inc. Tomcat is a trademark of the Apache Software Foundation. Windows is a registered trademark of Microsoft Corporation in the United States and other countries. All other companies and products mentioned are trademarks and property of their respective owners. 1. Installing Zenoss for RHEL 5 or CentOS 5 .......................................................................................... 1 1.1. Prerequisite Tasks ................................................................................................................... 1 1.2. Install the Zenoss Software .....................................................................................................
    [Show full text]
  • Vysok´E Uˇcení Technick´E V Brnˇe N´Avrh Nov´E Rpm
    VYSOKEU´ CENˇ ´I TECHNICKE´ V BRNEˇ BRNO UNIVERSITY OF TECHNOLOGY FAKULTA INFORMACNˇ ´ICH TECHNOLOGI´I USTAV´ INTELIGENTN´ICH SYSTEM´ U˚ FACULTY OF INFORMATION TECHNOLOGY DEPARTMENT OF INTELLIGENT SYSTEMS NAVRH´ NOVE´ RPM DATABAZE´ DESIGN OF NEW RPM DATABASE DIPLOMOVA´ PRACE´ MASTER’S THESIS AUTOR PRACE´ Bc. JAN ZELENY´ AUTHOR VEDOUC´I PRACE´ Dr. Ing. PETR PERINGER SUPERVISOR BRNO 2010 Abstrakt Syst´emy spr´avybal´ıˇck˚utvoˇr´ı velmi efektivn´ı a pohodln´eˇreˇsen´ı pro instalaci, ´udrˇzbua maz´an´ı software v poˇc´ıtaˇci. Jejich z´akladn´ı koncept spoˇc´ıv´av uchov´av´an´ı informac´ı o instalovan´emsoftwaru na jednom m´ıstˇea jejich spr´avˇedodan´ymin´astroji. RPM datab´aze je pr´avˇet´ımm´ıstem,kde jsou informace uchovan´e.Souˇcasn´eˇreˇsen´ıje zastaral´ea potˇrebuje vylepˇsit. Tato pr´aceanalyzuje souˇcasn´eˇreˇsen´ı,jeho moˇzn´ealternativy a na z´akladˇet´eto anal´yzynavrhuje nov´ydesign datab´aze. Souˇc´ast´ıje tak´euk´azka implementace rozhran´ı nad touto datab´az´ıa porovn´an´ıse star´ymˇreˇsen´ım. Kl´ıˇcov´aslova RPM, rpmdm, bal´ıˇckovac´ısyst´em,datab´aze,MySQL, SQL Abstract Package management systems are very effective and comfortable solution of installing, main- taining and erasing software from computer. Their basic idea is that all information about installed software is kept in one place and is managed by common utilities. RPM database is such place, where information are being kept. Currently used solution is obsolete and needs some improvements. This thesis analyzes current solution, possible alternative op- tions and based on this a new database design is proposed.
    [Show full text]