1.1.1

Table Of Contents
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.
DescriptionOption
JVM option passed to the spawned SQLFire server JVM. For
example, use -J-Xmx1024m to set the JVM heap to 1GB.
-J
Working directory of the server that will contain the SQLFire Server
status le and will be the default location for log le, persistent les,
data dictionary, and so forth (defaults to the current directory) .
-dir
vFabric SQLFire User's Guide392
vFabric SQLFire Reference