Previous Topic: How to Check Appliance Console During BootNext Topic: How To Clear IPMI User Slot to Add BFC Power User


How to Clean Heartbeat Service Files from Node

This relates to SCR 7781 - Fixed in Applogic 3.7.4+

If physical node run out of disk space or inode, you may take a look at whether /var/lib/pengine use too much disk space or inode.

Please enter /var/lib/pengine, excute below command to see how many files in the dirctory and how big the directory is

*"ls -l | wc -l" to dislay total file count
*"du ./" to display the total file size

Files under /var/lib/pengine are used by Linux heartbeat service.

Applogic does not configure the max file count at this moment, so files under /var/lib/pengine may grow too much unexpectedly.if thats is what happening in cusotmer grid, it's safe to remove some old files from /var/lib/pengine to free disk space and inode. In the below sample, all files older than 30 days are delete.

find /var/lib/pengine/ -type f -mtime +30 -exec rm -f {} \;

After freeing space from /var/lib/pengine, do not forget setup a cron job to clean the old files from /var/lib/pengin reguarly.

Reference

http://www.gossamer-threads.com/lists/linuxha/pacemaker/64149

http://www.gossamer-threads.com/lists/linuxha/pacemaker/80896