mirror of
https://github.com/ceph/ceph
synced 2024-12-22 03:22:00 +00:00
suites/rbd: add basic mirroring suite
Just one workunit to run so far. Signed-off-by: Josh Durgin <jdurgin@redhat.com>
This commit is contained in:
parent
ed33f86589
commit
67d7d997c2
0
suites/rbd/mirror/%
Normal file
0
suites/rbd/mirror/%
Normal file
9
suites/rbd/mirror/base/install.yaml
Normal file
9
suites/rbd/mirror/base/install.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
meta:
|
||||
- desc: run two ceph clusters and install rbd-mirror
|
||||
tasks:
|
||||
- install:
|
||||
extra_packages: [rbd-mirror]
|
||||
- ceph:
|
||||
cluster: cluster1
|
||||
- ceph:
|
||||
cluster: cluster2
|
19
suites/rbd/mirror/cluster/2-node.yaml
Normal file
19
suites/rbd/mirror/cluster/2-node.yaml
Normal file
@ -0,0 +1,19 @@
|
||||
meta:
|
||||
- desc: 2 ceph clusters with 3 mons and 3 osds each
|
||||
roles:
|
||||
- - cluster1.mon.a
|
||||
- cluster1.mon.b
|
||||
- cluster1.osd.0
|
||||
- cluster1.osd.1
|
||||
- cluster1.osd.2
|
||||
- cluster2.mon.c
|
||||
- cluster1.client.0
|
||||
- cluster2.client.0
|
||||
- - cluster1.mon.c
|
||||
- cluster2.mon.a
|
||||
- cluster2.mon.b
|
||||
- cluster2.osd.0
|
||||
- cluster2.osd.1
|
||||
- cluster2.osd.2
|
||||
- cluster1.client.mirror
|
||||
- cluster2.client.mirror
|
1
suites/rbd/mirror/fs
Symbolic link
1
suites/rbd/mirror/fs
Symbolic link
@ -0,0 +1 @@
|
||||
../basic/fs
|
1
suites/rbd/mirror/msgr-failures
Symbolic link
1
suites/rbd/mirror/msgr-failures
Symbolic link
@ -0,0 +1 @@
|
||||
../basic/msgr-failures
|
14
suites/rbd/mirror/rbd-mirror/one-per-cluster.yaml
Normal file
14
suites/rbd/mirror/rbd-mirror/one-per-cluster.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
meta:
|
||||
- desc: run one rbd-mirror daemon per cluster
|
||||
overrides:
|
||||
ceph:
|
||||
conf:
|
||||
client.mirror:
|
||||
# override to make these names predictable
|
||||
admin socket: /var/run/ceph/$cluster-$name.asok
|
||||
pid file: /var/run/ceph/$cluster-$name.pid
|
||||
tasks:
|
||||
- rbd-mirror:
|
||||
client: cluster1.client.mirror
|
||||
- rbd-mirror:
|
||||
client: cluster2.client.mirror
|
11
suites/rbd/mirror/workloads/rbd-mirror-workunit.yaml
Normal file
11
suites/rbd/mirror/workloads/rbd-mirror-workunit.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
meta:
|
||||
- desc: run the rbd_mirror.sh workunit to test the rbd-mirror daemon
|
||||
tasks:
|
||||
- workunit:
|
||||
clients:
|
||||
cluster1.client.mirror: [rbd/rbd_mirror.sh]
|
||||
env:
|
||||
# override workunit setting of CEPH_ARGS='--cluster'
|
||||
CEPH_ARGS: ''
|
||||
RBD_MIRROR_USE_EXISTING_CLUSTER: '1'
|
||||
RBD_MIRROR_USE_RBD_MIRROR: '1'
|
Loading…
Reference in New Issue
Block a user