How to configure external logging and netconsole host

Reboots, crashes, and lockups can cause disruption of your LoadMaster and production traffic going through it.  During unexpected failovers of the LoadMaster, logs could be lost in the process. To get a better understanding of what happens during these times you can set up external logging on the LoadMaster to preserve the logs of the LoadMaster to help in the future.

There are two options.

Syslog Server

We could setup a Syslog server.  System Configuration > Logging Options > Syslog Options.

An external Syslog server can capture all the logs the LoadMaster is already reporting and send it to the Syslog server via UDP port 514 by default.  You can now use other ports other then 514 as of firmware 7.2.38.0.

The Syslog server can capture on 6 different Hosts.

Emergency Host – The system is unusable and requires immediate attention

Critical Host – Should be corrected immediately, but indicates failure in a primary system

Error Host - Non-urgent failures but should be looked at ASAP

Warn Host - Not an error, but indication that an error will occur if action is not taken

Notice Host - Events that are unusual but not error conditions - no immediate action required

Info Host - Normal operational messages - may be harvested for reporting

When applying IPs to these fields it is important to remember that the fields cascade up. You only have to configure “info host” if you wish everything to be reported to your server.  You can add multiple IPs in these fields by space separating the IPs.

 1.JPG

 

Netconsole Host

You can also set up a netconsole host.  System Configuration > System Log files > Debug options.  A netconsole host will capture any panic messages sent from the kernel.  These normally would not be seen in the logs.

 2.JPG

The netconsole host works perfectly with any other external logging source, such as the syslog server.  The only requirement is that the netconsole host must be local to the interface you select.  Below is an example of netconsole logging confirmation.

3.JPG

Here is instead an example of Kernel panic:

2017-09-21_09_38_40-_C__Users_SimoneSignorini_Documents_netconsole-15-10-2013_-_Notepad__.png

 

KEMP provides its own source of syslog and monitoring service.  Our KEMP 360 Vision provides an external Syslog, among other benefits.  KEMP 360 Vision provides a portal for all of your LoadMasters to monitor any virtual services that go down, real servers failing health checks, HA failovers, and even if a LoadMaster goes down.

KEMP 360 Vision provides you with a day by day snapshot of any unusual activity on your LoadMasters.  For more information regarding KEMP 360, please see the article below.

https://support.kemptechnologies.com/hc/en-us/articles/215105503-KEMP-360-Vision

Was this article helpful?

0 out of 0 found this helpful

Comments