Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BROOKLYN-359: fix softlayer swift example for jclouds2 #139

Merged
merged 1 commit into from
Jan 19, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions guide/ops/persistence/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Object Store Persistence

Brooklyn can persist its state to any Object Store API that jclouds supports including
S3, Swift and Azure. This gives access to any compatible Object Store product or cloud provider
including AWS-S3, SoftLayer, Rackspace, HP and Microsoft Azure. For a complete list of supported
including AWS-S3, SoftLayer, Rackspace and Microsoft Azure. For a complete list of supported
providers, see [jclouds](http://jclouds.apache.org/reference/providers/#blobstore).

To configure the Object Store, add the credentials to `~/.brooklyn/brooklyn.properties` such as:
Expand All @@ -112,9 +112,10 @@ brooklyn.location.named.aws-s3-eu-west-1.credential=abcdefghijklmnopqrstuvwxyz12
or:

{% highlight properties %}
brooklyn.location.named.softlayer-swift-ams01=jclouds:swift:https://ams01.objectstorage.softlayer.net/auth/v1.0
brooklyn.location.named.softlayer-swift-ams01=jclouds:openstack-swift:https://ams01.objectstorage.softlayer.net/auth/v1.0
brooklyn.location.named.softlayer-swift-ams01.identity=ABCDEFGHIJKLM:myname
brooklyn.location.named.softlayer-swift-ams01.credential=abcdefghijklmnopqrstuvwxyz1234567890abcdefghijklmnopqrstuvwxyz12
brooklyn.location.named.softlayer-swift-ams01.jclouds.keystone.credential-type=tempAuthCredentials
{% endhighlight %}

Start Brooklyn pointing at this target object store, e.g.:
Expand All @@ -126,15 +127,15 @@ nohup brooklyn launch --persist auto --persistenceDir myContainerName --persiste

The following `brooklyn.properties` options can also be used:

# Location spec string for an object store (e.g. jclouds:swift:URL) where persisted state
# Location spec string for an object store (e.g. jclouds:openstack-swift:URL) where persisted state
# should be kept; if blank or not supplied, the file system is used.
brooklyn.persistence.location.spec=<location>

# Container name for writing persisted state
brooklyn.persistence.dir=/path/to/dataContainer

# Location spec string for an object store (e.g. jclouds:swift:URL) where backups of persisted
# state should be kept; defaults to the local file system.
# Location spec string for an object store (e.g. jclouds:openstack-swift:URL) where backups of
# persisted state should be kept; defaults to the local file system.
brooklyn.persistence.backups.location.spec=<location>

# Container name for writing backups of persisted state;
Expand Down