-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3355 from EnterpriseDB/release/2022-11-17
Release: 2022-11-17
- Loading branch information
Showing
67 changed files
with
1,469 additions
and
312 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
install_template/templates/products/failover-manager/ubuntu-22.04.njk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
{% extends "products/failover-manager/base.njk" %} | ||
{% set platformBaseTemplate = "ubuntu-22.04" %} | ||
{% set platformBaseTemplate = "ubuntu-22.04" %} | ||
{% block frontmatter %} | ||
{# remove this block when Ubuntu 22 is released #} | ||
{% endblock frontmatter %} |
12 changes: 12 additions & 0 deletions
12
install_template/templates/products/migration-toolkit/base.njk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
install_template/templates/products/migration-toolkit/ubuntu-22.04.njk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
{% extends "products/migration-toolkit/base.njk" %} | ||
{% set platformBaseTemplate = "ubuntu-22.04" %} | ||
{% set platformBaseTemplate = "ubuntu-22.04" %} | ||
{% block frontmatter %} | ||
{# remove this block when Ubuntu 22 is released #} | ||
{% endblock frontmatter %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
..._docs/docs/biganimal/release/using_cluster/05_monitoring_and_logging/alerts.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
title: "Setting real-time alerts in Azure" | ||
|
||
--- | ||
|
||
BigAnimal provides a wide range of metrics for your clusters, see [Metrics details](/biganimal/latest/using_cluster/05_monitoring_and_logging/metrics/). You can use a Log Analytics query to trigger a real-time alerts based on these metrics. | ||
|
||
In this example we set up an alert that is triggered when one of your cluster groups goes down. Assume that your cluster group has an ID = *p-gjlmcos8n7* and is on a subscription called *development*. | ||
|
||
|
||
1. In the Azure portal, search for and select **Alerts**. On the Alerts page, you can see the metrics that BigAnimal collects from your environment. | ||
|
||
1. Select **+ Create** and select **Alert rule** to create new alert rule. | ||
|
||
1. Select **+ Select scope**. Under Select a resource: | ||
1. Select your Azure subscription (**development**) in the Filter by subscription field. | ||
|
||
1. Select **Log Analytics workspaces** in the Filter by resource type field. | ||
1. Select the Azure region of your cluster in the **Filter by location** field. | ||
|
||
1. BigAnimal creates a Log Analytics workspace for each region in your Azure subscription. Select the Log Analytics workspace for your region and select **Done** (see right column for region). | ||
|
||
1. In the Condition tab, | ||
1. Select **Add condition** to set when the alert rule is triggered. | ||
|
||
1. Select **Custom log search** to monitor the Log analytics service. | ||
|
||
1. To trigger an alert when the database cluster is not detected enter the following query: | ||
|
||
```text | ||
DpMetrics_CL | ||
| where Message has "cnp_collector_up" | ||
| extend m = todynamic(Message) | ||
| where m.labels.role == "primary" and m.labels.postgresql == "p-gjlmcos8n7" | ||
``` | ||
The query programs the alert to check for the *cnp_collector_up* metric for the *p-gjlmcos8n7* database cluster. | ||
|
||
1. After running the query, select **Continue editing alert**. | ||
|
||
1. Design the alert logic based on number of results. Under Alert logic: | ||
1. Select the **Operator** as **Equals to**. | ||
1. Enter **0** in the Threshold value field. | ||
|
||
The alert is triggered when the database cluster is unavailable and there are no metrics of *cnp_collector_up*. It can indicate that there is a monitoring problem or a critical error. | ||
|
||
1. In the Details tab, create the alert rule name. | ||
|
||
1. Select **Review + Create**. | ||
|
||
1. Select **Create**. |
6 changes: 6 additions & 0 deletions
6
...t_docs/docs/biganimal/release/using_cluster/05_monitoring_and_logging/index.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
33 changes: 0 additions & 33 deletions
33
product_docs/docs/efm/4/03_installing_efm/x86_amd64/index.mdx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
title: "Installing Failover Manager on Linux" | ||
navTitle: "Installing" | ||
redirects: | ||
- ../efm_user/03_installing_efm | ||
- 13_initial_config | ||
- /efm/4/03_installing_efm | ||
legacyRedirectsGenerated: | ||
# This list is generated by a script. If you need add entries, use the `legacyRedirects` key. | ||
- "/edb-docs/d/edb-postgres-failover-manager/user-guides/user-guide/4.0/installing_efm.html" | ||
- "/edb-docs/d/edb-postgres-failover-manager/user-guides/user-guide/4.1/installing_efm.html" | ||
navigation: | ||
- prerequisites | ||
- linux_x86_64 | ||
- linux_ppc64le | ||
- install_details | ||
--- | ||
## [Linux x86-64 (amd64)](linux_x86_64) | ||
### Red Hat Enterprise Linux (RHEL) and derivatives | ||
- [RHEL 8](linux_x86_64/efm_rhel_8), [RHEL 7](linux_x86_64/efm_rhel_7) | ||
- [Oracle Linux (OL) 8](linux_x86_64/efm_rhel_8), [Oracle Linux (OL) 7](linux_x86_64/efm_rhel_7) | ||
- [Rocky Linux 8](linux_x86_64/efm_other_linux_8) | ||
- [AlmaLinux 8](linux_x86_64/efm_other_linux_8) | ||
- [CentOS 7](linux_x86_64/efm_centos_7) | ||
### SUSE Linux Enterprise (SLES) | ||
- [SLES 15](linux_x86_64/efm_sles_15), [SLES 12](linux_x86_64/efm_sles_12) | ||
### Debian and derivatives | ||
- [Ubuntu 20.04](linux_x86_64/efm_ubuntu_20), [Ubuntu 18.04](linux_x86_64/efm_ubuntu_18) | ||
- [Debian 11](linux_x86_64/efm_debian_11), [Debian 10](linux_x86_64/efm_debian_10) | ||
## [Linux on IBM Power (ppc64le)](linux_ppc64le) | ||
### Red Hat Enterprise Linux (RHEL) | ||
- [RHEL 8](linux_ppc64le/efm_rhel_8) | ||
### SUSE Linux Enterprise (SLES) | ||
- [SLES 15](linux_ppc64le/efm_sles_15), [SLES 12](linux_ppc64le/efm_sles_12) | ||
|
3 changes: 2 additions & 1 deletion
3
...ct_docs/docs/efm/4/14_install_details.mdx → ...docs/efm/4/installing/install_details.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
title: "Installation details" | ||
|
||
redirects: | ||
- /efm/4/14_install_details | ||
--- | ||
|
||
|
||
|
4 changes: 3 additions & 1 deletion
4
...fm/ibm_power_ppc64le/efm4_rhel8_ppcle.mdx → ...4/installing/linux_ppc64le/efm_rhel_8.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
...m/ibm_power_ppc64le/efm4_sles12_ppcle.mdx → .../installing/linux_ppc64le/efm_sles_12.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
ce0b766
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Published on https://edb-docs-staging.netlify.app as production
🚀 Deployed on https://6376430fbd7ed91f14276d6b--edb-docs-staging.netlify.app
ce0b766
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Published on https://edb-docs.netlify.app as production
🚀 Deployed on https://63764680f5d8421d4c03b8ca--edb-docs.netlify.app