Visit my blog or connect with me on Twitter
git init
or
# oVirt default firewall configuration. Automatically generated by vdsm bootstrap script. | |
*filter | |
:INPUT ACCEPT [0:0] | |
:FORWARD ACCEPT [0:0] | |
:OUTPUT ACCEPT [0:0] | |
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT | |
-A INPUT -i lo -j ACCEPT |
#!/bin/bash | |
if [[ "$#" < "2" || "$#" > "3" ]]; then | |
cat <<END | |
Glusterfs GFID resolver -- turns a GFID into a real file path | |
Usage: $0 <brick-path> <gfid> [-q] | |
<brick-path> : the path to your glusterfs brick (required) | |
Visit my blog or connect with me on Twitter
git init
or
{ | |
"template_logstash":{ | |
"template" : "logstash*", | |
"settings" : { | |
"number_of_shards" : 5, | |
"index.cache.field.type" : "soft", | |
"index.refresh_interval" : "5s", | |
"index.store.compress.stored" : true, | |
"index.query.default_field" : "message", | |
"index.routing.allocation.total_shards_per_node" : 5 |
gitlab-rake gitlab:backup:create | |
find /var/opt/gitlab/backups -mtime +7 -exec rm {} \; | |
s3cmd sync --skip-existing --delete-removed /var/opt/gitlab/backups/ s3://<s3-bucket-name>/gitlab/backups/ |