diff options
Diffstat (limited to 'sca-cpp/trunk/samples/store-cluster')
7 files changed, 20 insertions, 0 deletions
diff --git a/sca-cpp/trunk/samples/store-cluster/proxy-conf b/sca-cpp/trunk/samples/store-cluster/proxy-conf index a72629d140..5a61f13399 100755 --- a/sca-cpp/trunk/samples/store-cluster/proxy-conf +++ b/sca-cpp/trunk/samples/store-cluster/proxy-conf @@ -20,6 +20,8 @@ root=$1 port=$2 +set -x + # Configure a proxy balancer ../../modules/http/httpd-conf $root sca-store.com $port/80 $root/htdocs ../../modules/http/vhost-conf $root diff --git a/sca-cpp/trunk/samples/store-cluster/proxy-ssl-conf b/sca-cpp/trunk/samples/store-cluster/proxy-ssl-conf index d2a12e3ca0..3379a3c789 100755 --- a/sca-cpp/trunk/samples/store-cluster/proxy-ssl-conf +++ b/sca-cpp/trunk/samples/store-cluster/proxy-ssl-conf @@ -21,6 +21,8 @@ root=$1 port=$2 sslport=$3 +set -x + # Configure an SSL-enabled proxy balancer ../../modules/http/httpd-conf $root sca-store.com $port/80 $root/htdocs ../../modules/http/vhost-conf $root diff --git a/sca-cpp/trunk/samples/store-cluster/server-conf b/sca-cpp/trunk/samples/store-cluster/server-conf index a2aa7dbad9..d274dd3d17 100755 --- a/sca-cpp/trunk/samples/store-cluster/server-conf +++ b/sca-cpp/trunk/samples/store-cluster/server-conf @@ -20,6 +20,8 @@ root=$1 port=$2 +set -x + # Configure an app server ../../modules/http/httpd-conf $root sca-store.com $port/80 htdocs ../../modules/http/vhost-conf $root diff --git a/sca-cpp/trunk/samples/store-cluster/server-ssl-conf b/sca-cpp/trunk/samples/store-cluster/server-ssl-conf index 13d0caa253..37a654b805 100755 --- a/sca-cpp/trunk/samples/store-cluster/server-ssl-conf +++ b/sca-cpp/trunk/samples/store-cluster/server-ssl-conf @@ -21,15 +21,23 @@ root=$1 port=$2 sslport=$3 +set -x + # Configure an SSL-enabled app server ../../modules/http/httpd-conf $root sca-store.com $port/80 htdocs ../../modules/http/vhost-conf $root + tar -C tmp/ssl -c `../../modules/http/ssl-cert-find tmp/ssl` | tar -C $root -x ../../modules/http/httpd-ssl-conf $root $sslport/443 ../../modules/http/vhost-ssl-conf $root + #../../modules/http/httpd-auth-conf $root ../../modules/openid/openid-conf $root ../../modules/openid/openid-step2-conf $root +../../modules/openid/openid-memcached-conf $root localhost 11211 +../../modules/openid/openid-memcached-conf $root localhost 11212 +../../modules/openid/openid-memcached-conf $root localhost 11213 + ../../modules/server/server-conf $root ../../modules/python/python-conf $root cat >>$root/conf/httpd.conf <<EOF diff --git a/sca-cpp/trunk/samples/store-cluster/sqldb-master-conf b/sca-cpp/trunk/samples/store-cluster/sqldb-master-conf index f191b4eb3e..83f78be999 100755 --- a/sca-cpp/trunk/samples/store-cluster/sqldb-master-conf +++ b/sca-cpp/trunk/samples/store-cluster/sqldb-master-conf @@ -21,6 +21,8 @@ root=$1 port=$2 httpport=$3 +set -x + # Aggregate database server logs category=`basename $root` ../../components/log/scribe-tail-start $category "sqldb" $root/logs/postgresql diff --git a/sca-cpp/trunk/samples/store-cluster/sqldb-standby-conf b/sca-cpp/trunk/samples/store-cluster/sqldb-standby-conf index a3f3808346..4998ead4b4 100755 --- a/sca-cpp/trunk/samples/store-cluster/sqldb-standby-conf +++ b/sca-cpp/trunk/samples/store-cluster/sqldb-standby-conf @@ -24,6 +24,8 @@ mhost=$4 mport=$5 mhttpport=$6 +set -x + # Aggregate database server logs category=`basename $root` ../../components/log/scribe-tail-start $category "sqldb" $root/logs/postgresql diff --git a/sca-cpp/trunk/samples/store-cluster/tunnel-ssl-conf b/sca-cpp/trunk/samples/store-cluster/tunnel-ssl-conf index 1b70a5d2c8..ef3074691a 100755 --- a/sca-cpp/trunk/samples/store-cluster/tunnel-ssl-conf +++ b/sca-cpp/trunk/samples/store-cluster/tunnel-ssl-conf @@ -21,6 +21,8 @@ root=$1 port=$2 sslport=$3 +set -x + # Configure an SSL-enabled tunnel server ../../modules/http/httpd-conf $root sca-store.com $port/119 $root/htdocs tar -C tmp/ssl -c `../../modules/http/ssl-cert-find tmp/ssl` | tar -C $root -x |