Hi!
I am just using my first FG 200Es (OS: 5.4.4)
As they do not have a SSD, I need to log to memory. Everything is working fine, but the log is VERY small. It does just keep the last 140-170 lines.
Is this the "normal behaviour"?
Is it safe to increase the max-size of the memory-log:
config log memory global-setting
set max-size 2236949
end
Standard-Size is 65536
One second thing: Is there any possibility to let the two nodes of a HA-cluster boot "one after the other", if I change that setting?
Thank you
Regards,
KPS
Solved! Go to Solution.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Did you cli execute log list for the current sizes of the logs files? and the number of rolled logs ?
Ken
PCNSE
NSE
StrongSwan
Yes, the default size is quite small and won't hold much information. I usually increase it to 2 or 2.5 MB which can hold 1000s of lines.
As this is a 'must reboot' setting the cluster will reboot, sequentially, slave first. No choice.
Hi Ede!
Thank's for your answer!
2236949 byte seems to be the maximum size of the log on the 200Es. Is there any risk on chosing the maximum level? That looks quite small to me. The 200E has 4GB memory, so I do not understand that limit.
After changing that level, the cluster did _not_ reboot sequentially. Both nodes rebooted at the same time, and the VIPs have not been reachable for about 2 mins. Did your systems behave in another way?
Regards,
KPS (living near Heidelberg...)
Did you cli execute log list for the current sizes of the logs files? and the number of rolled logs ?
Ken
PCNSE
NSE
StrongSwan
emnoc wrote:Did you cli execute log list for the current sizes of the logs files? and the number of rolled logs ?
Hi!
I will check this on monday, but I think, the log was full. Event log has shown 95% full some minutes after the start of the system.
KPS
Okay good
" A German and American talking over a beer is a festival " ;)
PCNSE
NSE
StrongSwan
In the past, the maximum size was indeed a percentage of the available RAM size, something like 10%. 2.1 MB is not a problem, you'll see. Of course, logging everything (esp. allowed traffic) will fill the logs quickly. That should be left for a debugging situation. Event log (beside security log) is far more important.
Sorry to hear that both cluster members rebooted at the same time. Another quirk to remember, as this shouldn't happen at all. I haven't experienced this before as I configure logging right at the beginning of a config, way before setting up the HA.
Funny that we live nearby; you can send me a PM if you like. You know, 2 Germans talking is just a meeting but 3 Germans talking is a Stammtisch :)
3 Americans talking is usually some form of counseling... ;)
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
Hi Ede!
I was just confused that 2MB is the "maximum limit" on a system with 4GB memory because it should NEVER be a problem, or is it using any other "area", that is limited in any other way?
The first thing, I did was setting up HA, and now I am trying to adjust the systems.
Regards,
KPS
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1634 | |
1063 | |
751 | |
443 | |
210 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.