[[PageOutline(2-5, Table of Contents, floated)]] = Penguin = penguin.webarch.net is a 3GB RAM, 8 core (AMD Opteron(tm) Processor 6128), with 40GB root and 1GB swap disk partitions which are BSD ZFS partitions, network mounted via NFS, with a 120GB monthly data allowance, Xen Debian virtual server supplied by [https://www.webarch.net/virtual-servers Webarchitects Co-operative (VPS 2 + 1GB RAM], it replaced NewLiveServer and DevelopmentServer for running all non-Drupal sites, and went live in early January 2013. Drupal sites from the old servers were migrated to PuffinServer. The install and initial configuration of this server was tracked on ticket:470. This server was upgraded from Squeeze to Wheezy on ticket:535 in December 2013. == Console Access == There is a Xen shell available for console access, see wiki:XenShell. == Munin Stats == There are munin stats for the server available here * https://penguin.transitionnetwork.org/munin/transitionnetwork.org/penguin.transitionnetwork.org/ Munin was installed on penguin via ticket:483#comment:35 and the dynamic graph generation and zooming was sorted out on ticket:641 and the APC plugin was installed on ticket:535#comment:55. == APC Stats and PHP info == There are a few scripts in https://penguin.transitionnetwork.org/info/ which use the same username and password as this Trac site: * https://penguin.transitionnetwork.org/info/apc.php APC cache stats, see also [https://penguin.transitionnetwork.org/munin/transitionnetwork.org/penguin.transitionnetwork.org/index.html#php-apc the Munin stats] * https://penguin.transitionnetwork.org/info/apc_info.php plain text data used by the Munin plugin * https://penguin.transitionnetwork.org/info/php-info.php PHP module info See ticket:645 for APC tuning. == Nginx == This server was switched from using the [https://packages.debian.org/wheezy-backports/nginx nginx from wheezy-backports] to [http://www.modrails.com/documentation/Users guide Nginx.html Nginx from Phusion Passenger] on ticket:691 via {{{/etc/apt/sources.list.d/passenger.list}}}: {{{ deb https://oss-binaries.phusionpassenger.com/apt/passenger wheezy main }}} == Updates == All systems updates are now recorded on ticket:692 (previously they were on ticket:218). There is a script in {{{/usr/local/bin}}} called {{{a-up}}} which can be used to update the system via aptitude, the advantage of using this script is that it writes things that are changed to the {{{/root/Changelog}}} and the time spent doing the updates can then be reported via ticket:218, see AptitudeUpdateScript for a copy of {{{a-up}}} and the {{{logchange}}} script it uses to update the {{{Changelog}}}. Due some packages from dotdeb and backports being used, see ticket:470#comment:6 and ticket:470#comment:41 for some notes on this -- the pinning setup could do with some work, but this is non-urgent, the work-around is to manually upgrade some packages, eg: {{{ a-up About to upgrade munin-node/squeeze-backports munin-plugins-extra/squeeze-backports No packages will be installed, upgraded, or removed. aptitude install munin-node/squeeze-backports munin-plugins-extra/squeeze-backports }}} == Metche == The matche script which moninotors the state of the system and emails changes to the {{{/root/Changelog}}} out is installed, but it generates a lot of data in {{{/var/lib/metche}}} so the wiki:MetcheCleanScript was installed on ticket:531#comment:6 and set to be run via the root crontab. == Tickets == Most the "dev server" tickets relate to penguin, but the older ones, are for previous servers. === Current dev server tickets === [[TicketQuery(status=accepted|new|assigned|reopened&component=Dev server,order=id,desc=1,format=table,col=summary|owner|reporter)]] === Closed dev server tickets === [[TicketQuery(status=closed&component=Dev server,order=id,desc=1,format=table,col=summary|owner|reporter)]] == Websites == Penguin is running nginx, the work to change all the old apache configuration to nginx configuration was done on ticket:357. The following website are running on penguin: === penguin.transitionnetwork.org === * http://penguin.transitionnetwork.org/ This is a splash page which lists what the servers is running and is also served at the server's IP address. === tech.transitionnetwork.org === The main documentation page for Trac is wiki:TransitionTrac This trac site is running using trac from debian backports and it is using nginx as a reverse proxy to {{{tracd}}}, to start and stop the server: {{{ sudo -i su - tracd -s /bin/bash cd /web/tech.transitionnetwork.org/bin ./tracd-stop ./tracd-start }}} Trac is set to start after a reboot via cronjob, see ticket:470#comment:30. See also the install notes, ticket:470#comment:24 and wiki:TracUserAdmin and wiki:TimingAndEstimationPlugin Open Trac tickets: [[TicketQuery(max=1000,status=accepted|new|assigned|reopened&component=trac,compact)]] Closed Trac tickets: [[TicketQuery(max=1000,status=closed&component=Trac,compact)]] === stats.transitionnetwork.org === * https://stats.transitionnetwork.org/ This is a [http://piwik.org/ Piwki] site which currently collects usage stats for www.transitionnetwork.org but which could be used to collect stats from all the Transition Network sites, see wiki:PiwikServer for additional information. === wiki.transitionnetwork.org === * http://wiki.transitionnetwork.org/ For more information see MediaWiki. === patterns.transitionresearchnetwork.org === * http://patterns.transitionresearchnetwork.org/ See TransitionResearchWagn === static.transitionnetwork.org === * http://static.transitionnetwork.org/ This site has been used as an archive for media files from Network Conferences, see the Nginx migration notes ticket:470#comment:16. A FTP server to allow the site to be updated hasn't been setup, when updates are needed they should be done via SFTP. === 2010.archive.transitionnetwork.org === * http://2010.archive.transitionnetwork.org/ This is a 283M archive of the wiki that was running at transitiontowns.org. The site is in {{{/web/2010.archive.transitionnetwork.org/www/}}} and the nginx config is in {{{/etc/nginx/archive-shared}}} and {{{/etc/nginx/sites-available/archive}}}, see ticket:470#comment:7. There was an issue with images not displaying on this archive, now solved, see ticket:474. === 2011.archive.transitionnetwork.org === * http://2011.archive.transitionnetwork.org/ This is a 305M archive of the wiki that was running at transitiontowns.org and the forum that was at ransitiontowns.org/forum. The site is in {{{/web/2011.archive.transitionnetwork.org/www/}}} and the nginx config is in {{{/etc/nginx/archive-shared}}} and {{{/etc/nginx/sites-available/archive}}}, see ticket:470#comment:7. See also the bbPress notes at wiki:DevelopmentServer#bbPress === redirects.transitionnetwork.org === * http://redirects.transitionnetwork.org/ This is a domain that domain names which are not currently being used can be pointed to and be redirected to the Transition Network site. See ticket:470#comment:21 for the nginx configuration and wiki:DomainNames. === totnes.transitionnetwork.org * http://totnes.transitionnetwork.org/ * http://archive.transitiontowntotnes.org/ Static copy of the old Transition Town Totnes Drupal site, discussed on ticket:550#comment:5 and archive created on ticket:630. == Console and SSH Access == There is a Xen shell available for console access, see wiki:XenShell. For developers and sysadmins there is SSH access, contact [mailto:chris@webarchitects.co.uk chris@webarchitects.co.uk] if you need an account creating. The server is also running [http://mosh.mit.edu/ Mosh : the mobile shell] which is very handy when you internet connection is poor, for example on a train. Mosh was installed on ticket:673. == Backups == See the install and configuration notes ticket:470#comment:1 and ticket:470#comment:16, on 17th November 2013 we switched the servers filesystem to a ZFS server on the network and filesystem backups are now done via ZFS snapshots so the rsync backup was disabled, see ticket:535#comment:22 however these backups are not available to anyone apart from the Webarchitects sysadmin so on 23rd July 2014 on ticket:763 additional backups were set up, these are done via /usr/local/bin/agile-backup, see AgileBackup and people who have had their ssh public keys added can access these backups via SFTP: {{{ sftp tn-penguin@store1.webarch.net }}} The latest backups are in penguin.webarch.net and 60 days worth of snapshots are in ~/.zfs/, you can mount these backups locally, for example on Debian: {{{ aptitude install sshfs mkdir -p /media/tn-penguin chmod 700 /media/tn-penguin/ mkdir /media/tn-penguin/latest mkdir /media/tn-penguin/archive echo "sshfs#tn-penguin@store1.webarch.net:penguin.webarch.net /media/tn-penguin/latest fuse ro,nobootwait 0 0" >> /etc/fstab echo "sshfs#tn-penguin@store1.webarch.net::.zfs/snapshot /media/tn-penguin/archive fuse ro 0,nobootwait 0" >> /etc/fstab mount -a }}}