Skip to content

Commit 11cc653

Browse files
committed
Merge remote-tracking branch 'upstream/main' into instance
2 parents a0ce6a8 + 4982f00 commit 11cc653

File tree

13 files changed

+373
-229
lines changed

13 files changed

+373
-229
lines changed

.readthedocs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
version: 2
22

3+
sphinx:
4+
configuration: source/conf.py
5+
36
build:
47
os: "ubuntu-22.04"
58
tools:

source/_global.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@
3333
.. |sysvm64-name-ovm| replace:: systemvm-ovm-4.20.0-x86_64
3434

3535
.. Latest version systemvm template URL
36-
.. |sysvm64-url-xen| replace:: http://download.cloudstack.org/systemvm/4.20/systemvmtemplate-4.20.0.0-x86_64-xen.vhd.bz2
37-
.. |sysvm64-url-kvm| replace:: http://download.cloudstack.org/systemvm/4.20/systemvmtemplate-4.20.0.0-x86_64-kvm.qcow2.bz2
38-
.. |sysvm64-url-vmware| replace:: http://download.cloudstack.org/systemvm/4.20/systemvmtemplate-4.20.0.0-x86_64-vmware.ova
39-
.. |sysvm64-url-hyperv| replace:: http://download.cloudstack.org/systemvm/4.20/systemvmtemplate-4.20.0.0-x86_64-hyperv.vhd.zip
40-
.. |sysvm64-url-ovm| replace:: http://download.cloudstack.org/systemvm/4.20/systemvmtemplate-4.20.0.0-x86_64-ovm.raw.bz2
36+
.. |sysvm64-url-xen| replace:: http://download.cloudstack.org/systemvm/4.20/systemvmtemplate-4.20.0-x86_64-xen.vhd.bz2
37+
.. |sysvm64-url-kvm| replace:: http://download.cloudstack.org/systemvm/4.20/systemvmtemplate-4.20.0-x86_64-kvm.qcow2.bz2
38+
.. |sysvm64-url-vmware| replace:: http://download.cloudstack.org/systemvm/4.20/systemvmtemplate-4.20.0-x86_64-vmware.ova
39+
.. |sysvm64-url-hyperv| replace:: http://download.cloudstack.org/systemvm/4.20/systemvmtemplate-4.20.0-x86_64-hyperv.vhd.zip
40+
.. |sysvm64-url-ovm| replace:: http://download.cloudstack.org/systemvm/4.20/systemvmtemplate-4.20.0-x86_64-ovm.raw.bz2
4141

4242
.. Images
4343
25.6 KB
Loading
3.61 KB
Loading

source/adminguide/accounts.rst

Lines changed: 61 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -481,37 +481,77 @@ to be applied through the API call described above.
481481
482482
483483
In addition to those shown in the example script above, the following
484-
configuration items can be configured (the default values are for
485-
openldap)
484+
configuration items can be configured on a Global or on a per Domain level (the default values are for
485+
OpenLDAP)
486486

487-
- ``ldap.basedn``: Sets the basedn for LDAP. Ex: **OU=APAC,DC=company,DC=com**
488-
489-
- ``ldap.bind.principal``, ``ldap.bind.password``: DN and password for a User
490-
who can list all the Users in the above basedn. Ex:
491-
**CN=Administrator, OU=APAC, DC=company, DC=com**
487+
.. list-table:: LDAP Settings
488+
:header-rows: 1
492489

