Skip to content

Commit

Permalink
Merge pull request #5682 from EnterpriseDB/release/2024-05-23b
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-heyer authored May 23, 2024
2 parents b3dac3a + 9fc58f4 commit e2eb1a2
Show file tree
Hide file tree
Showing 8 changed files with 72 additions and 76 deletions.
106 changes: 53 additions & 53 deletions advocacy_docs/edb-postgres-ai/console/agent/agent-as-a-service.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,58 +37,58 @@ What follows is an example of how to run Beacon Agent as a service, specifically

Now Postgres is configured to allow local authentication so that Beacon Agent can access it as a service.

2. Create a new file using your text editor of choice (superuser level permissions are necessary here). vi is used in this example:

```
sudo vi /etc/systemd/beacon-agent.service
```

3. Populate the new file as follows, specifying the BEACON_AGENT_ACCESS_KEY, then save and exit the editor:

```
[Unit]
Description=Beacon Agent
# After networking because we need that
After=network.target
[Service]
# Simple services don't do any forking / background nonsense
Type=simple
# User with which to run the service
User=ubuntu
# Set the working directory for the application
WorkingDirectory=/home/ubuntu/
Environment='BEACON_AGENT_ACCESS_KEY=<your-api-key-here>'
Environment='DSN=<your-dsn-here>'
# Command to run the application
ExecStart=/usr/local/bin/beacon-agent
# Restart policy, only on failure
Restart=on-failure
RestartSec=60
[Install]
# Start the service before we get to multi-user mode
WantedBy=multi-user.target
```

4. Run the following commands to reload, enable, and start your new service:

```
sudo systemctl daemon-reload
sudo systemctl enable beacon-agent.service
sudo systemctl start beacon-agent.service
```

5. Your agent should now be running as a service. Check on the logs by running the following command:

```
journalctl -u beacon-agent.service
```
1. Create a new file using your text editor of choice (superuser level permissions are necessary here). vi is used in this example:

```
sudo vi /etc/systemd/beacon-agent.service
```

1. Populate the new file as follows, specifying the BEACON_AGENT_ACCESS_KEY, then save and exit the editor:

```
[Unit]
Description=Beacon Agent
# After networking because we need that
After=network.target
[Service]
# Simple services don't do any forking / background nonsense
Type=simple
# User with which to run the service
User=ubuntu
# Set the working directory for the application
WorkingDirectory=/home/ubuntu/
Environment='BEACON_AGENT_ACCESS_KEY=<your-api-key-here>'
Environment='DSN=<your-dsn-here>'
# Command to run the application
ExecStart=/usr/local/bin/beacon-agent
# Restart policy, only on failure
Restart=on-failure
RestartSec=60
[Install]
# Start the service before we get to multi-user mode
WantedBy=multi-user.target
```

1. Run the following commands to reload, enable, and start your new service:

```
sudo systemctl daemon-reload
sudo systemctl enable beacon-agent.service
sudo systemctl start beacon-agent.service
```
1. Your agent should now be running as a service. Check on the logs by running the following command:

```
journalctl -u beacon-agent.service
```


Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: beacon-agent
navTitle: beacon-agent
title: Reference documentation for beacon-agent
navTitle: Reference
description: Reference documentation for the beacon-agent.
---

## `beacon-agent` command
Expand Down
1 change: 1 addition & 0 deletions advocacy_docs/edb-postgres-ai/console/agent/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ navigation:
- create-machine-user
- install-agent
- agent-as-a-service
- beacon-agent-ref
---

To monitor your self-managed Postgres database with Beacon Agent, you will need to:
Expand Down
6 changes: 0 additions & 6 deletions advocacy_docs/edb-postgres-ai/console/reference/index.mdx

This file was deleted.

20 changes: 10 additions & 10 deletions advocacy_docs/edb-postgres-ai/overview/concepts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,29 @@ EDB Postgres AI takes EDB’s leading expertise in Postgres and expands the scop

EDB Postgres AI is composed of multiple elements which come together to deliver a unified and powerful experience:

## [EDB Postgres AI - Console](/edb-postgres-ai/console):
## [EDB Postgres AI - Console](/edb-postgres-ai/console)
* Providing the single pane of glass onto all your EDB Postgres AI operations, Console is there to manage your database landscape.
* ### [Hybrid estate management](/edb-postgres-ai/console/estate):
* ### [Hybrid estate management](/edb-postgres-ai/console/estate)
* EDB Postgres AI Cloud databases are automatically managed on the Console.
* ### [EDB Postgres AI Agent](/edb-postgres-ai/console/agent):
* ### [EDB Postgres AI Agent](/edb-postgres-ai/console/agent)
* On premises databases can be brought under one manageable Console view with the Agent enabling an unprecedented view of diverse deployments.
## [EDB Postgres AI - Databases](/edb-postgres-ai/databases):
## [EDB Postgres AI - Databases](/edb-postgres-ai/databases)
* All of EDB’s database expertise can be found in EDB Postgres Advanced Server and EDB Postgres Extended Server.
* Oracle compatibility, transparent data encryption and more. They provide the data fabric on which EDB Postgres AI operates.
* Combined with EDB Postgres Distributed, they can also provide a high availability environment for your data.
* All of these components are available on the EDB Postgres AI Cloud Service, and managed through the EDB Postgres AI Console.
* ### [EDB Postgres Advanced Server and EDB Postgres Extended Server](/edb-postgres-ai/databases/databases):
* ### [EDB Postgres Advanced Server and EDB Postgres Extended Server](/edb-postgres-ai/databases/databases)
* EDB Postgres Advanced Server and EDB Postgres Extended Server both provide mission critical capabilities for your data, with EDB Postgres Advanced Server also providing Oracle compatibility.
* ### [EDB Postgres Distributed](/edb-postgres-ai/databases/options/):
* ### [EDB Postgres Distributed](/edb-postgres-ai/databases/options/)
* High availability with an active-active mesh of Postgres instances, EDB Postgres Distributed provides a robust and scalable environment for your data.
* ### [EDB Postgres AI Cloud Service](/edb-postgres-ai/databases/cloudservice):
* ### [EDB Postgres AI Cloud Service](/edb-postgres-ai/databases/cloudservice)
* Not just databases, but driven by databases, Cloud Service provides a global platform for delivering new elements of EDB Postgres AI efficiently and effectively.
## [EDB Postgres AI - Lakehouse Analytics](/edb-postgres-ai/analytics):
## [EDB Postgres AI - Lakehouse Analytics](/edb-postgres-ai/analytics)
* Filtering out the data noise and revealing insights and value, Lakehouse Analytics brings both structured relational data in Postgres and unstructured data in object storage together for exploration. At the heart of Analytics is a custom built store for this data:
* Built to bring structured and unstructured data together, Lakehouse Nodes support numerous formats to bring your data in from the cold, ready to be analyzed.
## [EDB Postgres AI - AI/ML](/edb-postgres-ai/ai-ml):
## [EDB Postgres AI - AI/ML](/edb-postgres-ai/ai-ml)
* Postgres has proven its capability as a flexible data environment, and Vector data, the core of generative AI, is already infused into EDB Postgres AI providing a platform for a range of practical and effective AI/ML solutions. A technical preview of this capability is available for the pgai extension.
## [EDB Postgres AI - Platforms and Tools](/edb-postgres-ai/tools):
## [EDB Postgres AI - Platforms and Tools](/edb-postgres-ai/tools)
* Postgres’s extensions are a source of its power and popularity, and are one of the categories that fall within this element of EDB Postgres AI.
* Extensions sit alongside existing applications like Postgres Enterprise Manager, Barman, and Query Advisor as tools that allow you to leverage Postgres’s capabilities.
* Also within this element are EDB’s Migration tools, Migration Toolkit and Migration Portal. The Migration Portal is among the first EDB tools to include embedded AI with an AI copilot that can assist users in developing migration strategies.
Expand Down
2 changes: 1 addition & 1 deletion advocacy_docs/edb-postgres-ai/overview/releasenotes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,5 @@ Distributed (and all EDB database version types), which enables other SELECT
queries to be executed on the parent table while the DETACH operation is
underway.

For all the Q2 EDB announcements, please visit the [EDB blog]().
For all the Q2 EDB announcements, please visit the [EDB blog](https://www.enterprisedb.com/blog/edb-postgres-ai-q2-release-highlights).

4 changes: 2 additions & 2 deletions static/images/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions static/images/social.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

2 comments on commit e2eb1a2

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Contributor

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://664fa5138cc90b6ca987ed2e--edb-docs.netlify.app

Please sign in to comment.