Separate Nuve and Erizo controller

Hello,

We’d like to reach high availability and scalability of Licode. As first
step I’d like to separate Nuve and Erizo. I tried to install it on separate
servers.
As rabbit host I use Nuve server’s IP and set testErizoController Erizo
server’s IP instead of localhost. I copied licode_config.js to Erizo server.
Both servers seems to connect each other when running their init scripts
parts, but I’m getting error "[Auth] Unknown service " when I
try to run basic example even the key is the same for Nuve and Erizo server.

Thanks for any advice.

Hi Ivo,

I’ve managed to completely separate the Erizo from the Nuve (in terms of
servers)…

On the Nuve Server, I’ve installed it normally, except that I don’t start
the Erizo (on the initLicode.sh, changed it for just do the initNuve).
In the Nuve Server’s licode_config.js, you’ll see that it has 2 variables
configured: the superserviceKey and the superserviceID.

Just copy those values and install Erizo on another server…

One of the things that I did was removing the rabbitmq and mongodb from
the Ubuntu dependencies on the Erizo installation… Don’t need it, so
it’s fine :slight_smile:
Also changed the initLicode to not start/init the Nuve (basically
commented the lines 13 to 21 of the initLicode.sh)

Last but not least, I went to the licode_config.js of the Erizo
installation and configured with everything (STUN, TURN, etc…) AND placed
on the variables above mentioned, the values copied.

Then, and if you’re using the basicServer example, you’ll see that here -

  • they’re connecting to localhost:3000 … You just need to connect to the
    IP of the Nuve, and I think you’ll be fine :slight_smile:

If you have any problems, shout out for help :wink:

Hugz,–
{
“name”: “Ricardo Machado”
“position”: “Web-Developer”
“email”: "pt.n00b@gmail.com"
}

Em Thu, 06 Mar 2014 07:05:05 +0100, Ivo Pavlík ipavlik78@gmail.com escreveu:

Hello,

We’d like to reach high availability and scalability of Licode. As first
step I’d like to separate Nuve and Erizo. I tried to install it on
separate servers.
As rabbit host I use Nuve server’s IP and set testErizoController Erizo
server’s IP instead of localhost. I copied licode_config.js to Erizo
server.
Both servers seems to connect each other when running their init scripts
parts, but I’m getting error "[Auth] Unknown service " when I
try to run basic >example even the key is the same for Nuve and Erizo
server.

Thanks for any advice.
–You received this message because you are subscribed to the Google
Groups “lynckia” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to lynckia+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hello,

thank you for your answer. In principle, I did the same. There’s no need to
install Erizon on machine where Nuve is running and vice-versa.
The only problem was that I specified IP address of Nuve server in
licode_config.js for Nuve server instead of localhost for rabbit host and
Nuve database URL.
It seems that on Nuve local machine Nuve can’t connect to database when
there’s anything else than localhost (I tried IP and hostname).

Thanks,
Ivo.

Dňa štvrtok, 6. marca 2014 7:05:05 UTC+1 Ivo Pavlík napísal(-a):>

Hello,

We’d like to reach high availability and scalability of Licode. As first
step I’d like to separate Nuve and Erizo. I tried to install it on separate
servers.
As rabbit host I use Nuve server’s IP and set testErizoController Erizo
server’s IP instead of localhost. I copied licode_config.js to Erizo server.
Both servers seems to connect each other when running their init scripts
parts, but I’m getting error "[Auth] Unknown service " when I
try to run basic example even the key is the same for Nuve and Erizo server.

Thanks for any advice.