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

Provide Administering Foreman guide for "foreman-el" and "foreman-deb" #676

Open
melcorr opened this issue Aug 18, 2021 · 5 comments
Open
Milestone

Comments

@melcorr
Copy link
Member

melcorr commented Aug 18, 2021

As part of #396, we and the latest discussion there, we need to stream the admin guide to generate versions for

  • Satellite (the status quo but ensure nothing leaks that shouldn't etc)
  • Foreman-EL
  • Katello
  • Debian users
  • (I know orcharhino work has already been done, maybe more is needed)

This was inspired by theforeman/theforeman.org#1879 (comment)

I (@melcorr) will work on the foreman-el and katello scenarios.

@melcorr melcorr added this to the Foreman 3.0 milestone Aug 18, 2021
ekohl added a commit to ekohl/foreman-documentation that referenced this issue Aug 20, 2021
ekohl added a commit to ekohl/foreman-documentation that referenced this issue Aug 20, 2021
@melcorr
Copy link
Member Author

melcorr commented Aug 20, 2021

@ekohl can you help me formulate a prerequisite for chapter two for Foreman EL and Katello users.

To use this section, you must have foreman-maintain installed (how do they do that?)
And is there an alternative method? I can add that in?
At the moment, i've just added an ifndef for foreman-deb builds for Chapter 2.

@ekohl
Copy link
Member

ekohl commented Aug 23, 2021

To use this section, you must have foreman-maintain installed (how do they do that?)

For Foreman on EL, you can yum/dnf install it. For Debian you can't. The software doesn't support it and is also not packaged.

Personally I always use systemctl directly.

systemctl stop foreman.service foreman.socket to stop Foreman itself. For something like (re)start it's sufficient to only restart foreman.service. There's also dynflow-sidekiq@* (always recommend to use \* if it's a shell command to prevent globbing files).

You should also be aware that httpd (EL) or apache2 (Debian) is a service that's used on the Foreman server. There's also rh-redis5-redis (EL7) or redis (EL8 / Debian).

If you're using a DB on the same server, there's also postgresql.service.

If I want to manage the Foreman Proxy, it's systemctl $action foreman-proxy.service. $action can be status, stop, start and restart.

@maximiliankolb
Copy link
Contributor

orcharhino is currently using a version of "Administering Foreman" somewhere between foreman-el and satellite. For us, Katello is a non-optional plugin and orcharhino only runs on EL (7) currently.

Please tag me @melcorr whenever there are changes regarding the versions for foreman-el, satellite, and orcharhino.

@melcorr
Copy link
Member Author

melcorr commented Aug 23, 2021

There's also dynflow-sidekiq@* (always recommend to use \* if it's a shell command to prevent globbing files).

I don't understand this bit. At the moment, I have created a prerequisite section where I say that before they can use the procedure, they'd have to have foreman-maintain installed, then the command. Then I say, Alternatively, they can use systemctl and the range of options for starting and stopping.

I'm assuming dynflow-sidekiq@* is a service they need to consider? Starting and stopping it? Starting it as part of the restart?

ekohl added a commit to ekohl/foreman-documentation that referenced this issue Aug 27, 2021
ekohl added a commit to ekohl/foreman-documentation that referenced this issue Aug 27, 2021
ekohl added a commit to ekohl/foreman-documentation that referenced this issue Sep 14, 2021
@ekohl
Copy link
Member

ekohl commented Jan 18, 2022

I've revisited this a bit and opened #979 which is certainly not a solution, but a step in the right direction.

@maximiliankolb maximiliankolb changed the title Adapt Administering Foreman guide for different scenarios Provide Administering Foreman guide for "foreman-el" May 16, 2024
@maximiliankolb maximiliankolb changed the title Provide Administering Foreman guide for "foreman-el" Provide Administering Foreman guide for "foreman-el" and "foreman-deb" May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants