summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorTodd Willey <todd@rubidine.com>2010-06-10 20:41:41 -0400
committerTodd Willey <todd@rubidine.com>2010-06-10 20:41:41 -0400
commit0da7b9b0e50f049980ca1eef637d0a056f55fdb1 (patch)
treefeb4af407bf74b044fbb008b2c80553273ed5cc9 /docs
parent93395272def228fd9721a770fc585e414827f129 (diff)
downloadnova-0da7b9b0e50f049980ca1eef637d0a056f55fdb1.tar.gz
nova-0da7b9b0e50f049980ca1eef637d0a056f55fdb1.tar.xz
nova-0da7b9b0e50f049980ca1eef637d0a056f55fdb1.zip
More doc updates: nginx & pycurl.
Diffstat (limited to 'docs')
-rw-r--r--docs/getting.started.rst27
1 files changed, 24 insertions, 3 deletions
diff --git a/docs/getting.started.rst b/docs/getting.started.rst
index e9a2f4b2e..df6ecbb01 100644
--- a/docs/getting.started.rst
+++ b/docs/getting.started.rst
@@ -32,10 +32,12 @@ Related servers we rely on
* RabbitMQ: messaging queue, used for all communication between components
* OpenLDAP: users, groups (maybe cut)
* ReDIS: Remote Dictionary Store (for fast, shared state data)
+* nginx: HTTP server to handle serving large files (because Tornado can't)
Python libraries we don't vendor
* M2Crypto: python library interface for openssl
+* curl
Vendored python libaries (don't require any installation)
@@ -62,12 +64,11 @@ Installation
# python libraries
apt-get install -y python-libvirt python-setuptools python-dev python-pycurl python-m2crypto
-
# ON THE CLOUD CONTROLLER
- apt-get install -y rabbitmq-server dnsmasq
+ apt-get install -y rabbitmq-server dnsmasq nginx
# build redis from 2.0.0-rc1 source
# setup ldap (slap.sh as root will remove ldap and reinstall it)
- auth/slap.sh
+ NOVA_PATH/nova/auth/slap.sh
/etc/init.d/rabbitmq-server start
# ON VOLUME NODE:
@@ -91,6 +92,25 @@ ON CLOUD CONTROLLER
iptables -t nat -A PREROUTING -s 0.0.0.0/0 -d 169.254.169.254/32 -p tcp -m tcp --dport 80 -j DNAT --to-destination $IP:8773
iptables --table nat --append POSTROUTING --out-interface $PUBLICIFACE -j MASQUERADE
+
+* Configure NginX proxy (/etc/nginx/sites-enabled/default)::
+ server {
+ listen 3333 default;
+ server-name localhost;
+ client_max_body_size 10m;
+
+ access_log /var/log/nginx/localhost.access.log;
+
+ location ~ /_images/.+ {
+ root NOVA_PATH/images;
+ rewrite ^/_images/(.*)\$ /\$1 break;
+ }
+
+ location / {
+ proxy_pass http://localhost:3334/;
+ }
+ }
+
ON VOLUME NODE
* create a filesystem (you can use an actual disk if you have one spare, default is /dev/sdb)
@@ -107,6 +127,7 @@ Launch servers
* rabbitmq
* redis
* slapd
+* nginx
Launch nova components