Skip to content

Instantly share code, notes, and snippets.

View wallnerryan's full-sized avatar

Ryan Wallner wallnerryan

  • Boston, MA
  • 12:41 (UTC -05:00)
View GitHub Profile
[[local|localrc]]
# Credentials
DATABASE_PASSWORD=devstack
ADMIN_PASSWORD=devstack
SERVICE_PASSWORD=devstack
SERVICE_TOKEN=devstack
RABBIT_PASSWORD=devstack
# Services
#consul members -detailed
Node Address Status Tags
sclr058.lss.emc.com 10.13.217.58:8301 alive port=8300,expect=2,role=consul,dc=dc1,vsn=2,vsn_min=1,vsn_max=2,build=0.4.1:
sclr059 10.13.217.59:8301 alive vsn=2,vsn_min=1,vsn_max=2,build=0.4.1:,port=8300,expect=2,role=consul,dc=dc1
sclr060.lss.emc.com 10.13.217.60:8301 alive role=consul,dc=dc1,vsn=2,vsn_min=1,vsn_max=2,build=0.4.1:,port=8300,expect=2
(catalog/nodes)
[{"Node":"sclr058.lss.emc.com","Address":"10.13.217.58"},{"Node":"sclr059","Address":"10.13.217.59"},{"Node":"sclr060.lss.emc.com","Address":"10.13.217.60"}]
(agent/members)
@wallnerryan
wallnerryan / gist:7ccc5455840b76c07a70
Last active August 29, 2015 14:22
Live Demo Stuffs
@wallnerryan
wallnerryan / commands.md
Last active August 29, 2015 14:23
demo commands

make sure dataset agents are running on all nodes

sudo systemctl restart flocker-dataset-agent

Start showing the env.

Show flocker configured with scaleio

sudo vi /etc/flocker/agent.yml
--- a/VagrantSpicedir/spice-conf/provider_config.rb
+++ b/VagrantSpicedir/spice-conf/provider_config.rb
@@ -1617,7 +1617,7 @@ EOF
",
:box => 'dummy',
:defaults => {
- :common_location_name => 'us_west',
+ :common_location_name => 'us_west_2a',
:common_image_name => 'CentOS-6.5-x64',
:common_instance_type => 'small',
@wallnerryan
wallnerryan / pihack-with-mounts.sh
Last active August 29, 2015 14:25
LXC on Pi with mounts for data
(Check Kernel)
--------------
CONFIG=/home/pi/linux/.config lxc-checkconfig
--- Namespaces ---
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: required
Pid namespace: enabled
User namespace: enabled
Testing Xings scripts on Hypriot
HypriotOS: root@black-pearl in ~/pitest on master
$ python discover_register_devices.py 
Device: C8:1E:E7:7C:7F:41 -> Wally's iPhone
[{'name': "Wally's iPhone", 'address': 'C8:1E:E7:7C:7F:41'}]
HypriotOS: root@black-pearl in ~/pitest on master
$ python find_discovered_devices.py 
[{'name': "Wally's iPhone", 'address': 'C8:1E:E7:7C:7F:41'}]
@wallnerryan
wallnerryan / ctddemoswarmmachine.md
Last active August 29, 2015 14:27
Walkthrough of machine swarm on virtualbox on Mac
# Created by Jonas Rosland, @virtualswede & Matt Cowger, @mcowger
# Many thanks to this post by James Carr: http://blog.james-carr.org/2013/03/17/dynamic-vagrant-nodes/
#vagrantbox="centos_7"
vagrantbox="puppetlabs/centos-7.0-64-nocm"
# vagrant box url
vagrantboxurl="puppetlabs/centos-7.0-64-nocm"
# scaleio admin password
#!/bin/bash
while [[ $# > 1 ]]
do
key="$1"
case $key in
-o|--os)
OS="$2"
shift
;;