-
Notifications
You must be signed in to change notification settings - Fork 67
/
cephadm.sh
42 lines (34 loc) · 662 Bytes
/
cephadm.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
CEPHADM="sudo cephadm"
echo '# `ceph -s`'
echo '```'
$CEPHADM shell -- ceph -s
echo '```'
echo
echo '# `ceph orch ls`'
echo '```'
$CEPHADM shell -- ceph orch ls --format yaml
echo '```'
echo
echo '# `ceph orch ps`'
echo '```'
$CEPHADM shell -- ceph orch ps --format yaml
echo '```'
echo
echo '# `ceph orch host ls`'
echo '```'
$CEPHADM shell -- ceph orch host ls --format yaml
echo '```'
echo
echo '# `ceph orch device ls`'
echo '```'
$CEPHADM shell -- ceph orch device ls --format yaml
echo '```'
echo
echo '# `ceph log last cephadm`'
echo '```'
$CEPHADM shell -- ceph log last cephadm
echo '```'
echo '# `cephadm ls`'
echo '```'
$CEPHADM ls
echo '```'