Skip to content

Commit f7c80d8

Browse files
authored
Merge branch 'main' into main
2 parents 437ce1d + a6bd527 commit f7c80d8

14 files changed

+494
-122
lines changed
35.5 KB
Loading
47.3 KB
Loading
58.8 KB
Loading
33.7 KB
Loading
59.1 KB
Loading
47.2 KB
Loading

source/adminguide/accounts.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,7 @@ OpenLDAP)
532532
- `uniquemember`
533533
- Attribute for uniquemembers within a group.
534534

535+
.. note:: ``ldap.search.group.principle`` is required when using ``linkaccounttoldap``.
535536

536537
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.
537538

@@ -550,6 +551,7 @@ directly in CloudStack.
550551

551552

552553

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

554556
LDAP SSL:
555557
~~~~~~~~~

source/adminguide/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ Managing VM and Volume Allocation
140140

141141
host_and_storage_tags
142142
arch_types
143+
vm_volume_allocators
143144

144145
Managing Networks and Traffic
145146
-----------------------------

source/adminguide/management.rst

Lines changed: 132 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,48 @@ Emails will be sent to administrators under the following circumstances:
231231

232232
- The Host cluster runs low on CPU, memory, or storage resources
233233

234+
The following global settings are available to configure Alerts via SMTP.
235+
236+
.. list-table:: Management Alerts Global Settings
237+
:header-rows: 1
238+
239+
* - Global setting
240+
- Default
241+
- Description
242+
* - ``alert.smtp.host``
243+
- `null`
244+
- SMTP hostname used for sending out email alerts.
245+
* - ``alert.smtp.port``
246+
- `465`
247+
- Port the SMTP server is listening on.
248+
* - ``alert.smtp.useAuth``
249+
- `false`
250+
- If true, use SMTP authentication when sending emails.
251+
* - ``alert.smtp.username``
252+
- `null`
253+
- Username for SMTP authentication (applies only if alert.smtp.useAuth is true).
254+
* - ``alert.smtp.password``
255+
- `null`
256+
- Password for SMTP authentication (applies only if alert.smtp.useAuth is true).
257+
* - ``alert.smtp.useStartTLS``
258+
- `false`
259+
- If set to true and if we enable security via alert.smtp.useAuth, this will enable StartTLS to secure the connection.
260+
* - ``(alert.smtp.enabledSecurityProtocols``
261+
- `null`
262+
- White-space separated security protocols; ex: "TLSv1 TLSv1.1". Supported protocols: SSLv2Hello, SSLv3, TLSv1, TLSv1.1 and TLSv1.2
263+
* - ``alert.smtp.connectiontimeout``
264+
- `30000`
265+
- Socket connection timeout value in milliseconds. -1 for infinite timeout.
266+
* - ``alert.smtp.timeout``
267+
- `30000`
268+
- Socket I/O timeout value in milliseconds. -1 for infinite timeout.
269+
* - ``alert.email.addresses``
270+
- `null`
271+
- Comma separated list of email addresses which are going to receive alert emails.
272+
* - ``alert.email.sender``
273+
- `null`
274+
- Sender of alert email (will be in the From header of the email).
275+
234276

235277
Sending Alerts to External SNMP and Syslog Managers
236278
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -246,116 +288,96 @@ The alerts which can be sent are:
246288
The following is the list of alert type numbers. The current alerts can
247289
be found by calling listAlerts.
248290

249-
::
250-
251-
MEMORY = 0 // Available Memory below configured threshold
252-
253-
::
254-
255-
CPU = 1 // Unallocated CPU below configured threshold
256-
257-
::
258-
259-
STORAGE =2 // Available Storage below configured threshold
260-
261-
::
262-
263-
STORAGE_ALLOCATED = 3 // Remaining unallocated Storage is below configured threshold
264-
265-
::
266-
267-
PUBLIC_IP = 4 // Number of unallocated virtual Network public IPs is below configured threshold
268-
269-
::
270-
271-
PRIVATE_IP = 5 // Number of unallocated private IPs is below configured threshold
272-
273-
::
274-
275-
SECONDARY_STORAGE = 6 // Available Secondary Storage in availability zone is below configured threshold
276-
277-
::
278-
279-
HOST = 7 // Host related alerts like host disconnected
280-
281-
::
282-
283-
USERVM = 8 // User Instance stopped unexpectedly
284-
285-
::
286-
287-
DOMAIN_ROUTER = 9 // Domain Router VM stopped unexpectedly
288-
289-
::
290-
291-
CONSOLE_PROXY = 10 // Console Proxy VM stopped unexpectedly
292-
293-
::
294-
295-
ROUTING = 11 // Lost connection to default route (to the gateway)
296-
297-
::
298-
299-
STORAGE_MISC = 12 // Storage issue in system VMs
300-
301-
::
302-
303-
USAGE_SERVER = 13 // No usage server process running
304-
305-
::
306-
307-
MANAGMENT_NODE = 14 // Management Network CIDR is not configured originally
308-
309-
::
310-
311-
DOMAIN_ROUTER_MIGRATE = 15 // Domain Router VM Migration was unsuccessful
312-
313-
::
314-
315-
CONSOLE_PROXY_MIGRATE = 16 // Console Proxy VM Migration was unsuccessful
316-
317-
::
318-
319-
USERVM_MIGRATE = 17 // User Instance Migration was unsuccessful
320-
321-
::
322-
323-
VLAN = 18 // Number of unallocated VLANs is below configured threshold in availability zone
324-
325-
::
326-
327-
SSVM = 19 // SSVM stopped unexpectedly
328-
329-
::
330-
331-
USAGE_SERVER_RESULT = 20 // Usage job failed
332-
333-
::
334-
335-
STORAGE_DELETE = 21 // Failed to delete storage pool
336-
337-
::
338-
339-
UPDATE_RESOURCE_COUNT = 22 // Failed to update the resource count
340-
341-
::
342-
343-
USAGE_SANITY_RESULT = 23 // Usage Sanity Check failed
344-
345-
::
346-
347-
DIRECT_ATTACHED_PUBLIC_IP = 24 // Number of unallocated shared Network IPs is low in availability zone
348-
349-
::
350-
351-
LOCAL_STORAGE = 25 // Remaining unallocated Local Storage is below configured threshold
352-
353-
::
354-
355-
RESOURCE_LIMIT_EXCEEDED = 26 //Generated when the resource limit exceeds the limit. Currently used for recurring Snapshots only
356-
357-
358-
You can also display the most up to date list by calling the API command ``listAlerts``.
291+
.. list-table:: List of Alerts
292+
:header-rows: 1
293+
294+
* - Type Number
295+
- Name
296+
- Description
297+
* - `0`
298+
- ``MEMORY``
299+
- Available Memory below configured threshold
300+
* - `1`
301+
- ``CPU``
302+
- Unallocated CPU below configured threshold
303+
* - `2`
304+
- ``STORAGE``
305+
- Available Storage below configured threshold
306+
* - `3`
307+
- ``STORAGE_ALLOCATED``
308+
- Remaining unallocated Storage is below configured threshold
309+
* - `4`
310+
- ``PUBLIC_IP``
311+
- Number of unallocated virtual Network public IPs is below configured threshold
312+
* - `5`
313+
- ``PRIVATE_IP``
314+
- Number of unallocated private IPs is below configured threshold
315+
* - `6`
316+
- ``SECONDARY_STORAGE``
317+
- Available Secondary Storage in availability zone is below configured threshold
318+
* - `7`
319+
- ``HOST``
320+
- Host related alerts like host disconnected
321+
* - `8`
322+
- ``USERVM``
323+
- User Instance stopped unexpectedly
324+
* - `9`
325+
- ``DOMAIN_ROUTER``
326+
- Domain Router VM stopped unexpectedly
327+
* - `10`
328+
- ``CONSOLE_PROXY``
329+
- Console Proxy VM stopped unexpectedly
330+
* - `11`
331+
- ``ROUTING``
332+
- Lost connection to default route (to the gateway)
333+
* - `12`
334+
- ``STORAGE_MISC``
335+
- Storage issue in system VMs
336+
* - `13`
337+
- ``USAGE_SERVER``
338+
- No usage server process running
339+
* - `14`
340+
- ``MANAGEMENT_NODE``
341+
- Management Network CIDR is not configured originally
342+
* - `15`
343+
- ``DOMAIN_ROUTER_MIGRATE``
344+
- Domain Router VM Migration was unsuccessful
345+
* - `16`
346+
- ``CONSOLE_PROXY_MIGRATE``
347+
- Console Proxy VM Migration was unsuccessful
348+
* - `17`
349+
- ``USERVM_MIGRATE``
350+
- User Instance Migration was unsuccessful
351+
* - `18`
352+
- ``VLAN``
353+
- Number of unallocated VLANs is below configured threshold in availability zone
354+
* - `19`
355+
- ``SSVM``
356+
- SSVM stopped unexpectedly
357+
* - `20`
358+
- ``USAGE_SERVER_RESULT``
359+
- Usage job failed
360+
* - `21`
361+
- ``STORAGE_DELETE``
362+
- Failed to delete storage pool
363+
* - `22`
364+
- ``UPDATE_RESOURCE_COUNT``
365+
- Failed to update the resource count
366+
* - `23`
367+
- ``USAGE_SANITY_RESULT``
368+
- Usage Sanity Check failed
369+
* - `24`
370+
- ``DIRECT_ATTACHED_PUBLIC_IP``
371+
- Number of unallocated shared Network IPs is low in availability zone
372+
* - `25`
373+
- ``LOCAL_STORAGE``
374+
- Remaining unallocated Local Storage is below configured threshold
375+
* - `26`
376+
- ``RESOURCE_LIMIT_EXCEEDED``
377+
- Generated when the resource limit exceeds the limit. Currently used for recurring Snapshots only
378+
379+
380+
You can also display the most up to date list by calling the API command ``listAlerts`` or unsing CLoudMonkey ``cmk list alerts``.
359381

360382

361383
SNMP Alert Details

source/adminguide/service_offerings.rst

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,34 @@ To create a new compute offering:
405405
- **Disk Offering Strictness**: This flag defines the strictness of the disk offering association
406406
with the compute offering. When set to true, overriding of disk offering is not allowed on deploy instance
407407
and change disk offering is not allowed for the ROOT disk
408+
409+
- **Enable Lease**: When this flag is enabled, Compute Offering is created with 'Instance Lease' enabled.
410+
In CloudStack, a lease for an instance sets a specific time duration (in days) after which a chosen lease action, such as stopping or destroying the instance, will take place.
411+
These lease settings are defined in the Compute Offering and are automatically applied to any Instance created using it.
412+
413+
.. note:: The global configuration ``instance.lease.enabled`` should be configured as true to create compute offering with lease.
414+
415+
.. note:: Lease duration or expiryaction can't be updated for compute offering.
416+
417+
``instance.lease.enabled``: Indicates whether Instance Lease feature is enabled or not. Default is **false**
418+
For more information, see `“Setting Global Configuration Parameters”
419+
<../installguide/configuration.html#setting-global-configuration-parameters>`_.
420+
421+
When the flag is enabled
422+
423+
- **Lease Duration (in days)**: Sets the lease duration. An instance created using this compute offering will inherit the lease duration by default. Supported values are in range 1 <= N <= 36500.
424+
425+
- **Lease expiry action**: Lease expiry action: Denotes lease expiry action, which gets executed upon lease expiry for instances created using this compute offering.
426+
Supported values for lease expiry action are as follows:
427+
428+
- STOP
429+
- DESTROY
430+
431+
.. image:: /_static/images/compute_offering_dailog_with_lease.png
432+
:width: 400px
433+
:align: center
434+
:alt: Compute offering dialog box
435+
408436

409437
#. Click Add.
410438

0 commit comments

Comments
 (0)