solar/examples/riak
2015-11-02 09:13:33 +01:00
..
haproxy_riak_config.yaml Split riak cluster into smaller pieces 2015-09-29 16:39:24 +02:00
README.md Update README.md 2015-09-08 08:34:40 +02:00
riak_cluster.yaml Update Virtual Resource for riak cluster 2015-09-29 16:39:24 +02:00
riak_service.yaml Split riak cluster into smaller pieces 2015-09-29 16:39:24 +02:00
riaks_big.py Fixed hosts_file resources duplicates in riak examples 2015-11-02 09:13:33 +01:00
riaks-template.py Riak: yet another naming fix 2015-09-18 12:40:00 +02:00
riaks.py Fixed hosts_file resources duplicates in riak examples 2015-11-02 09:13:33 +01:00

Example of 3 node riak cluster.

At first run:

python examples/riak/riaks.py deploy

It will prepare riak nodes etc.

Then you can continue with standard solar things:

solar changes stage -d
solar changes process
solar orch run-once last
watch -n 1 solar orch report last

Wait until all actions have state SUCCESS After that you can add HAProxy on each node:

python examples/riak/riaks.py add_haproxies

Then again normal solar stuff

solar changes stage -d
solar changes process
solar orch run-once last
watch -n 1 solar orch report last

Wait until all actions have state SUCCESS After that you have basic 3 node riak cluster running.

You can also modify riak http port by:

solar resource update riak_service1 riak_port_http=18100

And then again standard stuff:

solar changes stage -d
solar changes process
solar orch run-once last
watch -n 1 solar orch report last