Installing event logging in a RAM disk
The reason you would install event logging on RAM disk is to support diskless
environments, where the system is booted off of an NFS mount or from the system
ROM.
- Re-compile kernel to support ram disk , under block device menu
- Set ramdisk size to 8 Mb (8192kb). A smaller size may be
sufficient if you do not install the installation tests under
/var/evlog/test.
- Install new kernel and reboot
- Zero out ram device
dd if=/dev/zero of=/dev/ram bs=1k count=8192
- Create a file system on ram disk
mke2fs -vm0 /dev/ram 8192
- Mount the ram disk
mkdir /var/evlog
mkdir /etc/evlog.d
mount /dev/ram /var/evlog
mount /dev/ram /etc/evlog.d
mount /dev/ram /opt/evlog.d/plugins
- Edit startup scripts to perform the above steps, and copy .conf files,
plug-ins, etc. into the above directories before the event logging deamons
are started.