Skip to content

Instantly share code, notes, and snippets.

View kmanav's full-sized avatar

Manav Kumar kmanav

  • Red Hat
  • Suwanee, GA
View GitHub Profile
Feel free to download by right-clicking in your Google Chrome browser and selecting: Save Image As.
Afterwards, study diagram in an image viewer that allows for zooming into more of the details.
@kmanav
kmanav / gist:3e1624eec18a0db52418dbfc79b1d683
Created April 24, 2018 17:49 — forked from Shaltz/gist:1d65a07a0901a36fb7f1
HOW TO fix openLDAP checksum error on config files
(source : http://injustfiveminutes.com/category/openldap)
How to fix “ldif_read_file: checksum error”
Posted on October 28, 2014
15
Well, in spite of you did read a banner saying “# AUTO-GENERATED FILE – DO NOT EDIT!! Use ldapmodify.” you ignored it and made some manual modifications in any of the LDIF files in /etc/ldap/slapd.d/.
Don’t worry it happened to me too :) When you need to quickly setup an openLDAP server for development it is pretty much easier to tweak these files although the recommended way is to use ldapmodify tool. But if you change the LDIF files in cn=config manually, their contents and checksums won’t match, which is not fatal, but is annoying when using tools such as slapcat:
@kmanav
kmanav / fio.md
Created March 17, 2021 22:11 — forked from acsulli/fio.md

This page represents a collection of fio performance tests, tuned for a Kubernetes etcd workload per this blog post, against various storage and platforms.

The goal is to execute the below fio command on as many different places as possible to gauge relative performance.

fio --rw=write --ioengine=sync --fdatasync=1 --directory=test-data --size=22m --bs=2300 --name=mytest

These tests are completely unscientific and only serve to provide a sampling for anecdotal comparisons.