All Perlbal configuration commands: (case insensitive)
===================================
Admin commands:
- - - - - - - -
shutdown -- shuts down the server, killing all active connections
shutdown graceful -- closes listening sockets and stays alive until clients bleed off
create pool -- create an empty pool
pool add -- add a node to a pool
pool remove -- remove a node to a pool
set [] = -- set a property on a pool (see pool-parameters.txt).
pool is optional when it was just created.
create service -- create a new service
set [] = -- set a property on a service (see service-parameters.txt)
service name is optional when service was just created.
default param = value -- set a default value for a service parameter, to be used
whenever you create a new service
enable -- enable a service (start listening)
disable -- disable a service (stops listening)
use -- sets the implied service or pool for future operations. note
that creating a service or pool object also "uses" it
header remove -- remove a header before going to backend node
header insert : -- insert a header before going to backend node
load -- load a plugin
unload -- unload a plugin
plugins -- list plugins
xs -- show status of XS modules loaded
xs enable -- turn on an already-loaded XS module
xs disable -- turn off an already-loaded XS module
show service -- list all services
show service -- show details of given service
show pool -- list all pools, nodes, and services using them
show pool -- show members of a pool
reproxy_state -- dump state of reproxy status
server = -- set a server parameter, where param is one of:
max_reproxy_connections
max_connections
nice_level
aio_mode : one of "none", "linux" (Linux::AIO), or "ioaio" (IO::AIO)
This controls how disk IO is done asynchronously. Highly recommended
to use Linux::AIO or IO::AIO for webserving or reproxying files.
For purely reverse proxy or only reproxying URLs, none is fine.
aio_threads : number of child threads doing disk IO. (use between 2-50)
track_obj : developer option to track objects
pidfile : filename to write pidfile (no pidfile if not specified)
crash_backtrace : 1 or 0 indicating whether to perform a backtrace while the server is crashing.
Diagnostic commands:
- - - - - - - - - -
obj -- shows objects counts in scope
fd -- show file descriptors in use
proc -- show CPU usage, current time, pid, and total requests processed
nodes -- show BackendHTTP statistics for all backend nodes
node -- show BackendHTTP statistics for specified node
prof on -- enable profiling
prof off -- disable profiling
prof data -- dump profile data
uptime -- show time server was started, and current uptime
track -- dump out objects tracked, sorted by age
backends
noverify
pending
states []
leaks [....]
queues
state changes
Expansions
- - - - - -
The following things expand/interpolate in config files/commands
${ip:eth0} -- expands to the configured IP for interface "eth0". Probably
only works on Linux.
That is all.