software:riak
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| software:riak [2014/02/04 17:28] – created Michele Porelli | software:riak [2014/02/05 17:45] (current) – [Setup an S3 clone with Debian] Michele Porelli | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Riak ====== | ====== Riak ====== | ||
| + | ===== Riak-CS ===== | ||
| + | ==== Setup an S3 clone with Debian==== | ||
| + | This guide is tested on Debian Wheezy with Riak 1.4.4 in my (virtualized) servers | ||
| + | * All riak components should be installed on the same machine (riak, riak-cs, riak-cs-control, | ||
| + | * Web application should be on a different machine or you have to use riak ip and port as proxy | ||
| + | * Development outside the network is possibile but using the proxy as above | ||
| + | |||
| + | < | ||
| + | 192.168.30.2 | ||
| + | | ||
| + | | ||
| + | +---------> | ||
| + | | | | | ||
| + | | +---------------------------------+ | ||
| + | | | ||
| + | | | ||
| + | | +---------------------------------+ | ||
| + | | | | | ||
| + | +---------> | ||
| + | | ||
| + | +-------------------+ | ||
| + | | | ||
| + | | ||
| + | | | ||
| + | +-------------------+ | ||
| + | +---------> | ||
| + | | | | | ||
| + | | +---------------------------------+ | ||
| + | | | ||
| + | | | ||
| + | | +---------------------------------+ | ||
| + | | | | | ||
| + | +---------> | ||
| + | | ||
| + | | ||
| + | |||
| + | In progress... | ||
| + | |||
| + | === Riak-CS S3 Clone === | ||
| + | - Add basho key< | ||
| + | - Add basho repository< | ||
| + | - Install all riak components< | ||
| + | - Change riak backend to use riak-cs< | ||
| + | |||
| + | {storage_backend, | ||
| + | |||
| + | and replace it with: | ||
| + | |||
| + | {add_paths, ["/ | ||
| + | {storage_backend, | ||
| + | {multi_backend_prefix_list, | ||
| + | {multi_backend_default, | ||
| + | {multi_backend, | ||
| + | {be_default, | ||
| + | {max_open_files, | ||
| + | {data_root, "/ | ||
| + | ]}, | ||
| + | {be_blocks, riak_kv_bitcask_backend, | ||
| + | {data_root, "/ | ||
| + | ]} | ||
| + | ]},</ | ||
| + | |||
| + | {default_bucket_props, | ||
| + | </ | ||
| + | - Increase riak capacity< | ||
| + | ## it should be added. | ||
| + | ## appropriate. | ||
| + | +zdbbl 96000</ | ||
| + | - Temporary enable admin user creation< | ||
| + | - Start riak, riak-cs and stanchion< | ||
| + | - Create an admin user< | ||
| + | -X POST http:// | ||
| + | --data ' | ||
| + | |||
| + | Take a note with the response! | ||
| + | </ | ||
| + | - Stop riak& | ||
| + | - Set riak-cs network ip< | ||
| + | - admin-key and admin-secrets in riak-cs and stanchion | ||
| + | - set cs_root_host | ||
| + | - script | ||
| + | - ulimit | ||
| + | === Web server === | ||
| + | - install nginx | ||
| + | - configure nginx server | ||
| + | === Firewall === | ||
| + | - redirect rule | ||
| + | |||
software/riak.1391534898.txt · Last modified: (external edit)
