Community
 
 
 

Radia - General Discussions

1323 seguidores
 
Avatar
Jeroen Peereboom

AUDIT multiple files to multiple virtual manager locations: reg key PendingFileRenameOperations deletes folder

I audit a folder for zip files (like C:\folder\*.zip). As I have to deliver the files at two virtual manager locations, I have 2 audit packages, each with its own location. ACTION is 'YYYYYYN' and 'YYYYYNN'

The zip files are created daily and removed by one of the audit packages.  A TIMER (Schedule) runs daily too.

Because of a migration project, I have to deliver the file(s) at a third location. So I copied 1 package. Now 2 packages delete the audited file.

However, now I find that one of the deletes fails and Radia is populating a registrykey 'PendingFileRenameOperations" with the filename. The client's connect.log shows lines like ' cannot find file'. If radia cannot find the file, why add it to the registry key for deletion after reboot?  Even worse, the folder itself appears in this registry key. After reboot the folder is deleted when the folder was empty.

Why is this?

 

JP.

3 comentários
0

iniciar sessão para comentar.

 
 

Previous 3 comentários

Avatar
Gowhar Jan

Hi Jeroen,

 

Here is what I think may help:

  • If you haven't already, change the priority of the audit packages so that they are processed in an predetermined order by setting the ZSERVICE.ZSVCPRI attributes
  • Set the ACTION attribute corresponding to each package such that only the last one deletes the zip file - 'YYYYYYNN', 'YYYYYNN', 'YYYYYYN'

 

Gowhar.

Ações de comentário Permalink
Avatar
Jeroen Peereboom

Gowhar,

 

thanks for your answer. I understand that specifying the delete once will help.In a few days, the migration is finished and I am back to the original situation. I do not see priority at AUDIT package level.

 

Why is Radia behaving like this:

- it tries to delete a file twice; one fails and Radia adds the filename to the registry key for deletion after reboot. It's not what one wants when one wants to upload a file.

- Radia even adds the name of the directory too 

 

Obviously it would be nice to have 1 package with multiple Virtual Manager Locations.

JP

Ações de comentário Permalink
Avatar
James Longo - EU

You need to use individual Audit services instead of a single Audit service with multiple packages. I have seen some strange behavior when trying to run multi audit packages under a single service. 

Ações de comentário Permalink

Top Contributors