| Watch Folders and the Aspera Watch Service |
192
}
}
}
}
Option
Description
Default
scan_period
The time between file system scans of the watches (from end of one
to start of the next). These scans are independent of the snapshot
minimum interval and snapshot minimum changes to ensure that
changes are identified. To never scan (asperawatchd relies entirely
on file notifications), set to "infinite". On file systems without file
notifications, such as object storage, mounted storage (NFS), Solaris,
AIX, and Isilon, file system scans triggered by the scan period
are used to detect file changes. In this case, set the scan period to
frequently scan for changes. On operating systems that support file
notifications (Linux, Windows, macOS), asperawatchd uses the file
notifications as the primary means for detecting changes, and the
scan period serves as a backup. In this case, the default value of 30
minutes is usually acceptable and no change is necessary. To never
scan, and rely entirely on file notifications, set to
infinite
.
For pull Watch Folders, file systems scans that are triggered by
scan_period are the sole means for detecting changes in the source
directory.
Lower scan periods detect changes faster but can result in greater
resource consumption, particularly for object storage.
Note:
The value for scan period cannot be empty, otherwise the
configuration is rejected.
30m
identifier
The daemon associated with the Watch Service that is used to
monitor the file system. Optional. Required only when you want to
use a Watch Service that is run by a user who is not associated with
the Node API user or access key.
The system user that
is associated with
the Node API user or
access key.
connection type
The method for connecting to asperawatchd. Value can be
NONE
,
NODE
, or
REDIS
.
If
NODE
or
REDIS
is specified, then host and port must also be
specified. If
NODE
is specified, then Node API credentials must be
specified in the authorization object.
NONE
host
The IP address or the URL of the host of asperanoded or the Redis
database.
localhost
port
The port for asperanoded or the Redis database. By default, Node
uses 9092 and Redis uses 31415.
31415
authentication type
The method for authentication. Only option is
NODE_BASIC
. This
value is used only if connection type is
NODE
.
NODE_BASIC
user
The Node API username. This value is used only if connection type
is
NODE
.
N/A
pass
The Node API password. This value is used only if connection type
is
NODE
.
N/A