ERS 8800 - log rotate pcmcia
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
10-31-2018 09:53 AM
Hi,
I´m configuring logging to PCMCIA in ERS8800 release 7.X following these steps:
1.- enable logging to pcmia
config bootconfig flags logging true
2.- configure parameters
config bootconfig logfile 500 16000 90
But I can´t find how to make the log files rotate, Is this possible? How to?
Regards,
EF
I´m configuring logging to PCMCIA in ERS8800 release 7.X following these steps:
1.- enable logging to pcmia
config bootconfig flags logging true
2.- configure parameters
config bootconfig logfile 500 16000 90
But I can´t find how to make the log files rotate, Is this possible? How to?
Regards,
EF
7 REPLIES 7
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
11-02-2018 06:58 AM
Ok, I understand that my idea of rotate logs in the PCMCIA itself is not possible.
Thanks all.
EF
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
11-02-2018 06:08 AM
This is my problem, there isn´t possibility to transfer file to remote host, so I would like that the logs were rotate itself in the PCMCIA itself, is this possible or when it reach the pecentage of ocupaccy defined (for example 90%) chassis stops to log ?
Regards,
EF
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
11-02-2018 06:08 AM
SMP rotates logs written to DRAM. When you reach a defined treshold for PCMCIA and the log file cannot be transfered to a remote host the switch generates a trap stops logging to PCMCIA and continues logging to DRAM.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
10-31-2018 03:32 PM
As you already stated. You can specify minimum free space available on PCMCIA, maximum file size and percentage amount of memory for logs on PCMCIA. These criteria trigger file transfer to the remote server. After the log file is succesfully transfered to a remote host the switch deletes the log on PCMCIA and starts logging to a new file which file name is incremented by 1.
You can setup up to 10 remote servers.
logging transferFile <1-10> address
You can setup up to 10 remote servers.
logging transferFile <1-10> address
