From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.2.5 Date: Mon, 9 Nov 2009 10:07:38 +0300 From: Timur Batyrshin To: sysadmins@lists.altlinux.org In-Reply-To: <20091108132231.GA11910@altlinux.org> References: <200909302156.05916.alexey.borovskoy@gmail.com> <4AC31FBF.8020407@nevod.ru> <20091108132231.GA11910@altlinux.org> Organization: IEML X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i586-alt-linux-gnu) Mime-Version: 1.0 X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0284], KAS30/Release X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0284], KAS30/Release X-SpamTest-Info: Not protected Message-ID: <20091109100738.35a69974@batyrshin.kzn.ieml.ru> Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/hkY.Yv6C50qvmv71lCPfL9e"; protocol="application/pgp-signature" X-Anti-Virus: Kaspersky Anti-Virus for Linux Mail Server 5.6.39/RELEASE, bases: 20091109 #3179972, check: 20091109 clean Subject: Re: [Sysadmins] =?utf-8?b?0JrQsNC6INC30LDRhdC+0YHRgtC40YLRjCDRgNC1?= =?utf-8?b?0LvRjNGB0L7QstC+0LUg0L/RgNC40LvQvtC20LXQvdC40LU/?= X-BeenThere: sysadmins@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux sysadmin discuss List-Id: ALT Linux sysadmin discuss List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Nov 2009 07:08:01 -0000 Archived-At: List-Archive: --Sig_/hkY.Yv6C50qvmv71lCPfL9e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, 8 Nov 2009 16:22:31 +0300 Alexey I. Froloff wrote: > > =D0=94=D0=BB=D1=8F =D0=BF=D1=80=D0=BE=D0=B4=D0=B0=D0=BA=D1=88=D0=BD =D0= =BC=D0=BE=D0=B6=D0=BD=D0=BE =D0=B8=D1=81=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0= =BE=D0=B2=D0=B0=D1=82=D1=8C =D0=BF=D1=80=D0=BE=D0=BA=D1=81=D0=B8=D1=80=D0= =BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5 =D0=BD=D0=B0 mongrel (=D0=B5=D1=81=D0=BB= =D0=B8 > > apache, =D1=82=D0=BE mod_proxy). =D0=9D=D0=B5=D0=BF=D0=BB=D0=BE=D1=85= =D1=83=D1=8E =D0=BF=D1=80=D0=BE=D0=B8=D0=B7=D0=B2=D0=BE=D0=B4=D0=B8=D1=82= =D0=B5=D0=BB=D1=8C=D0=BD=D0=BE=D1=81=D1=82=D1=8C =D0=B4=D0=B0=D1=91=D1=82 l= ighthttpd. > =D0=92 =D0=A1=D0=B8=D0=B7=D0=B8=D1=84 =D1=83=D1=88=D1=91=D0=BB ruby-mongr= el_cluster, =D0=BE=D1=81=D0=BD=D0=BE=D0=B2=D0=BD=D0=B0=D1=8F =D0=B8=D0=B4= =D0=B5=D1=8F =D1=81=D0=BF=D1=91=D1=80=D1=82=D0=B0 =D0=B8=D0=B7 Debian > (=D0=BF=D0=B0=D0=BA=D0=B5=D1=82 mongrel-cluster). >=20 > =D0=93=D0=BE=D0=BC=D0=BE=D1=81=D1=8F=D1=82=D0=B8=D0=BD=D0=B0 =D0=B2 =D0= =BE=D0=B1=D0=BB=D0=B0=D1=81=D1=82=D0=B8 =D0=B7=D0=B0=D0=BF=D1=83=D1=81=D0= =BA=D0=B0-=D0=BE=D1=81=D1=82=D0=B0=D0=BD=D0=BE=D0=B2=D0=BA=D0=B8 =D0=BF=D0= =B5=D1=80=D0=B5=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=B0 =D0=BD=D0=B0 shell =D1= =81 > =D0=B8=D1=81=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8= =D0=B5=D0=BC start-stop-daemon, =D0=B2=D0=BD=D0=B5=D1=88=D0=BD=D0=B8=D0=B9 = =D0=B2=D0=B8=D0=B4 =D0=B8 =D0=BF=D0=BE=D0=B2=D0=B5=D0=B4=D0=B5=D0=BD=D0=B8= =D0=B5 =D0=BA=D0=BE=D0=BC=D0=B0=D0=BD=D0=B4 > mongrel_cluster_ctl =D0=B8 mongrel_rails cluster::* =D0=B8=D0=B4=D0=B5=D0= =BD=D1=82=D0=B8=D1=87=D0=BD=D1=8B > =D0=BD=D0=B0=D1=82=D1=83=D1=80=D0=B0=D0=BB=D1=8C=D0=BD=D1=8B=D0=BC. >=20 > =D0=9F=D1=80=D0=BE=D0=B8=D0=B7=D0=B2=D0=BE=D0=BB=D1=8C=D0=BD=D0=BE=D0=B5 = =D1=80=D0=B5=D0=BB=D1=8C=D1=81=D0=BE=D0=B2=D0=BE=D0=B5 =D0=BF=D1=80=D0=B8= =D0=BB=D0=BE=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5 =D1=85=D0=BE=D1=81=D1=82=D0=B8= =D1=82=D1=81=D1=8F =D1=82=D0=B0=D0=BA: >=20 > $ cd /path/to/application > $ mongrel_rails cluster::configure -C application_cluster.yml [=D0=BE=D0= =BF=D1=86=D0=B8=D0=B8] > # cp application_cluster.yml /etc/mongrel_cluster/sites-available > # ln -sf ../sites-available/application_cluster.yml \ > /etc/mongrel_cluster/sites-enabled/application_cluster.yml > # service mongrel_cluster start >=20 > =D0=94=D0=B0=D0=BB=D1=8C=D1=88=D0=B5 =D0=BD=D0=B0 =D0=BF=D0=BE=D1=80=D1= =82=D1=8B 'port' (3000) -- 'port' + 'servers' - 1 (3001) > =D0=BC=D0=BE=D0=B6=D0=BD=D0=BE =D0=BF=D1=80=D0=BE=D0=BA=D1=81=D0=B8=D1=80= =D0=BE=D0=B2=D0=B0=D1=82=D1=8C =D0=B8=D0=B7 apache (mod_proxy_balancer), li= ghthttpd, > nginx, etc. >=20 > =D0=9E=D0=BF=D1=86=D0=B8=D1=8F=D0=BC=D0=B8 'port' =D0=B8 'servers' =D0=B7= =D0=B0=D0=B4=D0=B0=D1=91=D1=82=D1=81=D1=8F =D1=81=D0=BA=D0=BE=D0=BB=D1=8C= =D0=BA=D0=BE =D0=BF=D1=80=D0=BE=D1=86=D0=B5=D1=81=D1=81=D0=BE=D0=B2 > mongrel_rails =D0=B8 =D0=BD=D0=B0 =D0=BA=D0=B0=D0=BA=D0=B8=D1=85 =D0=BF= =D0=BE=D1=80=D1=82=D0=B0=D1=85 =D0=B1=D1=83=D0=B4=D0=B5=D1=82 =D0=B7=D0=B0= =D0=BF=D1=83=D1=89=D0=B5=D0=BD=D0=BE. =D0=A3=D0=BD=D0=B8=D0=BA=D0=B0=D0=BB= =D1=8C=D0=BD=D0=BE=D1=81=D1=82=D1=8C > =D0=BF=D0=BE=D1=80=D1=82=D0=BE=D0=B2 =D0=B4=D0=BE=D0=BB=D0=B6=D0=B5=D0=BD= =D0=BE=D0=B1=D0=B5=D1=81=D0=BF=D0=B5=D1=87=D0=B8=D1=82=D1=8C =D0=B0=D0=B4= =D0=BC=D0=B8=D0=BD=D0=B8=D1=81=D1=82=D1=80=D0=B0=D1=82=D0=BE=D1=80. =D0=95= =D1=81=D0=BB=D0=B8 =D0=BE=D0=BF=D1=86=D0=B8=D0=B8 'pid_file' =D0=B8 > 'log_file' =D0=BD=D0=B5 =D0=B7=D0=B0=D0=B4=D0=B0=D0=BD=D1=8B, =D0=B1=D1= =83=D0=B4=D1=83=D1=82 =D0=B8=D1=81=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0= =B2=D0=B0=D1=82=D1=8C=D1=81=D1=8F > /var/run/mongrel_cluster/mongrel.=D0=9F=D0=9E=D0=A0=D0=A2.pid =D0=B8 > /var/log/mongrel_cluster/mongrel.=D0=9F=D0=9E=D0=A0=D0=A2.log =D1=81=D0= =BE=D0=BE=D1=82=D0=B2=D0=B5=D1=82=D1=81=D1=82=D0=B2=D0=B5=D0=BD=D0=BD=D0=BE. > =D0=9E=D0=BF=D1=86=D0=B8=D1=8F=D0=BC=D0=B8 'user' =D0=B8 'group' =D0=B7= =D0=B0=D0=B4=D0=B0=D1=91=D1=82=D1=81=D1=8F =D1=81 =D0=BA=D0=B0=D0=BA=D0=B8= =D0=BC=D0=B8 =D0=BF=D1=80=D0=B0=D0=B2=D0=B0=D0=BC=D0=B8 =D0=B1=D1=83=D0=B4= =D0=B5=D1=82 =D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=B0=D1=82=D1=8C > =D1=81=D0=B5=D1=80=D0=B2=D0=B5=D1=80, =D0=BF=D0=BE =D1=83=D0=BC=D0=BE=D0= =BB=D1=87=D0=B0=D0=BD=D0=B8=D1=8E _mongrel:_mongrel. =D0=90 =D0=BC=D0=BE=D0=B6=D0=BD=D0=BE =D1=8D=D1=82=D0=BE =D0=B3=D0=B4=D0=B5= -=D0=BD=D0=B8=D0=B1=D1=83=D0=B4=D1=8C =D0=BD=D0=B0 =D0=B2=D0=B8=D0=B4=D0=BD= =D0=BE=D0=BC =D0=BC=D0=B5=D1=81=D1=82=D0=B5 =D0=B2 =D1=81=D0=B5=D1=82=D0=B8= /README =D0=BF=D0=BE=D0=BB=D0=BE=D0=B6=D0=B8=D1=82=D1=8C, =D0=B5=D1=81=D0= =BB=D0=B8 =D1=82=D0=B0=D0=BC =D1=8D=D1=82=D0=BE=D0=B3=D0=BE =D0=B5=D1=89=D0=B5 =D0=BD=D0=B5=D1=82? --Sig_/hkY.Yv6C50qvmv71lCPfL9e Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (GNU/Linux) iEYEARECAAYFAkr3v70ACgkQBMbamSk3PiScsgCgvFrsENzxhkz20ApV41dMzGAb vf8An2ASTlRwzHZ9mKQ61+2UTPlG0FrT =so4l -----END PGP SIGNATURE----- --Sig_/hkY.Yv6C50qvmv71lCPfL9e--