![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||
Solution Type Technical Instruction Sure Solution 1983717.1 : How to configure Acme Packet SBC to send process logs to an external server
In this Document
Created from <SR 3-10279959981> Applies to:Acme Packet 3820 - Version S-Cx6.2.0 to S-Cx6.4.0 [Release S-Cx6.0]Acme Packet 4600 - Version S-Cx6.2.x to S-Cz7.3.0 [Release S-Cx6.0 to S-Cz7.0] Acme Packet 4500 - Version S-Cx6.2.0 to S-Cz7.3.0 [Release S-Cx6.0 to S-Cz7.0] Acme Packet 6100 - Version E-Cz7.3.0 to E-Cz7.3.0 [Release E-Cz7.0] Acme Packet 6300 - Version E-Cz7.3.0 to E-Cz7.3.0 [Release E-Cz7.0] Information in this document applies to any platform. GoalHow to configure the SBC to direct process logs to an external server SolutionLogs will be rotated on the server as they would be on an SD. A logfile will grow in size until it reaches 1MB at which time it will be rotated. For example if log.sipd reaches 1MB, it will be renamed log.sipd.1 and new entries will continue to be written to log.sipd. This process will continue until log.sipd.12 is full, at which time the oldest log (log.sipd.12) will be purged. The logfile size may be changed from its default of 1000000 (1MB) by modifying the $maxRotateBytes value in the logger.pl script. The maximum number of logfiles may be changed by modifying the $maxFiles value from its default of 12. With these instructions logging will be persistent across server reboots. In the following instructions <CR> stands for Carriage Return (the Enter key).
Please follow the below steps to enable the external process-logging: On the Solaris server: 1. Login to the server as root. mkdir /acmelog <CR> 3. Place the “logger” and “logger.pl” scripts in /acmelog. cd /acmelog <CR> 5. Create a startup script on run level 2: ln -s /acmelog/logger /etc/rc2.d/S99logger <CR> 6. Start the logger: /acmelog/logger start <CR> 7. You should see the following: starting Acme Packet logger On each SD pair, perform the following: 1. Archive the existing configuration on the SD. See the “Archiving and Restoring Configurations.pdf” document for details on this procedure. show health <CR> Verify the system’s State is “Active”. 3. From the # prompt on the Active system, type the following. Setting “log-filter” to “logs” will keep the sipmsg.log files on the SDs but write the process logs to the server. config t <CR> 4. Type exit <CR> three times to get back to the # prompt. On the Solaris server: 1. Make sure the script is creating directories for each SD and updating the files. Each SD will have its own directory with its wancom0 IP address as the directory name, e.g. /acmelog/10.53.20.19, and each process will have its own logfile, e.g. log.sipd, log.mbcd, log.berpd, acmelog, etc., as shown in the following example. # cd /acmelog <CR> total 24 # cd 10.53.20.14 <CR> total 110
The default is to have the logs ONLY sent to the external server. They would not be kept locally. The recommendation is to set it to "all-fork" to allow the logs to be kept internally as well as sent to the external receiver. Script is attached here . You could run the script on Linux or windows machine. Attachments This solution has no attachment |
||||||||||||||
|