493-
- ``ldap.user.object``: object type of Users within LDAP. Defaults value is
494-
**user** for AD and **interorgperson** for openldap.
490+
* - Setting
491+
- OpenLDAP
492+
- Active Directory
493+
- Description
494+
* - ``ldap.basedn``
495+
- `Ex: OU=APAC, DC=company, DC=com`
496+
- `Ex: DC=company, DC=com`
497+
- Sets the basedn for LDAP.
498+
* - ``ldap.search.group.principle``
499+
- `Ex: CN=ACSGroup, DC=company, DC=com`
500+
- `Ex: CN=ACSGroup, CN=Users, DC=company, DC=com`
501+
- (optional) if set only Users from this group are listed.
502+
* - ``ldap.bind.principal``
503+
- `Ex: CN=ACSServiceAccount, OU=APAC, DC=company, DC=com`
504+
- `Ex: CN=ACSServiceAccount, CN=Users, DC=company, DC=com`
505+
- Service account that can list all the Users in the above basedn. Avoid using privileged account such as Administrator.
506+
* - ``ldap.bind.password``
507+
- `******************`
508+
- `******************`
509+
- Password for a DN User. Is entered in plain text but gets stored encrypted.
510+
* - ``ldap.user.object``
511+
- `interorgperson`
512+
- `user`
513+
- Object type of Users within LDAP.
514+
* - ``ldap.email.attribute``
515+
- `mail`
516+
- `mail`
517+
- Email attribute within ldap for a User.
518+
* - ``ldap.firstname.attribute``
519+
- `givenname`
520+
- `givenname`
521+
- firstname attribute within ldap for a User.
522+
* - ``ldap.lastname.attribute``
523+
- `sn`
524+
- `sn`
525+
- lastname attribute within ldap for a User.
526+
* - ``ldap.group.object``
527+
- `groupOfUniqueNames`
528+
- `groupOfUniqueNames`
529+
- Object type of groups within LDAP.
530+
* - ``ldap.group.user.uniquemember``
531+
- `uniquemember`
532+
- `uniquemember`
533+
- Attribute for uniquemembers within a group.
534+
535+
.. note:: ``ldap.search.group.principle`` is required when using ``linkaccounttoldap``.
536+
537+
Once configured, on Add Account page, you will see an "Add LDAP Account" button which opens a dialog and the selected Users can be imported.
495538

496-
- ``ldap.email.attribute``: email attribute within ldap for a User. Default
497-
value for AD and openldap is **mail**.
539+
.. figure:: /_static/images/CloudStack-ldap-screen1.png
540+
:align: center
498541

499-
- ``ldap.firstname.attribute``: firstname attribute within ldap for a User.
500-
Default value for AD and openldap is **givenname**.
501542

502-
- ``ldap.lastname.attribute``: lastname attribute within ldap for a User.
503-
Default value for AD and openldap is **sn**.
543+
You could also use api commands:
544+
``listLdapUsers``, to list Users in LDAP that could or would be imported in CloudStack
545+
``ldapCreateAccount``, to manually create a User in a specific Account
546+
``importLdapUsers``, to batch import Users from LDAP
504547

505-
- ``ldap.username.attribute``: username attribute for a User within LDAP.
506-
Default value is **SAMAccountName** for AD and **uid** for openldap.
548+
Once LDAP is enabled, the Users will not be allowed to changed password
549+
directly in CloudStack.
507550

508551

509-
Restricting LDAP Users to a group:
510-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
511552

512-
- ``ldap.search.group.principle``: this is optional and if set only Users from
513-
this group are listed.
514553

554+
.. note:: this is required when using ``linkaccounttoldap``.
515555

516556
LDAP SSL:
517557
~~~~~~~~~
@@ -524,30 +564,6 @@ You will need to know the path to the keystore and the password.
524564
- ``ldap.truststore.password`` : truststore password
525565

526566

