Skip to content

Instantly share code, notes, and snippets.

@aeldaly
Created August 16, 2011 18:02
Show Gist options
  • Select an option

  • Save aeldaly/1149733 to your computer and use it in GitHub Desktop.

Select an option

Save aeldaly/1149733 to your computer and use it in GitHub Desktop.
aeldaly@disco14:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda6 458G 3.4G 431G 1% /
none 12G 228K 12G 1% /dev
none 12G 0 12G 0% /dev/shm
none 12G 56K 12G 1% /var/run
none 12G 0 12G 0% /var/lock
none 12G 0 12G 0% /lib/init/rw
none 458G 3.4G 431G 1% /var/lib/ureadahead/debugfs
/dev/sda1 90M 34M 52M 40% /boot
/dev/sdc1 1.8T 299G 1.5T 18% /srv/disco/ddfs/vol1
/dev/sdb1 1.8T 299G 1.5T 18% /srv/disco/ddfs/vol0
/dev/sdd1 459G 95G 342G 22% /srv/disco/data
aeldaly@disco14:~$ cat /etc/disco/settings.py
# Disco settings
import os
DISCO_USER = "disco"
# --
# -- You can modify these directories as you wish
# --
DISCO_HOME = "/opt/disco/lib/master/"
# Root directory for Disco data.
DISCO_ROOT = "/srv/disco/"
# Root directory for Disco logs.
DISCO_LOG_DIR = "/var/log/disco/"
# Root directory for the Disco PID file.
DISCO_PID_DIR = "/var/run/disco/"
# --
# -- Variables below this line rarely need to be modified
# --
# disco_worker is installed by setuptools to the system default bin directory
DISCO_WORKER = "/usr/bin/disco-worker"
DISCO_MASTER_HOME = DISCO_HOME
# Lighttpd for master and nodes runs on this port.
# disco://host URIs are mapped to http://host:DISCO_PORT.
DISCO_PORT = 8989
# Miscellaneous flags:
# - nocurl: use httplib instead of pycurl even if pycurl is available
#DISCO_FLAGS = "nocurl"
# Example config for Varnish proxy
# DISCO_PROXY_ENABLED = "on"
# DISCO_HTTPD = "/usr/sbin/varnishd -a 0.0.0.0:$DISCO_PROXY_PORT -f $DISCO_PROXY_CONFIG -P $DISCO_PROXY_PID -n/tmp -smalloc"
DDFS_TAG_MIN_REPLICAS = 3
DDFS_TAG_REPLICAS = 3
DDFS_BLOB_REPLICAS = 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment