Jump to content
dewalty

Avigilon recording to NAS possible?

Recommended Posts

I have a server running the control centre software. The software is able to see the hardrive installed on the server, the mapped NAS is not visible. I am able to schedule backups to it though. Can any one point me in the right direction to get this to work or will it only see drives attached internally to the server?

 

Thanks

Share this post


Link to post
Share on other sites

It probably won't use SMB-attached drives, even if it's mapped to a drive letter - Vigil is like this, as well. You may need to use iSCSI to attach the NAS (providing your NAS supports it).

Share this post


Link to post
Share on other sites

You can record to the NAS if it is set up as an iSCSI device. It does not need to have its own dedicated eithernet port to the server. This is exactly how I have set up my Avigilon server.

 

The Avigilon software needs direct access to the drive root I believe as I noticed that once set-up the drive appeared to have only 5GB free (out of 2TB) even though the server had not recorded any data (no cameras attached at the time). In laymans terms I believe it creates an empty database within the space on the drive and begins to fill it/overwrite as necessary.

 

I have no diagram of mine but I have all cameras connected to the 10/100 POE ports on a POE switch that has only 2 Gigabit ports. The server is connected to one Gigabit port on the POE switch, the 2nd Gigabit port links to a non POE 24 port gigabit switch. This non POE switch has all other network devices connected to it (pc clients, media NAS etc). It also has the NAS for the Avigilon software connected.

 

The reason I did not have the server and Avigilon NAS connected to the same POE switch, is that I wanted gigabit access to the server from other clients within the home.

 

I did not test trying to set up the NAS as a mapped drive, but looking at how the Avigilon server software addressed the drive, I doubt it would be possible without some serious tweaking of the server OS, and that would no doubt put a lot more requirement on the server processor than a simple iSCSI.

 

This does however mean that you will only be able to use the NAS for Avigilon (or at least the portion of the NAS you assign to the iSCSI volume).

 

Hope that helps.

Share this post


Link to post
Share on other sites

Thanks for the prompt replies. Just using a readynas duo at the moment, a larger NAS is being looked at with the iSCSI in mind. Most useful comments from you all.

 

Thanks

Share this post


Link to post
Share on other sites
You can record to the NAS if it is set up as an iSCSI device. It does not need to have its own dedicated eithernet port to the server. This is exactly how I have set up my Avigilon server.

 

The Avigilon software needs direct access to the drive root I believe as I noticed that once set-up the drive appeared to have only 5GB free (out of 2TB) even though the server had not recorded any data (no cameras attached at the time). In laymans terms I believe it creates an empty database within the space on the drive and begins to fill it/overwrite as necessary.

 

I have no diagram of mine but I have all cameras connected to the 10/100 POE ports on a POE switch that has only 2 Gigabit ports. The server is connected to one Gigabit port on the POE switch, the 2nd Gigabit port links to a non POE 24 port gigabit switch. This non POE switch has all other network devices connected to it (pc clients, media NAS etc). It also has the NAS for the Avigilon software connected.

 

The reason I did not have the server and Avigilon NAS connected to the same POE switch, is that I wanted gigabit access to the server from other clients within the home.

 

I did not test trying to set up the NAS as a mapped drive, but looking at how the Avigilon server software addressed the drive, I doubt it would be possible without some serious tweaking of the server OS, and that would no doubt put a lot more requirement on the server processor than a simple iSCSI.

 

This does however mean that you will only be able to use the NAS for Avigilon (or at least the portion of the NAS you assign to the iSCSI volume).

 

Hope that helps.

 

 

How many cameras and what type on this system?

I'm just curious of the load.

Also, how many clients are connected to the server?

Share this post


Link to post
Share on other sites

Mine is purely a residential setup so load is minimal at present with only four cameras, 3 x 2mp, 1 x 5mp (although the 5mp is still not on as it is on its way from Canada at the moment).

 

Cameras are 2mp domes (Avigilon - H264 compression) and 5mp Dome (Avigilon - JPG2000 compression)

 

