This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GlusterFS Cheat Sheet | |
# Gluster community download | |
https://download.gluster.org/pub/gluster/glusterfs/ | |
### Add a new host to the brick ### | |
## Probe new host ## | |
gluster probe peer <hostname or IP> | |
# E.G. gluster probe peer debian-master |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Force outbound traffic through the attached floating IP | |
# Script must be run as root | |
NET_INT="eth0" | |
CURL_TIMEOUT=3 | |
echo -n "Setting floating IP as the default gateway: " | |
# Check there's a floating IP attached to this droplet |