Bug 1215390

Summary: [RFE] Add option "deployment size" to tune system properly
Product: Red Hat Satellite Reporter: Pavel Moravec <pmoravec>
Component: InstallationAssignee: Ewoud Kohl van Wijngaarden <ekohlvan>
Status: CLOSED ERRATA QA Contact: Devendra Singh <desingh>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.8CC: andrew.schofield, bkearney, cdonnell, cduryee, dsinglet, ehelms, kcook, kdixon, ktordeur, mcorr, mmccune, mvanderw, peter.vreman, pmoravec, riehecky, sbream, spetrosi, stbenjam, vanhoof, zhunting
Target Milestone: 6.7.0Keywords: FutureFeature, Performance, PrioBumpGSS
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
If your Satellite deployment includes more than 5000 hosts, you can now use satellite-installer to configure Satellite with predefined tuning profiles to improve the performance of Satellite. Note that you cannot use tuning profiles on Capsule.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-14 13:22:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1122832, 1385841, 1642171, 1711465    

Description Pavel Moravec 2015-04-26 09:27:59 UTC
Description of problem:
Various default values ([1], [2], [3]) limit Satellite6 usage to various maximal number of content hosts. A user has to manually tune the system when wanting more content hosts.

As many Satellite deployments are supposed to hit either of the limit, the tuning is required for most deployments. It can be written down in manuals (see bz1159281) or even better done automatically by installer to:
- simplify the manual steps during installation
- prevent (resolving) customer issues when not following that recommendations

Therefore I suggest having an option reflecting deployment size (in # of content hosts) that will update the settings. Alternativelly, the installer can set the parameters everytime to some safely high values (i.e. for 10k content hosts or so).

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1159281#c0
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1159281#c4
[3] https://bugzilla.redhat.com/show_bug.cgi?id=1159281#c12

Version-Release number of selected component (if applicable):
katello-installer-2.3.5-1.el7sat.noarch


How reproducible:
100%


Steps to Reproduce:
1. Run katello-installer in either way.


Actual results:
parameters mentioned in bz1159281#c0, bz1159281#c4 and bz1159281#c12 have default values.


Expected results:
Have possibility to fine tune the values for larger deployments automatically.


Additional info:

Comment 2 Bryan Kearney 2016-07-08 20:33:49 UTC
Per 6.3 planning, moving out non acked bugs to the backlog

Comment 4 Stephen Benjamin 2016-10-14 14:42:36 UTC
Created redmine issue http://projects.theforeman.org/issues/16950 from this bug

Comment 12 Pat Riehecky 2019-03-28 18:43:40 UTC
Might it make sense to have the installer query the database to determine a rough size on an upgrade?  That will help sites that grew beyond their estimates.

Comment 13 Mike McCune 2019-07-23 21:52:21 UTC
For those following this bug, there is a partial solution noted in the 6.5 Quick Tuning Guide:

https://access.redhat.com/solutions/4224211

See "2.2 Quick Tuning Guide"

additional work will be done to build this directly into the installer.

Comment 14 Bryan Kearney 2019-09-30 12:05:29 UTC
Upstream bug assigned to ekohlvan

Comment 15 Devendra Singh 2020-01-28 10:45:22 UTC
This issue has been successfully verified in 6.7 Snap10, now user can change the deployment size as per their requirement using satellite-installer.

# satellite-installer --help
 --tuning INSTALLATION_SIZE    Tune for an installation size. Choices: default, medium, large, extra-large, extra-extra-large (default: "default")

# satellite-installer --tuning medium --disable-system-checks 
Installing             Done                                               [100%] [................................................................................................................................]

  Success!

# grep tuning /etc/foreman-installer/scenarios.d/satellite.yaml
  tuning: medium
:tuning: medium

Comment 21 errata-xmlrpc 2020-04-14 13:22:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:1454