Changes

stoney conductor: OpenLDAP directory data organisation

3,912 bytes added, 12:38, 2 January 2021
/* Virtual Machine: Operating System */
dhcpstatements: ddns-updates off
dhcpstatements: ping-check false
sstNetfilterInterfaceAlias: pub
sstSourceBridge: vmbr0
sstBelongsToResellerUID: 4000000
sstBelongsToCustomerUID: 4000001
| '''DHCP-Range''' (hier wird die jeweils die erste und letzte IP-Adresse vom geünschten IP-Range angegeben). Es können prinzipiell mehrer DHCP-Ranges angegeben werden. Über die Verteilung der DHCP-Leases kann jedoch kein Einfluss genommen werden.
| nein (wird nicht verwendent, da alle IPs fix vergeben werden)
 
|-
| sstNetfilterInterfaceAlias: pub
| <center>MAY</center>
| <center>x</center>
| The netfilter interface alias, for example: pub or pub2.
| no
 
|-
| sstSourceBridge: vmbr0
| <center>MAY</center>
| <center>x</center>
| The name of the bridge (for example vmbr0).
| no
|}
ou: virtual machines
description: This sub tree contains all virtual machines and virtual machine templates of this stoney cloud installation.
 
===== Virtual Machine Templates =====
The virtual machine templates and the virtual machines are practically the same. The only difference lies in the the type. The following example describes a '''virtual machine template''':
<source lang="ldif">
sstVirtualMachineType: template
sstVirtualMachineSubType: VM-Template
</source>
 
The following example describes a '''virtual machine''':
<source lang="ldif">
sstVirtualMachineType: persistent
sstVirtualMachineSubType: server
</source>
===== Virtual Machine =====
The following LDIF entry shows the virtual machine kvm-0001.stoney-cloud.org. In the stoney cloud version 1.2.0 the entries <code>sstNetworkHostname: kvm-0001</code> and <code>sstNetworkDomainName: stoney-cloud.org</code> have been added. These will be used by the vm-manager in the stoney cloud version 1.4.0 to automatically set <code>sstDisplayName: kvm-0001.stoney-cloud.org</code> properly. The user will be allowed to set <code>sstNetworkHostname</code> and <code>sstNetworkDomainName</code>. The content of <code>sstDisplayName</code> will be pre-filled with the content of <code>sstNetworkHostname</code> and <code>sstNetworkDomainName</code> and will be able to be modified through the user. A typical edit could be <code>sstDisplayName: kvm-0001.stoney-cloud.org (Mail Server)</code>
<source lang="ldif">dn: sstVirtualMachine=b543f88f-dffe-426f-86d3-c7ff85c16d2a,ou=virtual machines,ou=virtualization,ou=services,dc=stoney-cloud,dc=org objectClass: top objectClass: sstVirtualizationVirtualMachine objectClass: sstRelationship objectClass: sstSpice objectClass: labeledURIObject sstVirtualMachine: b543f88f-dffe-426f-86d3-c7ff85c16d2a description: Linux Fedora 20 (64-bit) sstVirtualMachinePool: d9c3cc0c-9ae7-40e5-8fb7-ba5297e835aa sstClockOffset: utc sstMemory: 2147483648 sstNode: vm-node-01.stoney-cloud.org sstOnCrash: destroy sstOnPowerOff: destroy sstOnReboot: restart sstOSArchitecture: x86_64 sstOSBootDevice: hd sstOSMachine: pc-i440fx-1.5 sstOSType: hvm sstStatus: running sstVirtualMachineMode: first installation sstType: kvm sstVCPU: 1 sstFeature: acpi sstFeature: pae sstVirtualMachineType: persistent sstVirtualMachineSubType: Server sstSpicePort: 5900 sstSpicePassword: Z1oQn2HrF9Lb labeledURI: ldap:///sstVirtualMachine=default,ou=default,ou=default,ou=default,ou=linux,ou=virtual machine profiles,ou=virtualization,ou=services,dc=stoney-cloud,dc=org sstNetworkDomainName: stoney-cloud.org sstNetworkHostname: kvm-0001 sstDisplayName: kvm-0001.stoney-cloud.org sstBelongsToResellerUID: 4000000 sstBelongsToCustomerUID: 4000001uid: 1234567</source>
The following table describes the different attributes:
| style="border-top:none;border-bottom:0.002cm solid #000000;border-left:0.002cm solid #000000;border-right:none;padding:0.097cm;"| <center></center>
| style="border-top:none;border-bottom:0.002cm solid #000000;border-left:0.002cm solid #000000;border-right:0.002cm solid #000000;padding:0.097cm;"| Stores the service UID the leaf belongs to.
 
