Hi Vinita,

Thanks – yes, it looks like the problem is that you’re missing the 
clearwater-cassandra package, which is built from 
https://github.com/Metaswitch/clearwater-cassandra.

I think you’ll also need these other repositories (built with `make deb` except 
where noted) – I’ll see if we can document this better up-front. These 
generally provide things like backing data stores and infrastructure scripts, 
or are patched versions of upstream projects (e.g. for extra SNMP functionality 
we need in Clearwater).

https://github.com/Metaswitch/clearwater-infrastructure
https://github.com/Metaswitch/astaire
https://github.com/Metaswitch/chronos
https://github.com/Metaswitch/clearwater-etcd
https://github.com/Metaswitch/clearwater-monit (built with `make deb -f 
clearwater.mk`)
https://github.com/Metaswitch/clearwater-net-snmp (built with `git-buildpackage 
-uc -us --git-ignore-branch --git-upstream-tree=origin/upstream`)
https://github.com/Metaswitch/clearwater-nginx
https://github.com/Metaswitch/clearwater-snmp-handlers
https://github.com/Metaswitch/crest
https://github.com/Metaswitch/memcached (built with `./config/autorun.sh && 
git-buildpackage -uc -us --git-ignore-branch` on the clearwater-debian branch)

We also provide Apache Cassandra 
(http://repo.cw-ngv.com/stable/binary/cassandra_2.0.14_all.deb) – but this is a 
cross-architecture Java package which you should just be able to use.

This sounds like a reasonable approach, and getting Clearwater running on ARM 
sounds interesting – let us know how you get on!

Best,
Rob


From: vinita gupta [mailto:[email protected]]
Sent: 18 April 2016 19:14
To: Robert Day (projectclearwater.org) <[email protected]>
Subject: Re: [Project Clearwater] help with clearwater installation on 
different architecture on KVM linux (ubuntu 14.04).

Hi Rob,
Thanks for the quick response. I've build from sources on my target board where 
directory /home/vinitag/repo/binary exist (installation script looks into that 
directory). If I remove the package from that directory I get error during 
installation that file does not exist. Same procedure works on x86 machine.
#ls /home/vinitag/repo/binary/
Packages.gz
Which repo has clearwater-cassandra package ? I don't see it in my local repo 
after I created debian packages for sprout/ellis/homer. Is it coming from 
http://repo.cw-ngv.com/stable which may not have build for arch I'm using.
BTW, is this the right approach to test clearwater on different architecture?
Thanks,
Vinita

Below are the packages got built on my target machine
root@ubuntuth88xx:vinitag# ls /home/vinitag/repo/
binary                                                   
mangelwurzel-as-dbg_1.0-160412.145922_arm64.deb
bono_1.0-160412.145922_arm64.deb                         
memento-as_1.0-160412.145922_arm64.deb
bono-dbg_1.0-160412.145922_arm64.deb                     
memento-as-dbg_1.0-160412.145922_arm64.deb
call-diversion-as_1.0-160412.145922_arm64.deb            Packages.gz
call-diversion-as-dbg_1.0-160412.145922_arm64.deb        
restund_1.0-160412.145922_arm64.deb
clearwater-prov-tools_1.0-160413.103022_arm64.deb        
sprout_1.0-160412.145922_arm64.deb
clearwater-sipp_1.0-160412.145922_arm64.deb              
sprout-base_1.0-160412.145922_arm64.deb
clearwater-sipp-dbg_1.0-160412.145922_arm64.deb          
sprout-base-dbg_1.0-160412.145922_arm64.deb
clearwater-sip-perf_1.0-160412.145922_arm64.deb          
sprout-bgcf_1.0-160412.145922_arm64.deb
clearwater-sip-stress_1.0-160412.145922_arm64.deb        
sprout-bgcf-dbg_1.0-160412.145922_arm64.deb
clearwater-sip-stress-stats_1.0-160412.145922_arm64.deb  
sprout-dbg_1.0-160412.145922_arm64.deb
ellis_1.0-160413.103022_arm64.deb                        
sprout-icscf_1.0-160412.145922_arm64.deb
gemini-as_1.0-160412.145922_arm64.deb                    
sprout-icscf-dbg_1.0-160412.145922_arm64.deb
gemini-as-dbg_1.0-160412.145922_arm64.deb                
sprout-libs_1.0-160412.145922_arm64.deb
homestead_1.0-160413.095649_arm64.deb                    
sprout-libs-dbg_1.0-160412.145922_arm64.deb
homestead-dbg_1.0-160413.095649_arm64.deb                
sprout-mmtel-as_1.0-160412.145922_arm64.deb
homestead-libs_1.0-160413.095649_arm64.deb               
sprout-mmtel-as-dbg_1.0-160412.145922_arm64.deb
homestead-libs-dbg_1.0-160413.095649_arm64.deb           
sprout-scscf_1.0-160412.145922_arm64.deb
mangelwurzel-as_1.0-160412.145922_arm64.deb              
sprout-scscf-dbg_1.0-160412.145922_arm64.deb



On Mon, Apr 18, 2016 at 7:22 AM, Robert Day 
(projectclearwater.org<http://projectclearwater.org>) 
<[email protected]<mailto:[email protected]>> wrote:
Hi Vinita,

Sorry about the broken links! I’m running a link checker over our docs site now 
and fixing those up.

For your errors when building the all-in-one node, I wonder if the problem is 
‘repo=file:/home/vinitag/repo/’. Does the directory /home/vinitag/repo/ exist 
on the all-in-one node (not just on the machine you’re using to build it)? This 
needs to be a directory accessible from the all-in-one node – it might be 
easiest to use something like nginx to host a web server on your local network, 
have it serve those built packages, and set the all-in-one node to access that 
web server.

Hope that helps,
Rob

From: Clearwater 
[mailto:[email protected]<mailto:[email protected]>]
 On Behalf Of vinita gupta
Sent: 15 April 2016 19:34
To: 
[email protected]<mailto:[email protected]>
Subject: [Project Clearwater] help with clearwater installation on different 
architecture on KVM linux (ubuntu 14.04).

Hi,
I'm trying to get clearwater installed on different architecture and evaluate 
its performance. I can't seem to find a document which can point me in right 
direction on how to compile/install clearwater on different architecture and on 
different VM machine running KVM under Linux.
I started with the steps below but still have issues
1) Follow the "install from source" instruction from
http://clearwater.readthedocs.org/en/stable/Installation_Instructions.html?highlight=install%20from%20source
  BUT
https://github.com/Metaswitch/sprout/blob/master/docs/Development.html gives 
404 "page not found error" for all the components.
I  followed the instruction found on development page  
https://github.com/Metaswitch/homestead/blob/dev/docs/development.md  of each 
component and compile the code for sprout/bono homestead/homer and ellis.
2) I tried Manual build steps next to build all-in-one image but it fails with "

a) bash -c '{ echo "#!/bin/bash" ; echo "set -e" ; echo "mkdir 
/home/ubuntu/install";
                                                     echo 
"repo=file:/home/vinitag/repo/";
                                                     echo "curl -L 
https://raw.githubusercontent.com/Metaswitch/clearwater-infrastructure/master/scripts/clearwater-aio-install.sh
 | sudo bash -s clearwater-auto-config-generic \$repo 
>/home/ubuntu/install/install.log 2>&1" ;
                                                     echo "mv 
/etc/rc2.d/S99zclearwater-aio-first-boot /home/ubuntu/install/" ;
                                                     echo "poweroff" ; } > 
/etc/rc2.d/S99zclearwater-aio-first-boot ;
                                                   chmod a+x 
/etc/rc2.d/S99zclearwater-aio-first-boot'
b)  /etc/rc2.d/S99zclearwater-aio-first-boot
Error from install.log----
.......................
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Package clearwater-cassandra is not available, but is referred to by another 
package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package clearwater-auto-config-generic
E: Unable to locate package clearwater-management
E: Package 'clearwater-cassandra' has no installation candidate

What should be the next steps?
Thanks,
Vinita





_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org

Reply via email to