cancel
Showing results for 
Search instead for 
Did you mean: 

evmovearchivetask.exe.config format

GertjanA
Moderator
Moderator
Partner    VIP    Accredited Certified

When adding an entry, what is the format?

Now looks like:

<?xml version="1.0" encoding="utf-8"?>
<configuration>

  <runtime>
    <generatePublisherEvidence enabled="false"/>
    <RescheduleIntervalInMins="5">
  </runtime>
</configuration>
 
Getting errors now on Task Guardian. :

The EVMoveArchiveTask.exe process could not be started due to the following error: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem Check the privileges on the account that launched the process.

Removed the entry Reschedule, now task runs fine. I want to set it to 5 minutes for testing. Anyone?

Regards. Gertjan
1 ACCEPTED SOLUTION

Accepted Solutions

Wayne_Humphrey
Level 6
Partner Accredited Certified

GertjanA, Below are some of the settings that can be configured in the EvMoveArchiveTask.exe.config file. It should be noted that these options would need to be set on each Enterprise Vault server where Move Archive would be used.

Right at the bottom, I have pasted a fully working copy of the EvMoveArchiveTask.exe.config with all the default settings.
 

Move Archive task

 
AllowedNoOfCopyBackupCycles
During the verification stage of the move archive process, move archive checks that all the items that were copied from the source archive are present in the destination archive. Some items may be absent because users have deleted them, or because Enterprise Vault has expired them. However, if any other items are absent, move archive returns the archive to the copy stage so that the missing items can be copied again. AllowedNoOfCopyBackupCycles sets the number of times move archive returns the archive to the copy stage before it considers the move operation to have failed.
 
Default value: 5
Minimum value: 1
Maximum value: 100
 
LogLevel
The logging level.
 
Values: None, Failures, All.
Default: Failures.
 
LogPrivacyEnabled
Log obfuscation of private value (such as Subject)
 
Default value: True
 
MaxLogSizeKB
Max log size in KB before roll-over.
 
Default: 1024
 
ProcessorThreadsCount
The number of processor threads that the EvMoveArchiveTask will use.
Default value: 2
 
ReportVersions
For each source archive it processes, move archive creates a report file in the Reports\Move Archive subfolder of the Enterprise Vault installation folder (normally c:\Program Files\Enterprise Vault). If you move the same archive a second time, following a failure for example, move archive creates another report when it processes the archive for the second time. ReportVersions sets the number of these report files it retains for each source archive, before it removes the oldest file.
 
Default value: 5
Minimum value: 1
Maximum value: 100
 
RescheduleIntervalInMins
For each move operation, move archive enters a sleep state between each stage of the move. For example, move archive enters the sleep state while it waits for shortcut processing, and for destination archive backup.
RescheduleIntervalInMins sets the length of this sleep state in minutes. At the end of the interval, move archive resumes processing if a processing slot is available. You should consider setting a longer interval in environments where you move large numbers of archives at the same time.
 
Default value: 30
Minimum value: 5
Maximum value: 1000
 
SkipDuplicateItems
If move archive finds that items from the source archive are duplicated in the destination archive, it writes errors to the event log for the first 10 duplicates, then marks the move operation as failed. It does this because the presence of duplicates can indicate that the source archive has already been moved to the destination. 
 
Note: Move archive considers two items to be duplicates when they both have the same transaction ID. 
 
You can change this behavior by setting SkipDuplicateItems to 1. Then, move archive still logs the duplicate items but skips them and proceeds with the move operation.
 
Default value: 0
 
WaitforBackupMode
Whether to wait for backup of copied items.
 
0: always wait
1: as per destination archive's Vault Store safety copy setting
2: never wait
Default value 0
 
And here is a copy of the .config with all the defaults, that works ;)
 
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <runtime>
    <generatePublisherEvidence enabled="false"/>
<AllowedNoOfCopyBackupCycles value="5" />
<LogLevel value="Failures" />
<LogPrivacyEnabled value="True" />
<MaxLogSizeKB value="1024" />
<ProcessorThreadsCount value="2" />
<ReportVersions value="3" />
<RescheduleIntervalInMins value="30" />
<SkipDuplicateItems value="0" />
<WaitforBackupMode value="0" />
  </runtime>
</configuration>

View solution in original post

9 REPLIES 9

GertjanA
Moderator
Moderator
Partner    VIP    Accredited Certified

<configuration>
<configSections>
<sectionGroup name="MoveArchive">
<section name="common" type="System.Configuration.DictionarySectionHandler"/>
</sectionGroup>
</configSections>
<MoveArchive>
<common>
<add key="RescheduleIntervalInMins" value="720" />
</common>
</MoveArchive>
</configuration>

GJ

Regards. Gertjan

GertjanA
Moderator
Moderator
Partner    VIP    Accredited Certified

File looks like:

<?xml version="1.0" encoding="utf-8"?>
<configuration>

  <runtime>
    <generatePublisherEvidence enabled="false"/>
  </runtime>
  <configSections>
 <sectionGroup name="MoveArchive">
  <section name="common" type="System.Configuration.DictionarySectionHandler"/>
 </sectionGroup>
  </configSections>
 <MoveArchive>
  <common>
   <add key="RescheduleIntervalInMins" value="5" />
  </common>
 </MoveArchive>
</configuration>
 
Now errors in eventlog:
Exception: Only one <configSections> element allowed per config file and if present must be the first child of the root <configuration> element. (D:\Program Files\Enterprise Vault\EVMoveArchiveTask.exe.Config line 8)
Diagnostic:
Type: System.Configuration.ConfigurationErrorsException
Reference:
 
