1.0

Table Of Contents
Description
Handling Missing Disk Stores on page 85 provides more details about listing and revoking missing disk stores.
Example
sqlf list-missing-disk-stores -mcast-port=3000
Connecting to distributed system: mcast=/239.192.81.1:3000
DiskStore at hosta.vmware.com /home/dsmith/dir2/.
sqlf locator
Allows peers (including other locators) in a distributed system to discover each other without the need to hard-code
anything about other peers.
page 508
Description on page 508
Examples on page 396
Syntax
To start a stand-alone locator use the command:
sqlf locator start [-J<vmarg>]* [-dir=<workingdir>]
[-classpath=<classpath>]
[-distributed-system-id=<id>]
[-max-heap=<size>] [-initial-heap=<size>]
[-peer-discovery-address=<addr> (default is 0.0.0.0)]
[-peer-discovery-port=<port> (default 10334)]
[-bind-address=<address> (default is the
-peer-discover-address value)]
[-run-netserver=<true|false> (default true)]
[-client-bind-address=<addr> (default is GemFire
bind-address or if not set then loopback)]
[-client-port=<clientport> (default 1527)]
[-locators=<addresses>] [-auth-provider=<provider>]
[-remote-locators=<host[port]>[,<host[port]>]...]
[-server-auth-provider=<provider>]
[-user=<username>] [-password[=<password>]]
[-log-file=<path> (default sqlflocator.log)]
[-<prop-name>=<prop-value>]*
Note: Always start a locator as a background process using sqlf locator start &
This is required as the locator may not have been the last peer to go down in the cluster and thus will
require the other cluster locators to also come up before it can be certain that its data is consistent with
others.
When starting a locator using sqlf locator start, in addition to those listed above, you can use
any other SQLFire boot properties (<prop-name>) on the command-line.
The startup script maintains the running status of the locator in a le .sqlflocator.ser.
To display the status of a running locator:
sqlf locator status [ -dir=<workingdir> ]
To stop a running locator:
sqlf locator stop [ -dir=<workingdir> ]
The table describes options for the sqlf locator command. Default values are used if you do not specify an option.
349
sqlf Launcher Commands