Hi all, I recently tried to get a ClearWater deployment running on one AWS m1.large instance, and it was suggested I should write up my experiences to share.
I used the manual rather than automated install process for this, and my approach was simple - after doing the initial setup and writing /etc/clearwater/config, I ran "apt-get install bono sprout homer homestead ellis" all on one node rather than installing each component separately. It was relatively easy, for an unsupported, undocumented and apparently untried process: I only ran into two real problems. The first was that bono and sprout were conflicting packages, because they both use port 5058, so couldn't be installed together. I made some changes to move sprout to port 5059, which you can find at https://github.com/wherever-green-is-worn/sprout/tree/master. (I actually used the code from https://github.com/wherever-green-is-worn/sprout/tree/ubuntu12.10, which also changes some dependencies to match the libboost version included in Quantal). I generated bono and sprout packages from this with 'make deb' and installed them, rather than using the ordinary versions. The other problem was that ellis was listening on port 9888 rather than 80. I raised this at https://github.com/Metaswitch/ellis/issues/4 and it turned out that the different packages install conflicting firewall rules. 'mirw' suggested that it would be safe to just use the ellis rules, and this seems to work so far. At this point I was able to set up two subscribers and have one ring the other -I couldn't set up a fully successful call, but I think it's because I was using one PC for both subscribers and the ports were somehow conflicting. I tried to run the test suite, but it crashed, which is https://github.com/Metaswitch/clearwater-live-test/issues/5 and doesn't seem to have received a response yet. I hope these are useful notes for anyone else trying to deploy on one instance. I should say that I used an m1.large out of an abundance of caution - perhaps it'd be possible to do this on a medium or a small - and also that I'm writing up these notes from memory, so if it doesn't work, I've probably omitted a step. I'm happy for this email to form the basis of a wiki article. ~wgiw _______________________________________________ Clearwater mailing list [email protected] http://lists.projectclearwater.org/listinfo/clearwater
