This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| comparing the handoff distribution of a ring build with antique ringbuilder code and one built with swift master. | |
| small cluster with one unbalanced node, imagine that it was two boxes or something, one exploded and has been removed for some administrative reason | |
| test script at bottom of paste | |
| swift-ring-builder object.builder create 18 3 1 | |
| swift-ring-builder object.builder add r1z1-172.1.1.1:6000/sda1 100 | |
| swift-ring-builder object.builder add r1z2-172.1.2.1:6000/sda1 100 | |
| swift-ring-builder object.builder add r1z2-172.1.2.2:6000/sda1 100 | |
| swift-ring-builder object.builder add r1z3-172.1.3.1:6000/sda1 100 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pi@raspberrypi:~ $ sudo apt-get install novnc | |
| Reading package lists... Done | |
| Building dependency tree | |
| Reading state information... Done | |
| The following extra packages will be installed: | |
| ieee-data javascript-common libjs-jquery libjs-mochikit libjs-sphinxdoc libjs-swfobject libjs-underscore libtidy-0.99-0 libxmlsec1 libxmlsec1-openssl libyaml-0-2 python-amqp python-amqplib | |
| python-anyjson python-babel python-babel-localedata python-boto python-cinderclient python-cliff python-cliff-doc python-cmd2 python-crypto python-daemon python-dateutil python-decorator | |
| python-dns python-ecdsa python-eventlet python-extras python-feedparser python-fixtures python-formencode python-glanceclient python-greenlet python-httplib2 python-iso8601 python-jinja2 | |
| python-json-patch python-json-pointer python-jsonpatch python-jsonschema python-keyring python-keystoneclient python-kombu python-libxml2 python-lockfile python-lxml python-mako python-markupsafe | |
| python-memcache python-migrate python-mimeparse python-mock pytho |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 09:58:43.309710 IP (tos 0x0, ttl 64, id 9394, offset 0, flags [DF], proto TCP (6), length 510, bad cksum 0 (->911b)!) | |
| 192.168.1.70.52391 > a23-205-169-113.deploy.static.akamaitechnologies.com.http: Flags [P.], cksum 0x851d (incorrect -> 0x5053), seq 1:459, ack 1, win 4112, options [nop,nop,TS val 734114546 ecr 1997704556], length 458 | |
| 0x0000: 4500 01fe 24b2 4000 4006 0000 c0a8 0146 E...$.@.@......F | |
| 0x0010: 17cd a971 cca7 0050 78ed 9960 b7f1 9374 ...q...Px..`...t | |
| 0x0020: 8018 1010 851d 0000 0101 080a 2bc1 b2f2 ............+... | |
| 0x0030: 7712 8d6c 504f 5354 202f 2048 5454 502f w..lPOST./.HTTP/ | |
| 0x0040: 312e 310d 0a48 6f73 743a 2076 6173 7367 1.1..Host:.vassg | |
| 0x0050: 3134 312e 6f63 7370 2e6f 6d6e 6972 6f6f 141.ocsp.omniroo | |
| 0x0060: 742e 636f 6d0d 0a55 7365 722d 4167 656e t.com..User-Agen | |
| 0x0070: 743a 204d 6f7a 696c 6c61 2f35 2e30 2028 t:.Mozilla/5.0.( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :+1: | |
| :-1: | |
| :airplane: | |
| :art: | |
| :bear: | |
| :beer: | |
| :bike: | |
| :bomb: | |
| :book: | |
| :bulb: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ cat /etc/salt/cloud.providers | |
| rackspaceuk: | |
| minion: | |
| master: [ ip address of salt master such ip in optional private networkconfigured below: 172.16.1.1 ] | |
| identity_url: 'https://identity.api.rackspacecloud.com/v2.0/tokens' | |
| compute_name: cloudServersOpenStack | |
| protocol: ipv4 | |
| compute_region: [ region, such as: LON ] | |
| user: [ rackspace cloud username ] | |
| tenant: [ rackspace cloud tenant id (ddi / account number) ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| global | |
| log 127.0.0.1 local0 | |
| log-send-hostname | |
| maxconn 50000 | |
| tune.bufsize 65536 | |
| crt-base /etc/haproxy/ssl | |
| ca-base /etc/haproxy/ssl | |
| user haproxy | |
| group haproxy | |
| daemon |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| root@test:/srv/swift/swift# tox | |
| py27 create: /srv/swift/swift/.tox/py27 | |
| py27 installdeps: -r/srv/swift/swift/requirements.txt, -r/srv/swift/swift/test-requirements.txt | |
| ERROR: invocation failed, logfile: /srv/swift/swift/.tox/py27/log/py27-1.log | |
| ERROR: actionid=py27 | |
| msg=getenv | |
| cmdargs=[local('/srv/swift/swift/.tox/py27/bin/pip'), 'install', '-U', '-r/srv/swift/swift/requirements.txt', '-r/srv/swift/swift/test-requirements.txt'] | |
| env={'PYTHONIOENCODING': 'utf_8', 'TOXENV': 'py27,pep8', 'NOSE_WITH_OPENSTACK': '1', 'VIRTUAL_ENV': '/srv/swift/swift/.tox/py27', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'NOSE_OPENSTACK_COLOR': '1', 'SSH_CLIENT': '92.52.76.140 55324 22', 'LOGNAME': 'root', 'USER': 'root', 'HOME': '/root', 'PATH': '/srv/swift/swift/.tox/py27/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games', 'NOSE_WITH_COVERAGE': '1', '_': '/usr/local/bin/tox', 'SSH_CONNECTION': '92.52.76.140 55324 162.13.147.119 22', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'LESSCLO |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| root@firewall:~# openssl speed -evp aes-128-cbc | |
| Doing aes-128-cbc for 3s on 16 size blocks: 658806 aes-128-cbc's in 2.98s | |
| Doing aes-128-cbc for 3s on 64 size blocks: 178918 aes-128-cbc's in 2.98s | |
| Doing aes-128-cbc for 3s on 256 size blocks: 45729 aes-128-cbc's in 2.98s | |
| Doing aes-128-cbc for 3s on 1024 size blocks: 23007 aes-128-cbc's in 2.98s | |
| Doing aes-128-cbc for 3s on 8192 size blocks: 2907 aes-128-cbc's in 2.98s | |
| OpenSSL 1.0.1e 11 Feb 2013 | |
| built on: Wed Nov 20 11:18:21 UTC 2013 | |
| options:bn(64,32) rc4(4x,int) des(ptr,risc1,16,long) aes(partial) idea(int) blowfish(idx) | |
| compiler: gcc -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DHAVE_CRYPTODEV -Wa,--noexecstack -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DVPAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM |