Skip to content

Commit

Permalink
Rephrase a cluster with multiple readers (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
keiko713 authored Nov 26, 2024
1 parent bb8b3ae commit dedaf6d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion install/amazon_rds/04_configure_the_collector_docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Create a new configuration file (e.g. named `pganalyze_collector.replica.env`) a
DB_HOST=mydbcluster.cluster-ro-123456789012.us-east-1.rds.amazonaws.com
```

If you have multiple readers with a cluster, you either need to add each instance
If you have a cluster with multiple readers, you either need to add each instance
endpoint to the content of `CONFIG_CONTENTS` (e.g. add each sections like `[reader_instance1]`, `[reader_instance2]`),
or run one pganalyze collector Docker container for each instance.

Expand Down
2 changes: 1 addition & 1 deletion install/amazon_rds/04_configure_the_collector_ec2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ db_host = mydbcluster.cluster-ro-123456789012.us-east-1.rds.amazonaws.com
For writer instances this is supported for any size of cluster, but for
reader instances this is only supported in two-node clusters (i.e. single reader instance).

If you have multiple readers with a cluster, you instead need to specify each instance endpoint separately:
If you have a cluster with multiple readers, you instead need to specify each instance endpoint separately:

```
[instance1]
Expand Down
2 changes: 1 addition & 1 deletion install/amazon_rds/04_configure_the_collector_ecs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Use the `cluster-ro` endpoint as the `DB_HOST` of the environment variables:
{"name": "DB_HOST", "value": "mydbcluster.cluster-ro-123456789012.us-east-1.rds.amazonaws.com"},
```

If you have multiple readers with a cluster, you either need to add each instance
If you have a cluster with multiple readers, you either need to add each instance
endpoint to the content of the `pganalyze_collector.conf` file (e.g. add each section like `[reader_instance1]`, `[reader_instance2]`),
then update the `/pganalyze/CONFIG_CONTENTS` SSM secret, or run one pganalyze
collector Docker container for each instance.
Expand Down
2 changes: 1 addition & 1 deletion install/amazon_rds/04_configure_the_collector_eks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Use the `cluster-ro` endpoint as the `DB_HOST` of the environment variables:
DB_HOST: mydbcluster.cluster-ro-123456789012.us-east-1.rds.amazonaws.com
```

If you have multiple readers with a cluster, you either need to add each instance
If you have a cluster with multiple readers, you either need to add each instance
endpoint to the content of `CONFIG_CONTENTS` (e.g. add each sections like `[reader_instance1]`, `[reader_instance2]`),
or install one pganalyze collector Helm chart for each instance.

Expand Down

0 comments on commit dedaf6d

Please sign in to comment.