OpenLDAP directory data organisation

From stoney cloud
Revision as of 12:26, 13 October 2013 by Michael (Talk | contribs)


Jump to: navigation, search

Abstract

This document describes the OpenLDAP directory data organisation for the stoney cloud. This directory is the database for all the services. Each service has its own module, which normally consists of:

  • An OpenLDAP directory service entry, which contains all the relevant data like main configuration, default settings and the service entries.
  • The web interface section, which hooks itself into the stoney core main framework.
  • Finally, a provisioning daemon, which is responsible for adding, modifying and deleting the actual service on the different back-end systems.

Introduction

All Service-, User- and Billing-Data are stored in the OpenLDAP directory. The OpenLDAP directory runs in Multi-Master Mirror-Mode for high availability.

Data Organisation

The following chapters explain the data organisation of the stoney cloud OpenLDAP directory.

Base

The following LDIF shows the base entry of the whole OpenLDAP directory tree for the stoney cloud:

dn: dc=stoney-cloud,dc=org
objectclass: top
objectclass: dcObject
objectclass: organization
dc: stoney-cloud
o: stoney-cloud

The following LDIF shows the root of the whole OpenLDAP directory tree for the stoney cloud modified for the company stepping stone GmbH in Switzerland:

dn: o=stepping-stone,c=ch
objectclass: top
objectclass: organization
o: stepping-stone

The entry c=ch stands for the country code of Switzerland while o=stepping-stone stands for the the organisation stepping-stone. The entry stepping-stone is in the process of being reserved at the Federal Office of Communications. With the reservation of the name, all the directory entries will be unique over the whole world.

The base entry can be chosen during the installation process of the stoney cloud. If you decide to use the default entry, you'll end up with dc=stoney-cloud,dc=org.

Core

stoney core is the main framework responsible for shared functionality (also called self-care):

  • User management, rights and roles.
  • A consistent look and feel between modules.
  • Internationalization.

Visit stoney core: OpenLDAP directory data organisation for the details.

Services

The sub tree ou=services,dc=stoney-cloud,dc=org contains all the stoney cloud services like stoney conductor (virtualization) or stoney safe (on-line backup).

dn: ou=services,dc=stone-cloud,dc=org
objectclass: organizationalUnit
objectclass: top
ou: services

The actual services (modules) are described in the following chapters.

stoney conductor (virtualization)

stoney conductor

  • Runs unmodified Windows and Linux servers as well as desktops on commodity hardware.
  • Persistent and non-persistent virtual machines.
  • Backups configurable via web interface.

stoney vm (subset of virtualization)

stoney vm

stoney safe (on-line backup)

stoney safe

  • A on-line backup service for desktops, servers and virtual machines.

stoney monitor (monitoring)

stoney monitor

stoney orchestra (configuration management)

stoney orchestra

  • Configuration management (with Puppet).