Skip to content

Instantly share code, notes, and snippets.

View elfurbe's full-sized avatar

Adam Michel elfurbe

View GitHub Profile
@elfurbe
elfurbe / do_fio_nightmares.sh
Created December 20, 2023 19:26
Yet Another FIO Script
#!/bin/bash
## Make sure fio is available to run
which fio &>/dev/null && FIO=`which fio` || echo "fio not found in PATH."
[ -z "$FIO" ] && exit 1
## Make sure a test destination directory was provided
if [ -z "$1" ]; then
echo "No test path provided."
exit 2

openpgp4fpr:89FBA411907FD4713DCD0D8E320BB69992CDEA73

@elfurbe
elfurbe / dockerlogs
Created July 10, 2015 23:46
More rancher 0.27.0-rc2 logs
# docker logs -f d2316327e0309839159c252dbf69117f8048dd6fef1668ce8f7393b19d21f402
150710 23:41:15 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
150710 23:41:15 [Note] /usr/sbin/mysqld (mysqld 5.5.43-0ubuntu0.14.04.1) starting as process 12 ...
Uptime: 2 Threads: 1 Questions: 2 Slow queries: 0 Opens: 33 Flush tables: 1 Open tables: 26 Queries per second avg: 1.000
Setting up database
CATTLE_CATTLE_VERSION=v0.62.0
CATTLE_DB_CATTLE_DATABASE=mysql
CATTLE_DB_CATTLE_MYSQL_HOST=localhost
CATTLE_DB_CATTLE_MYSQL_NAME=cattle
CATTLE_DB_CATTLE_MYSQL_PORT=3306
@elfurbe
elfurbe / dockerlogs
Created July 10, 2015 23:39
rancher-server-0.27.0-rc2 logs
# docker logs -f --tail=20 3e8611903895
CATTLE_GRAPHITE_HOST=
CATTLE_GRAPHITE_PORT=
CATTLE_HOME=/var/lib/cattle
CATTLE_HOST_API_PROXY_MODE=embedded
CATTLE_LOGBACK_OUTPUT_GELF_HOST=
CATTLE_LOGBACK_OUTPUT_GELF_PORT=
CATTLE_RANCHER_COMPOSE_VERSION=latest
CATTLE_RANCHER_SERVER_IMAGE=v0.27.0-rc2
DEFAULT_CATTLE_API_UI_INDEX=//releases.rancher.com/ui/0.33.0
at io.cattle.platform.lock.impl.AbstractLockManagerImpl$3.doWithLock(AbstractLockManagerImpl.java:40) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
at io.cattle.platform.lock.impl.LockManagerImpl.doLock(LockManagerImpl.java:33) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
at io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:13) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
at io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:37) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
at io.cattle.platform.eventing.annotation.MethodInvokingListener.onEvent(MethodInvokingListener.java:65) [cattle-framework-eventing-0.5.0-SNAPSHOT.jar:na]
at io.cattle.platform.eventing.impl.AbstractThreadPoolingEventService$2.doRun(AbstractThreadPoolingEventService.java:135) [cattle-framework-eventing-0.5.0-SNAPSHOT.jar:na]
at org.apache.cloudstack.managed.context.NoExceptionRunnable.runInContext(NoExceptionRunnable.java:13) [cattle-framework-managed-context
@elfurbe
elfurbe / docker-compose.yml
Created July 9, 2015 00:41
ES Rancher Service Prototype
ES-Masters:
tty: true
command:
- elasticsearch
- -Des.cluster.name=sansabelt
- -Des.node.master=true
- -Des.node.data=false
- -Des.discovery.zen.ping.multicast.enabled=false
- -Des.discovery.zen.ping.unicast.hosts=datas,clients
image: elasticsearch

Keybase proof

I hereby claim:

  • I am elfurbe on github.
  • I am elfurbe (https://keybase.io/elfurbe) on keybase.
  • I have a public key whose fingerprint is 5237 DA9A 7C40 D2B1 CB27 C829 0468 6AF3 D1D8 8D10

To claim this, I am signing this object: