Line 17: |
Line 17: |
| | | |
| Affa is a command line tool for system administrators and is intentionally designd without a GUI. Therefore it can be efficiently managed on the console and over slow internet connections. | | Affa is a command line tool for system administrators and is intentionally designd without a GUI. Therefore it can be efficiently managed on the console and over slow internet connections. |
| + | |
| + | |
| | | |
| ==== Affa features at a glance ==== | | ==== Affa features at a glance ==== |
Line 49: |
Line 51: |
| * Logs in /var/log/affa with optional debug switch for more verbosity | | * Logs in /var/log/affa with optional debug switch for more verbosity |
| * Log files are rotated weekly, with 5 logs kept | | * Log files are rotated weekly, with 5 logs kept |
| + | |
| + | |
| | | |
| === Download and Installation === | | === Download and Installation === |
| Download the '''''smeserver-affa''''' package from [http://mirror.contribs.org/smeserver/contribs/michaelw/sme7/affa/ one of the SME Server contrib mirrors].<br> | | Download the '''''smeserver-affa''''' package from [http://mirror.contribs.org/smeserver/contribs/michaelw/sme7/affa/ one of the SME Server contrib mirrors].<br> |
− | Download the '''''perl-Filesys-DiskFree''''' package from [http://dag.wieers.com/rpm/packages/perl-Filesys-DiskFree/ DAG] or from one of the mirrors above. For SME 7 you need the [http://dag.wieers.com/rpm/packages/perl-Filesys-DiskFree/perl-Filesys-DiskFree-0.06-1.2.el4.rf.noarch.rpm perl-Filesys-DiskFree-0.06-1.2.el4.rf.noarch.rpm] package. | + | Download the '''''perl-Filesys-DiskFree''''' package from [http://dag.wieers.com/rpm/packages/perl-Filesys-DiskFree/ DAG] or from one of the mirrors above. For SME 7 you need the [http://dag.wieers.com/rpm/packages/perl-Filesys-DiskFree/perl-Filesys-DiskFree-0.06-1.2.el4.rf.noarch.rpm perl-Filesys-DiskFree-0.06-1.2.el4.rf.noarch.rpm] package. Install both RPMs. |
− | <br>
| |
− | Install both RPMs. | |
| | | |
− | <span style='color:darkred'>'''Note:''' Affa versions <= 0.5.2 have required the package perl-Filesys-DiskSpace. If you have this package installed and now runnig Affa >= 0.6.0, you can safely uninstall it.</span>
| |
| | | |
| === Quick start example === | | === Quick start example === |
Line 68: |
Line 69: |
| # generate the DSA keys and send the public key to the 'prodbox'<br><code># affa --send-key prodbox</code> | | # generate the DSA keys and send the public key to the 'prodbox'<br><code># affa --send-key prodbox</code> |
| # run the job manually<br><code># affa --run prodbox</code> | | # run the job manually<br><code># affa --run prodbox</code> |
| + | |
| | | |
| === Configuration === | | === Configuration === |
Line 172: |
Line 174: |
| |- | | |- |
| | rsync--modify-window | | | rsync--modify-window |
− | | interger >= 0 || When comparing two timestamps, rsync treats the timestamps as being equal if they differ by no more than the modify-window value. This is normally 0 for an exact match. A value >= 0 is useful if you can't get the clocks of the source and the Affa server in sync. | + | | integer >= 0 || When comparing two timestamps, rsync treats the timestamps as being equal if they differ by no more than the modify-window value. This is normally 0 for an exact match. A value >= 0 is useful if you can't get the clocks of the source and the Affa server in sync. |
| |- | | |- |
| | StrictHostKeyChecking | | | StrictHostKeyChecking |
| | yes ''or'' no || set to no to disable ssh host key check. Useful, when several servers behind a firewall should be reached over different forwarded ssh ports. Avoids the 'Offending key in...' prompt. Default setting is 'yes'. | | | yes ''or'' no || set to no to disable ssh host key check. Useful, when several servers behind a firewall should be reached over different forwarded ssh ports. Avoids the 'Offending key in...' prompt. Default setting is 'yes'. |
| |} | | |} |
| + | |
| | | |
| ==== Default configuration properties ==== | | ==== Default configuration properties ==== |