Refine your search:

We have a number of MS SQL Server clusters with the Splunk Universal Forwarder installed.

We would like to index the SQL Server ERRORLOG and SQLAGENT.OUT files, which live on a disk shared by the cluster members. Only the active member of the cluster will see the shared disk where the errorlog and sqlagent.out files live. The shared disk will always have the same drive letter on whichever node is active.

In this case, I am guessing the correct thing to do is to have an identical forwarder configuration on each cluster node. Is that correct? If so, in the case of a failover, will the universal forwarder on a previously inactive node notice that it can suddenly read the errorlog and sqlagent.out files and happily start forwarding events to the indexing host? Or would a restart of the forwarder be required?

I understand we would end up with some duplicate events in this case, but we could control that by configuring the earliest indexable event to be very recent.

Comments?

Thanks!

asked 21 Feb '12, 10:42

grahamkenville's gravatar image

grahamkenville
112
accept rate: 0%


One Answer:

Windows complicates this a bit (I am no Windows expert by any means) -- but I would suggest best practice is three forwarder instances.

  1. One for files JUST on server1
  2. One for files JUST on server2
  3. One for files on the shared disk

It is this #3 instance that is the important one - it needs to live on the shared disk, and be started/stopped as part of a cluster node bringing the shared resources in the cluster online.

link

answered 21 Feb '12, 11:06

dwaddle's gravatar image

dwaddle ♦
15.6k2924
accept rate: 33%

Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×447
×307
×57
×15

Asked: 21 Feb '12, 10:42

Seen: 1,105 times

Last updated: 21 Feb '12, 11:06

Copyright © 2005-2012 Splunk Inc. All rights reserved.