Skip to content

Instantly share code, notes, and snippets.

View metaxis's full-sized avatar
💭
FMFMS

Aaron Peterson metaxis

💭
FMFMS
View GitHub Profile
{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"data": { "values":
[
{
"job": "4K",
"nodes": 40,
"fill": 5,
"vendor": "ceph",
"units": "MB/s",
@metaxis
metaxis / ipmi-setup.sh
Created September 7, 2018 18:55 — forked from FlorianHeigl/ipmi-setup.sh
script for ipmi setup
#!/usr/bin/env bash
# Base ipmi access setup script to be run from BMC
set -u
tgtip=xxx.xxx.xxx.xxx
tgtnet=$(echo $tgtip | cut -f1-3 -d\.)
# intel S2600: 2
# supermicro: 0
@metaxis
metaxis / org-syntax-cheatsheet.org
Last active December 13, 2015 21:18 — forked from wdkrnls/org-syntax-cheatsheet.org
org-mode syntax markup

Markup Cheat sheet for Org-mode

Heading 1

Heading 2: Set a deadline and a schedule

[66%] Heading 3: a list with checkboxes

  1. [X] task 1
  2. [X] task 2
  3. [ ] task 3
@metaxis
metaxis / atxchef4
Created April 1, 2011 20:44
the bootstrap to be applied to your ec2-foo node
knife bootstrap YUR_SPESHUL_EC2_NODE -r 'role[production],role[base],role[radiant_database_master],role[radiant],role[radiant_run_migrations],recipe[radiant::db_bootstrap]' --sudo -x ubuntu
@metaxis
metaxis / atxchef3
Created April 1, 2011 19:34
instances for management by chef. The line number corresponds to your "hacker<n>" user number
INSTANCE i-1228987d ami-3e02f257 ec2-50-17-53-118.compute-1.amazonaws.com ip-10-242-81-44.ec2.internal running tlf 1 t1.micro 2011-04-01T19:31:32+0000
INSTANCE i-1028987f ami-3e02f257 ec2-50-17-166-47.compute-1.amazonaws.com ip-10-245-185-94.ec2.internal running tlf 2 t1.micro 2011-04-01T19:31:32+0000
INSTANCE i-ee289881 ami-3e02f257 ec2-174-129-55-222.compute-1.amazonaws.com ip-10-242-81-75.ec2.internal running tlf 3 t1.micro 2011-04-01T19:31:32+0000
INSTANCE i-ec289883 ami-3e02f257 ec2-50-17-83-161.compute-1.amazonaws.com ip-10-212-133-6.ec2.internal running tlf 4 t1.micro 2011-04-01T19:31:32+0000
INSTANCE i-ea289885 ami-3e02f257 ec2-50-17-114-204.compute-1.amazonaws.com ip-10-112-57-164.ec2.internal running tlf 5 t1.micro 2011-04-01T19:31:32+0000
INSTANCE i-e
@metaxis
metaxis / gist:741641
Created December 15, 2010 04:42 — forked from botchagalupe/gist:670599
cookbook lab 2: haproxy

Chef Fundamentals Labs

Lab 4 Create a Web Server cookbook

Exercise 1 - Create a new cookbook called webserver and launch new web servers on EC2

a. Create a new cookbook called webserver

Use knife cookbook --help to figure out how to create new cookbook. Also refer to the student guide for examples

@metaxis
metaxis / full stack lab.md
Created December 9, 2010 06:36
full stack lab

Chef Fundamentals Labs

Lab 5 Create a Web Stack with a Load Balancer

Exercise 1 - Modify Haproxy Cookbook

b. Download a copy of the haproxy cookbook if you haven't already.

 knife cookbook site vendor -d haproxy
@metaxis
metaxis / gist:734364
Created December 9, 2010 05:13
Role Lab

Fundamentals Class

Role Lab

__ Create a new webserver.rb role file in ../chef-repo/roles__

The new role file should include a description and a run_list that includes webserver recipe created in the previous step. See http://wiki.opscode.com/display/chef/Roles for examples.

__ Load the new webserver.rb role up to the Chef server__

@metaxis
metaxis / cookbook lab 2: create.md
Created December 8, 2010 02:08
Lab: Create a Web Server cookbook

Chef Fundamentals Labs

Lab 4 Create a Web Server cookbook

Exercise 1 - Create a new cookbook called webserver and launch new web servers on EC2

a. Create a new cookbook called webserver

Use knife cookbook --help to figure out how to create new cookbook. Also refer to the student guide for examples

@metaxis
metaxis / gist:732787
Created December 8, 2010 02:06 — forked from botchagalupe/gist:670599
knife lab

Chef Fundamentals Labs

Knife lab

Knife Fu

Exercise 1 - Getting familiar with the knife command

__ Issue the following commands and understand the output.__