-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
274 additions
and
224 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
This example portraits a configuration where all nodes are deployed on different machines. In this deployment: | ||
- `vitellone` is the hostname where `trento-server` gets deployed | ||
- `vitellone-pg` is where `postgres` gets deployed | ||
- `vitellone-mq` is where `rabbitmq` gets deployed | ||
- `vitellone-metrics` is where `prometheus` gets deployed | ||
|
||
Agent nodes are *not* deployed with this configuration. |
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,22 @@ | ||
all: | ||
children: | ||
trento-server: | ||
hosts: | ||
vitellone: | ||
ansible_host: "your-host" | ||
ansible_user: "your-user" | ||
postgres-hosts: | ||
hosts: | ||
vitellone-pg: | ||
ansible_host: "your-host" | ||
ansible_user: "your-user" | ||
rabbitmq-hosts: | ||
hosts: | ||
vitellone-mq: | ||
ansible_host: "your-host" | ||
ansible_user: "your-user" | ||
prometheus-hosts: | ||
hosts: | ||
vitellone-metrics: | ||
ansible_host: "your-host" | ||
ansible_user: "your-user" | ||
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,11 @@ | ||
{ | ||
"web_postgres_host": "vitellone-pg", | ||
"wanda_postgres_host": "vitellone-pg", | ||
"rabbitmq_host": "vitellone-mq:5671", | ||
"web_postgres_password": "pass", | ||
"wanda_postgres_password": "wanda", | ||
"rabbitmq_password": "trento", | ||
"prometheus_url": "http://localhost:9090", | ||
"web_admin_password": "adminpassword", | ||
"trento_server_name": "yourserver.com" | ||
} |
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,3 @@ | ||
This example portraits a configuration where only `trento-server` is deployed, while the configuration points to external services outside of the | ||
scope of this playbook. In this deployment: | ||
- `vitellone` is the hostname where `trento-server` gets deployed |
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,7 @@ | ||
all: | ||
children: | ||
trento-server: | ||
hosts: | ||
vitellone: | ||
ansible_host: "your-host" | ||
ansible_user: "your-user" | ||
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,16 @@ | ||
{ | ||
"web_postgres_password": "trentoansible1", | ||
"wanda_postgres_password": "trentoansible1", | ||
"web_postgres_host": "yourexternalpg.com", | ||
"wanda_postgres_host": "yourexternalpg.com", | ||
"rabbitmq_host": "yourexternalrabbit.com:5671", | ||
"rabbitmq_password": "trentoansible1", | ||
"web_postgres_user": "postgres", | ||
"wanda_postgres_user": "postgres", | ||
"rabbitmq_username": "trentoansible", | ||
"prometheus_url": "http://localhost:9090", | ||
"web_admin_password": "adminpassword", | ||
"trento_server_name": "your-servername.com", | ||
"nginx_ssl_cert": "-----BEGIN CERTIFICATE-----\nMIIEKTCCAxGgAwIBAgIUbIzbLpJrkKk8vs1oLzFDpPL...", | ||
"nginx_ssl_key": "-----BEGIN CERTIFICATE-----\nMIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQDNdvcVnqJAY32h..." | ||
} |
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,5 @@ | ||
This example portraits the deployment of some agent nodes. In this deployment: | ||
- hana01: Agent deployment | ||
- hana02: Agent deployment | ||
|
||
In order to use this deployment, first install a `trento-server` instance to obtain an API key and set it in the `vars.json`. Nothing else is deployed. |
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,9 @@ | ||
all: | ||
children: | ||
agents: | ||
hana01: | ||
ansible_host: "your-hana01-host" | ||
ansible_user: root | ||
hana02: | ||
ansible_host: "your-hana02-host" | ||
ansible_user: root | ||
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,5 @@ | ||
{ | ||
"trento_server_url:": "http://localhost", | ||
"rabbitmq_host": "localhost", | ||
"trento_api_key": "api-key-obtained-from-server" | ||
} |
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,9 @@ | ||
This example portraits a single-node configuration, where all nodes are deployed on the same machine. In this deployment: | ||
- `vitellone` is the hostname where `trento-server` gets deployed | ||
|
||
Agent nodes are *not* deployed with this configuration. | ||
|
||
Two variants are available: | ||
- vars-with-alerting.json: In this example, we set up alerting and set the SMTP configuration. With this, important alerts should arrive at the | ||
provided email. | ||
- vars.json: No alerting enabled. |
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,22 @@ | ||
all: | ||
children: | ||
trento-server: | ||
hosts: | ||
vitellone: | ||
ansible_host: "your-host" | ||
ansible_user: "your-user" | ||
postgres-hosts: | ||
hosts: | ||
vitellone: | ||
ansible_host: "your-host" | ||
ansible_user: "your-user" | ||
rabbitmq-hosts: | ||
hosts: | ||
vitellone: | ||
ansible_host: "your-host" | ||
ansible_user: "your-user" | ||
prometheus-hosts: | ||
hosts: | ||
vitellone: | ||
ansible_host: "your-host" | ||
ansible_user: "your-user" | ||
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,15 @@ | ||
{ | ||
"web_postgres_password": "pass", | ||
"wanda_postgres_password": "wanda", | ||
"rabbitmq_password": "trento", | ||
"prometheus_url": "http://localhost:9090", | ||
"web_admin_password": "adminpassword", | ||
"trento_server_name": "your-server-name", | ||
"enable_alerting": "true", | ||
"alert_sender": "alert-sender-mail", | ||
"alert_recipient": "alert-receiver-mail", | ||
"smtp_server": "smtp-server-adress", | ||
"smtp_port": "smpt-port", | ||
"smtp_user": "smtp-user", | ||
"smtp_password": "smtp-password" | ||
} |
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,8 @@ | ||
{ | ||
"web_postgres_password": "pass", | ||
"wanda_postgres_password": "wanda", | ||
"rabbitmq_password": "trento", | ||
"prometheus_url": "http://localhost:9090", | ||
"web_admin_password": "adminpassword", | ||
"trento_server_name": "your-server-name" | ||
} |