Skip to content

Instantly share code, notes, and snippets.

View cunnie's full-sized avatar

Brian Cunnie cunnie

View GitHub Profile
@cunnie
cunnie / esxi_datastore_benchmarks.md
Last active March 31, 2017 04:27
Benchmarks of Datastores Used by My Skull Canyon NUC ESXi Host

Intro

  • Ubuntu 14.04 512MB RAM
  • time bonnie++ -m "Freenas" -r 1024 -s 2048 -d /tmp/ -f -b -n 1 >> ~/bonnie.txt

FreeNAS iSCSI over 1GBe

102 MiB/s write, 121 MiB/s read, 87 seconds to complete.

Version  1.97       ------Sequential Output------ --Sequential Input- --Random-
@cunnie
cunnie / ntp_abuse.txt
Created October 17, 2016 19:52
List of IP Addresses that Hetzner thinks I'm portscanning (but who are merely NTP clients)
Return-Path: <[email protected]>
Received: from [193.47.99.6] (helo=ext-monitoring1.your-server.de) by mail.hetzner.company with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.80) (envelope-from <[email protected]>) id 1bvqta-0001FG-Uv for [email protected]; Sun, 16 Oct 2016 21:14:56 +0200
Received: from localhost ([127.0.0.1] helo=ext-monitoring1.your-server.de) by ext-monitoring1.your-server.de with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.85_2) (envelope-from <[email protected]>) id 1bvqrl-0006JQ-0j for [email protected]; Sun, 16 Oct 2016 21:13:01 +0200
Received: from hosext1 by ext-monitoring1.your-server.de with local (Exim 4.85_2) (envelope-from <[email protected]>) id 1bvqrk-0006J9-Ji for [email protected]; Sun, 16 Oct 2016 21:13:00 +0200
Date: Sun, 16 Oct 2016 21:13:00 +0200
From: [email protected] (root)
To: [email protected]
Message-ID: [email protected]
Subject: Por
---
# bosh create-env empty-six.yml
name: empty
releases:
- name: bosh-vsphere-cpi
url: https://bosh.io/d/github.com/cloudfoundry-incubator/bosh-vsphere-cpi-release?v=29
sha1: 1d56af20bbba21b9f79373b967b08caab1678161
resource_pools:
@cunnie
cunnie / f1-micro-vs-g1-small.txt
Created August 31, 2016 22:13
g1-small is 2x faster than f1-micro
Compiling package 's3cli/1c5a91f02feff8a0e3a506ac51c4a3140e86f049'... Finished (00:00:04)
Compiling package 'ruby/589d4b05b422ac6c92ee7094fc2a402db1f2d731'... Finished (00:08:39)
Compiling package 'mysql/b7e73acc0bfe05f1c6cbfd97bf92d39b0d3155d5'... Finished (00:02:11)
Compiling package 'libpq/09c8f60b87c9bd41b37b0f62159c9d77163f52b8'... Finished (00:01:18)
Compiling package 'golang/1ad977ce1c6fdbf21485a79567ef3d8d4d280110'... Finished (00:03:05)
Compiling package 'powerdns/256336d00b1689138490c385c03ad3a8f54b4a9e'... Finished (00:00:10)
Compiling package 'director/0f1b09ec6bb28ea13d2e919e71dd7ccd8ab49313'... Finished (00:06:14)
Compiling package 'nats/0155cf6be0305c9f98ba2e9e2503cd72da7c05c3'... Finished (00:01:04)
Compiling package 'registry/3aa0993cb8739fd4f5c6fc1e0da8e1cfdf6df247'... Finished (00:06:20)
Compiling package 'bosh-google-cpi/22b47cafcd455cb8f94e164e2049a4976f4dce1c'... Finished (00:02:48)
@cunnie
cunnie / evanbrown.txt
Created August 10, 2016 21:57
`bosh` deployment output for Evan Brown to troubleshoot
bosh create-env evanbrown.yml -l <(lpass show --note deployments)
Deployment manifest: '/Users/cunnie/workspace/deployments/evanbrown.yml'
Deployment state: '/Users/cunnie/workspace/deployments/evanbrown-state.json'
Started validating
Downloading release 'bosh'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh'... Finished (00:00:01)
Downloading release 'bosh-google-cpi'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh-google-cpi'... Finished (00:00:00)
Validating cpi release... Finished (00:00:00)
@cunnie
cunnie / deploy.txt
Created August 10, 2016 04:09
8 BOSH GCE Deploys
while ! bosh create-env bosh-gce.yml -l <(lpass show --note deployments); do sleep 30; done
Deployment manifest: '/Users/cunnie/workspace/deployments/bosh-gce.yml'
Deployment state: '/Users/cunnie/workspace/deployments/bosh-gce-state.json'
Started validating
Downloading release 'bosh'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh'... Finished (00:00:00)
Downloading release 'bosh-google-cpi'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh-google-cpi'... Finished (00:00:00)
Validating cpi release... Finished (00:00:00)
2015-10-30 03:19:50 ☆ ruby 2.2.3p173 tara in ~/workspace/deployments
± bc |master U:2 ✗| → bosh-init deploy concourse-aws.yml
Deployment manifest: '/Users/cunnie/workspace/deployments/concourse-aws.yml'
Deployment state: '/Users/cunnie/workspace/deployments/concourse-aws-state.json'
Started validating
Downloading release 'concourse'... Skipped [Found in local cache] (00:00:00)
Validating release 'concourse'... Finished (00:00:01)
Downloading release 'bosh-aws-cpi'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh-aws-cpi'... Finished (00:00:00)
jobs:
job hello-world has been added:
name: hello-world
plan:
- task: say-hello
config:
platform: linux
tags:
- micro
image: docker:///ubuntu
@cunnie
cunnie / output.txt
Created October 24, 2015 19:43
output of `bosh-init deploy concourse-aws.yml
Deployment manifest: '/Users/cunnie/workspace/deployments/concourse-aws.yml'
Deployment state: '/Users/cunnie/workspace/deployments/concourse-aws-state.json'
Started validating
Downloading release 'concourse'... Skipped [Found in local cache] (00:00:00)
Validating release 'concourse'... Finished (00:00:01)
Downloading release 'bosh-aws-cpi'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh-aws-cpi'... Finished (00:00:00)
Downloading release 'nginx'... Skipped [Found in local cache] (00:00:00)
Validating release 'nginx'... Finished (00:00:00)
Started deploying
Waiting for the agent on VM 'i-b5652361'... Finished (00:00:00)
Stopping jobs on instance 'unknown/0'... Finished (00:00:00)
Deleting VM 'i-b5652361'... Finished (00:00:40)
Creating VM for instance 'nginx_ntp_xip/0' from stemcell 'ami-cfb7fdaa light'... Finished (00:00:48)
Waiting for the agent on VM 'i-5d7e3889' to be ready... Finished (00:01:27)
Rendering job templates... Finished (00:00:01)
Compiling package 'pdns-3.4.6/daa1d3f85eca4b9333885512e68339c32e61232e'... Finished (00:07:10)
Compiling package 'nginx/b0c04179aa4702b24cca2456be3b8605e15bfb82'... Failed (00:00:51)
Failed deploying (00:11:07)