Forum Discussion
simon_irwin_849
Nimbostratus
Oct 27, 2010High Speed Logging service requires restart
This is not strictly an iRules topic, but relates to HSL used within an iRule.
Is there a TMSH (or any other) command to restart HSL? Is it controlled by a particular service?
8 Replies
Sort By
- hoolio
Cirrostratus
Hi Simon, - tewner_91303
Nimbostratus
Is this still the only way to restart HSL? Has this been changed in V11? It would be a pity to bring everything down (or perform a fail-over) to restart one service.... - nitass
Employee
what's the issue you are having? - tewner_91303
Nimbostratus
I restarted our Syslog server, and HSL hasn't logged since. I'm about to go restart TMM. - nitass
Employee
are you using tcp? - tewner_91303
Nimbostratus
UDP on 10.2.0 - nitass
Employee
i run nc -l -u -p 514 as syslog server.[root@Edelweiss:Active] config b version|grep -iA 1 version BIG-IP Version 10.2.0 1707.0 Final Edition [root@Edelweiss:Active] config b virtual bar list virtual bar { snat automap pool foo destination 172.28.17.77:http ip protocol tcp rules myrule profiles { http {} tcp {} } } [root@Edelweiss:Active] config b rule myrule list rule myrule { when CLIENT_ACCEPTED { set hsl [HSL::open -proto UDP -pool syslogp] } when HTTP_REQUEST { Log HTTP request as local7.info; see RFC 3164 Section 4.1.1 - "PRI Part" for more info HSL::send $hsl "<190>[clock format [clock seconds] -gmt 8] [IP::local_addr] [HTTP::uri]" } } [root@Edelweiss:Active] config b pool syslogp list pool syslogp { members 192.168.206.96:shell {} }
- Hamish
Cirrocumulus
You might want to update to something later than 10.2.0. I had similar problems with HSL last year... Later is better...HSL with tcp has it's own set of challenges BTW... I had to do a 'bigstart restart tmm' quite a few times when stress testing. That's the only way to get it to work again IIRC...
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects