forgot one step :/
This commit is contained in:
parent
c2407ce0bf
commit
a5062a80e4
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
|||
|
||||
# in case of failure, unepexpected reboot while syncing, etc.:
|
||||
# - destroy all snapshots on both local & ${bro}
|
||||
# - for i in ftp web mail; do zfs snapshot servers/$i/home@newsync ;done
|
||||
# - for i in ftp web mail; do zfs send servers/$i/home@newsync | ssh ${bro} zfs receive -vFd servers ;done
|
||||
# - for i in ftp web mail; do zfs rename servers/$i/home@newsync servers/$i/home@prevsync ;done
|
||||
# - ssh ${bro} "for i in ftp web mail; do zfs rename servers/$i/home@newsync servers/$i/home@prevsync ;done"
|
||||
|
@ -11,7 +12,7 @@
|
|||
bro="small"
|
||||
pools="ftp mail web"
|
||||
|
||||
SENDNSCA=/usr/local/sbin/send_nsca\ -H\ <nagios_host>\ -d\ ';;'\ -c\ /usr/local/etc/nagios/send_nsca.cfg
|
||||
SENDNSCA=/usr/local/sbin/send_nsca\ -H\ 192.168.3.3\ -d\ ';;'\ -c\ /usr/local/etc/nagios/send_nsca.cfg
|
||||
HOSTNAME=`/bin/hostname -f | /usr/bin/cut -d '.' -f 1,1`
|
||||
SERVICENAME=zfsync
|
||||
LOGFILE=/tmp/zfsync.log
|
||||
|
|
Loading…
Reference in a new issue