原创 我的友情鏈接

rsync inotify

原创 heart beat 安裝與配置

1、配置hosts文件(vim /etc/hosts):192.168.164.116  node1192.168.164.117  node22、安裝heartbeat:3、配置ha.cf文件:gunzip /usr/share/doc/

原创 我的友情鏈接

rsync inotify

原创 定期刪除文件

系統長時間的備份會產生大量的過時文件#!/bin/bashlogback_path=/home/rzrk/server/logbackup/logback_30day_ago=`find -mtime +30`cd   $logback_p