How does Multiserver work?

Forum for questions and support relating to the 1.29.x releases only.
Locked
newburns
Posts: 3
Joined: Wed Nov 13, 2013 7:01 pm

How does Multiserver work?

Post by newburns »

I have a Centos 7 VM that I've installed using the zmrepo.
SELinux is disabled, and the firewalld allows https, http, nfs, ssh

I have 5 VM's in a multiserver environment.
My server ids are vm103, vm104, vm105, vm106, vm107.
VM103 is my main connected server. I setup my cameras to record on VM104-VM107.

If I restart VM103, all of my events are still there just fine, but there is no montage view anymore.

I can't view the live feed of any camera, but I can confirm through HTOP that each camera is being recorded on the different servers.
If I go into each camera configuration and click 'Save', my main VM103 will start to have a significantly high load. As if IT is recording each of the cameras. But I can still confirm, the other servers are recording the cameras.

*** A message to the moderators ***
I apologize for posting in the Github issues. I was unaware of all the changes to communication. I thought for a while, that the forums were not being used. Please accept my humble apology
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: How does Multiserver work?

Post by knight-of-ni »

Thank you for moving this to the user forum. When creating a github issue, the end user is asked to click on and read our "Guidelines for contributing", which direct one towards our posting guidelines. In it, we describe the appropriate the place to log certain issues.

It can be boiled down to the simple rule that, if the topic of discussion does not have anything to do with a direct request to change the source code, then it does not belong in our github forum. When in doubt, the issue should go into the user forum. We read and respond to both.

After Kyle brought the ZoneMinder project back into active development, the activity of our forums increased such that it was very difficult to discern what topics required us to make changes and which did not. It was approaching the point where we spent more time looking for potential changes than writing code. Since there are so few of us willing to write and maintain the source code, this is a terrible use of our time. On the other hand, there are others in our user forum, who don't write code, but can help us by answering questions.

This is why we ask you to follow the guidelines we have written. It helps us manage the project in a way where we can more optimally use the time of those who choose to participate.

More on topic, I'm not sure if you have followed the instructions for multiserver, so this is where we need to start:
https://zoneminder.readthedocs.org/en/s ... erver.html

Make sure you have configured your system according to the instructions. Make sure ZoneMinder is stopped when you are mapping cameras to servers. Once the cameras have been mapped to the appropriate server, start ZoneMinder, then go to each server, look at the process list and verify they are running on the correct server. You should also be able to see this in the zoneminder log. We have added a server column so you will know which camera is running on which server.

If you run into any problems, for starters we need a complete log dump, from the moment you start ZoneMinder up until just after the problem occurs.

If you are not getting a live stream, right click on the area where the image should be, and copy and paste it. This url will tell you where ZoneMinder thinks the camera stream should come from.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
newburns
Posts: 3
Joined: Wed Nov 13, 2013 7:01 pm

Re: How does Multiserver work?

Post by newburns »

Turns out, everything was right.
However, the SSL certificates of each server was a problem.
Because it was not coming from a trusted root certificate, no streams would play.

Work-around:
1. Use Internet Explorer with elevated Administrator rights (Right-click on Internet Explorer, and use as administrator)
2. Navigate to each server in your Multi-server scheme.
3. On each server, click on the untrusted certificate error and install the certificate.
4. Once that is done, restart other browsers that use that certificate store.
5. Streams are now viewable.

Sorry for the forum confusion.
Locked