Browse code

Update Swift doc.

Update README.md with the latest changes.

Change-Id: I63e8094cce31e0490b72a131f8a3bcf928c5881a

Chmouel Boudjnah authored on 2012/03/16 05:43:26
Showing 1 changed files
... ...
@@ -59,10 +59,18 @@ You can override environment variables used in stack.sh by creating file name 'l
59 59
 
60 60
 # Swift
61 61
 
62
-Swift is not installed by default, you need to add the **swift** keyword in the ENABLED_SERVICES variable to get it installed.
62
+Swift is not installed by default, you can enable easily by adding this to your localrc:
63 63
 
64
-If you have keystone enabled, Swift will authenticate against it, make sure to use the keystone URL to auth against.
64
+   ENABLED_SERVICE="$ENABLED_SERVICES,swift"
65 65
 
66
-At this time Swift is not started in a screen session but as daemon you need to use the **swift-init** CLI to manage the swift daemons.
66
+If you want a minimal swift install with only swift and keystone you can have this instead in your localrc:
67
+
68
+   ENABLED_SERVICES="key,mysql,swift"
69
+
70
+If you use swift with keystone, Swift will authenticate against it. You will need to make sure to use the keystone URL to auth against.
71
+
72
+Swift will be acting as a S3 endpoint for keystone so effectively replacing the **nova-objectore**.
73
+
74
+Only swift proxy server is launched in the screen session all other services are started in background and managed by **swift-init* tool.
67 75
 
68 76
 By default Swift will configure 3 replicas (and one spare) which could be IO intensive on a small vm, if you only want to do some quick testing of the API you can choose to only have one replica by customizing the variable SWIFT_REPLICAS in your localrc.