Changes

From SME Server
Jump to navigationJump to search
963 bytes added ,  17:07, 25 October 2014
no edit summary
Line 157: Line 157:     
=== Installation of Affa 3 ===
 
=== Installation of 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 on a fresh dedicated SME server which serves as a dedicated backup server ('affabox‘). No jobs are migrated from Affa 2.
   −
Login as root on local or remote SSH console. Then create dedicated directory for Affa 3 files and go to there:
+
Setup a dedicated machine with SME 8.1 or SME 9.0 from CDROM. Use the following example settings:
 +
<ol><li>Domain name: athome.xx (use your existing domain name)</li>
 +
<li>Host name: affabox (must not match to existing host)</li>
 +
<li>IP address: 192.168.0.10 (must not match to existing IP address)</li>
 +
<li>Subnet: 255.255.255.0</li>
 +
<li>role: Server only</li>
 +
<li>Gateway: 192.168.0.1 (use your existing gateway)</li>
 +
<li>DHCP: DEactivate</li>
 +
<li>DNS server: 192.168.0.1 (use your existing DNS server)</li>
 +
<li>activate changes: yes</li>
 +
<li>The fresh server will then restart with the above settings.</li>
 +
</ol>
 +
 
 +
To update your server, login as user root on local console. Use 'top' command to display running jobs. Wait until 'yum' stopped running.
 +
yum clean all
 +
yum update
 +
The fresh server will be updated.
 +
signal-event post-upgrade
 +
signal-event reboot
 +
The server will reboot.
 +
 
 +
Login as root on local or remote SSH console of ''affabox''. Then create dedicated directory for Affa 3 files and go to there:
 
  mkdir /root/affa3
 
  mkdir /root/affa3
 
  cd /root/affa3
 
  cd /root/affa3
Line 184: Line 205:  
where ''sme-backup'' is your jobname, and add content as described below.
 
where ''sme-backup'' is your jobname, and add content as described below.
   −
=== Quick start example ===
+
==== Quick start example ====
You have a SME 7 production server with hostname 'prodbox‘ and IP 10.200.48.1.<br>
+
You have a SME production server with hostname 'smeserver‘ and IP 192.168.0.2.<br>
Set up a second SME 7 box as your backupserver with hostname 'affabox‘ and IP 10.200.48.2.  
+
Set up a second SME box as your backupserver with hostname 'affabox‘ and IP 192.168.0.10.  
   −
<ol></li><li>log into the 'affabox' and install the packages as described above.
+
<ol></li><li>log into the 'affabox' as root and edit.
 
</li><li>copy the config helper script sample
 
</li><li>copy the config helper script sample
 
  cp /usr/lib/affa/jobconfig-sample.pl /root/prodbox-job.pl
 
  cp /usr/lib/affa/jobconfig-sample.pl /root/prodbox-job.pl
28

edits

Navigation menu