Starting the Aspera Watch Service

Sync can be configured to use the Aspera Watch service for fast synchronization of large numbers of files without scanning the directory. Sync can push files from a local directory, pull files from a remote directory, or create a bidirectional session between two directories (on condition that the Aspera Watch service is properly configured to monitor both directories).

To push files to a remote server by using Aspera Watch Service, configure asperawatchd on the local host. The remote server does not need to be configured. For instructions on starting the Aspera Watch service for a push Sync, see Starting Aspera Watch Services and creating Watches.

To pull files from a remote host, configure asperawatchd on the remote host. See the following steps for configuration instructions. The local host does not need to be configured.

  1. On the remote server, configure the Aspera Watch service database storage.

    If you set default database storage, Sync uses the Aspera Watch service for all pull requests to the server, whereas if you set database storage for a specific user then the Aspera Watch service is used only for pull requests by that user.

    To configure the Watch Service database as the default, run the following command:

    >asconfigurator -x "set_node_data;async_watchd,redis:hostname:31415[:domain]"

    To configure the database storage for a specific user, run the following command:

    >asconfigurator -x "set_user_data;user_name,username;async_watchd,redis:hostname:31415[:domain]"
  2. On the remote server, set up the Aspera Watch service.