Ive calculated load at only around 60 Megabit for now (the camera install utility from Avigilon showed the 2mb cameras at 11-12mb when running at full 30ips), if I expand to the 8 cameras I envisage (a further 3 x 2mp and 1 x 5mp) then Im probably looking at around 120-150 Megabit depending on the bandwidth requirement of the jpeg2000 5mp cameras.

 

Maximum client count at any one point I envisage would be two, with possibly a third remote viewing on the web or mobile.

 

Obviously accounting for overhead and the need to communicate with cameras, clients and the NAS, using a single ethernet connection to do all the work, I could envisage possibly running into problems at a lower camera count than if the NAS and server had their own ethernet link to each other. As mine is just a domestic installation I will probably/hopefully never come close to that camera count though. For larger corporate size installations I would assume a dedicated nic for the link to the NAS would probably be more appropriate.

Share this post


Link to post
Share on other sites

You can also create your own iSCSI storage with FreeNAS, and some adequate PC hardware, as well.

 

Avigilon (and Exacq, and some others) need direct block-level drive access (direct attached or iSCSI), versus file-level storage (what most standard NAS devices provide), because they need high speed, direct drive access to directly archive to.

 

Some other VMS's (Milestone/ONSSI, for example) do their archiving differently, in multiple stages, allowing a small "first day" direct attached drive, and then archiving to a secondary location at a lower speed.

Share this post


Link to post
Share on other sites
And I do believe ISCSI requires a dedicated Ethernet port.

It does not.

 

I direct you to my standard setup for the client using these systems:

 

178237_1.gif

 

The RAID in this case (Promise and Enhance units) has separate iSCSI data ports and management port - you can't access the management console from the iSCSI interface - but others (QNAP, Synology) do both iSCSI data and management through the same port.

 

Avigilon (and Exacq, and some others) need direct block-level drive access (direct attached or iSCSI), versus file-level storage (what most standard NAS devices provide), because they need high speed, direct drive access to directly archive to.

 

The reason given to me for Vigil not working with SMB shares is that they're not reliable enough in reconnecting after a system restart... which in my experience, is certainly possible - I've had more than a few instances of network drive shares not reconnecting properly after a reboot.

 

But your explanation makes sense too

Share this post


Link to post
Share on other sites

My main concern with the ISCSI on the same port was bandwidth. If you have 250Mb of incoming data and all your cameras see motion at once you also have 250Mb going out to the ISCSI. Not including the client data.

 

Sure is a lot easier to throw in a second NIC and segregate the ISCSI data. Or in the case of an Avigilon server you have 4 NICs and you team 2 for incoming camera data and team 2 for outgoing ISCSI. Or in our case scrap that idea and go HBA. which are 4Gb minimum.

Share this post


Link to post
Share on other sites
My main concern with the ISCSI on the same port was bandwidth. If you have 250Mb of incoming data and all your cameras see motion at once you also have 250Mb going out to the ISCSI. Not including the client data.

Granted, although it's going to take a pretty big install to hit that... in any case, that's a system-dependent design consideration; my answer remains the same: iSCSI *does not* REQUIRE a separate NIC. Again, this is the load on the single NIC in a system running 28 H.264 cameras at D1, and three 2MP H.264 cameras, all recording to an iSCSI array, all with plenty of activity:

 

178263_1.jpg

Share this post


Link to post
Share on other sites
My main concern with the ISCSI on the same port was bandwidth. If you have 250Mb of incoming data and all your cameras see motion at once you also have 250Mb going out to the ISCSI. Not including the client data.

Granted, although it's going to take a pretty big install to hit that... in any case, that's a system-dependent design consideration; my answer remains the same: iSCSI *does not* REQUIRE a separate NIC. Again, this is the load on the single NIC in a system running 28 H.264 cameras at D1, and three 2MP H.264 cameras, all recording to an iSCSI array, all with plenty of activity:

 

178263_1.jpg

 

Is this HIK card ?

Share this post


Link to post
Share on other sites
Just wanted to throw some eye candy in the mix.

 

178741_1.jpg

 

 

Nice!! What nic card are you using?

And, what server are you using that's able to handle 1.1Gbps of traffic, at 12% CPU?

Tech porn, again!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×