Bad documentation guys! How do you set up the config file please?
Regards. Gertjan

jprknight-oldax
Level 6

Hey Gertjan,

Are you doing this to speed up move archive on servers which don't have an internet connection?

I ask as I am moving around a whole load of archives some 4 -7 GB in size and they are taking a while.

Thanks,

Jeremy.

GertjanA
Moderator
Moderator
Partner    VIP    Accredited Certified

Hi Jeremy,

No, I'm moving small amoutn of archives. The key mentioned is shortening the sleep state between each step (by default, this is 30 minutes). I can live with 5 at the moment.

I noticed moving an archive having 7900 items takes about 120 to 180 minutes... It is very slow.

Regards. Gertjan

GertjanA
Moderator
Moderator
Partner    VIP    Accredited Certified

I've tried several entries formats, but none work. does anyone know the exact format for how the config file needs to look like? Especially when adding the

<add key="RescheduleIntervalInMins" value="5" />
 

to the file?

Regards. Gertjan

jprknight-oldax
Level 6

Hey Gertjan,

Thanks for the info. Interesting thought. Unfortunately I don't know much about this.

Jeremy.

Wayne_Humphrey
Level 6
Partner Accredited Certified

GertjanA, Below are some of the settings that can be configured in the EvMoveArchiveTask.exe.config file. It should be noted that these options would need to be set on each Enterprise Vault server where Move Archive would be used.

Right at the bottom, I have pasted a fully working copy of the EvMoveArchiveTask.exe.config with all the default settings.
 

Move Archive task

 
AllowedNoOfCopyBackupCycles
During the verification stage of the move archive process, move archive checks that all the items that were copied from the source archive are present in the destination archive. Some items may be absent because users have deleted them, or because Enterprise Vault has expired them. However, if any other items are absent, move archive returns the archive to the copy stage so that the missing items can be copied again. AllowedNoOfCopyBackupCycles sets the number of times move archive returns the archive to the copy stage before it considers the move operation to have failed.
 
Default value: 5
Minimum value: 1
Maximum value: 100
 
LogLevel
The logging level.
 
Values: None, Failures, All.
Default: Failures.
 
LogPrivacyEnabled
Log obfuscation of private value (such as Subject)
 
Default value: True
 
MaxLogSizeKB
Max log size in KB before roll-over.
 
Default: 1024
 
ProcessorThreadsCount
The number of processor threads that the EvMoveArchiveTask will use.
Default value: 2
 
ReportVersions
For each source archive it processes, move archive creates a report file in the Reports\Move Archive subfolder of the Enterprise Vault installation folder (normally c:\Program Files\Enterprise Vault). If you move the same archive a second time, following a failure for example, move archive creates another report when it processes the archive for the second time. ReportVersions sets the number of these report files it retains for each source archive, before it removes the oldest file.
 
Default value: 5
Minimum value: 1
Maximum value: 100
 
RescheduleIntervalInMins
For each move operation, move archive enters a sleep state between each stage of the move. For example, move archive enters the sleep state while it waits for shortcut processing, and for destination archive backup.
RescheduleIntervalInMins sets the length of this sleep state in minutes. At the end of the interval, move archive resumes processing if a processing slot is available. You should consider setting a longer interval in environments where you move large numbers of archives at the same time.
 
Default value: 30
Minimum value: 5
Maximum value: 1000
 
SkipDuplicateItems
If move archive finds that items from the source archive are duplicated in the destination archive, it writes errors to the event log for the first 10 duplicates, then marks the move operation as failed. It does this because the presence of duplicates can indicate that the source archive has already been moved to the destination. 
 
Note: Move archive considers two items to be duplicates when they both have the same transaction ID. 
 
You can change this behavior by setting SkipDuplicateItems to 1. Then, move archive still logs the duplicate items but skips them and proceeds with the move operation.
 
Default value: 0
 
WaitforBackupMode
Whether to wait for backup of copied items.
 
0: always wait
1: as per destination archive's Vault Store safety copy setting
2: never wait
Default value 0
 
And here is a copy of the .config with all the defaults, that works ;)
 
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <runtime>
    <generatePublisherEvidence enabled="false"/>
<AllowedNoOfCopyBackupCycles value="5" />
<LogLevel value="Failures" />
<LogPrivacyEnabled value="True" />
<MaxLogSizeKB value="1024" />
<ProcessorThreadsCount value="2" />
<ReportVersions value="3" />
<RescheduleIntervalInMins value="30" />
<SkipDuplicateItems value="0" />
<WaitforBackupMode value="0" />
  </runtime>
</configuration>

Wayne_Humphrey
Level 6
Partner Accredited Certified

Also, you might be interested in the Task guardian service

Task guardian service

 
RetryTimeInMinutes
When Move Archive enters a temporary error state while it processes an archive, it waits for a period of time before it retries the archive. You can change the default retry interval using the RetryTimeInMinutes key in the task guardian service configuration file. EvTaskGuardian.exe.config controls the retry interval on each Enterprise Vault server where it is present. 
 
Default value: 30
Minimum value: 5
Maximum value: 1000
 
And here is a copy of the .config with all the defaults
 
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <runtime>
    <generatePublisherEvidence enabled="false"/>
    <RetryTimeInMinutes value="30" />
  </runtime>
</configuration>

GertjanA
Moderator
Moderator
Partner    VIP    Accredited Certified

As always...

Regards. Gertjan