Prepare Controller Daemon Shell Script |
Scroll |
Starting the Controller Daemon requires only the SQDAEMON command. A shell script is commonly created containing commands for this purpose.
Syntax
$ sqdaemon --service=<Port_number>
--tcp-buffer-size=<buffer_size>
--[ipv4] | [ipv6]
-d <SQDATA_VAR_DIR>/daemon
Keyword and Parameter Descriptions
--service=<Port_number> The TCP/IP port that will be used to communicate with the Controller Daemon. The default if not specified is 2626.
--tcp-buffer-size=<buffer_size> The size of the TCP/IP send buffer that will be created for the socket initially established by the controller daemon and a requesting Apply Engine before that socket is transferred to the CDCStore Publisher. The recommended number is 262144.
--[ipv4] | [ipv6] The TCP/IP protocol used by the Controller Daemon. connection. The operating system default will be used if not specified
-d <SQDATA_VAR_DIR>/daemon The working directory of the Controller Daemon.
Example
$ sqdaemon --service=2626 --tcp-buffer-size=262144 -d <SQDATA_VAR_DIR>/daemon