Deployment Architecture

Number of Forwarders not Increasing?

EllesmereColleg
Explorer

Hey All,

I have sent out a deployment of the forwarder to a couple hundred machines via GPO. All seemed to be going OK except that since the number of forwarders has reached 108 no further forwarders are appearing. The installs are the same and are completing successfully. Is there a limit on the number of forwarders?

Regards,

Tags (1)
0 Karma

Drainy
Champion

Have a read of, http://splunk-base.splunk.com/answers/4097/is-there-a-maximum-number-of-forwarders-per-indexer

Hopefully that should answer your questions 🙂

0 Karma

Drainy
Champion

Well, like Ayme says above you need to have a look at the deployment server end to see what it is saying but if the connections are being rejected the chances are its probably a TCP socket issue

0 Karma

EllesmereColleg
Explorer

Unfortunately not, i have 108 clients forwarding successfully to the server, just application and system logs, which is about 4mb a day a day at the moment. Should be plenty of room for more clients from them numbers. Just not sure why the server is rejecting the additional ones.

0 Karma

ayme
Splunk Employee
Splunk Employee

There is no limit from Splunk as such (although there may be limits at the system level based on number of connections to Indexer).

You really want to check the $SPLUNK_HOME/var/log/splunk/splunkd.log on one of the non-communicating Forwarders and see where it complains of not being able to connect.

EllesmereColleg
Explorer

Strangely, even the ones i can see in the deployment manager as active report that the server refused the connection?

0 Karma

EllesmereColleg
Explorer

I have compared the contents of input.conf in the following location
c:\Program Files\SplunkUniversalForwarder\etc\system\local\inputs.conf

However they both seem the same with the right host. Unless i am looking at the wrong inputs.conf?

A working computer.

Contains
[default]
host = IT1-05-0847

A missing machine
[default]
host = Admiss-02-0674

0 Karma

EllesmereColleg
Explorer

Thanks, the search index=_internal | stats count by host
Does indeed display the missing hosts and the errors. For example

03-23-2012 10:11:43.501 +0000 WARN PubSubConnection - Cannot convert str: to a valid status, returning eRejected.
host=6F01-01-1560 Options| sourcetype=splunkd

Options| source=C:\Program Files\SplunkUniversalForwarder\var\log\splunk\splunkd.log

0 Karma

ayme
Splunk Employee
Splunk Employee

Well, certainly looks to be connected. Chances are it just hasn't sent any data. The search:

index=_internal | stats count by host

...should show you that it is reporting internal messages, in which case you just need to ensure you have well configured monitors in the inputs.conf of the "missing" forwarders (could the fact that it is not connecting to the Deployment Server be the reason for this?)

EllesmereColleg
Explorer

16.103 is the correct server and 9997 is the correct port..

03-23-2012 09:53:06.363 +0000 INFO TcpOutputProc - Connected to idx=192.168.16.103:9997
03-23-2012 09:53:11.285 +0000 WARN DeploymentClient - Unable to send handshake message to deployment server. Error status is: rejected

0 Karma

ayme
Splunk Employee
Splunk Employee

The above messages relate to the Deployment Server so you don't want to look at the messages for the "DeploymentClient" (for the time being). Restart the Forwarder and look at the log file again - you should see messages related to "TcpOut".

0 Karma

EllesmereColleg
Explorer

Anyone able to suggest why the server would rejecting additional forwarders?

0 Karma

EllesmereColleg
Explorer

Ive Checked the outputs.conf on the client and that is pointing to the correct server and port. the splunkd.log says ...

03-22-2012 10:20:14.085 +0000 WARN PubSubConnection - Cannot convert str: to a valid status, returning eRejected.
03-22-2012 10:20:25.804 +0000 WARN DeploymentClient - Unable to send handshake message to deployment server. Error status is: rejected
03-22-2012 10:20:37.819 +0000 WARN DeploymentClient - Unable to send handshake message to deployment server. Error status is: rejected
03-22-2012 10:20:49.819 +0000 WARN DeploymentClient - Unable to send handshake message to deployment server. Error status is: rejected
03-22-2012 10:21:01.819 +0000 WARN DeploymentClient - Unable to send handshake message to deployment server. Error status is: rejected

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...