527-
LDAP groups:
528-
~~~~~~~~~~~~
529-
530-
- ``ldap.group.object``: object type of groups within LDAP. Default value is
531-
group for AD and **groupOfUniqueNames** for openldap.
532-
533-
- ``ldap.group.user.uniquemember``: attribute for uniquemembers within a group.
534-
Default value is **member** for AD and **uniquemember** for openldap.
535-
536-
Once configured, on Add Account page, you will see an "Add LDAP Account" button
537-
which opens a dialog and the selected Users can be imported.
538-
539-
.. figure:: /_static/images/CloudStack-ldap-screen1.png
540-
:align: center
541-
542-
543-
You could also use api commands:
544-
``listLdapUsers``, to list Users in LDAP that could or would be imported in CloudStack
545-
``ldapCreateAccount``, to manually create a User in a specific Account
546-
``importLdapUsers``, to batch import Users from LDAP
547-
548-
Once LDAP is enabled, the Users will not be allowed to changed password
549-
directly in CloudStack.
550-
551567
.. |button to dedicate a zone, pod,cluster, or host| image:: /_static/images/dedicate-resource-button.png
552568

553569
Using a SAML 2.0 Identity Provider for User Authentication

source/adminguide/backup_and_recovery.rst

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,12 +144,12 @@ icon.
144144

145145
|B&R-createBackup.png|
146146

147-
To setup a recurring backup schedule, navigate to the Instance and click on the 'Backup Schedule'
147+
To setup a recurring backup schedule, navigate to the Instance and click on the 'Configure Backup Schedule'
148148
icon.
149149

150150
|B&R-BackupSchedule.png|
151151

152-
Then set the time and frequency of the backups, click 'Configure' and then 'Close'
152+
Then set the Interval type, timezone, time of taking the backup and maximum numbers of backups to retain.
153153

154154
|B&R-BackupScheduleEntry.png|
155155

@@ -200,6 +200,21 @@ Supported APIs:
200200
- **createInstanceFromBackup**: create a new Instance from a backup.
201201

202202

203+
Configuring resource limits on Backups
204+
--------------------------------------
205+
Administrators can enforce limits on the maximum number of backups that can be taken and
206+
the total backup storage size that can be used at an account, domain and project level.
207+
Administrators can do this by going to the configure limits tab in accounts, domains and projects
208+
similar to when enforcing resource limits on volumes, primary storage usage etc.
209+
210+
Unlike other resources like volumes, backup limits take into account the physical used size
211+
and not the allocated size of the backup. This is because the backup once taken can never
212+
grow into the allocated size. At the time of backup creation, Cloudstack doesn't know the
213+
size of the backup that will be taken, so it uses the physical size of the volumes to be
214+
backed up from Volume Stats to calculate the backup size for checking resource limits.
215+
If Volume Stats are not present, then the virtual size of the volumes is used to calculate
216+
the backup size, although the actual backup size may be less than the size use to do resource limit check.
217+
203218
.. |B&R-assignOffering.png| image:: /_static/images/B&R-assignOffering.png
204219
:alt: Assigning an SLA/Policy to an Instance.
205220
:width: 400 px

source/adminguide/locale/pot/storage.pot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1011,7 +1011,7 @@ msgstr ""
10111011

10121012
#: ../../storage.rst:685
10131013
# bc81c587ad8b4032b27d61690390e258
1014-
msgid "With each snapshot schedule, users can also specify the number of scheduled snapshots to be retained. Older snapshots that exceed the retention limit are automatically deleted. This user-defined limit must be equal to or lower than the global limit set by the CloudStack administrator. See `“Globally Configured Limits” <usage.html#globally-configured-limits>`_. The limit applies only to those snapshots that are taken as part of an automatic recurring snapshot policy. Additional manual snapshots can be created and retained."
1014+
msgid "With each reccurring snapshot schedule, users can also specify the number of recurring snapshots to be retained. Older snapshots that exceed the retention limit are automatically deleted. This user-defined limit must be equal to or lower than the global limit set by the CloudStack administrator. See `“Globally Configured Limits” <usage.html#globally-configured-limits>`_. The limit applies only to those snapshots that are taken as part of an automatic recurring snapshot policy. Additional manual snapshots can be created and retained."
10151015
msgstr ""
10161016

10171017
#: ../../storage.rst:697

0 commit comments

Comments
 (0)