7722f9d620
Add new radosgw-multisite typed master and slave relations to support configuration of separate ceph-radosgw deployments as a single realm and zonegroup to support replication of data between distinct RADOS gateway deployments. This mandates the use of the realm, zonegroup and zone configuration options of which realm and zonegroup must match between instances of the ceph-radosgw application participating in the master/slave relation. The radosgw-multisite relation may be deployed as a model local relation or as a cross-model relation. Change-Id: I094f89b0f668e012482ca8aace1756c911b79d17 Closes-Bug: 1666880
42 lines
728 B
YAML
42 lines
728 B
YAML
machines:
|
|
'0':
|
|
constraints:
|
|
'1':
|
|
constraints:
|
|
'2':
|
|
constraints:
|
|
series: bionic
|
|
applications:
|
|
ceph-mon:
|
|
charm: 'cs:ceph-mon'
|
|
num_units: 3
|
|
options:
|
|
expected-osd-count: 9
|
|
to:
|
|
- lxd:0
|
|
- lxd:1
|
|
- lxd:2
|
|
ceph-osd:
|
|
charm: 'cs:ceph-osd'
|
|
num_units: 3
|
|
options:
|
|
osd-devices: "/dev/disk/by-dname/bcache1 /dev/disk/by-dname/bcache2 /dev/disk/by-dname/bcache3"
|
|
to:
|
|
- 0
|
|
- 1
|
|
- 2
|
|
rgw-us-east:
|
|
charm: 'cs:ceph-radosgw'
|
|
num_units: 1
|
|
options:
|
|
realm: replicated
|
|
zone: us-east
|
|
zonegroup: us
|
|
to:
|
|
- lxd:0
|
|
relations:
|
|
- - 'ceph-mon:osd'
|
|
- 'ceph-osd:mon'
|
|
- - 'rgw-us-east:mon'
|
|
- 'ceph-mon:radosgw'
|