satellite-support
Tools for use in supporting the operation of Satellite 6
Tools
- check-perf-tuning
- check-satellite-ip
- mongo-benchmark
- mongo-size-report
- postgres-monitor
- postgres-size-report
- satellite-reset
- storage-benchmark
- top-uuid-report
- tuning-profiles
- postgres-activity-report
- production-log-load-stats
check-perf-tuning
Utility to check performance tuning parameters on your Satellite 6 server.
check-satellite-ip
Check the list of IP addresses given in https://access.redhat.com/articles/1525183 to determine if firewall ports are open for CDN IP addresses.
mongo-benchmark
Utility used for checking IO speed specific to MongoDB. See: https://www.mongodb.com/blog/post/checking-disk-performance-with-the-mongoperf
mongo-size-report
Lists the top collection sizes in disk space for Mongo. To use:
# ./mongo-size-report | tail -80
postgres-monitor
Run this in a terminal to capture postgres active queries every 30 seconds. Output stored in postgres-monitor-output.log.
process-monitor.sh
Run this in a terminal to capture sorted 'ps -aux' command every 10 seconds. Output stored in process-monitor-output.log.
postgres-size-report
Lists the top table sizes in disk space for both Candlepin and Foreman
postgres-activity-report
Lists the long running queries from PostgreSQL.
satellite-reset
storage-benchmark
Utility used for checking the disk IO of your Satellite 6 server. See:
https://access.redhat.com/solutions/3397771
top-uuid-report
List the top subscription-manager calls by uuid/fqdn. Blank fqdn indicates an unregistered host.
./top-uuid-report /var/log/httpd/foreman-ssl_access_ssl.log
production-log-load-stats
Analyze production.log
for load+performance statistics about types of requests to Satellite. See https://github.com/pmoravec/rails-load-stats for more description. WARNING: the script can consume excessive resources (time, memory, CPU) on large log files. Therefore it is recommended to run it outside production system on a copied logfile.
tuning profiles
Some tuning template settings (custom-hiera.yml) for Satellite 6 with 32, 64, 128 or 256GB of RAM. If you have less than 32GB RAM the default settings for Satellite 6 are appropriate.