From Fedora Project Wiki
(Link to cura-networking review)
No edit summary
Line 11: Line 11:
* Targeted release: [[Releases/18 | Fedora 18 ]]  
* Targeted release: [[Releases/18 | Fedora 18 ]]  
* Last updated: 2012-08-02
* Last updated: 2012-08-02
* Percentage of completion: 50 % (see the Detailed description)
* Percentage of completion: 90 % (see the Detailed description)


== Detailed Description ==
== Detailed Description ==
Line 28: Line 28:
** Enumerate block devices (100 %)
** Enumerate block devices (100 %)
** Create/delete LVM volumes, resize volumes, add/remove devices (100 %)
** Create/delete LVM volumes, resize volumes, add/remove devices (100 %)
** Create LVM snapshots (0 %)
** Build/destroy RAID (0,1,5) (100 %)
** Build/destroy RAID (0,1,5) (100 %)
** Create/remove a partition of ext3/ext4 type (100 %)
** Create/remove a partition of ext3/ext4 type (100 %)
** Create/remove a partition of XFS type (0 %)
** Mount and unmout a partition (? %)
** Mount and unmout a partition (? %)
** Event based monitoring of storage devices (emit indication event upon RAID degradation, SCSI error, etc.) (0 %)
** Event based monitoring of storage devices (emit indication event upon RAID degradation, SCSI error, etc.) (0 %)
Line 39: Line 37:
** Start/stop/restart a service  (100 %)
** Start/stop/restart a service  (100 %)
** Enable/disable a service (100 %)
** Enable/disable a service (100 %)
** Event based monitoring of service status (emit indication event upon service status change) (0 %)
* Power management (Package: cura-providers; [https://bugzilla.redhat.com/show_bug.cgi?id=845245 review])
* Power management (Package: cura-providers; [https://bugzilla.redhat.com/show_bug.cgi?id=845245 review])
** Halt, reboot, suspend or hibernate a system (100 %)
** Halt, reboot, suspend or hibernate a system (100 %)
Line 48: Line 45:
** List the installed packages (10 %)
** List the installed packages (10 %)
** Install/update/remove a particular package (10 %)
** Install/update/remove a particular package (10 %)
** Perform a package integrity check (0 %)
* General system monitoring/management (Package: sblim-cmpi-base, sblim-cmpi-fsvol)
* General system monitoring/management (Package: sblim-cmpi-base, sblim-cmpi-fsvol)
** Show used/available memory (physical, swap,...) (100 %)
** Show used/available memory (physical, swap,...) (100 %)
Line 60: Line 56:
* CIM Browser (Package:  yawn)
* CIM Browser (Package:  yawn)
** Port YAWN from mod_python to mod_wsgi to enable a basic WEB interface for the object model. Allows navigation of the CIM object model, introspection of CIM providers, getting and setting all attributes, and invoking methods. (100 %)
** Port YAWN from mod_python to mod_wsgi to enable a basic WEB interface for the object model. Allows navigation of the CIM object model, introspection of CIM providers, getting and setting all attributes, and invoking methods. (100 %)
* User interface (Package: pywbem)
* User interface (Package: pywbem, ruby not packaged)
** Review the pywbem package to provide also a scripting interface (100 %)
** Review the pywbem package to provide also a scripting interface (100 %)
* User interface through ruby (not packaged yet)
** Ruby bindings: new features being pushed to upstream (75%)
** new features being pushed to upstream (75%)
* Configuration with puppet recipes (not packaged yet)
** make a generator of puppet providers from CIM schema (25 %)


== Benefit to Fedora ==
== Benefit to Fedora ==

Revision as of 07:08, 6 August 2012

CIM Management

Summary

WBEM and CIM are two of the DMTF standards for enterprise system management. Fedora already contains implementation of the standard but the existing capabilities are focused more on system monitoring. The standards allow to add methods for system management as well. The goal is to implement new CIM providers and extend the existing ones to enable the basic system management capabilities. The implementation should adhere to the standards to allow for easier interoperability with other CIM/WBEM based applications. The feature is targeting system administrators and experienced users and should lay base ground for future development of enterprise-level management infrastructure for Fedora.

Owner

Current status

  • Targeted release: Fedora 18
  • Last updated: 2012-08-02
  • Percentage of completion: 90 % (see the Detailed description)

Detailed Description

Ensure the current CIMOM servers (sblim-sfcb, tog-pegasus) work well withing the current Fedora infrastructure: proper systemd integration, sane default configuration, virtual provides to satisfy provider dependencies.

Add or extend the existing CIM providers to be able to manage the following areas and perform the listed tasks:

  • Networking management (Package: cura-networking; review)
    • Based on the SMASH network object model utilizing NetworkManager interface
    • Bring up / take down a network interface (0 %)
    • Set IPv4 address and netmask (100 %)
    • Set IPv6 address (100 %)
    • Configure basic routing: set default gateway (100 %)
    • Configure resolver (25 %)
  • Storage management (Package: cura-storage; review)
    • Based on the SMI-S storage object model
    • Enumerate block devices (100 %)
    • Create/delete LVM volumes, resize volumes, add/remove devices (100 %)
    • Build/destroy RAID (0,1,5) (100 %)
    • Create/remove a partition of ext3/ext4 type (100 %)
    • Mount and unmout a partition (? %)
    • Event based monitoring of storage devices (emit indication event upon RAID degradation, SCSI error, etc.) (0 %)
    • Report status – drives and configurations, utilization, health, RAID & LVM volumes (0 %)
  • Service management (Package: cura-providers; review)
    • Enumerate system services and their status (using the systemd D-Bus interface) (100 %)
    • Start/stop/restart a service (100 %)
    • Enable/disable a service (100 %)
  • Power management (Package: cura-providers; review)
    • Halt, reboot, suspend or hibernate a system (100 %)
    • Report and set power states – Pstate and Cstate (0 %)
  • User management (Not packaged yet)
    • Create/update/remove user account (10 %)
  • Software management (Not packaged yet)
    • List the installed packages (10 %)
    • Install/update/remove a particular package (10 %)
  • General system monitoring/management (Package: sblim-cmpi-base, sblim-cmpi-fsvol)
    • Show used/available memory (physical, swap,...) (100 %)
    • Show used/available storage space (100 %)
    • Show power status (100 %)
    • Show the system load (100 %)
    • Show list of running processes (100 %)
      • Send a signal to a particular process (0 %)
    • Show I/O load (network, disk) (100 %)
    • Show list of logged in users (100 %)
  • CIM Browser (Package: yawn)
    • Port YAWN from mod_python to mod_wsgi to enable a basic WEB interface for the object model. Allows navigation of the CIM object model, introspection of CIM providers, getting and setting all attributes, and invoking methods. (100 %)
  • User interface (Package: pywbem, ruby not packaged)
    • Review the pywbem package to provide also a scripting interface (100 %)
    • Ruby bindings: new features being pushed to upstream (75%)

Benefit to Fedora

The Fedora users would be able to manage their systems (even networks of systems) using a single consistent central interface. The usage of DMTF standards allow for an integration with other vendors system management tools and the existing WBEM/CIM scripting languages bindings.

Scope

The new feature does not require any changes in the Fedora system outside the WBEM/CIM management tools.

How To Test

  • Install one of the CIMOMs: sblim-sfcb or tog-pegasus
  • Install the sblim-cmpi-* providers and any other providers developed and packaged as part of the project
    • Ensure the providers are correctly registered with the chosen CIMOM
  • Launch the CIMOM
  • Perform the listed tasks using YAWN or any other WBEM client from a remote machine
    • Ensure all the actions work as expected
  • Each sub-feature should be accompanied with a testing python script: it should work flawlesly

User Experience

Easier management of larger networks using industry standard technologies.

Dependencies

None.

Contingency Plan

Not needed.

Documentation

  • Provided as part of the project: sblim-cmpi-* packages and any of the eventual new packages contain the documentation.
  • DMTF Standards

Release Notes

  • Improved WBEM and CIM tools allow for easier remote management of the Fedora system

Comments and Discussion