From: root Date: Wed, 9 Feb 2011 23:23:36 +0000 (-0800) Subject: Add setup script for starting the proxy for benchmarking. X-Git-Url: https://git.vrable.net/?a=commitdiff_plain;h=9c6ecd5f09e7b318f3f27f90d48e9591110c7021;p=bluesky.git Add setup script for starting the proxy for benchmarking. --- diff --git a/microbench/setup/run-proxy b/microbench/setup/run-proxy new file mode 100755 index 0000000..928fcee --- /dev/null +++ b/microbench/setup/run-proxy @@ -0,0 +1,20 @@ +#!/bin/bash +# +# Start up the NFS server. + +# Defaults +. /scratch/aws-keys +export BLUESKY_CACHE_SIZE=$((512 * 1024)) +export BLUESKY_TARGET=s3 + +# Export any environment variables specified on the command line +for e in "$@"; do + echo "$e" 1>&2 + if echo "$e" | grep = >/dev/null; then + eval "$e" + export ${e%=*} + fi +done + +mkdir /export/journal 2>/dev/null +(cd /export; /scratch/bluesky.git/nfs3/nfsproxy)