-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve doc for Various Deployment styles and Add/Remove nodes and Ba…
…ckup for each type (#8126) * added new pages for the add/remome/replace nodes Signed-off-by: dishanktiwari2501 <dtiwari@progress.com> * uodated the remove and replace page Signed-off-by: dishanktiwari2501 <dtiwari@progress.com> * added contents to the deployment pages Signed-off-by: dishanktiwari2501 <dtiwari@progress.com> * fixes Signed-off-by: dishanktiwari2501 <dtiwari@progress.com> * added setions to Automate HA Config Generation page Signed-off-by: dishanktiwari2501 <dtiwari@progress.com> * adding changes to the pages Signed-off-by: dishanktiwari2501 <dtiwari@progress.com> * added init config to the doc Signed-off-by: dishanktiwari2501 <dtiwari@progress.com> * added init config to the doc Signed-off-by: dishanktiwari2501 <dtiwari@progress.com> * added init config to the doc Signed-off-by: dishanktiwari2501 <dtiwari@progress.com> * fixed the init config note Signed-off-by: dishanktiwari2501 <dtiwari@progress.com> * added manage ha cluster section and removed replace node page Signed-off-by: dishanktiwari2501 <dtiwari@progress.com> * shifted loadbalancer page to reference section Signed-off-by: dishanktiwari2501 <dtiwari@progress.com> * updating docs change relevant to current changes (#8166) * updating docs changes draft1 Signed-off-by: Tejaswi Bondila <bondila.venkatatejaswi@progress.com> * updating docs changes draft2 Signed-off-by: Tejaswi Bondila <bondila.venkatatejaswi@progress.com> * removing , Signed-off-by: Tejaswi Bondila <bondila.venkatatejaswi@progress.com> --------- Signed-off-by: Tejaswi Bondila <bondila.venkatatejaswi@progress.com> * [Doc]Migrating Bastion from one OS to another (#8162) * adding the performance details to ha overview doc (#8158) Signed-off-by: Durga Sarat Chandra Maddu <dmaddu@progress.com> * Bump version to 4.9.63 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Bump version to 4.9.64 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Migrating Bastion from one OS to another Signed-off-by: Arvinth C <arvinth.chandrasekaran@progress.com> * Migrating Bastion from one OS to another Signed-off-by: Arvinth C <arvinth.chandrasekaran@progress.com> * Adding link Signed-off-by: Arvinth C <arvinth.chandrasekaran@progress.com> * reviewed the doc Signed-off-by: dishanktiwari2501 <dtiwari@progress.com> * reviewed the doc Signed-off-by: dishanktiwari2501 <dtiwari@progress.com> --------- Signed-off-by: Durga Sarat Chandra Maddu <dmaddu@progress.com> Signed-off-by: Arvinth C <arvinth.chandrasekaran@progress.com> Signed-off-by: dishanktiwari2501 <dtiwari@progress.com> Co-authored-by: Durga Sarat Chandra Maddu <44021874+Dmaddu@users.noreply.github.com> Co-authored-by: Chef Expeditor <chef-ci@chef.io> Co-authored-by: dishanktiwari2501 <dtiwari@progress.com> * redirected the prerequisites section Signed-off-by: dishanktiwari2501 <dtiwari@progress.com> * added sections to the onprem first page Signed-off-by: dishanktiwari2501 <dtiwari@progress.com> * added sections to the onprem second page Signed-off-by: dishanktiwari2501 <dtiwari@progress.com> * added sections to the onprem third page Signed-off-by: dishanktiwari2501 <dtiwari@progress.com> --------- Signed-off-by: dishanktiwari2501 <dtiwari@progress.com> Signed-off-by: Tejaswi Bondila <bondila.venkatatejaswi@progress.com> Signed-off-by: Durga Sarat Chandra Maddu <dmaddu@progress.com> Signed-off-by: Arvinth C <arvinth.chandrasekaran@progress.com> Co-authored-by: Tejaswi Bondila <100406225+bvtejaswi@users.noreply.github.com> Co-authored-by: Arvinth C <54614142+ArvinthC3000@users.noreply.github.com> Co-authored-by: Durga Sarat Chandra Maddu <44021874+Dmaddu@users.noreply.github.com> Co-authored-by: Chef Expeditor <chef-ci@chef.io>
- Loading branch information
1 parent
79c5a11
commit 166ddbb
Showing
22 changed files
with
1,024 additions
and
873 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
4.9.90 | ||
4.9.64 |
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
152 changes: 152 additions & 0 deletions
152
components/docs-chef-io/content/automate/ha_add_nodes_to_the_deployment.md
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,152 @@ | ||
+++ | ||
title = "Add Nodes to the Deployment" | ||
draft = false | ||
gh_repo = "automate" | ||
|
||
[menu] | ||
[menu.automate] | ||
title = "Add Nodes to the Deployment" | ||
parent = "automate/deploy_high_availability/manage_ha_cluster" | ||
identifier = "automate/deploy_high_availability/manage_ha_cluster/ha_add_nodes_to_the_deployment.md Add Nodes to the Deployment" | ||
weight = 200 | ||
+++ | ||
|
||
Chef Automate HA comes with five different types of deployment flows. This page tells you how to add more nodes to your deployment processes. | ||
|
||
## Add more Nodes to the OnPremises Deployments | ||
|
||
In this section, we will see how to add more nodes to the on-premises deployment for all the databases, i.e., Chef Managed, AWS Managed and Customer Managed Database. | ||
|
||
The commands require some arguments so that it can determine which types of nodes you want to add to your HA setup from your bastion host. It needs the IP addresses of the nodes you want to add as comma-separate values with no spaces in between. | ||
|
||
For example, | ||
|
||
- To add nodes with IP 10.1.2.23 to automate, run the following command: | ||
|
||
```sh | ||
chef-automate node add --automate-ips 10.1.2.23 | ||
``` | ||
|
||
- To add nodes with IP 10.1.2.23 and 10.0.1.42 to the chef-server, run the following command: | ||
|
||
```sh | ||
chef-automate node add --chef-server-ips 10.1.2.23,10.0.1.42 | ||
``` | ||
|
||
- To add nodes with IP 10.1.2.23 and 10.0.1.42 to OpenSearch, run the following command: | ||
|
||
```sh | ||
chef-automate node add --opensearch-ips 10.1.2.23,10.0.1.42 | ||
``` | ||
|
||
- To add nodes with IP 10.1.2.23, 10.0.1.54 and 10.0.1.42 to PostgreSQL, run the following command: | ||
|
||
```sh | ||
chef-automate node add --postgresql-ips 10.1.2.23,10.0.1.42,10.0.1.54 | ||
``` | ||
|
||
You can mix and match different services to add nodes across various services. | ||
|
||
- To add nodes with IP 10.1.2.23 to automate and nodes with IP 10.0.1.54 and 10.0.1.42 to PostgreSQL, run the following command: | ||
|
||
```sh | ||
chef-automate node add --automate-ips 10.1.2.23 --postgresql-ips 10.0.1.42,10.0.1.54 | ||
``` | ||
|
||
- To add nodes with IP 10.1.2.23 to automate, nodes with IP 10.1.0.36 and 10.0.1.233 to chef-server, and nodes with IP 10.0.1.54 and 10.0.1.42 to PostgreSQL, run the following command: | ||
|
||
```sh | ||
chef-automate node add --automate-ips 10.1.2.23 --chef-server-ips 10.1.0.36,10.0.1.233 --postgresql-ips 10.0.1.42,10.0.1.54 | ||
``` | ||
|
||
Once the command executes, it will add the supplied nodes to your automate setup. The changes might take a while. | ||
|
||
- Make sure to update your loadbalancer configuration with the IP address of the new node. For reference, check [Load Balancer Configuration page](/automate/loadbalancer_configuration/) | ||
|
||
{{< note >}} | ||
|
||
- If you have patched some external config to any existing services, then apply the same on the new nodes. | ||
For example, if you have patched any external configurations like SAML or LDAP or any other done manually post-deployment in automate nodes, make sure to patch those configurations on the new automate nodes. The same must be followed for services like Chef-Server, Postgresql, and OpenSearch. | ||
- The new node will be configured with the certificates already configured in your HA setup. | ||
- If you had applied unique certificates per node, then the certificates of one of the nodes have been applied by default on the new nodes. | ||
- If you want to change the certificates for the new nodes, you can manually run the `chef-automate cert-rotate [options]` command. | ||
|
||
{{< /note >}} | ||
|
||
{{< warning >}} | ||
It's essential to ensure that the IP address of the nodes you are trying to add has sufficient resources and is reachable from the bastion host. | ||
{{< /warning >}} | ||
## Add more Nodes In AWS Deployment with AWS Managed Database | ||
In this section, we will see how to add more nodes to the AWS deployment for AWS managed database. | ||
The commands require some arguments so that it can determine which types of nodes you want to add to your HA setup from your bastion host. When you run the command, it needs the count of the nodes you want to add as an argument. For example, | ||
- To add two nodes to automate, run the following command: | ||
```sh | ||
chef-automate node add --automate-count 2 | ||
``` | ||
- To add three nodes to the chef-server, run the following command: | ||
```sh | ||
chef-automate node add --chef-server-count 3 | ||
``` | ||
- To add one node to OpenSearch, run the following command: | ||
```sh | ||
chef-automate node add --opensearch-count 1 | ||
``` | ||
- To add two nodes to PostgreSQL, run the following command: | ||
```sh | ||
chef-automate node add --postgresql-count 2 | ||
``` | ||
You can mix and match different services to add nodes across various services. | ||
- To add one node to automate and two nodes to PostgreSQL, run the following command: | ||
```sh | ||
chef-automate node add --automate-count 1 --postgresql-count 2 | ||
``` | ||
- To add one node to automate, two nodes to chef-server, and two nodes to PostgreSQL, run the following command: | ||
```sh | ||
chef-automate node add --automate-count 1 --chef-server-count 2 --postgresql-count 2 | ||
``` | ||
Once the command executes, it will add the supplied nodes to your automated setup. The changes might take a while. | ||
{{< note >}} | ||
- If you have patched some external config to any existing services, apply the same on the new nodes. For example, if you have patched any external configurations like SAML or LDAP or any other done manually post-deployment in automate nodes, make sure to patch those configurations on the new automate nodes. The same must be followed for services like Chef-Server, Postgresql, and OpenSearch. | ||
- The new node will be configured with the certificates already configured in your HA setup. | ||
{{< /note >}} | ||
{{< warning >}} | ||
Downgrading the number of instance_count for the backend nodes will result in data loss. We do not recommend downgrading the backend nodes. | ||
{{< /warning >}} | ||
## Add more nodes In AWS Deployment with Chef Managed Database | ||
In this section, we will see how to add more nodes to the AWS deployment for Chef managed database. | ||
The commands require some arguments so that it can determine which types of nodes you want to add to your HA setup from your bastion host. When you run the command, it needs the count of the nodes you want to add as an argument. For example, | ||
- To add two nodes to automate, run the following command: | ||
```sh | ||
chef-automate node add --automate-count 2 | ||
``` | ||
- To add three nodes to the chef-server, run the following command: | ||
```sh | ||
chef-automate node add --chef-server-count 3 | ||
``` |
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.