1.1

Table Of Contents
Example: Servers and Client Using Locator on page 387
Example: Multiple Locators for High Availability on page 388
Example: Servers and Accessors with a Locator on page 389
Example: Servers and Locator Using BUILTIN Authentication on page 389
Example: Servers and Accessors with Server Groups and Locator on page 390
Syntax
To start a SQLFire server :
sqlf server start [-J<vmarg>]* [-dir=<workingdir>]
[-classpath=<classpath>]
[-max-heap=<size>] [-initial-heap=<size>]
[-server-groups=<groups>]
[-run-netserver=<true|false> (default true)]
[-sync=<true|false> (default true)]
[-rebalance] [-config-scripts=<sql-files>]
[-init-scripts=<sql-files>]
[-bind-address=<address> (default is hostname or localhost
if hostname points to a local loopback address)]
[-client-bind-address=<clientaddr> (default is localhost)]
[-client-port=<clientport> (default 1527)]
[-critical-heap-percentage=<percentage>
(default 90 if -max-heap and -initial-heap both are
provided otherwise not configured)]
[-mcast-port=<port> (default 10334)]
[-mcast-address=<address> (default 239.192.81.1)]
[-locators=<addresses>] [-start-locator=<address>]
[-host-data=<true|false> (default true)]
[-auth-provider=<provider>]
[-server-auth-provider=<provider>]
[-user=<username>] [-password[=<password>]]
[-log-file=<path> (default sqlfserver.log)]
[-<prop-name>=<prop-value>]*
To display the status of a running server:
sqlf server status [ -dir=<workingdir> ]
To stop a running server:
sqlf server stop [ -dir=<workingdir> ]
If you started a server from a script or batch le using the -sync=false command, you can use the following
command to wait until the server has nished synchronization and nished starting:
sqlf server wait [-J<vmarg>]* [-dir=<workingdir>]
The wait command does not return control until the locator has completed startup.
To stop all running accessor and datastore members in the system, use the following command from within a
server working directory:
sqlf shut-down-all
The table describes the options of the sqlf server command. Default values are used if you do not specify an
option.
381
sqlf Launcher Commands