Similarly to block volume replication, Ceph is capable of replicating the
content of a Ceph Filesystem from one cluster to another.
For this, during the 1.6 cycle, we introduced a new CRD called
CephFilesystemMirror which effectively deploys a cephfs-mirror daemon.
However, configuring peers to enable replication between two clusters
had to be done manually.
Also various bug fix made it in Ceph eventually and the minimum required
version for this to work is to run on Ceph Pacific 16.2.5 at least.
So the automatic configuration of Ceph Filesystem peers is now possible.
By editing the CephFilesystem CRD, you can now turn on mirroring:
```yaml
mirroring:
enabled: false
# list of Kubernetes Secrets containing the peer token
# for more details see: https://docs.ceph.com/en/latest/dev/cephfs-mirroring/#bootstrap-peers
peers:
secretNames:
- secondary-cluster-peer
```
Also, the mirroring status is displayed in the CR status:
```
status:
info:
fsMirrorBootstrapPeerSecretName: fs-peer-token-myfs
mirroringStatus:
daemonsStatus:
- daemon_id: 4186
filesystems:
- filesystem_id: 2
name: myfs
lastChecked: "2021-07-01T14:16:29Z"
phase: Ready
snapshotScheduleStatus:
lastChecked: "2021-07-01T14:16:29Z"
snapshotSchedules:
- fs: myfs
path: /
rel_path: /
retention: {}
schedule: 24h
```
Closes: https://github.com/rook/rook/issues/7063
Signed-off-by: Sébastien Han <seb@redhat.com>
34 lines
1.4 KiB
Markdown
34 lines
1.4 KiB
Markdown
# Major Themes
|
|
|
|
v1.7...
|
|
|
|
## K8s Version Support
|
|
|
|
## Upgrade Guides
|
|
|
|
## Breaking Changes
|
|
|
|
### Ceph
|
|
|
|
## Features
|
|
|
|
### Core
|
|
|
|
### Ceph
|
|
|
|
- Add user data protection when deleting Rook-Ceph Custom Resources
|
|
- A CephCluster will not be deleted if there are any other Rook-Ceph Custom resources referencing
|
|
it with the assumption that they are using the underlying Ceph cluster.
|
|
- A CephObjectStore will not be deleted if there is a bucket present. In addition to protection
|
|
from deletion when users have data in the store, this implicitly protects these resources from
|
|
being deleted when there is a referencing ObjectBucketClaim present.
|
|
- See [the design](https://github.com/rook/rook/blob/master/design/ceph/resource-dependencies.md)
|
|
for detailed information.
|
|
- Add support for creating Hybrid Storage Pools
|
|
- Hybrid storage pool helps to create hybrid crush rule for choosing primary OSD for high performance
|
|
devices (ssd, nvme, etc) and remaining OSD for low performance devices (hdd).
|
|
- See [the design](Documentation/ceph-pool-crd.md#hybrid-storage-pools) for more details.
|
|
- Checkout the [ceph docs](https://docs.ceph.com/en/latest/rados/operations/crush-map/#custom-crush-rules)
|
|
for detailed information.
|
|
- Add support cephfs mirroring peer configuration, refer to the [configuration](Documentation/ceph-filesystem-crd.md#mirroring) for more details
|