This file contains 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
[vagrant@openshiftdev origin]$ openshift ex router --credentials="${KUBECONFIG}" --virtual-ips="10.0.2.100-102" --latest-images=true -o json | |
{ | |
"metadata": {}, | |
"items": [ | |
{ | |
"metadata": { | |
"name": "router", | |
"creationTimestamp": null, | |
"labels": { | |
"router": "router" |
This file contains 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
{ | |
"metadata":{ | |
"name":"failover-router" | |
}, | |
"kind":"Config", | |
"apiVersion":"v1beta1", | |
"creationTimestamp":"2014-09-18T18:28:38-04:00", | |
"items":[ | |
{ | |
"id": "router-service", |
This file contains 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
f5: | |
ip tunnel del tun1 | |
ip tunnel add tun1 mode ipip remote 10.3.89.46 dev eth0 | |
ip tunnel | |
ifconfig tun1 10.3.91.216 | |
ip link set tun1 up | |
# for remote end tunnel | |
ip route add 10.3.91.46 dev tun1 |
This file contains 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
[vagrant@openshiftdev origin]$ oadm router --service-account=default --credentials=$KUBECONFIG --replicas=0 | |
password for stats user admin has been set to 27Ndg4S572 | |
deploymentconfigs/router | |
services/router | |
[vagrant@openshiftdev origin]$ oc get dc | |
NAME TRIGGERS LATEST VERSION | |
router ConfigChange 1 | |
[vagrant@openshiftdev origin]$ oc get dc/router -o json | |
{ | |
"kind": "DeploymentConfig", |
This file contains 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
#!/bin/bash | |
cookiejar="/tmp/cookiejar" | |
host="hello.openshift.test" | |
uri="http://$host/helasasa/" | |
to_opts="--connect-timeout 1 -m 1" | |
status=$(curl -s $to_opts -qw '%{http_code}' --resolve $host:80:10.0.2.15 \ | |
-c "$cookiejar" -b "$cookiejar" -o /dev/null $uri) | |
echo "$(date): Initial cookie set status = $status" |
This file contains 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
source 'http://rubygems.org' | |
gem 'rails', '3.2.6' | |
gem 'prototype-rails', '3.2.1' | |
gem "i18n", "~> 0.6.0" | |
gem "coderay", "~> 1.0.6" | |
gem "fastercsv", "~> 1.5.0", :platforms => [:mri_18, :mingw_18, :jruby] | |
gem "builder" | |
gem "minitest" | |
gem "mysql" |
This file contains 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
echo ' | |
{ | |
"kind": "Route", | |
"apiVersion": "v1", | |
"metadata": { | |
"name": "header-test-route", | |
"labels": { | |
"name": "header-test-route" | |
} |
This file contains 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
bin/compile completed @ Sun Apr 21 23:20:11 UTC 2013 | |
/var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:115:in `environment_variables': undefined method `[]' for false:FalseClass (NoMethodError) | |
from /var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:84:in `startup_script' | |
from /var/vcap/packages/dea_next/buildpacks/lib/staging_plugin.rb:139:in `block in create_startup_script' | |
from /var/vcap/packages/dea_next/buildpacks/lib/staging_plugin.rb:138:in `open' | |
from /var/vcap/packages/dea_next/buildpacks/lib/staging_plugin.rb:138:in `create_startup_script' | |
from /var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:19:in `block in stage_application' | |
from /var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:12:in `chdir' | |
from /var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:12:in `stage_application' | |
from /var/vcap/packages/dea_next/buildpacks/bin/run:10:in `<main>' |
This file contains 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
cf push dynode --buildpack=git://github.com/ramr/strongloop-buildpack.git --no-create-services --instances 1 --memory 128M | |
Using manifest file manifest.yml | |
Creating dynode... OK | |
1: dynode | |
2: none | |
Subdomain> dynode | |
1: a1.cf-app.com |
This file contains 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
On SSD instance - running bonnie++ for disk benchmarking. Will run on EBS based pgshards once we have a new instance launched. | |
ram@ip-10-2-16-37 [apm_pgshard]: ~$ bonnie++ -d /ebs/benchmark/bonnie -r 122698 | |
Writing a byte at a time...done | |
Writing intelligently...done | |
Rewriting...done | |
Reading a byte at a time...done | |
Reading intelligently...done | |
start 'em...done...done...done...done...done... | |
Create files in sequential order...done. |
OlderNewer