Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:jobs:proxy_multi [2013/01/25 13:15]
admin
en:jobs:proxy_multi [2015/03/12 17:08] (current)
admin [Centos/Redhat 6.4]
Line 1: Line 1:
-=======Configuration ​of multi-protocols and fault-tolerant Proxy Service ​ =======+=======Deploying ​of multi-protocols and fault-tolerant Proxy Service ​ =======
  ==== Introduction. ====  ==== Introduction. ====
  
Line 24: Line 24:
 [[http://​www.delegate.org/​delegate/​|Delegate]] will be IMAP,SMTP and native FTP proxy. Delegate can work as http proxy but have low performance. ​ [[http://​www.delegate.org/​delegate/​|Delegate]] will be IMAP,SMTP and native FTP proxy. Delegate can work as http proxy but have low performance. ​
  
- ​==== ​Deploiment ​====+ ​==== ​Deployment ​====
  
 1. Installing of OS Centos 6.3 on each of servers and configure interfaces.\\ 1. Installing of OS Centos 6.3 on each of servers and configure interfaces.\\
Line 137: Line 137:
   . /​etc/​init.d/​functions   . /​etc/​init.d/​functions
   prog="​delegated-ftp"​   prog="​delegated-ftp"​
-  startoptions="​-r -P0.0.0.0:​21 SERVER=ftp ADMIN=adm@your_domain.dom CACHE=no REMITTABLE=ftp,​ftps PERMIT=*:​*:​192.168.* ​+  startoptions="​-r -P0.0.0.0:​21 SERVER=ftp ADMIN=adm@your_domain.dom ​
-  ​MAXIMA=delegated:​100,​standby:​80 TIMEOUT=shutout:​300,​restart:​1d,​acc:​100,​con:​100,​dns:​4,​dnsinv:​1 \+  ​CACHE=no REMITTABLE=ftp,​ftps PERMIT=*:​*:​192.168.* MAXIMA=delegated:​100,​standby:​80 ​
 +  ​TIMEOUT=shutout:​300,​restart:​1d,​acc:​100,​con:​100,​dns:​4,​dnsinv:​1 \
   RESOLV=sys,​file ​ SRCIF=217.9.80.9:​*:​* ​ LOGFILE=ftp[date+.%d]"​   RESOLV=sys,​file ​ SRCIF=217.9.80.9:​*:​* ​ LOGFILE=ftp[date+.%d]"​
   stopoptions="​-P0.0.0.0:​21 -Fkill"​   stopoptions="​-P0.0.0.0:​21 -Fkill"​
Line 200: Line 201:
  
   chmod 755 /​usr/​sbin/​delegated-imapo   chmod 755 /​usr/​sbin/​delegated-imapo
 +
 +Tuning Gelegate
 +  ​
 +  If you will face with heavy duty problems just tune MAXIMA parameters. ​
 +  For example MAXIMA=listen:​50,​delegated:​300
  
  
Line 271: Line 277:
   chmod 755 /​usr/​sbin/​delegated-smtpo   chmod 755 /​usr/​sbin/​delegated-smtpo
  
 +Tuning Delegate
 +  ​
 +  If you will face with heavy duty problems just tune MAXIMA parameters. ​
 +  For example MAXIMA=listen:​50,​delegated:​300
   ​   ​
   cat /​etc/​init.d/​delegate-smtp   cat /​etc/​init.d/​delegate-smtp
Line 371: Line 381:
   chkconfig squid off   chkconfig squid off
  
-8. Configure ​Corosync on each server+8. Configuring ​Corosync on each server
  
   cat /​etc/​corosync/​corosync.conf   cat /​etc/​corosync/​corosync.conf
Line 437: Line 447:
  
   ​   ​
-9. Configure ​pacemaker+9. Configuring ​pacemaker
  
 On one proxy node On one proxy node
Line 486: Line 496:
  
 Special gratitude [[http://​staff.aist.go.jp/​y.sato/​|Yutaka Sato]] for very nice proxy application (delegate). Special gratitude [[http://​staff.aist.go.jp/​y.sato/​|Yutaka Sato]] for very nice proxy application (delegate).
 +
 + ==== Centos/​Redhat 6.4 ====
 +
 +Today i have updated the system to centos 6.4. 
 +Crm configuration command disappeared. \\
 +If you want to use crm configuration command with centos/​redhat 6.4 you need to install crmsh: yum install crmsh\\
 +I'm using follow repo
 +
 +  [network_ha-clustering]
 +  name=High Availability/​Clustering server technologies (RedHat_RHEL-6)
 +  type=rpm-md
 +  baseurl=http://​download.opensuse.org/​repositories/​network:/​ha-clustering/​RedHat_RHEL-6/​
 +  gpgcheck=1
 +  gpgkey=http://​download.opensuse.org/​repositories/​network:/​ha-clustering/​RedHat_RHEL-6/​repodata/​repomd.xml.key
 +  enabled=1
 +
 +Or you can use pcs (yum install pcs)
 +
 + ==== About author ​ ====
 +[[https://​www.linkedin.com/​pub/​alexey-vyrodov/​59/​976/​16b|Profile]] of the author
 +
  
en/jobs/proxy_multi.1359105340.txt.gz · Last modified: 2013/01/25 13:15 by admin
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki