Skip to content

riak-cs job from cf-riak-cs/13

Github source: 238d98f2 or master branch

Properties

external_riakcs_host

External host name used by router to balance http requests across cluster nodes

nats

machines

IP of each NATS cluster member

password

Password for broker to connect to NATS

port

IP port of Cloud Foundry NATS server

user

Username for broker to connect to NATS

riak

firewall_enabled

Restricts riak requests to cluster ip range

ips

IP addresses of riak nodes

seed_node

Host of the riak seed node

riak_cs

admin_key

The admin key_id for riak_cs

admin_secret

The admin secret for riak_cs

ips

IP addresses of riak_cs

port

Port for riak_cs

Default
8080

register_route

Determines whether each node in the cluster advertises a route. When set to true, all heathly nodes in the cluster can be reached at external_riakcs_host. Having a single route to all healthy nodes allows traffic to be load balanced across the Riak CS nodes. A healthcheck process on each node monitors whether riak and riak-cs are running and the node is a valid member of the cluster. If the healthcheck process determines that a node is not healthy, it will unregister the route for the unhealthy node. When this property is set to false, nodes will not register a route. This is useful when deploying cf-riak-cs-release without Cloud Foundry. NOTE: the Riak CS service broker does not yet support register_route: false. When setting register_route to false, you must set the instance count of the cf-riak-cs-broker, acceptance-tests, broker-registrar, and broker-deregistrar jobs to 0. Also you should omit the domain property and all the cf properties.

Default
true

seeded_buckets

List of buckets to create on the riak node

Default
[]

stanchion

ip

IP of the stanchion node

syslog_aggregator

address

IP address for syslog aggregator

all

Define whether forwarders should send all their syslog data to our aggregator.

Default
false

port

TCP port of syslog aggregator

transport

Transport to be used when forwarding logs (tcp|udp|relp).

Default
tcp

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/riak-cs/ directory (learn more).

  • bin/access_log_rotate (from access_log_rotate)
  • bin/create_cs_user.escript (from create_cs_user.escript.erb)
  • bin/riak-cs_ctl (from riak-cs_ctl.erb)
  • bin/riak_ctl (from riak_ctl.erb)
  • bin/route_registrar_ctl (from route_registrar_ctl.erb)
  • bin/seed_buckets.sh (from seed_buckets.sh.erb)
  • config/registrar_settings.yml (from registrar_settings.yml.erb)
  • config/riak.app.config (from riak.app.config.erb)
  • config/riak_cs.app.config (from riak_cs.app.config.erb)
  • config/syslog_forwarder.conf (from syslog_forwarder.conf.erb)
  • join_cluster.sh (from join_cluster.sh.erb)
  • restrict_riak_requests_to_cluster_ip_range.sh (from restrict_riak_requests_to_cluster_ip_range.sh.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.