Activates AI File Management for the automated management of AI files. Use this qualifier only when after-imaging is enabled.

Syntax

rfutil db-name -C aiarchiver enable -aiarcdir dir-list [ -aiarcinterval n ] [ -aiarcdircreate ] 

Parameters

db-name
Specifies the database you are using.
-aiarcdir dir-list
Specifies a comma-separated list of directories used as target locations for archived AI files. The directories must exist, unless you specify -aiarcdircreate. The specified dir-list replaces any previously specified directory list, and the directory names may not include embedded spaces or commas. The total length of dir-list cannot exceed 512 characters. For details about listing multiple archiving directories, see After-image File Management Archive Directory List (-aiarcdir).
-aiarcinterval n
Specifies timed or on-demand mode for AI file management operation. If you specify timed mode, n sets the elapsed time in seconds between forced AI extent switches. The minimum time is two minutes, the maximum is 24 hours. If you omit this parameter to indicate on-demand mode, there are no mandatory extent switches other than when an extent is full. You can modify the interval on a running system with RFUTIL. In both timed and on-demand modes, the AI File Management utility archives full AI extents every five seconds.
-aiarcdircreate
Directs the daemon to create the directories specified by the -aiarcdir parameter, if they do not currently exist.

Notes

  • Issuing AIARCHIVER ENABLE has the following impact:
    • The database broker automatically starts the AI file management daemon when the broker starts.
    • The AI Archive log file (database-name.archival.log) is created in the same directory as your database (.db) file.
    • The expected behavior is that the -aistall parameter is automatically set to enabled when the aiarchiver is enabled online.
  • Earlier versions of OpenEdge are not allowed to directly connect to your database when AI file management is enabled. Clients may still connect using a network connection.

Operation of the AI file management daemon is controlled through other AIARCHIVER qualifiers to RFUTIL, PROSERVE, and PROBKUP. See AI File Management utility for details.