Jump to content

Service/stats: Difference between revisions

From Sugar Labs
Created page with "== Hostnames == * stats.sugarlabs.org == Hosted on == * Machine/sunjammer * Machine/jita == Administrative contact == stats AT sugarlabs DOT org == Sysadmins == ..."
 
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Hostnames ==
== Hostnames ==


* stats.sugarlabs.org
* [http://stats.sugarlabs.org stats.sugarlabs.org]


== Hosted on ==
== Hosted on ==
Line 7: Line 7:
* [[Machine/sunjammer]]
* [[Machine/sunjammer]]
* [[Machine/jita]]
* [[Machine/jita]]
* [[Machine/pootle]]


== Administrative contact ==
== Administrative contact ==
Line 19: Line 20:


== Notes ==
== Notes ==
Every Sugar Labs server collect AWStats data and generates (not sunjammer which hosts stats.sugarlabs.org) {{Code|/awstats/total}} file to make it possible to collect total statistics on the master server.


{| class="wikitable"
{| class="wikitable"
|-
|-
!scope="row" | Config<br>
!scope="row" | Config
|{{Code|/etc/apache2/sites-enabled/stats.sugarlabs.org}}<br>
|{{Code|/etc/apache2/sites-enabled/stats.sugarlabs.org}}<br>
{{Code|/etc/apache2/sites-enabled/jita.sugarlabs.org}}<br>
{{Code|/etc/apache2/sites-enabled/jita.sugarlabs.org}}<br>
{{Code|/etc/cron.hourly/awstats}}<br>
{{Code|/etc/cron.hourly/awstats}}<br>
{{Code|/etc/cron.daily/awstats}}<br>
{{Code|/etc/cron.daily/awstats}}<br>
{{Code|/etc/logrotate.d/apache2}}<br>
{{Code|/srv/awstats/www/*/awstats.conf}}
{{Code|/srv/awstats/www/*/awstats.conf}}
|-
!scope="row" | Requires
| libgeo-ip-perl libnumber-format-perl
|-
|-
|}
|}
Every stats node collects AWStats data locally for every site it supports. AWStats pages (per site) on every node are available via HTTP from {{Code|/''SITE''}} urls. Slave nodes provides their totals from {{Code|/awstats/total}} urls. Master node (sunjammer), generates totals index for [http://stats.sugarlabs.org stats.sugarlabs.org].


== Upgrade notes ==
== Upgrade notes ==
Line 37: Line 42:
* {{Code|git pull}} on {{Code|/srv/awstats/awstats}}.
* {{Code|git pull}} on {{Code|/srv/awstats/awstats}}.
* {{Code|git pull}} on {{Code|/srv/awstats/awstatstotal}}.
* {{Code|git pull}} on {{Code|/srv/awstats/awstatstotal}}.
[[Category:Service|Service]]

Latest revision as of 03:35, 7 December 2013

Hostnames

Hosted on

Administrative contact

stats AT sugarlabs DOT org

Sysadmins

For non-emergency calls, preferably send email to the administrative contact.

Notes

Config /etc/apache2/sites-enabled/stats.sugarlabs.org

/etc/apache2/sites-enabled/jita.sugarlabs.org
/etc/cron.hourly/awstats
/etc/cron.daily/awstats
/etc/logrotate.d/apache2
/srv/awstats/www/*/awstats.conf

Requires libgeo-ip-perl libnumber-format-perl

Every stats node collects AWStats data locally for every site it supports. AWStats pages (per site) on every node are available via HTTP from /SITE urls. Slave nodes provides their totals from /awstats/total urls. Master node (sunjammer), generates totals index for stats.sugarlabs.org.

Upgrade notes

  • git pull on /srv/awstats/awstats.
  • git pull on /srv/awstats/awstatstotal.