Salesforce

How to find the current value of the aiarchiver directory?

« Go Back

Information

 
TitleHow to find the current value of the aiarchiver directory?
URL Name000032223
Article Number000152732
EnvironmentProduct: OpenEdge
Version: 10.1B, 10.2x, 11.x
OS: All supported platforms
Other: AIARCHIVER
Question/Problem Description
Finding the current value of the aiarchiver directory?
The aiarchiver directory is changed online with rfutil -C aiarchiver setdir <directory>
The database lg file records that a new aiarchiver directory has been instructed in 13208 and completed in 13212 messages.
The new value for the aiarchiver directory is not listed in the 13208 13212 messages.
The current value of the new aiarchiver directory list cannot be found until the next sucessfull AI switch when the 13231 and 13199 messages are written to the database lg file

In the *.archival.log file the change in aiarchiver directory is only noticed by the new path that the ai file has been archived to since the previous archive:

0001,/db/dbname,20120517,160137,20120517,155016,17,/db/dbname.a5,/db/ais1/db~dbname.20120517.155016.00000017.dbname.a5
0001,/db/dbname,20120517,160234,20120517,155016,18,/db/dbname.a6,/db/ais2/db~dbname.20120517.155016.00000018.dbname.a6
Steps to Reproduce
Clarifying Information
Error Message(13208) The after-image management daemon has been notified about the new archive directory.
(13212) A new archive destination list has been built using the new archive directory list specified.
(13231) From this point forward all after-image extents will be archived to /db/ais2.
(13199) After-image extent /db/dbname.a6 has been copied to /db/ais2/db~dbname.20120517.155016.00000018.dbname.a6
Defect NumberEnhancement PSC00244618 / OE00221300
Enhancement Number
Cause
Resolution
An enhancement has been requested:
  1. Allow a cmd line utility to query the current aiarchiver directory/ies (aiarcdir).
  2. Log the new value of the aiarchiver directory/ies in the db.lg logfile on messages 13208 13212.
  3. Note the directory change in the *.archival.log file.
  4. Add VST _Logging.
This enhancement has not been implemented in the product to date (April 2015).  As an alternative use the workaround below.
Workaround
Either force an AI switch with "RFUTIL dbname -C aimage new" and note the directory this ai file has been archived to in the database lg file and *.archival.log file.
or
Set the alternate aiarchiver directory online with "RFUTIL dbname -C aiarchiver setdir <directory1,directory2>
Notes
Keyword Phrase
Last Modified Date4/8/2015 9:51 AM

Powered by