The secrets can be set using the ``rbd mirror pool peer add`` and
``rbd mirror pool peer set`` actions.
+* The 'rbd-mirror' daemon will now run in active/active mode by default, where
+ mirrored images are evenly distributed between all active 'rbd-mirror'
+ daemons. To revert to active/passive mode, override the
+ 'rbd_mirror_image_policy_type' config key to 'none'.
+
* The ``ceph mds deactivate`` is fully obsolete and references to it in the docs
have been removed or clarified.
overrides:
ceph:
conf:
+ client:
+ rbd mirror image policy type: none
# override to make these names predictable
client.mirror.4:
admin socket: /var/run/ceph/rbd-mirror.$cluster-$name.asok
--- /dev/null
+meta:
+- desc: run the rbd_mirror.sh workunit to test the rbd-mirror daemon
+overrides:
+ ceph:
+ conf:
+ client:
+ rbd mirror image policy type: none
+tasks:
+- workunit:
+ clients:
+ cluster1.client.mirror: [rbd/rbd_mirror.sh]
+ env:
+ # override workunit setting of CEPH_ARGS='--cluster'
+ CEPH_ARGS: ''
+ RBD_MIRROR_INSTANCES: '4'
+ RBD_MIRROR_USE_EXISTING_CLUSTER: '1'
--- /dev/null
+meta:
+- desc: run the rbd_mirror.sh workunit to test the rbd-mirror daemon
+overrides:
+ ceph:
+ conf:
+ client:
+ rbd mirror image policy type: simple
+tasks:
+- workunit:
+ clients:
+ cluster1.client.mirror: [rbd/rbd_mirror.sh]
+ env:
+ # override workunit setting of CEPH_ARGS='--cluster'
+ CEPH_ARGS: ''
+ RBD_MIRROR_INSTANCES: '4'
+ RBD_MIRROR_USE_EXISTING_CLUSTER: '1'
+++ /dev/null
-meta:
-- desc: run the rbd_mirror.sh workunit to test the rbd-mirror daemon
-overrides:
- ceph:
- conf:
- client:
- rbd mirror image policy type: simple
-tasks:
-- workunit:
- clients:
- cluster1.client.mirror: [rbd/rbd_mirror.sh]
- env:
- # override workunit setting of CEPH_ARGS='--cluster'
- CEPH_ARGS: ''
- RBD_MIRROR_INSTANCES: '4'
- RBD_MIRROR_USE_EXISTING_CLUSTER: '1'
+++ /dev/null
-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_INSTANCES: '4'
- RBD_MIRROR_USE_EXISTING_CLUSTER: '1'
.set_description("number of failed attempts to acquire lock after missing heartbeats before breaking lock"),
Option("rbd_mirror_image_policy_type", Option::TYPE_STR, Option::LEVEL_ADVANCED)
- .set_default("none")
+ .set_default("simple")
.set_enum_allowed({"none", "simple"})
.set_description("active/active policy type for mapping images to instances"),