summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2017-02-03 15:17:31 -0800
committerFranck Cuny <franck.cuny@gmail.com>2017-02-03 15:17:31 -0800
commitd56a00b6403a9c5e86f8ead2fed1dd1cfcb02ddd (patch)
treec6c6af9f696454035a45cb8b472c987fb60a7ac0
parent[Emacs] Use pop-win for pants' buffer. (diff)
downloademacs.d-d56a00b6403a9c5e86f8ead2fed1dd1cfcb02ddd.tar.gz
[bin] Dump OS-7 migration.
-rwxr-xr-xbin/os-centos-7-report.sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/bin/os-centos-7-report.sh b/bin/os-centos-7-report.sh
new file mode 100755
index 0000000..c003136
--- /dev/null
+++ b/bin/os-centos-7-report.sh
@@ -0,0 +1,26 @@
+#!/bin/bash
+
+if [ ! hash osrpeort.pex 2>/dev/null ]; then
+  pushd .
+  cd "${HOME}/src/source"
+  ./pants binary src/python/twitter/corestorage/osreport
+  popd
+fi
+
+ROLES=(
+  blobstore.prod.queue
+  deferredrpc
+  deferredrpc.staging
+  hosebird-kestrel
+  ibis.kestrel
+  kestrel
+  kestrel-low_sla
+  messaging.prod.bookkeeper
+  messaging.prod.distributedlog
+  rosette.kafka.prod
+  search-kestrel
+)
+
+for role in ${ROLES[@]}; do
+  osreport.pex report ${role}
+done