~ubuntu-branches/ubuntu/trusty/swift/trusty-updates

« back to all changes in this revision

Viewing changes to doc/source/deployment_guide.rst

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2013-01-28 09:40:30 UTC
  • mfrom: (1.2.16)
  • Revision ID: package-import@ubuntu.com-20130128094030-aetz57x2qz9ye2d4
Tags: 1.7.6-0ubuntu1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
230
230
                                 to the root device
231
231
bind_ip              0.0.0.0     IP Address for server to bind to
232
232
bind_port            6000        Port for server to bind to
 
233
bind_timeout         30          Seconds to attempt bind before giving up
233
234
workers              1           Number of workers to fork
234
235
disable_fallocate    false       Disable "fast fail" fallocate checks if the
235
236
                                 underlying filesystem does not support it.
236
237
log_custom_handlers  None        Comma-separated list of functions to call
237
238
                                 to setup custom log handlers.
 
239
eventlet_debug       false       If true, turn on debug logging for eventlet
238
240
===================  ==========  =============================================
239
241
 
240
242
[object-server]
338
340
                                 to the root device
339
341
bind_ip              0.0.0.0     IP Address for server to bind to
340
342
bind_port            6001        Port for server to bind to
 
343
bind_timeout         30          Seconds to attempt bind before giving up
341
344
workers              1           Number of workers to fork
342
345
user                 swift       User to run as
343
346
disable_fallocate    false       Disable "fast fail" fallocate checks if the
344
347
                                 underlying filesystem does not support it.
345
348
log_custom_handlers  None        Comma-separated list of functions to call
346
349
                                 to setup custom log handlers.
 
350
eventlet_debug       false       If true, turn on debug logging for eventlet
347
351
===================  ==========  ============================================
348
352
 
349
353
[container-server]
436
440
                                 to the root device
437
441
bind_ip              0.0.0.0     IP Address for server to bind to
438
442
bind_port            6002        Port for server to bind to
 
443
bind_timeout         30          Seconds to attempt bind before giving up
439
444
workers              1           Number of workers to fork
440
445
user                 swift       User to run as
441
446
db_preallocation     off         If you don't mind the extra disk space usage in
446
451
                                 underlying filesystem does not support it.
447
452
log_custom_handlers  None        Comma-separated list of functions to call
448
453
                                 to setup custom log handlers.
 
454
eventlet_debug       false       If true, turn on debug logging for eventlet
449
455
===================  ==========  =============================================
450
456
 
451
457
[account-server]
526
532
bind_ip                       0.0.0.0          IP Address for server to
527
533
                                               bind to
528
534
bind_port                     80               Port for server to bind to
 
535
bind_timeout                  30               Seconds to attempt bind before
 
536
                                               giving up
529
537
swift_dir                     /etc/swift       Swift configuration directory
530
538
workers                       1                Number of workers to fork
531
539
user                          swift            User to run as
545
553
log_custom_handlers           None             Comma separated list of functions
546
554
                                               to call to setup custom log
547
555
                                               handlers.
 
556
eventlet_debug                false            If true, turn on debug logging
 
557
                                               for eventlet
548
558
============================  ===============  =============================
549
559
 
550
560
[proxy-server]
653
663
                                                       letter `v`.
654
664
token_life             86400                           The number of seconds a
655
665
                                                       token is valid.
 
666
storage_url_scheme     default                         Scheme to return with
 
667
                                                       storage urls: http,
 
668
                                                       https, or default
 
669
                                                       (chooses based on what
 
670
                                                       the server is running
 
671
                                                       as) This can be useful
 
672
                                                       with an SSL load
 
673
                                                       balancer in front of a
 
674
                                                       non-SSL server.
656
675
=====================  =============================== =======================
657
676
 
658
677
Additionally, you need to list all the accounts/users you want here. The format
677
696
The trailing optional storage_url allows you to specify an alternate url to
678
697
hand back to the user upon authentication. If not specified, this defaults to::
679
698
 
680
 
    http[s]://<ip>:<port>/v1/<reseller_prefix>_<account>
 
699
    $HOST/v1/<reseller_prefix>_<account>
681
700
 
682
 
Where http or https depends on whether cert_file is specified in the [DEFAULT]
683
 
section, <ip> and <port> are based on the [DEFAULT] section's bind_ip and
684
 
bind_port (falling back to 127.0.0.1 and 8080), <reseller_prefix> is from this
685
 
section, and <account> is from the user_<account>_<user> name.
 
701
Where $HOST will do its best to resolve to what the requester would need to use
 
702
to reach this host, <reseller_prefix> is from this section, and <account> is
 
703
from the user_<account>_<user> name. Note that $HOST cannot possibly handle
 
704
when you have a load balancer in front of it that does https while TempAuth
 
705
itself runs with http; in such a case, you'll have to specify the
 
706
storage_url_scheme configuration value as an override.
686
707
 
687
708
Here are example entries, required for running the tests::
688
709