Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Description

Check File Status Service.

Dependencies

Attributes

#MonitoredFileSystem

Directory/Mount Point of the monitored File System.
NONE = disabled this service.

Default Value: NONE

#MinimumFileAge

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

Checks files with the specified status for status change. Enumerated values: DEFAULT, TO_ARCHIVE, ARCHIVED, QUERY_HSM_FAILED

Default Value: TO_ARCHIVE

#CommandFailedFileStatus

New file status, if the query command could not be executed. Enumerated values: DEFAULT, TO_ARCHIVE, ARCHIVED, QUERY_HSM_FAILED

Default Value: TO_ARCHIVE

#NonZeroExitFileStatus

New file status, if query command returns non-zero exit code. Enumerated values: DEFAULT, TO_ARCHIVE, ARCHIVED, QUERY_HSM_FAILED

Default Value: QUERY_HSM_FAILED

#NoMatchFileStatus

New file status, if the query result does NOT match specified pattern. Enumerated values: DEFAULT, TO_ARCHIVE, ARCHIVED, QUERY_HSM_FAILED

Default Value: TO_ARCHIVE

#MatchFileStatus

New file status, if the query result does match specified pattern. Enumerated values: DEFAULT, TO_ARCHIVE, ARCHIVED, QUERY_HSM_FAILED

Default Value: ARCHIVED

#Command

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.

Default Value: mmls %i/%f

#Pattern

Regular expression, applied to stdout of command. Result determines if status is changed to MatchFileStatus or NoMatchFileStatus.

Default Value: .*\bArchived\b.*

#TaskInterval

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
e.g.: 1h!9-17 = 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

#NumberOfFilesPerTask

Maximum number of files which are checked for status change in one task.

Default Value: 1000

#SchedulerServiceName

Used internally. Do NOT modify.

Default Value: dcm4chee.archive:service=Scheduler

#TimerIDCheckSyncFileStatus

The timer ID for scheduler of checking file synchronization status.

Default Value: CheckSyncFileStatus

#Name

The class name of the MBean

#State

The status of the MBean

#StateString

The status of the MBean in text form

Operations

#create

Standard MBean lifecycle method

#start

The start lifecycle operation

#stop

The stop lifecycle operation

#destroy

The destroy lifecycle operation

#jbossInternalLifecycle

The detyped lifecycle operation (for internal use only)

#check

Check files for status changes.

Notifications

  • No labels