Hi Bertrand,

Sorry for not replying to this sooner.

Our Docker work is currently just a prototype, and it doesn’t yet support all 
of the features of the VM-based solution. We may add full support for Docker in 
the future – it’s an exciting area, and Project Clearwater is suited to 
deployment in containers. However, we don’t have any plans to do that in the 
short term.

In the meantime, if I wanted to add a second Sprout node to my deployment, I 
would destroy the current deployment, then edit 
https://github.com/Metaswitch/clearwater-docker/blob/master/minimal-distributed.yaml:

·         adding another sprout service (with a different name)

·         adding a link to this new sprout service in Bono’s list of links.

I would then spin up a new deployment. I haven’t tried this, but it seems like 
the simplest way to get two Sprout nodes.

To update the domain on your servers, I would try logging into your servers, 
then updating them using the standard 
techniques<http://clearwater.readthedocs.io/en/stable/Modifying_Clearwater_settings.html>
 for changing config. You can start a bash shell in your containers by:

·         Running `sudo docker ps` to get the IDs of your containers.

·         Running `sudo docker exec -it <container ID> /bin/bash`.

Please let me know if you have any trouble with this.

Yours,

Chris

From: Bertrand Bouge [mailto:[email protected]]
Sent: 31 May 2016 21:32
To: Chris Elford (projectclearwater.org) <[email protected]>
Cc: [email protected]
Subject: Re: [Project Clearwater] Error winch Bono an Sproud on lxc (ubuntu 
template)

