Page 1 of 1

Move NLS data to another FS

Posted: Thu Jan 19, 2017 1:10 pm
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

Re: Move NLS data to another FS

Posted: Thu Jan 19, 2017 1:21 pm
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.

Re: Move NLS data to another FS

Posted: Thu Jan 19, 2017 1:30 pm
by gormank
Perfect. Sorry I didn't research it first. I see it under the admin guide page...
Feel free to close.

Thanks