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

« back to all changes in this revision

Viewing changes to doc/source/development_saio.rst

  • Committer: Package Import Robot
  • Author(s): Chuck Short, James Page, Chuck Short
  • Date: 2013-08-13 10:37:13 UTC
  • mfrom: (1.2.21)
  • Revision ID: package-import@ubuntu.com-20130813103713-1ctbx4zifyljs2aq
Tags: 1.9.1-0ubuntu1
[ James Page ]
* d/control: Update VCS fields for new branch locations.

[ Chuck Short ]
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
another device when creating the VM, and follow these instructions.
64
64
 
65
65
  #. `fdisk /dev/sdb` (set up a single partition)
66
 
  #. `mkfs.xfs -i size=1024 /dev/sdb1`
 
66
  #. `mkfs.xfs /dev/sdb1`
67
67
  #. Edit `/etc/fstab` and add
68
68
       `/dev/sdb1 /mnt/sdb1 xfs noatime,nodiratime,nobarrier,logbufs=8 0 0`
69
69
  #. `mkdir /mnt/sdb1`
93
93
  #. `mkdir /srv`
94
94
  #. `truncate -s 1GB /srv/swift-disk`
95
95
       (modify size to make a larger or smaller partition)
96
 
  #. `mkfs.xfs -i size=1024 /srv/swift-disk`
 
96
  #. `mkfs.xfs /srv/swift-disk`
97
97
  #. Edit `/etc/fstab` and add
98
98
       `/srv/swift-disk /mnt/sdb1 xfs loop,noatime,nodiratime,nobarrier,logbufs=8 0 0`
99
99
  #. `mkdir /mnt/sdb1`
300
300
 
301
301
        [DEFAULT]
302
302
        bind_port = 8080
 
303
        workers = 1
303
304
        user = <your-user-name>
304
305
        log_facility = LOG_LOCAL1
305
306
        eventlet_debug = true
342
343
        mount_check = false
343
344
        disable_fallocate = true
344
345
        bind_port = 6012
 
346
        workers = 1
345
347
        user = <your-user-name>
346
348
        log_facility = LOG_LOCAL2
347
349
        recon_cache_path = /var/cache/swift
370
372
        mount_check = false
371
373
        disable_fallocate = true
372
374
        bind_port = 6022
 
375
        workers = 1
373
376
        user = <your-user-name>
374
377
        log_facility = LOG_LOCAL3
375
378
        recon_cache_path = /var/cache/swift2
398
401
        mount_check = false
399
402
        disable_fallocate = true
400
403
        bind_port = 6032
 
404
        workers = 1
401
405
        user = <your-user-name>
402
406
        log_facility = LOG_LOCAL4
403
407
        recon_cache_path = /var/cache/swift3
426
430
        mount_check = false
427
431
        disable_fallocate = true
428
432
        bind_port = 6042
 
433
        workers = 1
429
434
        user = <your-user-name>
430
435
        log_facility = LOG_LOCAL5
431
436
        recon_cache_path = /var/cache/swift4
454
459
        mount_check = false
455
460
        disable_fallocate = true
456
461
        bind_port = 6011
 
462
        workers = 1
457
463
        user = <your-user-name>
458
464
        log_facility = LOG_LOCAL2
459
465
        recon_cache_path = /var/cache/swift
484
490
        mount_check = false
485
491
        disable_fallocate = true
486
492
        bind_port = 6021
 
493
        workers = 1
487
494
        user = <your-user-name>
488
495
        log_facility = LOG_LOCAL3
489
496
        recon_cache_path = /var/cache/swift2
514
521
        mount_check = false
515
522
        disable_fallocate = true
516
523
        bind_port = 6031
 
524
        workers = 1
517
525
        user = <your-user-name>
518
526
        log_facility = LOG_LOCAL4
519
527
        recon_cache_path = /var/cache/swift3
544
552
        mount_check = false
545
553
        disable_fallocate = true
546
554
        bind_port = 6041
 
555
        workers = 1
547
556
        user = <your-user-name>
548
557
        log_facility = LOG_LOCAL5
549
558
        recon_cache_path = /var/cache/swift4
575
584
        mount_check = false
576
585
        disable_fallocate = true
577
586
        bind_port = 6010
 
587
        workers = 1
578
588
        user = <your-user-name>
579
589
        log_facility = LOG_LOCAL2
580
590
        recon_cache_path = /var/cache/swift
603
613
        mount_check = false
604
614
        disable_fallocate = true
605
615
        bind_port = 6020
 
616
        workers = 1
606
617
        user = <your-user-name>
607
618
        log_facility = LOG_LOCAL3
608
619
        recon_cache_path = /var/cache/swift2
631
642
        mount_check = false
632
643
        disable_fallocate = true
633
644
        bind_port = 6030
 
645
        workers = 1
634
646
        user = <your-user-name>
635
647
        log_facility = LOG_LOCAL4
636
648
        recon_cache_path = /var/cache/swift3
659
671
        mount_check = false
660
672
        disable_fallocate = true
661
673
        bind_port = 6040
 
674
        workers = 1
662
675
        user = <your-user-name>
663
676
        log_facility = LOG_LOCAL5
664
677
        recon_cache_path = /var/cache/swift4
701
714
        swift-init all stop
702
715
        find /var/log/swift -type f -exec rm -f {} \;
703
716
        sudo umount /mnt/sdb1
704
 
        sudo mkfs.xfs -f -i size=1024 /dev/sdb1
 
717
        sudo mkfs.xfs -f /dev/sdb1
705
718
        sudo mount /mnt/sdb1
706
719
        sudo mkdir /mnt/sdb1/1 /mnt/sdb1/2 /mnt/sdb1/3 /mnt/sdb1/4
707
720
        sudo chown <your-user-name>:<your-group-name> /mnt/sdb1/*
719
732
 
720
733
        rm -f *.builder *.ring.gz backups/*.builder backups/*.ring.gz
721
734
 
722
 
        swift-ring-builder object.builder create 18 3 1
 
735
        swift-ring-builder object.builder create 10 3 1
723
736
        swift-ring-builder object.builder add r1z1-127.0.0.1:6010/sdb1 1
724
737
        swift-ring-builder object.builder add r1z2-127.0.0.1:6020/sdb2 1
725
738
        swift-ring-builder object.builder add r1z3-127.0.0.1:6030/sdb3 1
726
739
        swift-ring-builder object.builder add r1z4-127.0.0.1:6040/sdb4 1
727
740
        swift-ring-builder object.builder rebalance
728
 
        swift-ring-builder container.builder create 18 3 1
 
741
        swift-ring-builder container.builder create 10 3 1
729
742
        swift-ring-builder container.builder add r1z1-127.0.0.1:6011/sdb1 1
730
743
        swift-ring-builder container.builder add r1z2-127.0.0.1:6021/sdb2 1
731
744
        swift-ring-builder container.builder add r1z3-127.0.0.1:6031/sdb3 1
732
745
        swift-ring-builder container.builder add r1z4-127.0.0.1:6041/sdb4 1
733
746
        swift-ring-builder container.builder rebalance
734
 
        swift-ring-builder account.builder create 18 3 1
 
747
        swift-ring-builder account.builder create 10 3 1
735
748
        swift-ring-builder account.builder add r1z1-127.0.0.1:6012/sdb1 1
736
749
        swift-ring-builder account.builder add r1z2-127.0.0.1:6022/sdb2 1
737
750
        swift-ring-builder account.builder add r1z3-127.0.0.1:6032/sdb3 1