]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart: add --rgw_frontend option
authorCasey Bodley <cbodley@redhat.com>
Sat, 18 Jun 2016 13:28:57 +0000 (09:28 -0400)
committerRadoslaw Zarzynski <rzarzynski@mirantis.com>
Fri, 21 Oct 2016 20:57:16 +0000 (22:57 +0200)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/vstart.sh

index 2da28246dd4b709b9f34f232f901142edeea7526..cf322b9eee5cad21598c83515a05e47ff77e89cb 100755 (executable)
@@ -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 <pool>: 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