#625: Disk space allocation and LVM setup for SNOW SHRINE spoke server(s)
--------------------------+----------------------------
Reporter: kwanta | Owner: kwanta
Type: task | Status: new
Priority: critical | Milestone: snow-shrine-2
Component: data-sharing | Resolution:
Keywords: | Blocked By:
Blocking: |
--------------------------+----------------------------
Comment (by hangs008):
Replying to [comment:6 manuells]:
> UTHSCSA:
> We're short on hardware here and only have 8.5GB for the Snow Shrine
server. UMN any way you guys can share your scripts for the compression
and alerts? We will likely need something like that. Thanks!
Our ops team uses zabbix and splunk to handle most things like this. If
you need an easy way to compress your i2b2 logs you could set up a cron
job to run
{{{
gzip /path/to/i2b2/logs/*.log.*
}}}
which would handle the logs that are automatically rotated out by
jboss/wildfly. We disabled most of the console logging for jboss/wildfly
so our console.log in /var/log/jboss-as doesn't get too large. If you
needed to rotate that you could probably do something like
{{{
mv /var/log/jboss-as/console.log /var/log/jboss-as "console.log.$(date
+%s)"
touch /var/log/jboss-as/console.log
gzip /var/log/jboss-as/console.log.*
}}}
gzip will automatically skip any files that are already gzipped so it
saves some of the extra scripting work.
--
Ticket URL:
<http://informatics.gpcnetwork.org/trac/Project/ticket/625#comment:7>
gpc-informatics <http://informatics.gpcnetwork.org/>
Greater Plains Network - Informatics
_______________________________________________
Gpc-dev mailing list
[email protected]
http://listserv.kumc.edu/mailman/listinfo/gpc-dev