solar-resources/examples/riak
Łukasz Oleś da3fd7dcb6 Nodes are note created in examples now
To be able test examples in different envs nodes can not be created in examples.
Now before running an example nodes should be created manually. For fuel-devops
nodes will be created automaticly in run.sh script
2016-02-01 14:36:31 +01:00
..
haproxy_riak_config.yaml Refactor VirtualResources 2015-12-29 16:50:46 +01:00
README.md Adjusted paths after splitting repos 2016-01-13 13:06:57 +01:00
riak_cluster.yaml Possible to use relative paths in CR 2015-12-29 19:09:27 +01:00
riak_service.yaml Refactor VirtualResources 2015-12-29 16:50:46 +01:00
riaks_big.py Refactor VirtualResources 2015-12-29 16:50:46 +01:00
riaks-template.py Replace all templates/(.*)\.yaml with templates/\1 2015-12-28 12:51:28 +01:00
riaks.py Nodes are note created in examples now 2016-02-01 14:36:31 +01:00

Example of 3 node riak cluster.

At first run:

python solar-resources/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 solar-resources/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