1.0

Table Of Contents
The following example bash script starts members in parallel. The script waits for the startup to nish and
exits with an error status if one of the jobs fails.
#!/bin/bash
ssh servera "cd /my/directory; sqlf server start &
ssh serverb "cd /my/directory; sqlf server start &
STATUS=0;
for job in `jobs -p`
do
echo $job
wait $job;
JOB_STATUS=$?;
test $STATUS -eq 0 && STATUS=$JOB_STATUS;
done
exit $STATUS;
2. Respond to any member startup hangs. If a disk store with the most recent table data does not come online,
other members wait indenitely rather than come online with stale data. Check for missing disk stores with
the sqlf list-missing-disk-stores command. See Handling Missing Disk Stores on page 85.
a. If no disk stores are missing, your peer initialization may be slow for some other reason. Check to see if
other members are hanging or fail to start.
b. If disk stores are missing that you think should be there:
a. Make sure you have started the member. Check the logs for any failure messages.
b. Make sure your disk store les are accessible. If you have moved your member or disk store les,
you must update your disk store conguration to match.
c. If disk stores are missing that you know are lost, because you have deleted them or their les are otherwise
unavailable, revoke them so the startup can continue. See Handling Missing Disk Stores on page 85.
Disk Store Management
The sqlf command-line tool has several options for examining and managing your disk stores. The sqlf
tool, along with the CREATE DISKSTORE statement, are your management tools for online and ofine disk
stores.
Note: Each of these commands operates either on the online disk stores or ofine disk stores, but not
both.
See . . .Online or
Offline
Command
sqlf Command
Validate a Disk Store on page 80Off
validate-disk-store
Compacting Disk Store Log Files on page 80On
compact-all-disk-stores
Compacting Disk Store Log Files on page 80Off
compact-disk-store
Backing Up and Restoring Online Disk Stores on page 83On
backup
Handling Missing Disk Stores on page 85On
list-missing-disk-stores
Handling Missing Disk Stores on page 85On
revoke-missing-disk-store
79
Using Disk Stores to Persist Data