Page 1 of 2

Nagios XI installation on External Lun

Posted: Tue Apr 18, 2017 9:12 am
by socgenindia
Hi ,

Please let us know is that possible to install the Nagios XI on external LUN instead of default location /usr/local/ path.

Re: Nagios XI installation on External Lun

Posted: Tue Apr 18, 2017 9:37 am
by mcapra
It's possible, but doing so would make your system unsupported and is likely more trouble than it's worth. We also do not have specific documentation for a setup like that. I wouldn't recommend it.

Re: Nagios XI installation on External Lun

Posted: Tue Apr 18, 2017 1:29 pm
by SteveBeauchemin
you mean like this??

Code: Select all

df -h
Filesystem                       Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00   10G  3.5G  6.6G  35% /
devtmpfs                          12G     0   12G   0% /dev
tmpfs                             12G   12K   12G   1% /dev/shm
tmpfs                             12G   17M   12G   1% /run
tmpfs                             12G     0   12G   0% /sys/fs/cgroup
/dev/sda1                        497M  174M  324M  35% /boot
/dev/mapper/VolGroup00-LogVol03  4.0G   38M  4.0G   1% /tmp
/dev/mapper/VolGroup00-LogVol02   20G  2.6G   18G  13% /var
/dev/mapper/VolGroup10-LogVol00  125G   70G   56G  56% /usr/local
tmpfs                            1.0G  130M  895M  13% /var/nagiosramdisk

Re: Nagios XI installation on External Lun

Posted: Tue Apr 18, 2017 1:31 pm
by mcapra
Ah, yeah if you're doing it like @SteveBeauchemin did that's perfectly fine. As long as the logical paths of things aren't fudged.

Re: Nagios XI installation on External Lun

Posted: Tue Apr 18, 2017 1:37 pm
by SteveBeauchemin
The important part of what I did was having a separate volume for data that was split off from the OS.

Notice the names:
/dev/mapper/VolGroup00
/dev/mapper/VolGroup10

Different volume groups mean different Disk IO hopefully. If you can force them to different Data Stores from each other, it is more isolated. That was my intent when I did this.

Thanks.

Steve B

Re: Nagios XI installation on External Lun

Posted: Tue Apr 18, 2017 1:47 pm
by cdienger
socgenindia,

Did that help answer your question?

Re: Nagios XI installation on External Lun

Posted: Wed Apr 19, 2017 8:55 am
by socgenindia
hi,

Thank you for you reply. if we share the lun between primary secondary server , do we need to install the Nagios XI on both server ?

Re: Nagios XI installation on External Lun

Posted: Wed Apr 19, 2017 1:06 pm
by mcapra
Yes, because both servers will need (at a minimum) all the necessary system packages and subsystems that prop Nagios XI up.

Re: Nagios XI installation on External Lun

Posted: Wed Apr 19, 2017 2:16 pm
by socgenindia
Our idea is to install the nagios xi in external mount i.e /use/local and then mount to server A , and if server A go down then external link /use/local would get mount to server B using VCS cluster method. In this case how to install nagios XI on Server B .

Re: Nagios XI installation on External Lun

Posted: Wed Apr 19, 2017 2:24 pm
by mcapra
We don't have any particular documentation for high availability setups. That's more in the wheelhouse of devops people and general consulting. We typically direct people to Linbit and their DRBD product.