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

doc: renew tutorial, suggest passive client, restructure heartbeat interval #1543

Conversation

bruno-at-bareos
Copy link
Contributor

@bruno-at-bareos bruno-at-bareos commented Sep 7, 2023

This PR aims add several references to point people to passive mode for client

The passive mode has many advantages when backing up behind NAT Device or Firewalls, also in other subnets:

  • The client does not need to be able to resolve the storage name
  • The client does not need to connect to the storage
  • The client only recieves incoming connections

Thus, we should emphasize this both in the "add new client" chapter and in the troubleshooting chapter to try passive mode in case the backups do not work. There's already an existing chapter describing TasksAndConcepts/NetworkSetup.html#passive-clients, so we add links to it from several other location.
OP#5505

The second part of the PR is renewing the HeartbeatInterval parameter and the associated description.
A common section is added to the Network Chapter with indexes and keyword for a better search, (including when searching firewall ). All manually_added_config_directive_descriptions/*HeartbeatInterval.rst.inc have been cleaned up and reference the common section.
OP#5384

The third part is fixing the config-Dir_Director_MaximumConcurrentJobs informations
OP#5547

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

Make sure you check/merge the PR using devtools/pr-tool to have some simple automated checks run and a proper changelog record added.

General
  • Is the PR title usable as CHANGELOG entry?
  • Purpose of the PR is understood
  • Commit descriptions are understandable and well formatted
  • Check backport line
  • Required backport PRs have been created
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR

@bruno-at-bareos bruno-at-bareos added draft documentation This PR changes only documentation labels Sep 7, 2023
@bruno-at-bareos bruno-at-bareos self-assigned this Sep 7, 2023
@bruno-at-bareos bruno-at-bareos marked this pull request as draft September 7, 2023 15:29
@bruno-at-bareos bruno-at-bareos force-pushed the dev/bruno/master/doc-suggest-passive-mode branch from 65ec057 to 788a17b Compare September 11, 2023 13:21
@bruno-at-bareos bruno-at-bareos marked this pull request as ready for review September 11, 2023 13:23
@bruno-at-bareos bruno-at-bareos changed the title doc: suggest passive mode doc: renew tutorial, suggest passive client, restructure heartbeat interval Sep 11, 2023
@bruno-at-bareos bruno-at-bareos force-pushed the dev/bruno/master/doc-suggest-passive-mode branch from 788a17b to cfd78a2 Compare September 11, 2023 13:28
@pstorz pstorz self-requested a review September 14, 2023 10:19
Copy link
Member

@pstorz pstorz left a comment

Choose a reason for hiding this comment

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

Good work! Please see comments.

docs/manuals/source/Appendix/Troubleshooting.rst Outdated Show resolved Hide resolved
docs/manuals/source/IntroductionAndTutorial/Tutorial.rst Outdated Show resolved Hide resolved
docs/manuals/source/IntroductionAndTutorial/Tutorial.rst Outdated Show resolved Hide resolved
docs/manuals/source/IntroductionAndTutorial/Tutorial.rst Outdated Show resolved Hide resolved
docs/manuals/source/IntroductionAndTutorial/Tutorial.rst Outdated Show resolved Hide resolved
docs/manuals/source/TasksAndConcepts/NetworkSetup.rst Outdated Show resolved Hide resolved
docs/manuals/source/TasksAndConcepts/NetworkSetup.rst Outdated Show resolved Hide resolved
docs/manuals/source/TasksAndConcepts/NetworkSetup.rst Outdated Show resolved Hide resolved
Copy link
Member

@pstorz pstorz left a comment

Choose a reason for hiding this comment

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

Good work! Just see my small comments please!

docs/manuals/source/IntroductionAndTutorial/Tutorial.rst Outdated Show resolved Hide resolved
docs/manuals/source/IntroductionAndTutorial/Tutorial.rst Outdated Show resolved Hide resolved
docs/manuals/source/IntroductionAndTutorial/Tutorial.rst Outdated Show resolved Hide resolved
docs/manuals/source/IntroductionAndTutorial/Tutorial.rst Outdated Show resolved Hide resolved
docs/manuals/source/TasksAndConcepts/NetworkSetup.rst Outdated Show resolved Hide resolved
Copy link
Member

@pstorz pstorz left a comment

Choose a reason for hiding this comment

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

Good work!

- cleanup description from volume interleave data.
- fix syntax

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
- add description and since version
- fix issue#924

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
- fix issue#909 by adding a warning into documentation, that in case of
  director's crash the running and waiting jobs will not get rescheduled

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
@bruno-at-bareos bruno-at-bareos force-pushed the dev/bruno/master/doc-suggest-passive-mode branch from e65aae5 to 2158ce5 Compare September 25, 2023 14:16
- Tutorial refresh
  + reformat long lines
  + adjust indexes for command console
  + redo all samples with recent code and new timestamp format
  + improve systemd example
  + fix typos
- NetworkSetup rename PassiveClient to section-PassiveClient
  + add indexes & keywords
  + add references to the section-PassiveClient
  + set passive client at first.
- Heartbeat Interval:
  + add new section to Network chapter explaining one time the concept
  + add several index, especially missing firewall term
  + add reference to this section in
    manually_added_config_directive_descriptions/*heartbeat*.rst.inc

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
Co-authored-by: Philipp Storz <philipp.storz@bareos.com>
@bruno-at-bareos bruno-at-bareos force-pushed the dev/bruno/master/doc-suggest-passive-mode branch from 2158ce5 to 9be9d16 Compare September 26, 2023 11:55
@BareosBot BareosBot merged commit 50997a7 into bareos:master Sep 27, 2023
@bruno-at-bareos bruno-at-bareos deleted the dev/bruno/master/doc-suggest-passive-mode branch January 15, 2024 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation This PR changes only documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants