• September 25, 2020, 03:53:51 AM
Welcome, Guest. Please login or register. Registration is free.
Did you miss your activation email?

Author Topic: Stack Monitoring and Remote Logging  (Read 4425 times)

0 Members and 1 Guest are viewing this topic.

Offline janbn

  • Rookie
  • **
  • Posts: 3
Stack Monitoring and Remote Logging
« on: May 10, 2013, 07:04:42 AM »
I have a test switch stack (2 x Nortel ERS 5520 48-T PWR) with stack monitoring enabled. Also i have a PRTG with SYSLOG. The stack sends it remote logging to the SYSLOG server.

Here is a configuration from the stack:
! *** System Logging ***
!
logging enable level informational nv-level serious
logging volatile latch
logging remote address 10.129.161.137
logging remote enable
logging remote level critical
logging remote level serious
logging remote level informational
!


I can see logs coming into the SYSLOG server, but not the ones i autually need. I want to have the stack send logging when the Stack Monitoring picks up, that one or more switches are missing. I can see the logging in the local log:

15 2013-05-10 10:52:17 GMT+01:00 Informational Trap: entConfigChange
16 2013-05-10 10:52:17 GMT+01:00 Informational The number of stack units is 1 instead of expected 2


Any idea why i don't get the logs above in my SYSLOG?

Thanks:)


Offline janbn

  • Rookie
  • **
  • Posts: 3
Re: Stack Monitoring and Remote Logging
« Reply #1 on: May 10, 2013, 08:06:03 AM »
I think i might have found the problem - i only had two switches in the stack. So when i turn off one - it turned from a stack to a switch. Being a switch it had on IP and it could not report to the SYSLOG server.

So - what do i do when i want to monitor a stack with two switches? It seems i have to do something special. If i monitor a stack with three switches - there is no problem. In the SYSLOG it now says:

The number of stack units is 2 instead of expected 3]

Offline CptnBlues63

  • Sr. Member
  • ****
  • Posts: 100
Re: Stack Monitoring and Remote Logging
« Reply #2 on: May 10, 2013, 11:20:04 AM »
I think i might have found the problem - i only had two switches in the stack. So when i turn off one - it turned from a stack to a switch. Being a switch it had on IP and it could not report to the SYSLOG server.

So - what do i do when i want to monitor a stack with two switches? It seems i have to do something special. If i monitor a stack with three switches - there is no problem. In the SYSLOG it now says:

The number of stack units is 2 instead of expected 3]

If you haven't yet, try setting your 2-switch stack to "forced-stack mode"

To enable, go into 'configure terminal'  and the command is "stack forced-mode"

I'm not sure that will fix the issue, but with luck, it might.  I hope so because I'm about to setup monitoring like this on a couple 2-switch stacks I've built recently and I'd really like it to work!

Offline janbn

  • Rookie
  • **
  • Posts: 3
Re: Stack Monitoring and Remote Logging
« Reply #3 on: May 13, 2013, 03:51:35 AM »
Hi CptnBlues63

Thank you very much for your quick answer.

It seems to work - only you loose access to the switch for a little while (6 PING). I will go ahead and try to implement this solution. For us it requires and upgrade though.

Best regards,

Jan

Offline CptnBlues63

  • Sr. Member
  • ****
  • Posts: 100
Re: Stack Monitoring and Remote Logging
« Reply #4 on: May 13, 2013, 01:31:54 PM »
Hi CptnBlues63

Thank you very much for your quick answer.

It seems to work - only you loose access to the switch for a little while (6 PING). I will go ahead and try to implement this solution. For us it requires and upgrade though.

Best regards,

Jan

Late last week I ended up doing some extensive tests on a 2-switch stack.  I have a 2-switch stack at one of our remote locations that has 5 servers plugged into it.  All connections on the servers are dual/redundant with the "A" side going into unit 1 (base) of the stack and the "B" side into unit 2.

The equipment was not plugged into a UPS and needed to be.  The room they're in is on a generator circuit, but not a UPS'd circuit and the building owners test the generator every Sunday morning by shutting power down to the areas that run on the gennie (this is a brand new to us location btw).  This causes all our equipment to power off and this leads to issues with one or two of the servers and the VoIP phones so we need the equipment to be on a UPS so as to not have it adversely affected by the gennie tests.

Long story short, we were hoping to move the power for unit 2 to the 1500 kva rack mount UPS we put in and then move the power for unit 1 afterwards.  We were hoping this would avoid any losses of connectivity as the servers can quickly swap over to the redundant interface.

However, I ran every scenario I could think of, both with and without the "forced-stack mode" enabled and no matter what, there was always at least a 30 second loss of connectivity (that's about 6 pings) to the stack member that was still powered on.

So in the end we decided to just shut everything down, move the power and bring it all back up.