
112 MergePoint 5224/5240 Service Processor Manager Installer and Administrator Guide
To store buffered data in a single file:
1. Log into the appliance’s console as root.
2. Add the following entries to the syslog
-ng.conf file.
The example entries configure data buffer storage in an NFS
-mounted /mnt/nfs_server/log/
device.log file.
source src_dev_log { unix-stream("/dev/log"); };
filter f_device { program("conserver");};
destination d_device { file("/mnt/nfs_server/log/device.log"); };
log { source(src_dev_log); filter(f_device); destination(d_device); };
3. Put the syslog-ng.conf file changes into effect by stopping and restarting syslog-ng, as shown
in the following command line.
$ killall -hup syslog-ng
The configuration changes are saved to the SP manager’s resident Flash memory if the SP
manager
is booted from a local image.
To store buffered data in multiple files, one for each target device:
1. Log into the appliance’s console as root.
2. Use the
cat command to display the contents of the /proc/cmdline file to see which boot image
is currently running.
[root@MergePoint5224 /]# cat /proc/cmdline
root=/dev/hda6 console=ttyS0,9600
If the output shows root=/dev/hda5, Image 1 is running, and if root=/dev/hda6, Image 2
is running.
3. Mount the directory for the running image with read
-write permission.
$ mount -t ext2 -o rw,remount /dev/hda5
-or-
$ mount -t ext2 -o rw,remount /dev/hda6
4. Open the /usr/sbin/cyc-conserver file for editing.
$ cd /usr/sbin
$ vi cyc-conserver
5. Change the variable LOGDIR to the pathname of the directory where you want the data buffer
files to be stored.
'LOGDIR=/mnt/nfs_server/log'
-or-
Kommentare zu diesen Handbüchern