Skip to content

Instantly share code, notes, and snippets.

@josh-wrale
josh-wrale / 2014-02-19_seldon-tests.published.md
Last active August 29, 2015 13:56
(2014-02-19) Seldon Tests (published)

Test 1

core-n2 -> core-n1 via 802.1q tagging over VLAN 30 (inside cab)

Result

[root@core-n2 ~]# iperf3 -c 10.30.3.1 -i 60 -t 240 
Connecting to host 10.30.3.1, port 5201
[  4] local 10.30.3.2 port 38904 connected to 10.30.3.1 port 5201
@josh-wrale
josh-wrale / gist:9148605
Created February 22, 2014 04:11
iproute2-3.13.0-1.el6.elrepo
##%define date_version 20091009
%define cbq_version v0.7.3
Summary: Advanced IP routing and network device configuration tools
Name: iproute
Version: 3.13.0
Epoch: 1
Release: 1%{?dist}.elrepo
Group: Applications/System
URL: http://kernel.org/pub/linux/utils/net/%{name}2/
@josh-wrale
josh-wrale / iodata.mkd
Created February 28, 2014 13:52 — forked from paul/iodata.mkd

m1.large

Single mounted EBS, XFS

Iozone: Performance Test of File I/O
        Version $Revision: 3.308 $
  Compiled for 64 bit mode.
  Build: linux

Run began: Sun Aug 22 19:35:33 2010

@josh-wrale
josh-wrale / seldon-gluster-benchmarking.2014-03-01a.md
Last active August 29, 2015 13:56
Seldon: GlusterFS Benchmarking 2014-03-01a

On all six GlusterFS server/client nodes:

### Install iozone
[root@core-n1 ~]# yum install http://pkgs.repoforge.org/iozone/iozone-3.408-1.el6.rf.x86_64.rpm -y

### Mount the volume
[root@core-n1 ~]# gluster peer status
Number of Peers: 5
boss@cfg-1:~$ cat output.txt
Script started on Mon 18 Mar 2013 10:51:39 PM EDT
root@trisquel-2:~# apt-get update
Hit http://us.archive.trisquel.info toutatis Release.gpg
Hit http://us.archive.trisquel.info toutatis-updates Release.gpg
Hit http://us.archive.trisquel.info toutatis-security Release.gpg
Hit http://us.archive.trisquel.info toutatis Release
Hit http://us.archive.trisquel.info toutatis-updates Release
Hit http://us.archive.trisquel.info toutatis-security Release
Hit http://us.archive.trisquel.info toutatis/main Sources
Script started on Tue 19 Mar 2013 04:45:25 PM EDT
root@trisquel-2:~# apt-get update
Get:1 http://us.archive.trisquel.info toutatis Release.gpg [198 B]
Get:2 http://us.archive.trisquel.info toutatis-updates Release.gpg [198 B]
Get:3 http://us.archive.trisquel.info toutatis-security Release.gpg [198 B]
Get:4 http://us.archive.trisquel.info toutatis Release [5,795 B]
Get:5 http://us.archive.trisquel.info toutatis-updates Release [5,152 B]
Get:6 http://us.archive.trisquel.info toutatis-security Release [3,965 B]
Get:7 http://us.archive.trisquel.info toutatis/main Sources [5,929 kB]
Get:8 http://us.archive.trisquel.info toutatis/main amd64 Packages [6,083 kB]
@josh-wrale
josh-wrale / openstack-cloud.groovy
Created May 14, 2013 03:26
openstack-cloud.groovy with volume attachments
/***************
* Cloud configuration file for the Amazon ec2 cloud. Uses the default jclouds-based cloud driver.
* See org.cloudifysource.dsl.cloud.Cloud for more details.
* @author barakme
*
*/
cloud {
// Mandatory. The name of the cloud, as it will appear in the Cloudify UI.
name = "openstack"
faust@myhost:/var/log/nova# cinder --debug create --image-id 57ee2e31-8a4f-42ee-94c9-0cb71385d1b0 --display-name precise-vol-16 16
connect: (5.5.5.107, 5000)
send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: 5.5.5.107:5000\r\nContent-Length: 119\r\ncontent-type: application/json\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-cinderclient\r\n\r\n{"auth": {"tenantName": "faust", "passwordCredentials": {"username": "faust", "password": "SCRUBBED_PASSWORD"}}}'
reply: 'HTTP/1.1 200 OK\r\n'
header: Vary: X-Auth-Token
header: Content-Type: application/json
header: Date: Wed, 15 May 2013 19:56:21 GMT
header: Transfer-Encoding: chunked
connect: (5.5.5.107, 8776)
send: u'POST /v1/t8c6j922766d47908aca7645c2eca39c/volumes HTTP/1.1\r\nHost: 5.5.5.107:8776\r\nContent-Length: 312\r\nx-auth-project-id: faust\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nx-auth-token: SCRUBBED_TOKEN\r\nuser-agent: python-cinderclient\r\ncontent-type: application/json\r\n\r\n{"volume": {"status"
boss@cloudify-1:~/git-checkouts/hotel-cloudify/clouds/openstack$ cat openstack-cloud.groovy
/***************
* Cloud configuration file for the Amazon ec2 cloud. Uses the default jclouds-based cloud driver.
* See org.cloudifysource.dsl.cloud.Cloud for more details.
* @author barakme
*
*/
cloud {
// Mandatory. The name of the cloud, as it will appear in the Cloudify UI.
root@cloudify-agent-2-483:/home/ubuntu/storage# chef-client
[2013-05-23T21:15:51+00:00] INFO: *** Chef 10.24.0 ***
[2013-05-23T21:15:52+00:00] INFO: [inet6] no default interface, picking the first ipaddress
[2013-05-23T21:15:52+00:00] INFO: Run List is [recipe[redis::server_source]]
[2013-05-23T21:15:52+00:00] INFO: Run List expands to [redis::server_source]
[2013-05-23T21:15:52+00:00] INFO: HTTP Request Returned 404 Not Found: No routes match the request: /reports/nodes/cloudify-agent-2-483.novalocal/runs
[2013-05-23T21:15:52+00:00] INFO: Starting Chef Run for cloudify-agent-2-483.novalocal
[2013-05-23T21:15:52+00:00] INFO: Running start handlers
[2013-05-23T21:15:52+00:00] INFO: Start handlers complete.
[2013-05-23T21:15:52+00:00] INFO: Loading cookbooks [build-essential, discovery, redis, runit, stunnel, yum]