Advertisement
Guest User

Untitled

a guest
Oct 26th, 2013
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. cat <<EOF >testcase.yaml
  2. rabbitmq-server:
  3. vip_iface: 'eth0'
  4. ha-bindiface: 'eth0'
  5. vip: '192.168.0.12'
  6. vip_cidr: 24
  7. ceph:
  8. fsid: '*****************************'
  9. monitor-count: 1
  10. monitor-secret: '********************************'
  11. source: 'cloud:precise-updates/grizzly'
  12. ephemeral-unmount: '/mnt'
  13. ceph-osd:
  14. osd-devices: '/dev/sdb'
  15. osd-reformat: 'yes'
  16. source: 'cloud:precise-updates/grizzly'
  17. ephemeral-unmount: '/mnt'
  18. EOF
  19.  
  20. juju bootstrap
  21. juju deploy hacluster
  22. juju deploy -n 1 --config testcase.yaml --constraints "mem=1G" ceph
  23. juju deploy -n 3 --config testcase.yaml --constraints "mem=1G" ceph-osd
  24. juju add-relation ceph ceph-osd
  25.  
  26.  
  27.  
  28. juju deploy -n 2 --config testcase.yaml --constraints "mem=1G" rabbitmq-server
  29. juju add-relation rabbitmq-server ceph
  30. juju add-relation rabbitmq-server hacluster
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement