Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kolla Ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kolla Ansible
Commits
9048b2eb
Commit
9048b2eb
authored
9 years ago
by
Jenkins
Committed by
Gerrit Code Review
9 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Fix ring bulder command examples in swift readme doc"
parents
9e64644d
e4b825e0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/swift-readme.rst
+13
-11
13 additions, 11 deletions
doc/swift-readme.rst
with
13 additions
and
11 deletions
doc/swift-readme.rst
+
13
−
11
View file @
9048b2eb
...
...
@@ -33,51 +33,53 @@ container directories:
::
export KOLLA_INTERNAL_ADDRESS=1.2.3.4
export KOLLA_BASE_DISTRO=centos
export KOLLA_INSTALL_TYPE=binary
# Object ring
docker run \
-v /etc/kolla/config/swift/:/etc/kolla/config/swift/ \
kollaglue/
centos-binary
-swift-base \
kollaglue/
${KOLLA_BASE_DISTRO}-${KOLLA_INSTALL_TYPE}
-swift-base \
swift-ring-builder /etc/kolla/config/swift/object.builder create 10 3 1
for partition in sdb1 sdb2 sdb3; do
docker run \
-v /etc/kolla/config/swift/:/etc/kolla/config/swift/ \
kollaglue/
centos-binary
-swift-base swift-ring-builder \
/etc/kolla/config/swift/object.builder add z1-${KOLLA_INTERNAL_ADDRESS}:6000/${partition} 1
kollaglue/
${KOLLA_BASE_DISTRO}-${KOLLA_INSTALL_TYPE}
-swift-base swift-ring-builder \
/etc/kolla/config/swift/object.builder add z1-${KOLLA_INTERNAL_ADDRESS}:6000/${partition} 1
;
done
# Account ring
docker run \
-v /etc/kolla/config/swift/:/etc/kolla/config/swift/ \
kollaglue/
centos-binary
-swift-base \
kollaglue/
${KOLLA_BASE_DISTRO}-${KOLLA_INSTALL_TYPE}
-swift-base \
swift-ring-builder /etc/kolla/config/swift/account.builder create 10 3 1
for partition in sdb1 sdb2 sdb3; do
docker run \
-v /etc/kolla/config/swift/:/etc/kolla/config/swift/ \
kollaglue/
centos-binary
-swift-base swift-ring-builder \
/etc/kolla/config/swift/account.builder add z1-${KOLLA_INTERNAL_ADDRESS}:6001/${partition} 1
kollaglue/
${KOLLA_BASE_DISTRO}-${KOLLA_INSTALL_TYPE}
-swift-base swift-ring-builder \
/etc/kolla/config/swift/account.builder add z1-${KOLLA_INTERNAL_ADDRESS}:6001/${partition} 1
;
done
# Container ring
docker run \
-v /etc/kolla/config/swift/:/etc/kolla/config/swift/ \
kollaglue/
centos-binary
-swift-base \
kollaglue/
${KOLLA_BASE_DISTRO}-${KOLLA_INSTALL_TYPE}
-swift-base \
swift-ring-builder /etc/kolla/config/swift/container.builder create 10 3 1
for partition in sdb1 sdb2 sdb3; do
docker run \
-v /etc/kolla/config/swift/:/etc/kolla/config/swift/ \
kollaglue/
centos-binary
-swift-base swift-ring-builder \
/etc/kolla/config/swift/container.builder add z1-${KOLLA_INTERNAL_ADDRESS}:6002/${partition} 1
kollaglue/
${KOLLA_BASE_DISTRO}-${KOLLA_INSTALL_TYPE}
-swift-base swift-ring-builder \
/etc/kolla/config/swift/container.builder add z1-${KOLLA_INTERNAL_ADDRESS}:6002/${partition} 1
;
done
for ring in object account container; do
docker run \
-v /etc/kolla/config/swift/:/etc/kolla/config/swift/ \
kollaglue/
centos-binary
-swift-base swift-ring-builder \
/etc/kolla/config/swift/${ring}.builder rebalance
kollaglue/
${KOLLA_BASE_DISTRO}-${KOLLA_INSTALL_TYPE}
-swift-base swift-ring-builder \
/etc/kolla/config/swift/${ring}.builder rebalance
;
done
Similar commands can be used for multinode, you will just need to run the the 'add' step for each IP
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment