...
Check File Status Service.
Dependencies
Attributes
...
#MonitoredFileSystem
Anchor | ||||
---|---|---|---|---|
|
Directory/Mount Point of the monitored File System.
NONE = disabled this service.
...
Default Value: NONE
#HSMModulServicename
Anchor | ||||
---|---|---|---|---|
|
HSM Module to query status of files on HSM systems.
Default Value: dcm4chee.archive:service=FileCopyHSMModule,type=Command
#MinimumFileAge
Anchor | ||||
---|---|---|---|---|
|
Only files created longer ago than the specified intervall ##w (in weeks), ##d (in days), ##h (in hours) are checked for status change.
Default Value: 1w
...
#CheckFileStatus
Anchor | ||||
---|---|---|---|---|
|
Checks files with the specified status for status change.
Enumerated values: DEFAULT, TO_ARCHIVE, ARCHIVED, QUERY_HSM_FAILED
...
Default Value: TO_ARCHIVE
#VerifyTar
Anchor | ||
---|---|---|
|
...
New file status, if the query command could not be executed.
Enumerated values: DEFAULT, TO_ARCHIVE, ARCHIVED, QUERY_HSM_FAILED
...
|
Enables verification of tar files.
If enabled the tar file is verified by
1) checking MD5 sums of the tar content.
2) check if tar file contains the file.
Only applicable if filesystem is a tar filesystem!
Default Value: true
#InvalidTarStatus
Anchor | ||||
---|---|---|---|---|
|
New file status or DELETE if verification of tar failed.
Enumerated values: DELETE or DEFAULT, TO_ARCHIVE, ARCHIVED, QUERY_HSM_FAILED, MD5_CHECK_FAILED
...
New file status, if the query result does NOT match specified pattern.
Enumerated values: DEFAULT, TO_ARCHIVE, ARCHIVED, QUERY_HSM_FAILED
...
New file status, if the query result does match specified pattern DELETE..Delete all file entities related to this invalid tar file.
Only applicable if VerifyTar is enabled.
Default Value: DEFAULT
#NotInTarStatus
Anchor | ||||
---|---|---|---|---|
|
New file status or DELETE if file is not found in related tar file.
Enumerated values: DELETE or DEFAULT, TO_ARCHIVE, ARCHIVED, QUERY_HSM_FAILED
...
Command to query status of specific file.
- %d will be replaced by file system name (directory path/mount point),
- %f will be replaced by the file path,
- %i will be replaced by user info associated with the file system.
...
Regular expression, applied to stdout of command. Result determines if status is changed to MatchFileStatus or NoMatchFileStatus.
...
DELETE..Delete such invalid file entities. Only applicable if VerifyTar is enabled.
Default Value: DEFAULT
#TaskInterval
Anchor | ||||
---|---|---|---|---|
|
Interval in which the File status is checked.
Format: <interval>'!'<from>'-'<to> | 'NEVER'
<interval> = ##m (in minutes) | ##h (in hours).
<from> = start hour (0-23) when no file status check should be performed
<to> = end hour (0-23) when no file status check should be performed
NEVER = disable file status checking
Example e.g.: 1h!9-17
= > Synchronize file status every hour, except between the hours of 9:00am and 5:00pm.
By setting this type of TaskInterval, you can perform file status synchronisation outside of peak hours.
...
.
Default Value: NEVER
#OldestCreatedTimeOfCheckFileStatus (read-only)
Anchor | ||||
---|---|---|---|---|
|
Creation Date of oldest file on configured filesystem with file status of configured CheckFileStatus.
#NumberOfFilesPerTask
Anchor | ||||
---|---|---|---|---|
|
Maximum number of files which are checked for status change in one task.
Default Value: 1000
#isRunning
Anchor | ||||
---|---|---|---|---|
|
Current state if syncFileStatus task is running. Used to avoid concurrency!
#TimerIDCheckSyncFileStatus
Anchor | ||||
---|---|---|---|---|
|
The timer ID for scheduler of checking file synchronization status.
Default Value: CheckSyncFileStatus
#TarRetrieverName
Anchor | ||||
---|---|---|---|---|
|
Used internally. Do NOT modify.
Default Value: dcm4chee.archive:service=TarRetriever
...
#SchedulerServiceName
Anchor | ||||
---|---|---|---|---|
|
Used internally. Do NOT modify.
Default Value: dcm4chee.archive:service=Scheduler
...
#Name
Anchor | ||||
---|---|---|---|---|
|
The class name of the MBean
...
#State
Anchor | ||||
---|---|---|---|---|
|
The status of the MBean
...
#StateString
Anchor | ||||
---|---|---|---|---|
|
The status of the MBean in text form
Operations
...
#create
Anchor | ||||
---|---|---|---|---|
|
Standard MBean lifecycle method
...
#start
Anchor | ||||
---|---|---|---|---|
|
The start lifecycle operation
...
#stop
Anchor | ||||
---|---|---|---|---|
|
The stop lifecycle operation
...
#destroy
Anchor | ||||
---|---|---|---|---|
|
The destroy lifecycle operation
...
#jbossInternalLifecycle
Anchor | ||||
---|---|---|---|---|
|
The detyped lifecycle operation (for internal use only)
...
#check
Anchor | ||||
---|---|---|---|---|
|
Check files for status changes.
#updateOldestCreatedTimeOfCheckFileStatus
Anchor | ||||
---|---|---|---|---|
|
Update OldestCreatedTimeOfCheckFileStatus. This will be done automatically every day after midnight if this service is enabled.
#syncArchivedStatusOfInstances
Anchor | ||||
---|---|---|---|---|
|
Set ARCHIVED flag of Instances where files on given file system has file_status=2 (ARCHIVED).
This can be used to update instances that are already copied with a version prior to 2.16.0.