-
Notifications
You must be signed in to change notification settings - Fork 64
Maintenance
Shea Craig edited this page Feb 13, 2019
·
4 revisions
Periodically, Sal will perform maintenance tasks in the background to minimize stale or dead data. Some maintenance tasks, however, must be manually initiated. This page describes both.
Sal uses supervisord to schedule ongoing maintenance tasks. You can configure a custom frequency for these tasks with the environment variable MAINT_FREQUENCY
(default is 300 seconds).
Periodic maintenance consists of:
- Search maintenance:
- Clearing searches older than 30 days old.
- Clearing SearchFieldCache objects.
- Rebuilding Fact caches for searching.
- Server maintenance
- Deleting inactive/undeployed Machine records (if you have that setting configured).
- Deleting outdated (based on
historical_retention
)PluginScriptSubmission
s. - Deleting outdated (based on
historical_retention
)UpdateHistory
s andUpdateHistoryItem
s. - Deleting outdated (based on
historical_retention
)HistoricalFact
s.
At times, you may want to run some manual maintenance tasks. To do so, you need to shell into the docker container and run ./manage.py <name of task>
. (If you run just manage.py
you'll get a list of available management commands, most of which are provided by Django).
- application_maintenance: Deletes
Application
objects which have no installs within your current machine pool from the application inventory system. This can't be automated because it's possible that it interferes with machine checkins / inventory submissions.
- Brute force protection
- LDAP integration
- Active Directory integration
- API
- Usage reporting
- License Management
- Maintenance
- Search
- Troubleshooting
- SAML
- IAM Authentication for AWS RDS Postgres
- Docker
- Ubuntu 14.04
- Ubuntu 16.04
- RHEL 7
- Kubernetes
- Heroku?