Clearing Sasha Archives
Is there a standard approach to clearing all of Sasha's archived data? Also, how do I prevent Sasha from archiving at all? My HPCC usage does not require going back and retrieving anything from Sasha. I'm using 6.4.8-1
- micevepay
- Posts: 62
- Joined: Wed Apr 02, 2014 7:30 pm
How you archive the files is completely up to you.
When WUs and DFU-WUs are archived, they are removed from Dali's datastore and written to disk at the location specified in Sasha's configuration (usually on the Sasha server).
If you want to clear them, merely delete the files.
If you want to move them, you can use the Linux mv command. You could, if desired, use tar or zip to encapsulate and compress before moving them. You could write a script to do this and set it up as a cron job to automate the process.
We recommend you do not disable Sasha's archiving. If you do, that can fill up Dali's memory and eventually cause problems.
If still want to disable Sasha's archiving, there are several settings in Sasha's configuration you can set to zero to disable:
WUlimit, WUinterval, DFUrecoveryLimit, DFUrecoveryInterval, DFUWUlimit, DFUWUinterval, cachedWUlimit, cachedWUinterval
Setting all of those to zero disables Sasha's archiving of WUs, DFU-WUs, cached WUs, and recovered DFU-WUs. Again, we advise against this.
HTH,
Jim
When WUs and DFU-WUs are archived, they are removed from Dali's datastore and written to disk at the location specified in Sasha's configuration (usually on the Sasha server).
If you want to clear them, merely delete the files.
If you want to move them, you can use the Linux mv command. You could, if desired, use tar or zip to encapsulate and compress before moving them. You could write a script to do this and set it up as a cron job to automate the process.
We recommend you do not disable Sasha's archiving. If you do, that can fill up Dali's memory and eventually cause problems.
If still want to disable Sasha's archiving, there are several settings in Sasha's configuration you can set to zero to disable:
WUlimit, WUinterval, DFUrecoveryLimit, DFUrecoveryInterval, DFUWUlimit, DFUWUinterval, cachedWUlimit, cachedWUinterval
Setting all of those to zero disables Sasha's archiving of WUs, DFU-WUs, cached WUs, and recovered DFU-WUs. Again, we advise against this.
HTH,
Jim
- JimD
- Posts: 160
- Joined: Wed May 18, 2011 1:35 pm
So to properly clear it, do I just clear the contents of /var/lib/HPCCSystems/mysasha, a command line tool that should be invoked, or is there a way to clear it via the ECL Watch?
- micevepay
- Posts: 62
- Joined: Wed Apr 02, 2014 7:30 pm
You cannot delete Archived WUs or Archived DFU-WUs from ECLWatch. You will have to use your favorite Linux utility or command line. Keep in mind that most people do not want to delete these. Most enterprises move them to a long term storage location.
The default directory Sasha uses for archives is:
Under that directory, are directories for the types of archived items, for example WUs are in:
HTH,
Jim
The default directory Sasha uses for archives is:
- Code: Select all
/var/lib/HPCCSystems/hpcc-data/sasha/Archive
Under that directory, are directories for the types of archived items, for example WUs are in:
- Code: Select all
/var/lib/HPCCSystems/hpcc-data/sasha/Archive/WorkUnits/
HTH,
Jim
- JimD
- Posts: 160
- Joined: Wed May 18, 2011 1:35 pm
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest