Skip to content

dedicated-node job from cf-redis/434.0.16

Github source: 958452a or master branch

Properties

redis

agent

backend_port

The backend port for the redis-agent process to listen on

Default
9876

broker

auth
password

The password for HTTP Basic Auth on the agent, also used for the broker

Default
admin
username

The username for HTTP Basic Auth on the agent, also used for the broker

Default
admin
dedicated_port

The port used by the redis instances

Default
6379
ssl
key

SSL private key for broker (PEM encoded)

pem

SSL Certificate for broker (PEM encoded)

start_redis_timeout

Maximum wait time in seconds for Redis to start up

Default
600

client_timeout

Close the connection after a client is idle for N seconds (0 to disable)

Default
0

config_command

The name of the obfuscated redis CONFIG command.

Default
""

databases

Set the number of databases. The default database is DB 0.

Default
16

limits

maxclients

Set the max number of connected clients at the same time

Default
10000

log_level

Specify the server log verbosity level (debug, verbose, notice, warning)

Default
notice

lua_time_limit

Max execution time of a Lua script in milliseconds.

Default
5000

replication

repl_disable_tcp_nodelay

Set TCP_NODELAY on the slave socket after SYNC.

Default
"no"
repl_ping_slave_period

Configure interval time in seconds that slaves send PINGs to server.

Default
10
repl_timeout

Sets a timeout for both Bulk transfer I/O timeout and master data or ping response timeout.

Default
60
slave_priority

The slave priority is an integer number published by Redis in the INFO output. It is used by Redis Sentinel in order to select a slave to promote into a master if the master is no longer working correctly.

Default
100
slave_read_only

Configure a slave instance to accept writes or not.

Default
"yes"
slave_serve_stale_data

Master-Slave replication. Use slaveof to make a Redis instance a copy of another Redis server.

Default
"yes"

security

require_pass

Require clients to issue AUTH PASSWORD before processing any other commands. This will be overwritten everytime the broker allocates it as in use.

slow_log

log_slower_than

the execution time, in microseconds, to exceed in order for the command to get logged

Default
10000
max_len

The length of the slow log. There is no limit to this length. Just be aware that it will consume memory. You can reclaim memory used by the slow log with SLOWLOG RESET.

Default
128

snapshotting

rdb_checksum

RDB files created with checksum disabled have a checksum of zero that will tell the loading code to skip the check.

Default
"yes"
rdb_compression

Compress string objects using LZF when dump .rdb databases

Default
"yes"
save

save ; Will save the DB if both the given number of seconds and the given number of write operations against the DB occurred.

Default
  - 900 1
  - 300 10
  - 60 10000
stop_writes_on_bgsave_error

This will make the user aware (in an hard way) that data is not persisting on disk properly

Default
"yes"

syslog_enabled

Enable/Disable logging to the system logger

Default
"yes"

syslog_facility

Specify the syslog facility. Must be USER or between LOCAL0-LOCAL7.

Default
local0

syslog_ident

Specify the syslog identity.

Default
redis-server

tcp_keep_alive

TCP keepalive

Default
0

service-backup

source_folder

The directory in which we store service backups

Default
""

Templates

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

  • bin/drain (from drain.bash)
  • bin/nginx_ctl (from nginx_ctl.erb)
  • bin/redis-agent_ctl (from redis-agent_ctl.erb)
  • bin/start (from start.erb)
  • config/agent.yml (from agent.yml.erb)
  • config/nginx.conf (from nginx.conf.erb)
  • config/redis.conf (from redis.conf.erb)
  • config/ssl/redis-agent.key (from redis-agent.key.erb)
  • config/ssl/redis-agent.pem (from redis-agent.pem.erb)

Packages

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