File tree Expand file tree Collapse file tree 6 files changed +41
-0
lines changed
Expand file tree Collapse file tree 6 files changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,10 @@ README* @ceph/doc-writers
164164/src /cls /rgw_gc @ ceph/rgw
165165/src /cls /user @ ceph/rgw
166166/src /cls /version @ ceph/rgw
167+ /src /mrgw.sh @ ceph/rgw
168+ /src /mrun @ ceph/rgw
169+ /src /mstart.sh @ ceph/rgw
170+ /src /mstop.sh @ ceph/rgw
167171/src /rgw @ ceph/rgw
168172/src /s3select @ ceph/rgw
169173/src /spawn @ ceph/rgw
Original file line number Diff line number Diff line change 288288 - src/cls/rgw_gc/**
289289 - src/cls/timeindex/**
290290 - src/mrgw.sh
291+ - src/mrun
292+ - src/mstart.sh
293+ - src/mstop.sh
291294 - src/rgw/**
292295 - src/test/cls_rgw/**
293296 - src/test/librgw_*
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3+ # Start/restart a radosgw instance on the given mstart.sh cluster.
4+
35set -e
46
57rgw_frontend=${RGW_FRONTEND:- " beast" }
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3+ # Run a ceph command against the given mstart.sh cluster.
4+
35[ $# -lt 2 ] && echo " usage: $0 <name> <command> [params...]" && exit 1
46
57root=` dirname $0 `
Original file line number Diff line number Diff line change 11#! /bin/sh
22
3+ # Deploy a vstart.sh cluster in a named subdirectory. This makes it possible to
4+ # start multiple clusters in different subdirectories. See mstop.sh for cleanup.
5+ #
6+ # Example:
7+ #
8+ # ~/ceph/build $ MON=1 OSD=1 RGW=1 MDS=0 MGR=0 ../src/mstart.sh c1 -n -d
9+ # ~/ceph/build $ MON=1 OSD=1 RGW=1 MDS=0 MGR=0 ../src/mstart.sh c2 -n -d
10+ #
11+ # ~/ceph/build $ ls run
12+ # c1 c2
13+ # ~/ceph/build $ ls run/c1
14+ # asok ceph.conf dev keyring out
15+ #
16+ # ~/ceph/build $ ../src/mrun c1 radosgw-admin user list
17+ # [
18+ # "56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234",
19+ # "testx$9876543210abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
20+ # "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
21+ # "testacct1user",
22+ # "test",
23+ # "testacct2root",
24+ # "testacct1root",
25+ # "testid"
26+ # ]
27+ #
28+ # ~/ceph/build $ ../src/mstop.sh c1
29+ # ~/ceph/build $ ../src/mstop.sh c2
30+
331usage=" usage: $0 <name> [vstart options]..\n"
432
533usage_exit () {
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3+ # Stop a named cluster started by mstart.sh
4+
35set -e
46
57script_root=` dirname $0 `
You can’t perform that action at this time.
0 commit comments