perfsonar-user - [perfsonar-user] Esmond/Cassandra maintenance
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: "Garnizov, Ivan (RRZE)" <>
- To: "perfsonar-user ()" <>
- Subject: [perfsonar-user] Esmond/Cassandra maintenance
- Date: Mon, 27 Apr 2015 14:29:28 +0000
- Accept-language: en-GB, de-DE, en-US
Dear perfSONAR developers, Would there elsewhere be available procedures for Esmond/Cassandra database maintenance: ·
Ability to backup and restore the collected measurements. ·
Ability to cleanup database:
o
For a specific host
o
For a period of time or for a specific date Please note that the procedure below is missing in the FAQ (it might be useful for somebody). Still it does not quite cover what I am looking for. Best regards, Ivan From: [mailto:]
On Behalf Of Andrew Lake Hi, If you don't want to wait for teh GUI to clear things out after a few days. You can do the following: 1. Download the config file attached to the host with the data you want deleted 2. Run the following commands to delete everything older than 2 days on the host with the data you want deleted: cd /opt/esmond source /opt/rh/python27/enable . bin/activate python ./util/ps_remove_data.py -c clear_data.conf In the last command you will likely need to change clear_data.conf to the full path of the file you downloaded from this email. If you want to change the time range, adjust the '"expire": "2"' line in the file to be another value
(the value is in days). Hope that helps, Andy On Mar 17, 2015, at 10:42 AM, Pedro Henrique Diniz Da Silva <> wrote:
Dears, |
- [perfsonar-user] Esmond/Cassandra maintenance, Garnizov, Ivan (RRZE), 04/27/2015
Archive powered by MHonArc 2.6.16.