How to retrieve currently applied node configuration from Riak v2.0+ -


showing applied configuration values

in v2.0+ of riak there new command option: riak config effective

which read tell current running values of riak.

at time, can snapshot of applied configurations through command line. listing of of configs applied in node


config changes applied on start of each node?

in multiple locations in riak documentation there reference like:

remember must stop , re-start each node when change storage backends or modify other configuration


problem:

however when made change setting (i've tested in both riak.conf , advanced.conf), see newest value when running: riak config effective

ie:

  1. start node: riak start
  2. view current setting log level: riak config effective | grep log.console.level

log.console.level = info

  1. change level debug (something output lot console.log)
  2. re-run: riak config effective | grep log.console.level, get:

log.console.level = debug

  1. checking console log file debug: cat /var/log/riak/console.log | grep debug give no results (indicating config change has not been applied)

so question is, how can retrieve , verify config setting each riak node running under?

when riak starts, creates 2 files: 'app..config' , 'vm..config'. default location in 'generated.configs' directory under platform data directory (usually /var/lib/riak).

these files contain settings in place when riak started. command riak config effective processes current riak.conf , advanced.config files.


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -