|
|
@ -31,8 +31,8 @@ In mode 1 (active/active) the cron file will be the same on all servers and all
|
|
|
|
* * * * * /usr/local/bin/cluster_cron.pl passive /mnt/shareddir 0 /var/spool/cron/crontabs >> /mnt/shareddir/cluster_passive.log 2>&1
|
|
|
|
* * * * * /usr/local/bin/cluster_cron.pl passive /mnt/shareddir 0 /var/spool/cron/crontabs >> /mnt/shareddir/cluster_passive.log 2>&1
|
|
|
|
* * * * * /usr/local/bin/cluster_cron.pl active /mnt/shareddir 1 /var/spool/cron/crontabs >> /mnt/shareddir/cluster_active.log 2>&1
|
|
|
|
* * * * * /usr/local/bin/cluster_cron.pl active /mnt/shareddir 1 /var/spool/cron/crontabs >> /mnt/shareddir/cluster_active.log 2>&1
|
|
|
|
```
|
|
|
|
```
|
|
|
|
#
|
|
|
|
|
|
|
|
# Caveates
|
|
|
|
## Caveates
|
|
|
|
|
|
|
|
|
|
|
|
This setup should work on any number of nodes in theory, but it has only been tested on two nodes.
|
|
|
|
This setup should work on any number of nodes in theory, but it has only been tested on two nodes.
|
|
|
|
|
|
|
|
|
|
|
|