contacts.wikimedia.org

From Wikitech
This page contains historical information. It may be outdated or unreliable.

Usage

  • Non production CiviCRM instance for public policy and Philippe

Software

  • Apache+PHP
  • Drupal: Version 6.20
    • CiviCRM: Version 3.4beta1

Hardware

  • singer - web frontend (SSL)
  • db9 - db backend
    • Current databases are 'drupal' for the drupal installation and 'contacts' for the civicrm installation. Any database names with "dev_" are serving the dev.civi site

Health

  • Can our staff run search queries, input data and run reports during normal business hours

Activity

  • strace apache process
  • turn on extra debugging within php
  • turn on civi debug mode

Capacity

  • Only vertically scalable for now. Have to get beefier hardware.

Quick Rebuild

  1. Pray
  2. Copy over the tar file of the site and the database dumps from tridge under /data/civicrm
  3. Pray these are up to date, as they are manual copies, not automated.
  4. Restore the database dumps, then restore the site frontend. You will need to modify the config files to point from srv10 to whatever server is running the database.

Dependencies

  • CiviCRM depends on the civicrm and contacts databases that live on db9

Start/Restart

Since it's a drupal based module programmed in php running under apache, all that's required is to restart apache.

sudo /usr/sbin/apache2ctl -k graceful

Configuration

/srv/org/wikimedia/contacts/sites/default/civicrm.settings.php

Typical Problems

  • Long running queries
    • Kill on DB side

Backups

Check tridge

Escalation Path

  • This is a non production db so there is no official support. In case of problem please contact any of the EPM's and we'll figure out how we can help.

References

Mail

  • Mail cron is in /etc/cron.d/drupal