Multi Server Setup OC 2.2

54 views
Skip to first unread message

Danny Jeronimo

unread,
Jul 25, 2016, 10:31:27 AM7/25/16
to us...@opencast.org
I am in the process of deploying opencast 2.2 with the following configuration

1-admin server with DB and NFS setup on it.
1-worker server
1-engage server

I’m a bit confused and lost. I have the admin server all setup with the above configuration, but I’m stuck on setting up the second of the three server setup. I have opencast-worker installed and i’m going through the configuration and it’s not clear to me what I need to configure on the remaining two servers.

I have the opencast-worker package installed and have gone through the basic setup of the custom.properties file, and I’m stuck as to how to configure Activemq.

In the worker server what do I need to edit to point this server to the admin server? I see an activemq.broker.url=failover section, do i edit this to point to the admin server?

Can someone point me in the right direction?

Sorry for the noob questions.

Regards,
Danny

Lars Kiesow

unread,
Jul 25, 2016, 10:51:29 AM7/25/16
to us...@opencast.org
Hi Danny,
ActiveMQ is a standalone server which people often put on the admin
node since it does not need a lot of resources but you can put it
anywhere you want. It's a bit like a database.

Let's assume you installed it on your admin node and made sure that
your firewall lets other servers access it through TCP port 61616
(default).

On your admin, you can then just leave the default setting in the
custom.properties which looks for ActiveMQ on 127.0.0.1. On all other
servers, you have to point it to your admin node instead, setting
something like:

activemq.broker.url=failover://(tcp://admin.example.com:61616)?initialReconnectDelay=2000&maxReconnectAttempts=2

The `?initialReconnectDelay=2000&maxReconnectAttempts=2` is something
that will increase the stability in case of network problems and I
would append it. It's in the default configuration as well.

If you want to, you can also specify credentials for ActiveMQ access or
configure your firewall to allow access from some hosts only to
increase security. Though, if it's your first try, it might be easier to
leave this for now and come back to it later.

For more details, have a look at our message broker configuration
documentation at:

https://docs.opencast.org/r/2.2.x/admin/configuration/message-broker/

Best regards,
Lars

Danny Jeronimo

unread,
Jul 25, 2016, 11:16:17 AM7/25/16
to us...@opencast.org
Thanks Lars for clarifying this. So for the worker and engage servers all I need to do is install the opencast package and configure the custom.properties file since the DB, NFS and adminui are on the admin server. Correct?

DJ
> --
> You received this message because you are subscribed to the Google Groups "Opencast Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to users+un...@opencast.org.
>

Lars Kiesow

unread,
Jul 25, 2016, 11:26:23 AM7/25/16
to us...@opencast.org
Hi Danny,
not quite so. You need some additional settings. have a look at this
documentation:
https://docs.opencast.org/r/2.2.x/admin/installation/multiple-servers/#step-5-configure-opencast

That should be it.

Regards,
Lars

On Mon, 25 Jul 2016 11:16:10 -0400

Danny Jeronimo

unread,
Jul 25, 2016, 11:27:26 AM7/25/16
to us...@opencast.org
Great thanks Lars

DJ
Reply all
Reply to author
Forward
0 new messages