From: Casey Bodley Date: Sat, 18 Jun 2016 13:28:57 +0000 (-0400) Subject: vstart: add --rgw_frontend option X-Git-Tag: v11.1.0~454^2~73 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2c48dc669bdc1675dff266498924a013d1928d37;p=ceph.git vstart: add --rgw_frontend option Signed-off-by: Casey Bodley --- diff --git a/src/vstart.sh b/src/vstart.sh index 2da28246dd4..cf322b9eee5 100755 --- a/src/vstart.sh +++ b/src/vstart.sh @@ -97,6 +97,7 @@ cephx=1 #turn cephx on by default cache="" memstore=0 bluestore=0 +rgw_frontend="civetweb" lockdep=${LOCKDEP:-1} VSTART_SEC="client.vstart.sh" @@ -130,6 +131,7 @@ usage=$usage"\t--mon_num specify ceph monitor count\n" usage=$usage"\t--osd_num specify ceph osd count\n" usage=$usage"\t--mds_num specify ceph mds count\n" usage=$usage"\t--rgw_port specify ceph rgw http listen port\n" +usage=$usage"\t--rgw_frontend specify the rgw frontend configuration\n" usage=$usage"\t-b, --bluestore use bluestore as the osd objectstore backend\n" usage=$usage"\t--memstore use memstore as the osd objectstore backend\n" usage=$usage"\t--cache : enable cache tiering on pool\n" @@ -218,6 +220,10 @@ case $1 in CEPH_RGW_PORT=$2 shift ;; + --rgw_frontend ) + rgw_frontend=$2 + shift + ;; mon ) start_mon=1 start_all=0 @@ -509,7 +515,7 @@ if [ "$start_mon" -eq 1 ]; then erasure code dir = $EC_PATH plugin dir = $CEPH_LIB osd pool default erasure code profile = plugin=jerasure technique=reed_sol_van k=2 m=1 ruleset-failure-domain=osd - rgw frontends = fastcgi, civetweb port=$CEPH_RGW_PORT + rgw frontends = $rgw_frontend port=$CEPH_RGW_PORT rgw dns name = localhost filestore fd cache size = 32 run dir = $CEPH_OUT_DIR