epadmin
StreamBase Runtime — StreamBase Runtime command
SYNOPSIS
epadmin [global-parameters] [command] [target] [target-parameters]
epadmin help
epadmin [global-parameters] help targets [--format=[readable|json]]
epadmin [global-parameters] help [target] [--format=[readable|json]]
DESCRIPTION
Use the epadmin command to install, start, manage, and communicate with StreamBase Runtime nodes and clusters. Use epadmin from a configured shell prompt as follows:
-
On Windows, you must use a StreamBase Command Prompt.
-
On macOS and Linux, use a StreamBase-configured command shell.
The components of an epadmin command are:
-
global-parametersare one or moreparameterstatements from the short list of global parameters that can apply to any epadmin command and target. Runepadmin help globalsfor the list. -
commandis an imperative verb such asdisplay,install,start,stop, andhelpthat is to be applied to thetarget. -
targetis one of the supported targets for thecommandto act on, such as node, cluster, application, engine. Runepadmin help targetsfor the list of supported targets. -
target-parametersis one or moreparameterstatements from the list of parameters supported by the specific command and target. Useepadmin helpto see thetargetnametarget-parametersavailable for that target.
Parameter Syntax
The epadmin command supports two syntaxes for entering parameters:
-
Gnu-style parameter syntax with two hyphens prefixing parameter names. You can enter the fewest number of letters of each parameter's name that maintains that parameter's uniqueness among the current target's supported parameters. This syntax does not require an equals sign between a parameter and its argument, but accepts one if present. For example, the following lines each perform the same action:
epadmin --adminport=2000 dequeue stream --verbose=true epadmin --ad=2000 dequeue stream --ve=true epadmin --ad 2000 dequeue stream --ve true epadmin --ad=2000 dequeue stream --ve true
-
Legacy syntax from previous releases is still supported. In this format, parameters do not use prefixed hyphens, you must type the full parameter name, and the equals signs are required. For example:
epadmin adminport=2000 username=sbuser password=secret display node
You cannot mix Gnu and legacy syntax in the same command.
Help System
The epadmin command has extensive built-in usage help. Enter epadmin help for the help starting point. Enter epadmin help targets to see a list of available targets, then use epadmin help to see target-specific help.
targetname
You can append --format=json to a request for the list of targets or for target-specific help. This provides the help usage syntax information in industry
standard JSON form to make it easy to post-process it if needed. The default is --format=readable.
The epadmin help node command is especially useful to remind you of the syntax to install and start nodes.
The full syntax of the epadmin command is described in its help system, or in a separate documentation page.
