Move NLS data to another FS

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Move NLS data to another FS

Post by gormank »

Hi,
We're planning to build a bunch of hosts and there's a desire to standardize OS FS sizes. With that in mind, my thought is to have a separate FS, mounted at say /data and after installing NLS, moving and symlinking /usr/local/nagioslogserver to /data/nagioslogserver.

I also see /store/backups/nagioslogserver, which would also move to /data as well...

Sound like a good or bad idea?

Thanks
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Move NLS data to another FS

Post by mcapra »

I would highly recommend symlinking /usr/local/nagioslogserver/elasticsearch/data rather than the entire installation folder. It's less likely to impact upgrades in the futrure, and /usr/local/nagioslogserver/elasticsearch/data is where the majority of your data gets stored anyway. It's also something we have documentation for:
https://assets.nagios.com/downloads/nag ... Server.pdf

Plenty of customers do that, with the read/write speed being the biggest concern. Just be sure that your nodes have individual data paths on this FS, something like disk1:/my-fs/data-node1, disk1:/my-fs/data-node2, etc.
Former Nagios employee
https://www.mcapra.com/
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: Move NLS data to another FS

Post by gormank »

Perfect. Sorry I didn't research it first. I see it under the admin guide page...
Feel free to close.

Thanks
Locked