Difference between revisions of "stoney backup: OpenLDAP directory data organisation"

From stoney cloud
Jump to: navigation, search
[unchecked revision][unchecked revision]
(Backup Account)
Line 16: Line 16:
  
 
=== Backup Account ===
 
=== Backup Account ===
 +
==== Original ====
 +
<pre>
 +
dn: uid=3723707,ou=people,ou=backup,ou=service,o=stepping-stone,c=ch
 +
objectClass: top
 +
objectClass: account
 +
objectClass: posixAccount
 +
objectClass: shadowAccount
 +
objectClass: customerAdministration
 +
uid: 3723707
 +
cn: michael.eichenberger@stepping-stone.ch
 +
uidNumber: 3723707
 +
shadowLastChange: 11108
 +
shadowMax: 99999
 +
shadowWarning: 7
 +
shadowFlag: 134539460
 +
loginShell: /bin/sh
 +
adminUID: 3723707
 +
memberOfCustomerUID: 3723707
 +
homeDirectory: /var/backup/7/707/723/3723707/chroot/./home/3723707
 +
gidNumber: 3723707
 +
structuralObjectClass: account
 +
entryUUID: b660274c-224a-102c-8ffa-e3d4581c4963
 +
creatorsName: cn=Manager,o=stepping-stone,c=ch
 +
createTimestamp: 20071108133153Z
 +
userPassword:: e2NyeXB0fWFzYXh1by9WcnVURk0=
 +
gecos: Michael Eichenberger
 +
entryCSN: 20130602130116Z#000000#00#000000
 +
modifiersName: cn=Manager,o=stepping-stone,c=ch
 +
modifyTimestamp: 20130602130116Z
 +
</pre>
 +
<pre>
 +
dn: cn=3723707,ou=group,ou=backup,ou=service,o=stepping-stone,c=ch
 +
objectClass: posixGroup
 +
objectClass: top
 +
cn: 3723707
 +
gidNumber: 3723707
 +
structuralObjectClass: posixGroup
 +
entryUUID: b66452a4-224a-102c-8ffb-e3d4581c4963
 +
creatorsName: cn=Manager,o=stepping-stone,c=ch
 +
createTimestamp: 20071108133153Z
 +
entryCSN: 20071108133153Z#000001#00#000000
 +
modifiersName: cn=Manager,o=stepping-stone,c=ch
 +
modifyTimestamp: 20071108133153Z
 +
</pre>
 +
 +
==== Planned ====
 +
Only one entry per account.
 
  dn: uid=3723707,ou=backup,ou=services,dc=stoney-cloud,dc=org
 
  dn: uid=3723707,ou=backup,ou=services,dc=stoney-cloud,dc=org
 
  objectclass: top
 
  objectclass: top
Line 21: Line 68:
 
  objectclass: posixAccount
 
  objectclass: posixAccount
 
  objectclass: shadowAccount
 
  objectclass: shadowAccount
 +
objectclass: sstProvisioning
 +
objectclass: sstRelationship
 
  objectclass: customerAdministration
 
  objectclass: customerAdministration
 
  adminuid: 3723707
 
  adminuid: 3723707
Line 36: Line 85:
 
  uidnumber: 3723707
 
  uidnumber: 3723707
 
  userpassword: {crypt}asaxuo/VruTFM
 
  userpassword: {crypt}asaxuo/VruTFM
 +
 +
sstBackupIntervalHourly:
 +
sstBackupIntervalDaily:
 +
sstBackupIntervalWeekly:
 +
sstBackupIntervalMonthly:
 +
sstBackupIntervalYearly:
 +
sstBackupLastSuccessfulBackup:
 +
sstBackupWarningMissedDays:
 +
sstBackupWarningMissedNumbers:
 +
sstBackupWarningOn:
 +
sstNotificationWarningMedium:
 +
sstQuota:
 +
mobile:
 +
sstBackupWarningMail:
 +
 +
sstProvisioningMode: add
 +
sstProvisioningExecutionDate: 0
 +
sstProvisioningState: 0
 +
sstBelongsToResellerUID: 4000000
 +
sstBelongsToCustomerUID: 4000001
 +
sstBelongsToPersonUID: 4000002
 +
  
 
=== Backup Notification ===
 
=== Backup Notification ===
Line 71: Line 142:
 
=== Provisioning ===
 
=== Provisioning ===
 
<pre>
 
<pre>
objectclass: sstProvisioning
+
 
sstProvisioningMode: add
+
sstProvisioningExecutionDate: 0
+
sstProvisioningState: 0
+
sstBelongsToResellerUID: 4000000
+
sstBelongsToCustomerUID: 4000001
+
sstBelongsToPersonUID: 4000002
+
 
</pre>
 
</pre>
  
  
 
[[Category:OpenLDAP directory]][[Category:Services]]
 
[[Category:OpenLDAP directory]][[Category:Services]]

Revision as of 08:49, 26 July 2013

Abstract

This document describes the OpenLDAP directory data organisation for the stoney cloud backup service.

Introduction

All Service-, User- and Billing-Data ist stored in the OpenLDAP directory. The 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, in this case we looking at the backup service.

Backup

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

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

Backup Account

Original

dn: uid=3723707,ou=people,ou=backup,ou=service,o=stepping-stone,c=ch
objectClass: top
objectClass: account
objectClass: posixAccount
objectClass: shadowAccount
objectClass: customerAdministration
uid: 3723707
cn: michael.eichenberger@stepping-stone.ch
uidNumber: 3723707
shadowLastChange: 11108
shadowMax: 99999
shadowWarning: 7
shadowFlag: 134539460
loginShell: /bin/sh
adminUID: 3723707
memberOfCustomerUID: 3723707
homeDirectory: /var/backup/7/707/723/3723707/chroot/./home/3723707
gidNumber: 3723707
structuralObjectClass: account
entryUUID: b660274c-224a-102c-8ffa-e3d4581c4963
creatorsName: cn=Manager,o=stepping-stone,c=ch
createTimestamp: 20071108133153Z
userPassword:: e2NyeXB0fWFzYXh1by9WcnVURk0=
gecos: Michael Eichenberger
entryCSN: 20130602130116Z#000000#00#000000
modifiersName: cn=Manager,o=stepping-stone,c=ch
modifyTimestamp: 20130602130116Z
dn: cn=3723707,ou=group,ou=backup,ou=service,o=stepping-stone,c=ch
objectClass: posixGroup
objectClass: top
cn: 3723707
gidNumber: 3723707
structuralObjectClass: posixGroup
entryUUID: b66452a4-224a-102c-8ffb-e3d4581c4963
creatorsName: cn=Manager,o=stepping-stone,c=ch
createTimestamp: 20071108133153Z
entryCSN: 20071108133153Z#000001#00#000000
modifiersName: cn=Manager,o=stepping-stone,c=ch
modifyTimestamp: 20071108133153Z

Planned

Only one entry per account.

dn: uid=3723707,ou=backup,ou=services,dc=stoney-cloud,dc=org
objectclass: top
objectclass: account
objectclass: posixAccount
objectclass: shadowAccount
objectclass: sstProvisioning
objectclass: sstRelationship
objectclass: customerAdministration
adminuid: 3723707
cn: michael.eichenberger@stepping-stone.ch
gecos: Michael Eichenberger
gidnumber: 3723707
homedirectory: /var/backup/7/707/723/3723707/chroot/./home/3723707
loginshell: /bin/sh
memberofcustomeruid: 3723707
shadowflag: 134539460
shadowlastchange: 11108
shadowmax: 99999
shadowwarning: 7
uid: 3723707
uidnumber: 3723707
userpassword: {crypt}asaxuo/VruTFM
sstBackupIntervalHourly: 
sstBackupIntervalDaily: 
sstBackupIntervalWeekly: 
sstBackupIntervalMonthly: 
sstBackupIntervalYearly: 
sstBackupLastSuccessfulBackup: 
sstBackupWarningMissedDays:
sstBackupWarningMissedNumbers:
sstBackupWarningOn:
sstNotificationWarningMedium:
sstQuota:
mobile:
sstBackupWarningMail:
sstProvisioningMode: add
sstProvisioningExecutionDate: 0
sstProvisioningState: 0
sstBelongsToResellerUID: 4000000
sstBelongsToCustomerUID: 4000001
sstBelongsToPersonUID: 4000002


Backup Notification

Work in progress ... TBD

objectclass ( sstObjectClass:39
    NAME 'sstBackup'
    SUP top AUXILIARY
    MUST ( sstBackupIntervalHourly $ sstBackupIntervalDaily $ sstBackupIntervalWeekly $
           sstBackupIntervalMonthly $ sstBackupIntervalYearly $
           sstBackupLastSuccessfulBackup $ sstBackupWarningMissedDays $ sstBackupWarningMissedNumbers $
           sstBackupWarningOn $ sstNotificationWarningMedium $ sstQuota )
    MAY ( mobile $ sstBackupWarningMail ) )

The following table describes the different attributes:

Attribute
Existence
Mandatory
Description
attribure
MUST
x
TBD.

Legend:

  • x: Mandatory in all cases.


Provisioning