Changes

Jump to: navigation, search

stoney storage: OpenLDAP directory data organisation

443 bytes added, 15:54, 1 November 2019
/* Storage */
= Storage =
The following LDIF shows the '''storage''' LDAP entry for the stoney storage service:
<source lang="ldif">dn: ou=storage,ou=services,dc=stoney-cloud,dc=org objectclass: organizationalUnit objectclass: top ou: storagedescription: The sub tree for the Nextcloud based stoney storage service.</source>
== Storage - Configuration ==
The sub tree for the configuration of the storage storage service:
<source lang="ldif">dn: ou=configuration,ou=storage,ou=services,dc=stoney-cloud,dc=org objectclass: top objectclass: organizationalUnit ou: configuration description: The sub tree for the configuration of the storage Nextcloud based stoney storage service.</source>
=== Storage - Configuration - Provisioning daemon ===
The sub tree for the configuration of the '''prov-storage-nextcloud''' daemon:
<source lang="ldif">dn: ou=prov-storage-nextcloud,ou=configuration,ou=storage,ou=services,dc=stoney-cloud,dc=org objectclass: top objectclass: organizationalUnit objectclass: sstServiceConfigurationObjectClass ou: prov-storage-nextcloud description: The sub tree for the configuration of the prov-storage-nextcloud daemon. sstIsActive: TRUE</source>
The following table describes the different attributes:
=== Storage - Configuration - Resellers ===
The sub tree for the reseller specific storage storage service settings:
<source lang="ldif">dn: ou=reseller,ou=configuration,ou=storage,ou=services,dc=stoney-cloud,dc=org objectclass: top objectclass: organizationalUnit ou: reseller description: The sub tree for the reseller specific storage configuration of the Nextcloud based stoney storage service settings.</source>
The sub tree for the specific storage storage service settings for the reseller Reseller Ltd. with the uid 4000000.
<source lang="ldif">dn: uid=4000000,ou=reseller,ou=configuration,ou=storage,ou=services,dc=stoney-cloud,dc=org objectclass: top objectclass: sstReseller objectclass: sstServiceConfigurationObjectClass uid: 4000000 o: Reseller Ltd. description: The sub tree for the specific storage storage service settings for the reseller Reseller Ltd. with the uid 4000000. sstIsActive: TRUE sstIsCompany: TRUE sstIsDefault: TRUE sstBelongsToResellerUID: 4000000</source>
The following table describes the different attributes:
==== Storage - Configuration - Reseller - Account defaults ====
The sub tree for the storage account defaults for the storage storage service for the reseller Reseller Ltd. with the uid 4000000: <source lang="ldif">dn: ou=defaults,uid=4000000,ou=reseller,ou=configuration,ou=storage,ou=services,dc=stoney-cloud,dc=org objectclass: top objectclass: organizationalUnit objectclass: sstStorage ou: defaults description: The sub tree for the default settings of the storage storage service for the reseller Reseller Ltd. with the uid 4000000. loginShell: /bin/sh shadowMax: 99999 shadowWarning: 7 shadowFlag: 134539460 sstStorageWarningDays: 1 sstStorageWarningNumbers: 0 sstStorageWarningOn: FALSE sstNotificationWarningLevel: 85 sstNotificationWarningMedium: mail sstStorageSize: 0 sstIncrementSize: 0 sstStorageIntervalHourly: 0 sstStorageIntervalDaily: 7 sstStorageIntervalWeekly: 4 sstStorageIntervalMonthly: 3 sstStorageIntervalYearly: 0 sstUseSelfcare: FALSE sstUseSSH: TRUE sstIsActive: TRUE</source>
The following table describes the different attributes:
==== Storage - Configuration - Reseller - Notification settings ====
The sub tree stores the notification information for the storage storage service for the reseller Reseller Ltd. with the uid 4000000. This information is used independently of the notification settings of the users. The idea is, that the reseller can receive notifications for a customer and react on the received information (for example, when the quota has been reached):
<source lang="ldif">dn: ou=notifications,uid=4000000,ou=reseller,ou=configuration,ou=storage,ou=services,dc=stoney-cloud,dc=org objectclass: top objectclass: organizationalUnit objectclass: sstNotificationObjectClass ou: notifications description: The sub tree stores the notification information for the storage storage service for the reseller Reseller Ltd. with the uid 4000000. This information is used independently of the notification settings of the users. sstMailTo: Support stepping stone GmbH <support@stepping-stone.ch> sstNotificationWarning: quota sstNotificationWarning: schedule sstNotificationWarning: unsuccessful</source>
The following table describes the different attributes:
==== Storage - Configuration - Reseller - Account Settings ====
The sub tree stores the information about what can be modified in which scope for the storage storage service for the reseller Reseller Ltd. with the uid 4000000: <source lang="ldif">dn: ou=settings,uid=4000000,ou=reseller,ou=configuration,ou=storage,ou=services,dc=stoney-cloud,dc=org objectclass: top objectclass: organizationalUnit objectclass: sstServiceSettingsObjectClass ou: settings description: This sub tree stores the information about what can be modified in which scope. sstVolumeCapacityDefault: 1073741824 sstVolumeCapacityMin: 1073741824 sstVolumeCapacityMax: 536870912000 sstVolumeCapacityStep: 1073741824 sstNotificationWarningMediumChange: FALSE sstNotificationWarningMediumAdd: TRUE sstQuotaChange: FALSE sstSendCredentialsTo: owner sstMailFrom: Support stepping stone GmbH <support@stepping-stone.ch> preferredLanguage: de-CH</source>
Human readable format:
==== Storage - Configuration - Reseller - Templates ====
This sub tree contains the templates for the storage storage service for the reseller Reseller Ltd. with the uid 4000000:
<source lang="ldif">dn: ou=templates,uid=4000000,ou=reseller,ou=configuration,ou=storage,ou=services,dc=stoney-cloud,dc=org objectclass: top objectclass: organizationalUnit ou: templates description: This sub tree contains the templates for the storage storage service for the reseller Reseller Ltd. with the uid 4000000.</source>
===== Storage - Configuration - Reseller - Credentials templates =====
This sub tree contains the credentials templates for the storage storage service: <source lang="ldif">dn: ou=credentials,ou=templates,uid=4000000,ou=reseller,ou=configuration,ou=storage,ou=services,dc=stoney-cloud,dc=org objectclass: top objectclass: organizationalUnit objectclass: sstTemplateSetup ou: credentials description: This leaf contains the credential templates for the storage storage service. sstMailFrom: Support stepping stone GmbH <support@stepping-stone.ch> sstMailTemplate: file:///var/www/selfcare/htdocs/themes/selfcare.tombstone.ch/templates/services/storage/credentials/credentials_mail sstMailTemplateFormatSource: txt sstMailTemplateFormatTarget: txt sstTemplate: file:///var/www/selfcare/htdocs/themes/selfcare.tombstone.ch/templates/services/storage/credentials/credentials_attachment sstTemplateFormatSource: odt sstTemplateFormatTarget: pdf</source>
The following table describes the different attributes:
Warns the user when the storage is running out of space (quota).
This sub tree contains the quota templates for the storage storage service: <source lang="ldif">dn: ou=quota,ou=templates,uid=4000000,ou=reseller,ou=configuration,ou=storage,ou=services,dc=stoney-cloud,dc=org objectclass: top objectclass: organizationalUnit objectclass: sstTemplateSetup ou: quota description: This leaf contains the quota templates for the storage storage service. sstMailFrom: Support stepping stone GmbH <support@stepping-stone.ch> sstMailTemplate: file:///var/www/selfcare/htdocs/themes/selfcare.tombstone.ch/templates/services/storage/quota/quota_mail sstMailTemplateFormatSource: txt sstMailTemplateFormatTarget: txt sstMailTemplateReseller: file:///var/www/selfcare/htdocs/themes/selfcare.tombstone.ch/templates/services/storage/quota/quota_mail_reseller sstMailTemplateFormatSource: txt sstMailTemplateFormatTarget: txt</source>
The following table describes the different attributes:
== Storage - Accounts ==
The sub tree for the accounts of the stoney storage service:
<source lang="ldif">dn: ou=accounts,ou=storage,ou=services,dc=stoney-cloud,dc=org objectclass: top objectclass: organizationalUnit ou: accounts description: The sub tree for the accounts of the stoney storage service.</source>
=== Storage - Account example ===
The following example shows the OpenLDAP directory entry for the storage storage account with the uid number 3730083:
<source lang="ldif">dn: uid=3730083,ou=accounts,ou=storage,ou=services,dc=stoney-cloud,dc=org objectclass: top objectclass: account objectclass: posixAccount objectclass: shadowAccount objectclass: sstStorage objectclass: sstProvisioning objectclass: sstRelationship uid: 3730083 userPassword: {SSHA}E/KLUgeAtApAPQ7mG2GMddCxTE9m9QOS uidNumber: 3730083 gidNumber: 3730083 cn: 3730083.stoney-storage.com gecos: 3730083.stoney-storage.com homeDirectory: /var/storage/3/083/730/3730083 loginShell: /bin/false shadowFlag: 134539460 shadowLastChange: 11108 shadowMax: 99999 shadowWarning: 7 sstIsActive: TRUE sstNotificationWarningOn: TRUE sstNotificationWarningMedium: mail sstInformPersonUID: 1000482 sstQuota: 42949672960 sstSoftwareVersion: 12.0.1 sstFileUploadSize: 5368709120 host: kvm-1185 sstProvisioningMode: add sstProvisioningExecutionDate: 0 sstProvisioningState: 0 sstBelongsToResellerUID: 4000000 sstBelongsToCustomerUID: 4000001 sstBelongsToPersonUID: 4000002</source>
The following table describes the different attributes:
== Storage - Groups ==
The sub tree for the groups of the storage storage service:
<source lang="ldif">dn: ou=groups,ou=storage,ou=services,dc=stoney-cloud,dc=org objectclass: top objectclass: organizationalUnit ou: groups description: The sub tree for the groups of the storage storage service.</source>
=== Storage - Group example ===
<source lang="ldif">dn: cn=3730083,ou=groups,ou=storage,ou=services,dc=stoney-cloud,dc=org objectclass: top objectclass: posixGroup objectclass: sstRelationship cn: 3730083 gidNumber: 3730083 sstIsActive: TRUE sstBelongsToResellerUID: 4000000 sstBelongsToCustomerUID: 4000001 sstBelongsToPersonUID: 4000002</source>
== Storage - SSL-certificates ==
The leaf entries for SSL-certificates of the storage storage service (where uid=(.+) is a regular expression):
<source lang="ldif">dn: uid=(.+),uid=(.+),ou=accounts,ou=storage,ou=services,dc=stoney-cloud,dc=org objectclass: top objectclass: organizationalUnit uid: (.+) sstWebsiteURL: box.stepping-stone.ch host: kvm-1185 sstIsActive: TRUE sstProvisioningMode: add sstProvisioningExecutionDate: 0 sstProvisioningState: 0 sstBelongsToResellerUID: 4000000 sstBelongsToCustomerUID: 4000001 sstBelongsToPersonUID: 4000002</source>
=== Storage - SSL-certificate example ===
<source lang="ldif">dn: uid=3732364,uid=3730083,ou=accounts,ou=storage,ou=services,dc=stoney-cloud,dc=org objectclass: top objectclass: sstStorageCertificate objectclass: sstProvisioning objectclass: sstRelationship uid: 3732364 sstWebsiteURL: box.stepping-stone.ch host: kvm-1185 sstIsActive: TRUE sstProvisioningMode: add sstProvisioningExecutionDate: 0 sstProvisioningState: 0 sstBelongsToResellerUID: 4000000 sstBelongsToCustomerUID: 4000001 sstBelongsToPersonUID: 4000002</source>
== Storage Provisioning ==
3,368
edits