|-
| style="border-top:none;border-bottom:0.002cm solid #000000;border-left:0.002cm solid #000000;border-right:none;padding:0.097cm;"| uid
| style="border-top:none;border-bottom:0.002cm solid #000000;border-left:0.002cm solid #000000;border-right:none;padding:0.097cm;"| <center>MUST</center>
| style="border-top:none;border-bottom:0.002cm solid #000000;border-left:0.002cm solid #000000;border-right:none;padding:0.097cm;"| <center>x</center>
| style="border-top:none;border-bottom:0.002cm solid #000000;border-left:0.002cm solid #000000;border-right:none;padding:0.097cm;"| <center></center>
| style="border-top:none;border-bottom:0.002cm solid #000000;border-left:0.002cm solid #000000;border-right:none;padding:0.097cm;"| <center></center>
| style="border-top:none;border-bottom:0.002cm solid #000000;border-left:0.002cm solid #000000;border-right:0.002cm solid #000000;padding:0.097cm;"| A unique integer value with 7 digits or more. For example: 1234567. The <code>uid</uid> is used for billing purposes.
|}
====== Virtual Machine: Operating System ======
<source lang="ldif">dn: ou=operating system,sstVirtualMachine=b543f88f4b99c860-dffecf5a-426f435a-86d3a87d-c7ff85c16d2ae9fdc2bf0ba5,ou=virtual machines,ou=virtualization,ou=services,dc=stoney-cloud,dc=orgobjectClass: topobjectclass: organizationalUnitobjectClass: sstOperatingSystemObjectClassou: operating systemsstOperatingSystem: WindowssstOperatingSystemType: Server 2012sstOperatingSystemVersion: Standard</source> The following table describes the different attributes: {| style="border-spacing:0;"| style="border-top:0.002cm solid #000000;border-bottom:0.002cm solid #000000;border-left:0.002cm solid #000000;border-right:none;padding:0.097cm;"| '''Attribute'''| style="border-top:0.002cm solid #000000;border-bottom:0.002cm solid #000000;border-left:0.002cm solid #000000;border-right:none;padding:0.097cm;"| '''Objectclass'''| style="border-top:0.002cm solid #000000;border-bottom:0.002cm solid #000000;border-left:0.002cm solid #000000;border-right:none;padding:0.097cm;"| <center>'''Existence'''</center>| style="border-top:0.002cm solid #000000;border-bottom:0.002cm solid #000000;border-left:0.002cm solid #000000;border-right:none;padding:0.097cm;"| <center>'''Mandatory'''</center>| style="border:0.002cm solid #000000;padding:0.097cm;"| '''Description''' |-| style="border-top:none;border-bottom:0.002cm solid #000000;border-left:0.002cm solid #000000;border-right:none;padding:0.097cm;"| sstOperatingSystem| style="border-top:none;border-bottom:0.002cm solid #000000;border-left:0.002cm solid #000000;border-right:none;padding:0.097cm;"| <center>sstOperatingSystemObjectClass</center>| style="border-top:none;border-bottom:0.002cm solid #000000;border-left:0.002cm solid #000000;border-right:none;padding:0.097cm;"| <center>MUST</center>| style="border-top:none;border-bottom:0.002cm solid #000000;border-left:0.002cm solid #000000;border-right:none;padding:0.097cm;"| <center>x</center>| style="border-top:none;border-bottom:0.002cm solid #000000;border-left:0.002cm solid #000000;border-right:0.002cm solid #000000;padding:0.097cm;"| A manually executed maintenance window for Windows systems is significantly more time-consuming than for Linux. Therefore we need to know the operating system. Possible values are * <code>sstOperatingSystem: Linux</code>* <code>sstOperatingSystem: Windows</code>. This attribute is only relevant, if <code>sstServiceAutomated</code> is set to <code>FALSE</code> (under <code>ou=units,ou=maintenance,ou=services,dc=stoney-cloud,dc=org</code>). See the [[stoney_maintenance:_OpenLDAP_directory_data_organisation#Maintenance_Units |Maintenance units]] documentation. |} Legend:* '''x''': Mandatory in all cases.
====== Virtual Machine: People ======
====== Virtual Machine: Software Stack ======
 
 
<source lang="ldif">
dn: ou=software stack,sstVirtualMachine=4b99c860-cf5a-435a-a87d-e9fdc2bf0ba5,ou=virtual machines,ou=virtualization,ou=services,dc=stoney-cloud,dc=org
objectclassobjectClass: topobjectclassobjectClass: sstGroupObjectClassobjectclass: sstRelationshipobjectclassobjectClass: labeledURIObject
ou: software stack
sstDisplayName: SSH (stepping stone GmbH)NonesstBusinessLogicRoleName: sshnonedescription: SSH No Software Stack is to be managed through the configuration for remote access by stepping stone GmbH employeesmanagement.labeledURI: ldap:///uid=30000523000064,ou=software stack,ou=configuration,o=stepping-stone,c=ch
sstEnvironmentName: 3000060
sstBelongsToCustomerUID: 3723426
sstBelongsToResellerUID: 2000000
</source>
The attribute <code>sstEnvironmentName: 3000060</code> points to the entry <code>uid=3000060,ou=environments,ou=software stack,ou=configuration,dc=stoney-cloud,dc=org</code> and means, we are in the '''Production Environment. One of the following entries <code>sstConfigurationManagementEnvironmentName: Apache 2.4</code> or <code>sstConfigurationManagementEnvironmentName: 3000060</code> will be added. If we have a numerical value, the name is taken from <code>ou=environments,ou=software stack,ou=configuration,dc=stoney-cloud,dc=org</code>'''.
[[Category:stoney conductor]][[Category:OpenLDAP directory]]
SLB, editor, reviewer
3,368
edits