ā01-13-2014 03:28 AM - edited ā03-07-2019 05:31 PM
hello ,
We have multiiple syslog server in our network , I was adding 6509 switch to send logs to these server .
I want to configure them in primary secondary mode cant find command to make one syslog primary and second secondary . as I dont want to send logs to secondary syslog when primary is avaiable
Solved! Go to Solution.
ā01-13-2014 04:31 AM
Amit
I don't think you can do this. I think you have to send the syslog messages to both servers.
In fact this would be what you want. Imagine if the main syslog server crashed and you needed to see the logs before and after the server crashed. If you set it up the way you want then the secondary server would only have syslog messages after the primary server had crashed so you would not get the full picture.
I appreciate it means more network traffic but it would better, in my opinion, to have both syslog servers logging all messages all of the time.
Jon
ā01-13-2014 05:17 AM
Amit
Yes, you should use the -
"logging
for each syslog server you have and the 6500 should send the messages to both servers.
Jon
ā01-13-2014 04:31 AM
Amit
I don't think you can do this. I think you have to send the syslog messages to both servers.
In fact this would be what you want. Imagine if the main syslog server crashed and you needed to see the logs before and after the server crashed. If you set it up the way you want then the secondary server would only have syslog messages after the primary server had crashed so you would not get the full picture.
I appreciate it means more network traffic but it would better, in my opinion, to have both syslog servers logging all messages all of the time.
Jon
ā01-13-2014 04:36 AM
Is it requirement, why because if primary fail it will send to secondary and primary come back it will send primary. ..so half of log will there in primary and half will have secondary...I dont know is there any mechanism to synch primary and secondary syslog..
But You can achieve with help of EEM with sla
ā01-13-2014 05:07 AM
thanks for reply , I understood that idea was not right , I have one more query
so if I put config as below , it will send the logs all the time(if they are avaiable ) to primary and secondary servers right ?
logging primary server
logging secondary server
ā01-13-2014 05:17 AM
Amit
Yes, you should use the -
"logging
for each syslog server you have and the 6500 should send the messages to both servers.
Jon
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide