From Fedora Project Wiki

fp-wiki>ImportUser
(Imported from MoinMoin)
 
(redirect page to new infra-docs)
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<!-- page was renamed from ToshioKuratomi/SOPTemplate
{{header|infra}}
-->
{{shortcut|ISOP:SUPERVISOR}}
= Supervisor - SOP =


== Contact Information ==
Owner: Fedora Infrastructure


Contact: #fedora-admin, sysadmin-web group
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.txt


Persons: lmacken, abadger199, ricky, mmcgrath
For changes, questions or comments, please contact anyone in the Fedora Infrastructure team.


Location: Phoenix Colo


Servers: app[1-4] , releng1, publictest1
[[Category:Infrastructure SOPs]]
 
Purpose: We use supervisor to control all of our !TurboGears apps.  (Almost all of our in-house web applications)
 
== Description ==
 
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.
 
=== 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]

Revision as of 19:03, 19 December 2011

Shortcut:
ISOP:SUPERVISOR


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.txt

For changes, questions or comments, please contact anyone in the Fedora Infrastructure team.