Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
mount -t tmpfs -o size=1000M tmpfs /media/ramdisk/
mkdir -p /media/ramdisk/nmis8/var
ln -s /data/nmis8/var/events /media/ramdisk/nmis8/var
/usr/local/nmis8/admin/fixperms.pl

Step #3 - Disable NMIS

We need to disable NMIS so that it will not attempt to modify the files as we are point nmis8/var to the new RAM disk.  Comment out any jobs in /etc/cron.d/nmis that may run during the next 20 minutes.  Here's an example of a couple cron jobs that should be commented out.

Code Block
######################################################
# Run (selective) Statistics and Service Status Collection often
#* * * * *       root     /usr/local/nmis8/bin/nmis.pl type=collect mthread=true ; /usr/local/nmis8/bin/nmis.pl type=services mthread=true
######################################################
# Run Summary Update every 5 minutes
#*/5 * * * *     root     /usr/local/nmis8/bin/nmis.pl type=summary

After these jobs have been disabled, check the server for any nmis.pl processes

Code Block
[root@TEST]# ps -ef | grep nmis.pl

When none are found continue

Step #4 - Point nmis8/var at the RAM Disk