From Fedora Project Wiki

m (SOP Formatting)
m (Change from .txt to .rst)
(4 intermediate revisions by 4 users not shown)
Line 2: Line 2:
{{shortcut|ISOP:SUPERVISOR}}
{{shortcut|ISOP:SUPERVISOR}}


Supervisor is a service that supplements the normal !SystemVinit on a machine. It is configured via a config file /etc/supervisord.conf which is managed by puppet. The config file contains an entry for each service that it is in charge of starting. Supervisor handles starting the services at bootup and also respawning in case of errors.  People can connect to the supervisor process via the supervisorctl command to manage services even if they don't have root on the box.
{{admon/important|This SOP has moved to the fedora Infrastructure SOP git repo. Please see the current document at: [http://infrastructure.fedoraproject.org/infra/docs/supervisor-infra.rst Supervisor Infrastructure] For changes, questions or comments, please contact anyone in the Fedora Infrastructure team. }}


We use supervisor to control all of our TurboGears apps.  (Almost all of our in-house web applications)
== Contact Information ==
Owner: Fedora Infrastructure
Contact: #fedora-admin, sysadmin-web group
Persons: lmacken, abadger199, ricky, mmcgrath
Location: Phoenix Colo
Servers: app[1-4] , releng1, publictest1
Purpose: We use supervisor to control all of our TurboGears apps.  (Almost all of our in-house web applications)
=== Supervisorctl Commands ===
<pre>
supervisorctl status
</pre>
<pre>
supervisorctl tail -f [SERVICE NAME]
</pre>
<pre>
supervisorctl restart [SERVICE NAME]
</pre>
== Troubleshooting and Resolution ==
[COMMON ISSUES AND HOW TO FIX THEM]


[[Category:Infrastructure SOPs]]
[[Category:Infrastructure SOPs]]

Revision as of 19:08, 20 July 2015

Shortcut:
ISOP:SUPERVISOR
Important.png
This SOP has moved to the fedora Infrastructure SOP git repo. Please see the current document at: Supervisor Infrastructure For changes, questions or comments, please contact anyone in the Fedora Infrastructure team.