Line 2: |
Line 2: |
| {{Level|Advanced}} | | {{Level|Advanced}} |
| {{Warning box| Affa version 2.x code is deprecated and unmaintained. smeserver-affa has a waiting list of 32 open bugs -see link below. And a lot of unpredictable bugs are associated or related with the use of Affa after restoration or rise, such as missing groups, service crash, CGI errors}} | | {{Warning box| Affa version 2.x code is deprecated and unmaintained. smeserver-affa has a waiting list of 32 open bugs -see link below. And a lot of unpredictable bugs are associated or related with the use of Affa after restoration or rise, such as missing groups, service crash, CGI errors}} |
− | <div style="background-color: #EEFFD9; border: solid thin grey; padding: 7px 7px 7px 7px;box-shadow: 3px 3px 3px #888888;">
| + | {{usefulnote}} |
| October 2014 - Some work has recently been carried out on smeserver-affa v2 to fix some of the bugs, see [http://bugs.contribs.org/buglist.cgi?action=wrap&bug_status=UNCONFIRMED&bug_status=CONFIRMED&bug_status=NEEDINFO&bug_status=IN_PROGRESS&bug_status=RESOLVED&bug_status=VERIFIED&classification=Contribs&component=smeserver-affa%20%28unmaintained%29&list_id=22153&product=SME%20Contribs&resolution=---&resolution=FIXED&resolution=NOTABUG&resolution=WONTFIX&resolution=UPSTREAM&resolution=DUPLICATE&resolution=WORKSFORME&saved_report_id=1 smeserver-affa Bugs]. A new Affa version 3 is available on [http://affa.sourceforge.net/ Sourceforge]. Additional features helpful for SME have been ported by [http://www.guedel.eu/index.php/info-matique/sme-server/affa-v3 Arnaud]. Keep in mind that Affa 3 is not fully tested up to now. Please also check [http://bugs.contribs.org/show_bug.cgi?id=7633 SME server Affa v3 development] . | | October 2014 - Some work has recently been carried out on smeserver-affa v2 to fix some of the bugs, see [http://bugs.contribs.org/buglist.cgi?action=wrap&bug_status=UNCONFIRMED&bug_status=CONFIRMED&bug_status=NEEDINFO&bug_status=IN_PROGRESS&bug_status=RESOLVED&bug_status=VERIFIED&classification=Contribs&component=smeserver-affa%20%28unmaintained%29&list_id=22153&product=SME%20Contribs&resolution=---&resolution=FIXED&resolution=NOTABUG&resolution=WONTFIX&resolution=UPSTREAM&resolution=DUPLICATE&resolution=WORKSFORME&saved_report_id=1 smeserver-affa Bugs]. A new Affa version 3 is available on [http://affa.sourceforge.net/ Sourceforge]. Additional features helpful for SME have been ported by [http://www.guedel.eu/index.php/info-matique/sme-server/affa-v3 Arnaud]. Keep in mind that Affa 3 is not fully tested up to now. Please also check [http://bugs.contribs.org/show_bug.cgi?id=7633 SME server Affa v3 development] . |
− | </div><br>
| |
− | {{usefulnote}}
| |
| | | |
| === Maintainer === | | === Maintainer === |
Line 62: |
Line 60: |
| | | |
| === Installation or Update === | | === Installation or Update === |
− | <div class="mw-collapsible mw-collapsed" align="left" data-collapsetext="less ↑" data-expandtext="Obsolete AFFA 2 instructions ↓">
| |
− |
| |
− |
| |
| ==== Affa 2 ==== | | ==== Affa 2 ==== |
| =====Smecontribs for sme8===== | | =====Smecontribs for sme8===== |
Line 103: |
Line 98: |
| affa --make-cronjobs | | affa --make-cronjobs |
| and logout and re-login to the console to take the bash auto-completion (TAB key) in effect. | | and logout and re-login to the console to take the bash auto-completion (TAB key) in effect. |
− | </div>
| |
− |
| |
| ==== Affa 3 ==== | | ==== Affa 3 ==== |
| The following instructions assume that a fresh Affa 3 installation is made with no jobs migrated from Affa 2. | | The following instructions assume that a fresh Affa 3 installation is made with no jobs migrated from Affa 2. |
− |
| |
− | = For SME8 =
| |
| =====Installation on SME 8.1 32 Bit===== | | =====Installation on SME 8.1 32 Bit===== |
| Login as root on local or remote SSH console. Then create dedicated directory for Affa 3 files and go to there: | | Login as root on local or remote SSH console. Then create dedicated directory for Affa 3 files and go to there: |
Line 131: |
Line 122: |
| Install packages | | Install packages |
| yum localinstall --enablerepo=smecontribs perl-Proc-ProcessTable-0.45-1.el5.rf.x86_64.rpm perl-Config-IniFiles-2.56-1.el5.rf.noarch.rpm perl-Filesys-DiskFree-0.06-1.2.el5.rf.noarch.rpm smeserver-affa-3.2.2.1-0.noarch.rpm | | yum localinstall --enablerepo=smecontribs perl-Proc-ProcessTable-0.45-1.el5.rf.x86_64.rpm perl-Config-IniFiles-2.56-1.el5.rf.noarch.rpm perl-Filesys-DiskFree-0.06-1.2.el5.rf.noarch.rpm smeserver-affa-3.2.2.1-0.noarch.rpm |
− | | + | =====Installation on SME 9.0 32 Bit===== |
− | = For SME9 = | + | Login as root on local or remote SSH console. Then create dedicated directory for Affa 3 files and go to there: |
− | =====Installation on SME 9.0===== | + | mkdir /root/affa3 |
| + | cd /root/affa3 |
| + | Then retrieve additionally required RPM packages: |
| + | wget http://pkgs.repoforge.org/perl-Proc-ProcessTable/perl-Proc-ProcessTable-0.45-1.el6.rf.i686.rpm |
| + | wget http://pkgs.repoforge.org/perl-Config-IniFiles/perl-Config-IniFiles-2.56-1.el6.rf.noarch.rpm |
| + | wget http://pkgs.repoforge.org/perl-Filesys-DiskFree/perl-Filesys-DiskFree-0.06-1.2.el6.rf.noarch.rpm |
| + | wget http://www.guedel.eu/phocadownload/uploads_AG/smeserver-affa-3.2.2.1-0.noarch.rpm |
| + | Install packages |
| + | yum localinstall --enablerepo=smecontribs perl-Proc-ProcessTable-0.45-1.el6.rf.i686.rpm perl-Config-IniFiles-2.56-1.el6.rf.noarch.rpm perl-Filesys-DiskFree-0.06-1.2.el6.rf.noarch.rpm smeserver-affa-3.2.2.1-0.noarch.rpm |
| + | =====Installation on SME 9.0 64 Bit===== |
| Login as root on local or remote SSH console. Then create dedicated directory for Affa 3 files and go to there: | | Login as root on local or remote SSH console. Then create dedicated directory for Affa 3 files and go to there: |
| mkdir /root/affa3 | | mkdir /root/affa3 |
| cd /root/affa3 | | cd /root/affa3 |
| + | Then retrieve additionally required RPM packages: |
| + | wget http://pkgs.repoforge.org/perl-Proc-ProcessTable/perl-Proc-ProcessTable-0.45-1.el6.rf.x86_64.rpm |
| + | wget http://pkgs.repoforge.org/perl-Config-IniFiles/perl-Config-IniFiles-2.56-1.el5.rf.noarch.rpm |
| + | wget http://pkgs.repoforge.org/perl-Filesys-DiskFree/perl-Filesys-DiskFree-0.06-1.2.el6.rf.noarch.rpm |
| + | wget http://www.guedel.eu/phocadownload/uploads_AG/smeserver-affa-3.2.2.1-0.noarch.rpm |
| Install packages | | Install packages |
− | yum localinstall smeserver-affa-3.2.2.1-0.noarch.rpm --enablerepo=dag | + | yum localinstall --enablerepo=smecontribs perl-Proc-ProcessTable-0.45-1.el6.rf.x86_64.rpm perl-Config-IniFiles-2.56-1.el5.rf.noarch.rpm perl-Filesys-DiskFree-0.06-1.2.el6.rf.noarch.rpm smeserver-affa-3.2.2.1-0.noarch.rpm |
− | <headertabs/>
| + | =====Create backup jobs===== |
− | | |
− | ===Create backup jobs=== | |
| Job configurations of Affa 3 are no longer stored in an e-smith style database. They are stored in configuration files located in ''/etc/affa'' . Create your config file | | Job configurations of Affa 3 are no longer stored in an e-smith style database. They are stored in configuration files located in ''/etc/affa'' . Create your config file |
| touch /etc/affa/sme-backup.conf | | touch /etc/affa/sme-backup.conf |
Line 147: |
Line 150: |
| | | |
| === Quick start example === | | === Quick start example === |
− | You have a SME production server with hostname 'prodbox‘ and IP 10.200.48.1.<br> | + | You have a SME 7 production server with hostname 'prodbox‘ and IP 10.200.48.1.<br> |
− | Set up a second SME box as your backupserver with hostname 'affabox‘ and IP 10.200.48.2. | + | Set up a second SME 7 box as your backupserver with hostname 'affabox‘ and IP 10.200.48.2. |
| | | |
| <ol></li><li>log into the 'affabox' and install the packages as described above. | | <ol></li><li>log into the 'affabox' and install the packages as described above. |