File tree Expand file tree Collapse file tree 4 files changed +34
-0
lines changed
Expand file tree Collapse file tree 4 files changed +34
-0
lines changed 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