Page 1 of 1

NLS - Add large storage drive

Posted: Thu Mar 02, 2017 10:20 am
by bpizzutiWHI
I'm running the demo appliance now, but this is also important for our planned production deployment, which will be on bare-metal hardware. I have the instance set up, but I need to mount a seperate, large storage drive to hold the logs and such, and I need to know where/how to mount it so Nagios Log Server will take advantage of the storage. I haven't found anything on the subject except instructions on how to enlarge the appliance, which won't be acceptable on the production setup (we never EVER just do a huge root array). So does anyone have any info that could help me here?

Re: NLS - Add large storage drive

Posted: Thu Mar 02, 2017 3:34 pm
by avandemore
If you are referring to this article:

https://support.nagios.com/kb/article.php?id=486

Resizing a separate block device and filesystem works the same way. You'd just need to adjust for device names and mount points.

If you want to add in a separate FS /usr/local/nagioslogserver and move the existing stuff over to it, there should be nothing wrong with it. However I don't think it's well tested.

If you're looking for info on repositories, did you see this?

https://assets.nagios.com/downloads/nag ... enance.pdf

Re: NLS - Add large storage drive

Posted: Thu Mar 02, 2017 4:51 pm
by bpizzutiWHI
Ok, unfortunaterly doing this seems to have screwed up elasticsearch some.

Elasticsearch Database Offline
It looks like your local elasticsearch service isn't running.

Why am I getting this error?

Elasticsearch must run locally on all Log Servers due to security restrictions when accessing the database.

You may need to run service elasticsearch start to start it.


Which I did, and it's already running. If I run a restart on it, it fails to stop, so I'm guessing it's not starting all the way.

I assume this will be easier when installing to bare metal since I can create the partition before elasticsearch even makes it on there.

Re: NLS - Add large storage drive

Posted: Thu Mar 02, 2017 6:01 pm
by avandemore
Please post the output failure from when you attempt to stop it.

Re: NLS - Add large storage drive

Posted: Fri Mar 03, 2017 8:57 am
by bpizzutiWHI
I borked the environment trying to fix it, so I'm just going to redeploy the appliance and grow the root filesystem instead, so I can go on with testing the product. At least I got what I need to be able to mount a large partition to the log server for the bare metal setup, which is what I really need. Thank you all for the help.

Re: NLS - Add large storage drive

Posted: Fri Mar 03, 2017 12:55 pm
by dwhitfield
Did you want to leave this open until you get everything set up, or should we lock it up? You can always start a new thread. :)

Re: NLS - Add large storage drive

Posted: Fri Mar 03, 2017 1:07 pm
by bpizzutiWHI
You can close it, I'm probably 30+ days from production. :)