Salesforce

KB-4835: Procedure for properly deleting the offline store from a DirectAudit agent

« Go Back

Information

 
TitleKB-4835: Procedure for properly deleting the offline store from a DirectAudit agent
URL NameKB-4835-Procedure-for-properly-deleting-the-offline-store-from-a-DirectAudit-agent
Knowledge Article TypeHow To’s
Article TypeKnowledge
ArticleType 
ProductAuditing and Monitoring Service
ComponentDA Agent
VersionAll
Tagsspool offline store db remove clear delete purge
Internal CommentsFailure to follow the advised procedure will likely result in failure since files are locked by the DA agent. Worst case if customer kills DA to remove the spool the agent will be in dirty shutdown state.
Article Edits
Bug #
Solution ID
Knowledge Base Article Details
Question: 
What is the correct and safest way to delete the DirectAudit Agent Offline Store (Spool) so that it no longer consumes disk space on the system nor will be sent to the collector? 

 
Answer:
Please follow the following procedure to safely and manually delete the existing Offline Store (Spool):
 
1. Disable DA auditing by running:

dacontrol -d
 
2. Close the session and login with a non-audited session (run dainfo to confirm).
 
3. Make sure all other sessions are closed out and there is no auditing being done on the machine.
 
4. Stop the DirectAudit agent (dad) by running:

/etc/init.d/centrifyda stop
 
Note: Do NOT run "kill -9 <pid_of_dad> “(in DA this is the equivalent of a "dirty shutdown")
 
5. Rename /var/centrifyda/spool-dbqc
 
For example:
mv /var/centrifyda/spool-dbqc /var/centrifyda/spool-dbqc--bak
 
6. Re-enable DA auditing by running:
dacontrol -e
 
7. Start the DirectAudit Agent (dad) by running:
/etc/init.d/centrifyda start
 
8. Verify agent operation by running dainfo and if connected and streaming to a collector it is now safe to remove the old spool folder. 
Created ByHubert Sigler
Solution CreatorHubert Sigler
DraftNot Checked
LithiumId
Lithium_Board_Id
Lithium_View_Href
Tags 
Category 
ArticleImage
Known IssuesNot Checked

Powered by