Linux Event Logging for Enterprise-Class Systems

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.

  1. Re-compile kernel to support ram disk , under block device menu
  2. 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.
  3. Install new kernel and reboot
  4. Zero out ram device
    dd if=/dev/zero of=/dev/ram bs=1k count=8192
  5. Create a file system on ram disk
    mke2fs -vm0 /dev/ram 8192
  6. 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
  7. 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.