Hello Chris,
I installed clearwater with docker and it works.
However, I wish to changedomain name (example.com<http://example.com>) by 
another one and add a second node of sprout.
Please could you tell me how I can do that. I've try to install nodes 
individualy without succes.

Thanks for you help.


2016-05-26 11:17 GMT-04:00 Chris Elford 
(projectclearwater.org<http://projectclearwater.org>) 
<[email protected]<mailto:[email protected]>>:
Hi Bertrand,

We’ve been seeing similar issues in our test lab, and Matt has raised an issue 
to cover it: https://github.com/Metaswitch/clearwater-docker/issues/24.

He’s also added some notes about how he was able to work around it on his 
deployment. We are going to prioritise fixing this next release, so hopefully 
this won’t be a problem for too long.

Please get in touch if you have any trouble with the workaround.

Chris

From: Bertrand Bouge 
[mailto:[email protected]<mailto:[email protected]>]
Sent: 26 May 2016 04:13

To: Chris Elford (projectclearwater.org<http://projectclearwater.org>) 
<[email protected]<mailto:[email protected]>>
Cc: 
[email protected]<mailto:[email protected]>
Subject: Re: [Project Clearwater] Error winch Bono an Sproud on lxc (ubuntu 
template)

Hi Chris,

I deployed clearwater with docker 
(https://github.com/Metaswitch/clearwater-docker). Now I seek to carry out 
stress test with SIPp but I have this error on homestead when run this 
command:./users.create_homestead.sh<http://users.create_homestead.sh>

root@c9411e06f867:/# 
./users.create_homestead.sh<http://users.create_homestead.sh>
org.apache.thrift.transport.TTransportException: java.net.ConnectException: 
Connection refused
        at org.apache.thrift.transport.TSocket.open(TSocket.java:185)
        at 
org.apache.thrift.transport.TFramedTransport.open(TFramedTransport.java:81)
        at 
org.apache.cassandra.thrift.TFramedTransportFactory.openTransport(TFramedTransportFactory.java:41)
        at org.apache.cassandra.cli.CliMain.connect(CliMain.java:65)
        at org.apache.cassandra.cli.CliMain.main(CliMain.java:237)
Caused by: java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at 
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
        at 
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
        at 
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:579)
        at org.apache.thrift.transport.TSocket.open(TSocket.java:180)
        ... 4 more
Exception connecting to 127.0.0.1/9160<http://127.0.0.1/9160>. Reason: 
Connection refused.
Not connected to a cassandra instance.
............


Note that I'm able to ping bono, sprout, homer...

Need your help please.

Thanks.

2016-05-12 9:14 GMT-04:00 Chris Elford 
(projectclearwater.org<http://projectclearwater.org>) 
<[email protected]<mailto:[email protected]>>:
Hi Bertrand,

The first thing to check is that your containers are running. You can do this 
by running sudo docker ps. You should see something like:

CONTAINER ID        IMAGE                        COMMAND                  
CREATED             STATUS              PORTS  NAMES
e506c876cecd        clearwaterdocker_bono        "/usr/bin/supervisord"   35 
minutes ago      Up 35 minutes       0.0.0.0:3478->3478/tcp, 
0.0.0.0:3478->3478/udp, 0.0.0.0:5060->5060/tcp, 0.0.0.0:5062->5062/tcp, 
0.0.0.0:5060->5060/udp, 5058/tcp, 0.0.0.0:32773->22/tcp   
clearwaterdocker_bono_1
34005c1236e3        clearwaterdocker_sprout      "/usr/bin/supervisord"   35 
minutes ago      Up 35 minutes       5052/tcp, 5054/tcp, 0.0.0.0:32772->22/tcp  
                                                                                
                               clearwaterdocker_sprout_1
a97a42035b9c        clearwaterdocker_ellis       "/usr/bin/supervisord"   35 
minutes ago      Up 35 minutes       0.0.0.0:80->80/tcp, 0.0.0.0:32771->22/tcp  
                                                                                
                               clearwaterdocker_ellis_1
61425b298529        clearwaterdocker_homer       "/usr/bin/supervisord"   35 
minutes ago      Up 35 minutes       7888/tcp, 0.0.0.0:32770->22/tcp            
                                                                                
                               clearwaterdocker_homer_1
b4161df0319c        
quay.io/coreos/etcd:v2.2.5<http://quay.io/coreos/etcd:v2.2.5>   "/etcd -name 
etcd0 -a"   35 minutes ago      Up 35 minutes       2379-2380/tcp, 4001/tcp, 
7001/tcp                                                                        
                                                 clearwaterdocker_etcd_1
0f4bceba2aa0        clearwaterdocker_ralf        "/usr/bin/supervisord"   35 
minutes ago      Up 35 minutes       10888/tcp, 0.0.0.0:32769->22/tcp           
                                                                                
                               clearwaterdocker_ralf_1
064e124ee549        clearwaterdocker_homestead   "/usr/bin/supervisord"   35 
minutes ago      Up 35 minutes       8888-8889/tcp, 0.0.0.0:32768->22/tcp       
                                                                                
                               clearwaterdocker_homestead_1

The output also shows the port-forwarding that Docker has configured to allow 
you to connect to the containers from outside. For example, my Ellis container 
has port 80 forwarded to allow HTTP connections (see the bold above).

If your output is similar to this, then you should check that your network is 
set up to allow HTTP access to your box. Are all the firewalls in your network 
set up to allow connections over tcp on port 80? 
http://clearwater.readthedocs.io/en/stable/Clearwater_IP_Port_Usage.html 
explains all of the connections that are required to talk to Project Clearwater.

If it’s not a network problem, then can you send the output of running sudo 
netstat -lnp on your box? That way we can see for certain whether Ellis is 
listening on the right port.

Yours,

Chris

From: Bertrand Bouge 
[mailto:[email protected]<mailto:[email protected]>]
Sent: 10 May 2016 21:15
To: Chris Elford (projectclearwater.org<http://projectclearwater.org>) 
<[email protected]<mailto:[email protected]>>
Cc: 
[email protected]<mailto:[email protected]>
Subject: Re: [Project Clearwater] Error winch Bono an Sproud on lxc (ubuntu 
template)

Hi Chris,

I finally used dockers by following this procedure 
(https://github.com/Metaswitch/clearwater-docker) . But I can not conect to 
Ellis GUI ( Http://ellis.example.com | Http://ellis.example.com:80 | 
Http://ellis.example.com:8080 ) .
Could you help me please.

Yours.


2016-05-09 9:07 GMT-04:00 Chris Elford 
(projectclearwater.org<http://projectclearwater.org>) 
<[email protected]<mailto:[email protected]>>:
Hi Bertrand,

Thanks for letting us know about this.

We have managed to get Project Clearwater running on Linux containers using 
Docker. Our clearwater-docker<https://github.com/Metaswitch/clearwater-docker> 
repository contains Dockerfiles, and instructions, which you should be able to 
follow to make that work for you too. We run these under continuous integration 
in EC2, and they are currently working fine.

If you are set on using a different container manager to Docker, then there are 
some things that you will need to work around, like the issue with sysctl that 
you have seen below. If you look at the Dockerfiles in clearwater-docker, you 
will see that we take a range of steps as well as installing the packages on 
the images. You should be able to run these commands in your Linux container 
environment. The main differences are:

•         Replacing sysctl with a dummy script.

•         Using supervisord instead of monit to monitor our processes.

•         A range of sed scripts to tweak configuration.

When you get this working, please let us know – I’m sure there are people on 
the mailing list who may want to try the same thing.

Yours,

Chris

From: Clearwater 
[mailto:[email protected]<mailto:[email protected]>]
 On Behalf Of Bertrand Bouge
Sent: 04 May 2016 13:07
To: 
[email protected]<mailto:[email protected]>
Subject: [Project Clearwater] Error winch Bono an Sproud on lxc (ubuntu 
template)


Hi for all,
I'm  new with clearwater projet and I'm trying to setup bono,sproud on Linux 
containers. I have error when execute these command on containers.

sudo DEBIAN_FRONTEND=noninteractive apt-get install bono restund --yes
sudo DEBIAN_FRONTEND=noninteractive apt-get install clearwater-management --yes

Errors:
Paramétrage de clearwater-tcp-scalability (1.0-160413.154808) ...
sysctl: cannot stat /proc/sys/net/core/rmem_max: Aucun fichier ou dossier de ce 
type
sysctl: cannot stat /proc/sys/net/core/wmem_max: Aucun fichier ou dossier de ce 
type
sysctl: cannot stat /proc/sys/net/ipv4/tcp_rmem: Aucun fichier ou dossier de ce 
type
sysctl: cannot stat /proc/sys/net/ipv4/tcp_wmem: Aucun fichier ou dossier de ce 
type
sysctl: cannot stat /proc/sys/net/ipv4/tcp_syncookies: Aucun fichier ou dossier 
de ce type
sysctl: cannot stat /proc/sys/net/ipv4/tcp_tw_reuse: Aucun fichier ou dossier 
de ce type
sysctl: cannot stat /proc/sys/net/ipv4/tcp_mem: Aucun fichier ou dossier de ce 
type
sysctl: cannot stat /proc/sys/net/core/netdev_max_backlog: Aucun fichier ou 
dossier de ce type
sysctl: permission denied on key 'fs.file-max'
dpkg: error processing package clearwater-tcp-scalability (--configure):

Place need your help.

Thanks for all



--
Bertrand Bouge
[email protected]<mailto:[email protected]>



--
Bertrand Bouge
514 690-7476<tel:514%20690-7476>
[email protected]<mailto:[email protected]>



--
Bertrand Bouge
[email protected]<mailto:[email protected]>
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org

Reply via email to