Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cat <<EOF >testcase.yaml
- rabbitmq-server:
- vip_iface: 'eth0'
- ha-bindiface: 'eth0'
- vip: '192.168.0.12'
- vip_cidr: 24
- ceph:
- fsid: '*****************************'
- monitor-count: 1
- monitor-secret: '********************************'
- source: 'cloud:precise-updates/grizzly'
- ephemeral-unmount: '/mnt'
- ceph-osd:
- osd-devices: '/dev/sdb'
- osd-reformat: 'yes'
- source: 'cloud:precise-updates/grizzly'
- ephemeral-unmount: '/mnt'
- EOF
- juju bootstrap
- juju deploy hacluster
- juju deploy -n 1 --config testcase.yaml --constraints "mem=1G" ceph
- juju deploy -n 3 --config testcase.yaml --constraints "mem=1G" ceph-osd
- juju add-relation ceph ceph-osd
- juju deploy -n 2 --config testcase.yaml --constraints "mem=1G" rabbitmq-server
- juju add-relation rabbitmq-server ceph
- juju add-relation rabbitmq-server hacluster
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement