Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A2HA to Automate HA In-place upgrade docs #7685

Merged
merged 12 commits into from
Jan 27, 2023
Merged

A2HA to Automate HA In-place upgrade docs #7685

merged 12 commits into from
Jan 27, 2023

Conversation

jayvikramsharma1
Copy link
Collaborator

@jayvikramsharma1 jayvikramsharma1 commented Jan 25, 2023

Signed-off-by: Jay Sharma jsharma@progress.com

🔩 Description: What code changed, and why?

As and old A2HA customer I need to upgrade to latest version of Automate HA, but I want to use same cluster of A2HA

⛓️ Related Resources

https://chefio.atlassian.net/browse/MADROX-264

👍 Definition of Done

Doc Tested on dev env

👟 How to Build and Test the Change

✅ Checklist

All PRs must tick these:

With occasional exceptions, all PRs from Progress employees must tick these:

  • Is the code clear? (complicated code or lots of comments--subdivide and use well-named methods, meaningful variable names, etc.)
  • Consistency checked? (user notifications, user prompts, visual patterns, code patterns, variable names)
  • Repeated code blocks eliminated? (adapt and reuse existing components, blocks, functions, etc.)
  • Spelling, grammar, typos checked? (at a minimum use make spell in any component directory)
  • Code well-formatted? (indents, line breaks, etc. improve rather than hinder readability)

All PRs from Progress employees should tick these if appropriate:

  • Tests added/updated? (all new code needs new tests)
  • Docs added/updated? (all customer-facing changes)

Please add a note next to any checkbox above if you are NOT ticking it.

📷 Screenshots, if applicable

Signed-off-by: Jay Sharma <jsharma@progress.com>
@jayvikramsharma1 jayvikramsharma1 requested a review from a team as a code owner January 25, 2023 12:36
@netlify
Copy link

netlify bot commented Jan 25, 2023

Deploy Preview for chef-automate ready!

Name Link
🔨 Latest commit f0e4b57
🔍 Latest deploy log https://app.netlify.com/sites/chef-automate/deploys/63d3c7f5aef17800091093f1
😎 Deploy Preview https://deploy-preview-7685--chef-automate.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@github-actions github-actions bot added the documentation Anything related to the Automate docs. label Jan 25, 2023
Signed-off-by: Jay Sharma <jsharma@progress.com>
Signed-off-by: Jay Sharma <jsharma@progress.com>
Signed-off-by: Jay Sharma <jsharma@progress.com>
Signed-off-by: Jay Sharma <jsharma@progress.com>
Signed-off-by: Jay Sharma <jsharma@progress.com>
Signed-off-by: Jay Sharma <jsharma@progress.com>
…ites of 60% space availablity

Signed-off-by: Jay Sharma <jsharma@progress.com>
Signed-off-by: Jay Sharma <jsharma@progress.com>
Signed-off-by: dishanktiwari2501 <dtiwari@progress.com>
@@ -147,7 +160,7 @@ This page explains migrating the existing A2HA data to the newly deployed Chef A

- After the restore command is successfully executed. If we run the `chef-automate config show`, we can see that both ElasticSearch and OpenSearch config are part of Automate Config. After restoring Automate HA talk to OpenSearch.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
- After the restore command is successfully executed. If we run the `chef-automate config show`, we can see that both ElasticSearch and OpenSearch config are part of Automate Config. After restoring Automate HA talk to OpenSearch.
- After the restore command is successfully executed. If we run the `chef-automate config show`, we can see that both ElasticSearch and OpenSearch config are part of Automate Config. After restoring Automate HA is configured to communicate with OpenSearch.

Signed-off-by: Jay Sharma <jsharma@progress.com>

```bash
[global.v1.external.opensearch.auth.basic_auth]
username = "admin"
password = "admin"
```

- In case of ``` backup_config = "file_system" ``` had been provided in config.toml of Automate HA deployment, then need to patch below OpenSearch config from bastion before starting the restore.
Copy link
Collaborator

@vivekshankar1 vivekshankar1 Jan 27, 2023

Choose a reason for hiding this comment

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

Suggested change
- In case of ``` backup_config = "file_system" ``` had been provided in config.toml of Automate HA deployment, then need to patch below OpenSearch config from bastion before starting the restore.
- In case `backup_config = "file_system"` had been provided in config.toml of Automate HA deployment, then please patch the below OpenSearch config from bastion before starting the restore.

Signed-off-by: Jay Sharma <jsharma@progress.com>
@vivek-yadav vivek-yadav merged commit ba0dc62 into main Jan 27, 2023
@vivek-yadav vivek-yadav deleted the jay-MADROX-264 branch January 27, 2023 13:06
@sonarcloud
Copy link

sonarcloud bot commented Jan 27, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

dishanktiwari2501 added a commit that referenced this pull request Jan 30, 2023
* in-place upgrade docs

Signed-off-by: Jay Sharma <jsharma@progress.com>

* updating page title

Signed-off-by: Jay Sharma <jsharma@progress.com>

* updating page description

Signed-off-by: Jay Sharma <jsharma@progress.com>

* correcting pre-requestit

Signed-off-by: Jay Sharma <jsharma@progress.com>

* correcting shell command highligher

Signed-off-by: Jay Sharma <jsharma@progress.com>

* updating docs for review commendt

Signed-off-by: Jay Sharma <jsharma@progress.com>

* resolving review comments

Signed-off-by: Jay Sharma <jsharma@progress.com>

* added steps to remove old backed up hab dir and also added pre-requisites of 60% space availablity

Signed-off-by: Jay Sharma <jsharma@progress.com>

* spaces added

Signed-off-by: Jay Sharma <jsharma@progress.com>

* fixing the docs

Signed-off-by: dishanktiwari2501 <dtiwari@progress.com>

* changing grammer language

Signed-off-by: Jay Sharma <jsharma@progress.com>

* resolving review comments

Signed-off-by: Jay Sharma <jsharma@progress.com>

Signed-off-by: Jay Sharma <jsharma@progress.com>
Signed-off-by: dishanktiwari2501 <dtiwari@progress.com>
Co-authored-by: dishanktiwari2501 <dtiwari@progress.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Anything related to the Automate docs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants