Viewing posts for the category Howtos

How to configure linux vxlans with multiple unicast endpoints

Joe Julian 2 months ago

Sometimes you just can't use multicast. Some cloud providers just do not provide it. In that scenario, you need to configure your vxlan layer using unicast addresses. This is done easily using iproute2.

read more / comments

Truncating open log files

Joe Julian 5 months ago

There are a number of applications that open a log file and just keep writing to it. This is, of course, a problem when you rotate logs as the application just keeps writing to the renamed log instead of opening the new one.

read more / comments

GlusterFS Split-Brain Recovery Made Easy

Joe Julian 3 years ago

Split brain. Sounding like something from a B movie about zombies, it's probably more terrifying to data storage people than flesh eating undead would be.

read more / comments

Keeping your VMs from going read-only when encountering a ping-timeout in GlusterFS

Joe Julian 3 years, 5 months ago

GlusterFS communicates over TCP. This allows for stateful handling of file descriptors and locks. If, however, a server fails completely, kernel panic, power loss, some idiot with a reset button... the client will wait for ping-timeout (42 by the defaults) seconds before abandoning that TCP connection. This is important because re-establishing FDs and locks can be a very expensive operation. As glusterbot says in #gluster:

read more / comments

How To Check (And Fix) Indexes For Elasticsearch/Logstash

Joe Julian 3 years, 7 months ago

I had a computer with some bad ram that created a corrupt index in Elasticsearch. After trying all weekend and half of Monday to figure out how to get Elasticsearch running again with no response on the IRC channel, I eventually figured it out with the help of some obscure email references to references.

read more / comments

Page 1 of 5: