Realm Server Executable Reference
Administrators use tibrealmserver, the realm server command line executable, to start a realm server process.
Most command line parameters and options have both a short and a long form. The command line parser accepts either form. In addition, you can supply a Java-style properties form for most options in a configuration file (see --config).
Input and Output
Affiliated Servers
For rules about permissible relationships among servers, see the table Affiliated Realm Servers: Role Summary.
For information about disaster recovery servers, see Disaster Recovery.
Parameter | Arguments | Description |
---|---|---|
--backupfor | host:port | When present, start this realm server process as a potential backup server for a primary or satellite. (The
host:port arguments must match the arguments to the
--http parameter of the primary or satellite server.)
The primary or satellite server initiates the backup connection. (You must also configure that server using the --config parameter.) When present, you must also explicitly supply --http host:port (with both arguments). |
--backupto | host:port | When present, the server designates a backup server and attempts to connect to it at
host:port. (The
host:port arguments must match the arguments to the
--http parameter of the backup server.)
(You must also configure the backup server using the --backupfor parameter.) While disconnected, this server repeatedly attempts to connect to its backup. When present, you must also explicitly supply --http host:port (with both arguments). |
--satelliteof | host:port | When present, the server designates itself as a satellite of a primary server. This satellite server connects to its primary server at
host:port.
A satellite server does not accept client connection requests until it first receives a realm definition from its primary server. A satellite server accepts realm updates only from its primary. While disconnected, a satellite server repeatedly attempts to connect to its primary server. |
--drfor | host:port | When present, start this realm server process as a disaster recovery server for a primary server. (The
host:port arguments must match the arguments to the
--http parameter of the primary server.)
The primary server initiates the connection. (You must also configure that primary server using the --config parameter.) When present, you must also explicitly supply --http host:port (with both arguments). |
--drto | host:port | When present, the server designates a disaster recovery server and attempts to connect to it at
host:port. (The
host:port arguments must match the arguments to the
--http parameter of the backup server.)
(You must also configure the disaster recovery server using the --drfor parameter.) While disconnected, this primary server repeatedly attempts to connect to its disaster recovery counterpart. When present, you must also explicitly supply --http host:port (with both arguments). |
--server.timeout
-to |
timeout | Optional.
Servers use this timeout, in seconds, for two purposes:
Supply a positive number. When absent, the default value is 3 seconds. |
--server.heartbeat
-hb |
hb_interval | Optional.
The server sends its heartbeat signal at hb_interval, in seconds. Supply a positive number. When absent, the default value is 1 second. |
--server.user
-u |
username | Required for affiliated servers when enabling user authorization.
The server authenticates itself to affiliated servers with this username. When --server.authtobackup.user is present, the server authenticates itself to its backup server using that value. However, it still uses the value of --server.user to authenticate to satellites. |
--server.password
-pw |
password | Required for affiliated servers when enabling user authorization.
The server authenticates itself to affiliated servers with this password. To hide the password from casual observers, you may first obfuscate the password using tibrealmadmin --mangle. |
--server.authtobackup.user | username | Optional.
When present, the server authenticates itself to its backup server with this username. When absent, it uses the value of --server.user instead. |
--server.authtobackup.password | password | Optional.
When present, the server authenticates itself to its backup server with this password. To hide the password from casual observers, you may first obfuscate the password using tibrealmadmin --mangle. When absent, it uses the value of --server.password instead. |
--server.label | label | Optional.
You may supply a string to easily identify the realm server process within the monitoring interface. For example, when a primary server has several satellites, it could be useful to label them according to their geographic locations. If the string value contains space characters, enclose it in double quote (") characters. When absent, the default is the host and HTTP port of the server (see --http). |
Authentication and Authorization Service
If you use a single authentication service for both FTL and eFTL clients, then use the parameters --auth.* to configure realm server communication with it.
If you use separate authentication services for FTL clients and eFTL clients, then use the parameters --auth.* to configure realm server communication with the authentication service for FTL clients, and use the parameters --auth.eftl.* to configure realm server communication with the authentication service for eFTL clients.
TLS Security
Parameter | Arguments | Description |
---|---|---|
--secure | password | When present, the realm server uses TLS to secure its communications with clients, utilities, and affiliates.
For more information about the keystore password argument, see Keystore File Password Security. |
--tls.trust.file | path | Optional. (Required for secure backup and satellite servers that communicate with a secure primary realm server.)
Secure backup and satellite servers use this parameter to supply the file path to a local copy of the primary server's trust file. When both are present, this parameter overrides --tls.trust.everyone. For more information, see Running a Secure Backup or Satellite Realm Server. |
--tls.trust.everyone | Optional.
The server trusts any realm server without verifying trust in the server's certificate. |
Docker
Parameter | Arguments | Description |
---|---|---|
--client.url | URL | Required when the realm server runs in a Docker container.
Supply discover:// as the value. This value guides internal clients, such as the group service, to locate the agent, discover the realm server, and connect to it. (This parameter plays a role analogous to the -rs parameter of service clients such as transport bridges and persistence servers.) |
Logging
Parameter | Arguments | Description |
---|---|---|
--loglevel
-l |
level | When present, the realm server logs protocol communication at this level of detail.
You may specify any of the standard log level strings (see “Tuning the Log Level” and its sub-topics in TIBCO FTL Development). When this option is absent, the default value is info. |
--logfile | logfile_prefix | When present, the realm server logs to a rolling set of log files instead of the console. The
logfile_prefix argument may denote a path. All of the directories in the path must already exist.
For more information about rotating log files, see “Log Output Targets” in TIBCO FTL Development. When absent, the realm server sends log output to the console, ignoring the parameters --max.log.size and --max.logs. |
--max.log.size | size | Limits the maximum size, in bytes, of log files--logfile. The value must be greater than 100 kilobytes (102400). The default value is 2 megabytes (2*1024*1024). |
--max.logs | logs | Limits the maximum number of rolling log files. The default is 50. |
Configuration File
Parameter | Arguments | Description |
---|---|---|
--config
-c |
path | When present, the realm server reads its configuration from the file at
path.
See Option and Property Names. If you specify both a configuration properties file and command line options, the command line options override those in the file (where they conflict). |