You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Alex Nyamweya <an...@gmail.com> on 2018/07/07 22:57:58 UTC

Running Two Instances of Apache OpenMeetings on Same Server

Hello,

I am trying to run two instances of Apache OpenMeetings on the same server
that is each has its own domain name. For example, I want to have one
domain be mysubdomain1.mydomain.com:5080/openmeetings and another domain be
mysubdomain2.mydomain.com:5080/openmeetings. I read that it is possible
through this link: http://openmeetings.apache.org/WebappNamePath.html. I
tried the step it showed but nothing changed on my server. I would like to
know what additional steps (if there are any) that need to be followed in
order to complete the second instance installation.

Thank you,
Alex Nyamweya

Re: Running Two Instances of Apache OpenMeetings on Same Server

Posted by Maxim Solodovnik <so...@gmail.com>.
We are using multi-server set-up on our demo server

we are starting different OM instances on different ports

this configuration works as expected
On Tue, Jul 10, 2018 at 2:43 PM Vasiliy Degtyarev <va...@unipro.ru> wrote:
>
> Hello Alex!
> I never used this configuration.
> Maybe for your purpose it will be better to use Clustering - http://openmeetings.apache.org/Clustering.html.
>
> Thanks,
> Vasiliy
>
>
> 10.07.2018 10:32, Alex Nyamweya пишет:
>
> Also thank you for the link and your help so far!
>
> On Mon, Jul 9, 2018, 11:31 PM Alex Nyamweya <an...@gmail.com> wrote:
>>
>> I only have one database but I was thinking I needed one for each site. So you can have a shared database I see. Do these sites work in parallel where if one site goes down the other still works?
>>
>> On Mon, Jul 9, 2018, 11:25 PM Vasiliy Degtyarev <va...@unipro.ru> wrote:
>>>
>>> Hello Alex!
>>>
>>> Please use this documentation to configure https - http://openmeetings.apache.org/RTMPSAndHTTPS.html.
>>> How many databases do you use for your configuration?
>>> I think that you should use the same database for both server instance.
>>>
>>> Thanks,
>>> Vasiliy
>>>
>>> 10.07.2018 10:15, Alex Nyamweya пишет:
>>>
>>> Hi Vasily,
>>>
>>> Okay I checked the file and here are the contents:
>>>
>>> INFO 07-09 19:35:17.319 ROOT:81 [main] - Starting up context: openmeetings1
>>>  INFO 07-09 20:16:55.899 ROOT:81 [main] - Starting up context: openmeetings1
>>>  INFO 07-09 20:38:22.547 ROOT:81 [main] - Starting up context: openmeetings1
>>>  INFO 07-09 23:03:34.981 ROOT:81 [main] - Starting up context: openmeetings1
>>> DEBUG 07-09 23:03:52.077 o.a.o.c.r.ScopeApplicationAdapter:343 [:/openmeetings1] - start: Scope [nam$
>>> DEBUG 07-09 23:03:52.110 o.a.o.c.r.ScopeApplicationAdapter:127 [:/openmeetings1] - webAppPath : /opt$
>>> DEBUG 07-09 23:03:54.349 o.a.o.u.Version:82 [:/openmeetings1] -
>>>         ################################################################################
>>>         #                              Openmeetings is up                              #
>>>         #                      4.0.4 f1f4246 2018-05-23T02:52:39Z                      #
>>>         #                               and ready to use                               #
>>>         ################################################################################
>>>
>>> DEBUG 07-09 23:03:59.872 o.a.o.s.q.s.ReminderJob:92 [Bean#0_Worker-7] - Rss disabled by Admin
>>> DEBUG 07-09 23:04:00.871 o.a.o.d.d.s.LdapConfigDao:74 [0.0-5080-exec-9] - getActiveLdapConfigs
>>> DEBUG 07-09 23:04:32.599 o.a.o.d.d.s.LdapConfigDao:74 [0.0-5080-exec-7] - getActiveLdapConfigs
>>> DEBUG 07-09 23:04:42.094 o.a.o.d.d.u.UserDao:655 [.0-5080-exec-10] - login:: 1 users were found
>>> DEBUG 07-09 23:04:42.123 o.a.o.u.c.CryptProvider:39 [.0-5080-exec-10] - getInstanceOfCrypt:: configK$
>>> DEBUG 07-09 23:04:43.516 o.a.o.d.u.AuthLevelUtil:42 [.0-5080-exec-10] - Level Login :: [GRANTED]
>>> DEBUG 07-09 23:04:43.546 o.a.o.d.d.u.UserDao:672 [.0-5080-exec-10] - loginUser [GroupUser [id=1, mod$
>>> DEBUG 07-09 23:04:43.644 o.a.o.d.u.AuthLevelUtil:42 [.0-5080-exec-10] - Level Admin :: [GRANTED]
>>> DEBUG 07-09 23:04:44.682 o.a.o.d.u.AuthLevelUtil:42 [0.0-5080-exec-6] - Level Admin :: [GRANTED]
>>> DEBUG 07-09 23:04:45.367 o.a.o.d.u.AuthLevelUtil:42 [0.0-5080-exec-6] - Level Admin :: [GRANTED]
>>> DEBUG 07-09 23:04:45.451 o.a.o.d.u.AuthLevelUtil:42 [0.0-5080-exec-6] - Level Admin :: [GRANTED]
>>> DEBUG 07-09 23:04:50.286 o.a.o.w.a.ClientManager:93 [0.0-5080-exec-3] - Adding online client: 089831$
>>> DEBUG 07-09 23:04:50.302 o.a.o.w.c.MainPanel:143 [0.0-5080-exec-3] - WebSocketBehavior::onConnect [u$
>>> DEBUG 07-09 23:04:50.328 o.a.o.w.c.MainPanel:152 [0.0-5080-exec-3] - WebSocketBehavior:: pingTimer i$
>>> DEBUG 07-09 23:04:53.915 o.a.o.d.d.r.RoomDao:255 [.0-5080-exec-10] - getUserRoom : 1 || conference
>>> DEBUG 07-09 23:04:53.938 o.a.o.d.d.r.RoomDao:255 [.0-5080-exec-10] - getUserRoom : 1 || presentation
>>> DEBUG 07-09 23:04:53.946 o.a.o.d.d.r.RoomDao:191 [.0-5080-exec-10] - getAppointedRoomsByUser : UserI$
>>> DEBUG 07-09 23:05:21.350 o.a.o.w.c.MainPanel:117 [0.0-5080-exec-2] - Sending WebSocket PING
>>> DEBUG 07-09 23:05:52.412 o.a.o.w.c.MainPanel:117 [0.0-5080-exec-8] - Sending WebSocket PING
>>> DEBUG 07-09 23:06:23.468 o.a.o.w.c.MainPanel:117 [0.0-5080-exec-5] - Sending WebSocket PING
>>> DEBUG 07-09 23:06:54.503 o.a.o.w.c.MainPanel:117 [0.0-5080-exec-9] - Sending WebSocket PING
>>>
>>> I restarted my server and it works. I'm able to go to /openmeetings and /openmeetings1. The problem is they both use a single account. Is there a way I can create another admin account for the second openmeetings site? That way I could change the database for the second site. Also do these sites work in parallel where if one site is down then the other can still work? By letsencrypt I mean it's a tool that assigns SSL certificates in order for websites to be able to be used with HTTPS instead of HTTP.
>>>
>>> On Mon, Jul 9, 2018, 9:58 PM Vasiliy Degtyarev <va...@unipro.ru> wrote:
>>>>
>>>> Hello Alex!
>>>>
>>>> Please check openmeetings1.log file to determine the error.
>>>> Also please explain what does this mean - letsencrypt?
>>>>
>>>> Thanks,
>>>> Vasiliy
>>>>
>>>>
>>>> 10.07.2018 8:01, Alex Nyamweya пишет:
>>>>
>>>> Could you go over it in more detail? What do you mean by last folder? The full path to openmeetings is /opt/red5/webapps/openmeetings so would I have an openmeetings and openmeetings1 folder in the webapps directory? That is what I did so far. I also edited the red5-web.properties file in opt/red5/webapps/openmeetings/WEB-INF and added the line webapp.contextPath=/openmeetings. In the red5-web.properties file in opt/red5/webapps/openmeetings1/WEB-INF, I added the line webapp.contextPath=/openmeetings1. The openmeetings link works but the openmeetings1 doesn't work. I followed them according to this link: https://www.mail-archive.com/user@openmeetings.apache.org/msg06580.html. Also, could I use letsencrypt to enable https for my website?
>>>>
>>>> On Mon, Jul 9, 2018 at 12:35 PM, Michael Stahlberg <st...@gmail.com> wrote:
>>>>>
>>>>> I am not an expert on this but i would use diffrent accounts and database for each instance. I would use the same location for the install, just change the name of the last folder to separate the two instances
>>>>>
>>>>> On Mon, Jul 9, 2018, 16:43 Alex Nyamweya <an...@gmail.com> wrote:
>>>>>>
>>>>>> Hello Michael,
>>>>>>
>>>>>> Thanks for clarifying that to me. So I have a few questions. Would the two instances use the same account? Also what additional steps do I need to follow in order to enable the second instance? When I tried the step shown on the website, I couldn't go to the openmeetings1 and openmeetings2 links. Can I move the OpenMeetings folder to a different directory like say under /var/www/html?
>>>>>>
>>>>
>>>>
>>>
>


-- 
WBR
Maxim aka solomax

Re: Running Two Instances of Apache OpenMeetings on Same Server

Posted by Vasiliy Degtyarev <va...@unipro.ru>.
Hello Alex!
I never used this configuration.
Maybe for your purpose it will be better to use Clustering - 
http://openmeetings.apache.org/Clustering.html.

Thanks,
Vasiliy


10.07.2018 10:32, Alex Nyamweya пишет:
> Also thank you for the link and your help so far!
>
> On Mon, Jul 9, 2018, 11:31 PM Alex Nyamweya <animesonic94@gmail.com 
> <ma...@gmail.com>> wrote:
>
>     I only have one database but I was thinking I needed one for each
>     site. So you can have a shared database I see. Do these sites work
>     in parallel where if one site goes down the other still works?
>
>     On Mon, Jul 9, 2018, 11:25 PM Vasiliy Degtyarev <vasya@unipro.ru
>     <ma...@unipro.ru>> wrote:
>
>         Hello Alex!
>
>         Please use this documentation to configure https -
>         http://openmeetings.apache.org/RTMPSAndHTTPS.html.
>         How many databases do you use for your configuration?
>         I think that you should use the same database for both server
>         instance.
>
>         Thanks,
>         Vasiliy
>
>         10.07.2018 10:15, Alex Nyamweya пишет:
>>         Hi Vasily,
>>
>>         Okay I checked the file and here are the contents:
>>
>>         INFO 07-09 19:35:17.319 ROOT:81 [main] - Starting up context:
>>         openmeetings1
>>          INFO 07-09 20:16:55.899 ROOT:81 [main] - Starting up
>>         context: openmeetings1
>>          INFO 07-09 20:38:22.547 ROOT:81 [main] - Starting up
>>         context: openmeetings1
>>          INFO 07-09 23:03:34.981 ROOT:81 [main] - Starting up
>>         context: openmeetings1
>>         DEBUG 07-09 23:03:52.077
>>         o.a.o.c.r.ScopeApplicationAdapter:343 [:/openmeetings1] -
>>         start: Scope [nam$
>>         DEBUG 07-09 23:03:52.110
>>         o.a.o.c.r.ScopeApplicationAdapter:127 [:/openmeetings1] -
>>         webAppPath : /opt$
>>         DEBUG 07-09 23:03:54.349 o.a.o.u.Version:82 [:/openmeetings1] -
>>         ################################################################################
>>                 # Openmeetings is up                              #
>>                 #                      4.0.4 f1f4246
>>         2018-05-23T02:52:39Z                      #
>>                 #                               and ready to
>>         use                               #
>>         ################################################################################
>>
>>         DEBUG 07-09 23:03:59.872 o.a.o.s.q.s.ReminderJob:92
>>         [Bean#0_Worker-7] - Rss disabled by Admin
>>         DEBUG 07-09 23:04:00.871 o.a.o.d.d.s.LdapConfigDao:74
>>         [0.0-5080-exec-9] - getActiveLdapConfigs
>>         DEBUG 07-09 23:04:32.599 o.a.o.d.d.s.LdapConfigDao:74
>>         [0.0-5080-exec-7] - getActiveLdapConfigs
>>         DEBUG 07-09 23:04:42.094 o.a.o.d.d.u.UserDao:655
>>         [.0-5080-exec-10] - login:: 1 users were found
>>         DEBUG 07-09 23:04:42.123 o.a.o.u.c.CryptProvider:39
>>         [.0-5080-exec-10] - getInstanceOfCrypt:: configK$
>>         DEBUG 07-09 23:04:43.516 o.a.o.d.u.AuthLevelUtil:42
>>         [.0-5080-exec-10] - Level Login :: [GRANTED]
>>         DEBUG 07-09 23:04:43.546 o.a.o.d.d.u.UserDao:672
>>         [.0-5080-exec-10] - loginUser [GroupUser [id=1, mod$
>>         DEBUG 07-09 23:04:43.644 o.a.o.d.u.AuthLevelUtil:42
>>         [.0-5080-exec-10] - Level Admin :: [GRANTED]
>>         DEBUG 07-09 23:04:44.682 o.a.o.d.u.AuthLevelUtil:42
>>         [0.0-5080-exec-6] - Level Admin :: [GRANTED]
>>         DEBUG 07-09 23:04:45.367 o.a.o.d.u.AuthLevelUtil:42
>>         [0.0-5080-exec-6] - Level Admin :: [GRANTED]
>>         DEBUG 07-09 23:04:45.451 o.a.o.d.u.AuthLevelUtil:42
>>         [0.0-5080-exec-6] - Level Admin :: [GRANTED]
>>         DEBUG 07-09 23:04:50.286 o.a.o.w.a.ClientManager:93
>>         [0.0-5080-exec-3] - Adding online client: 089831$
>>         DEBUG 07-09 23:04:50.302 o.a.o.w.c.MainPanel:143
>>         [0.0-5080-exec-3] - WebSocketBehavior::onConnect [u$
>>         DEBUG 07-09 23:04:50.328 o.a.o.w.c.MainPanel:152
>>         [0.0-5080-exec-3] - WebSocketBehavior:: pingTimer i$
>>         DEBUG 07-09 23:04:53.915 o.a.o.d.d.r.RoomDao:255
>>         [.0-5080-exec-10] - getUserRoom : 1 || conference
>>         DEBUG 07-09 23:04:53.938 o.a.o.d.d.r.RoomDao:255
>>         [.0-5080-exec-10] - getUserRoom : 1 || presentation
>>         DEBUG 07-09 23:04:53.946 o.a.o.d.d.r.RoomDao:191
>>         [.0-5080-exec-10] - getAppointedRoomsByUser : UserI$
>>         DEBUG 07-09 23:05:21.350 o.a.o.w.c.MainPanel:117
>>         [0.0-5080-exec-2] - Sending WebSocket PING
>>         DEBUG 07-09 23:05:52.412 o.a.o.w.c.MainPanel:117
>>         [0.0-5080-exec-8] - Sending WebSocket PING
>>         DEBUG 07-09 23:06:23.468 o.a.o.w.c.MainPanel:117
>>         [0.0-5080-exec-5] - Sending WebSocket PING
>>         DEBUG 07-09 23:06:54.503 o.a.o.w.c.MainPanel:117
>>         [0.0-5080-exec-9] - Sending WebSocket PING
>>
>>         I restarted my server and it works. I'm able to go to
>>         /openmeetings and /openmeetings1. The problem is they both
>>         use a single account. Is there a way I can create another
>>         admin account for the second openmeetings site? That way I
>>         could change the database for the second site. Also do these
>>         sites work in parallel where if one site is down then the
>>         other can still work? By letsencrypt I mean it's a tool that
>>         assigns SSL certificates in order for websites to be able to
>>         be used with HTTPS instead of HTTP.
>>
>>         On Mon, Jul 9, 2018, 9:58 PM Vasiliy Degtyarev
>>         <vasya@unipro.ru <ma...@unipro.ru>> wrote:
>>
>>             Hello Alex!
>>
>>             Please check openmeetings1.log file to determine the error.
>>             Also please explain what does this mean - letsencrypt?
>>
>>             Thanks,
>>             Vasiliy
>>
>>
>>             10.07.2018 8:01, Alex Nyamweya пишет:
>>>             Could you go over it in more detail? What do you mean by
>>>             last folder? The full path to openmeetings is
>>>             /opt/red5/webapps/openmeetings so would I have an
>>>             openmeetings and openmeetings1 folder in the webapps
>>>             directory? That is what I did so far. I also edited the
>>>             red5-web.properties file in
>>>             opt/red5/webapps/openmeetings/WEB-INF and added the line
>>>             webapp.contextPath=/openmeetings. In the
>>>             red5-web.properties file in
>>>             opt/red5/webapps/openmeetings1/WEB-INF, I added the line
>>>             webapp.contextPath=/openmeetings1. The openmeetings link
>>>             works but the openmeetings1 doesn't work. I followed
>>>             them according to this link:
>>>             https://www.mail-archive.com/user@openmeetings.apache.org/msg06580.html.
>>>             Also, could I use letsencrypt to enable https for my
>>>             website?
>>>
>>>             On Mon, Jul 9, 2018 at 12:35 PM, Michael Stahlberg
>>>             <stahlbergmichael@gmail.com
>>>             <ma...@gmail.com>> wrote:
>>>
>>>                 I am not an expert on this but i would use diffrent
>>>                 accounts and database for each instance. I would use
>>>                 the same location for the install, just change the
>>>                 name of the last folder to separate the two instances
>>>
>>>                 On Mon, Jul 9, 2018, 16:43 Alex Nyamweya
>>>                 <animesonic94@gmail.com
>>>                 <ma...@gmail.com>> wrote:
>>>
>>>                     Hello Michael,
>>>
>>>                     Thanks for clarifying that to me. So I have a
>>>                     few questions. Would the two instances use the
>>>                     same account? Also what additional steps do I
>>>                     need to follow in order to enable the second
>>>                     instance? When I tried the step shown on the
>>>                     website, I couldn't go to the openmeetings1 and
>>>                     openmeetings2 links. Can I move the OpenMeetings
>>>                     folder to a different directory like say under
>>>                     /var/www/html?
>>>
>>>
>>
>


Re: Running Two Instances of Apache OpenMeetings on Same Server

Posted by Vasiliy Degtyarev <va...@unipro.ru>.
Hello Alex!

Please check openmeetings1.log file to determine the error.
Also please explain what does this mean - letsencrypt?

Thanks,
Vasiliy


10.07.2018 8:01, Alex Nyamweya пишет:
> Could you go over it in more detail? What do you mean by last folder? 
> The full path to openmeetings is /opt/red5/webapps/openmeetings so 
> would I have an openmeetings and openmeetings1 folder in the webapps 
> directory? That is what I did so far. I also edited the 
> red5-web.properties file in opt/red5/webapps/openmeetings/WEB-INF and 
> added the line webapp.contextPath=/openmeetings. In the 
> red5-web.properties file in opt/red5/webapps/openmeetings1/WEB-INF, I 
> added the line webapp.contextPath=/openmeetings1. The openmeetings 
> link works but the openmeetings1 doesn't work. I followed them 
> according to this link: 
> https://www.mail-archive.com/user@openmeetings.apache.org/msg06580.html. 
> Also, could I use letsencrypt to enable https for my website?
>
> On Mon, Jul 9, 2018 at 12:35 PM, Michael Stahlberg 
> <stahlbergmichael@gmail.com <ma...@gmail.com>> wrote:
>
>     I am not an expert on this but i would use diffrent accounts and
>     database for each instance. I would use the same location for the
>     install, just change the name of the last folder to separate the
>     two instances
>
>     On Mon, Jul 9, 2018, 16:43 Alex Nyamweya <animesonic94@gmail.com
>     <ma...@gmail.com>> wrote:
>
>         Hello Michael,
>
>         Thanks for clarifying that to me. So I have a few questions.
>         Would the two instances use the same account? Also what
>         additional steps do I need to follow in order to enable the
>         second instance? When I tried the step shown on the website, I
>         couldn't go to the openmeetings1 and openmeetings2 links. Can
>         I move the OpenMeetings folder to a different directory like
>         say under /var/www/html?
>
>


Re: Running Two Instances of Apache OpenMeetings on Same Server

Posted by Alex Nyamweya <an...@gmail.com>.
Could you go over it in more detail? What do you mean by last folder? The
full path to openmeetings is /opt/red5/webapps/openmeetings so would I have
an openmeetings and openmeetings1 folder in the webapps directory? That is
what I did so far. I also edited the red5-web.properties file in
opt/red5/webapps/openmeetings/WEB-INF and added the line
webapp.contextPath=/openmeetings. In the red5-web.properties file in
opt/red5/webapps/openmeetings1/WEB-INF, I added the line
webapp.contextPath=/openmeetings1. The openmeetings link works but the
openmeetings1 doesn't work. I followed them according to this link:
https://www.mail-archive.com/user@openmeetings.apache.org/msg06580.html.
Also, could I use letsencrypt to enable https for my website?

On Mon, Jul 9, 2018 at 12:35 PM, Michael Stahlberg <
stahlbergmichael@gmail.com> wrote:

> I am not an expert on this but i would use diffrent accounts and database
> for each instance. I would use the same location for the install, just
> change the name of the last folder to separate the two instances
>
> On Mon, Jul 9, 2018, 16:43 Alex Nyamweya <an...@gmail.com> wrote:
>
>> Hello Michael,
>>
>> Thanks for clarifying that to me. So I have a few questions. Would the
>> two instances use the same account? Also what additional steps do I need to
>> follow in order to enable the second instance? When I tried the step shown
>> on the website, I couldn't go to the openmeetings1 and openmeetings2 links.
>> Can I move the OpenMeetings folder to a different directory like say under
>> /var/www/html?
>>
>>

Re: Running Two Instances of Apache OpenMeetings on Same Server

Posted by Michael Stahlberg <st...@gmail.com>.
I am not an expert on this but i would use diffrent accounts and database
for each instance. I would use the same location for the install, just
change the name of the last folder to separate the two instances

On Mon, Jul 9, 2018, 16:43 Alex Nyamweya <an...@gmail.com> wrote:

> Hello Michael,
>
> Thanks for clarifying that to me. So I have a few questions. Would the two
> instances use the same account? Also what additional steps do I need to
> follow in order to enable the second instance? When I tried the step shown
> on the website, I couldn't go to the openmeetings1 and openmeetings2 links.
> Can I move the OpenMeetings folder to a different directory like say under
> /var/www/html?
>
>

Re: Running Two Instances of Apache OpenMeetings on Same Server

Posted by Alex Nyamweya <an...@gmail.com>.
Hello Michael,

Thanks for clarifying that to me. So I have a few questions. Would the two
instances use the same account? Also what additional steps do I need to
follow in order to enable the second instance? When I tried the step shown
on the website, I couldn't go to the openmeetings1 and openmeetings2 links.
Can I move the OpenMeetings folder to a different directory like say under
/var/www/html?

Re: Running Two Instances of Apache OpenMeetings on Same Server

Posted by Michael Stahlberg <st...@gmail.com>.
Hi,

What you are trying to do is to run a server belonging to two different
domains. As far as I know it is impossible, even if it would it would be
highly not recommended. the article you refer to show you how to run two
instances of OM on the same server i.e the OM name is different not the
domain name

On Sun, Jul 8, 2018 at 1:58 AM Alex Nyamweya <an...@gmail.com> wrote:

> Hello,
>
> I am trying to run two instances of Apache OpenMeetings on the same server
> that is each has its own domain name. For example, I want to have one
> domain be mysubdomain1.mydomain.com:5080/openmeetings and another domain
> be mysubdomain2.mydomain.com:5080/openmeetings. I read that it is
> possible through this link:
> http://openmeetings.apache.org/WebappNamePath.html. I tried the step it
> showed but nothing changed on my server. I would like to know what
> additional steps (if there are any) that need to be followed in order to
> complete the second instance installation.
>
> Thank you,
> Alex Nyamweya
>