Command Line Reference

The following shell commands can be used on the SwiftStack gateway.

ad_join
Once the required CIFS/SMB settings are configured, this command is used by a domain administrator user or user with rights to join the Gateway to the Active Directory (AD). Note: neither the username or password is stored and is used only for the purpose of joining the domain.
ad_leave
Used to remove a configured Gateway from the AD domain.
cache_flush
This command flushes dormant files from the system cache. It will only remove the files that have been successfully synchronized with the SwiftStack cluster. This command should be used in troubleshooting or for resetting a system only.
cache_flush_force
This cache_flush command will flush dormant files from the system cache. Using this force variant (cache_flush_force) resets the system cache and all store states. Resetting the system cache includes removing all files from the cache (without verifying that the cluster has the most recent version of the files), stops all transfers to the cluster, resets the system queue, flushes the filesystem, and restarts the subsystem processes. This command should be used with caution with full understanding of what it will impact.
index_containers_flush
This command will have the Gateway remove and the rebuild the local index of a specified container. If no container name is specified, the system will flush and rebuild the local index for all containers with local shares attached to them.
index_containers_sync
This command forces the system to immediately perform a manual sync of the local index to the cluster. A manual sync is generally not necessary as this command is executed automatically at the time interval specified in index containers sync time.