Re: [CentOS] load balancer recommendations

2013-01-20 Thread Johnny Tan
On Sat, Jan 19, 2013 at 9:42 PM, Brian Mathis <
brian.mathis+cen...@betteradmin.com> wrote:

> Add another vote for HAproxy.  It's excellent at what it does, as long
> as it meets your requirements.  It's main purpose is to load balance
> HTTP traffic, and it can maintain session using a cookie.  It will
> monitor each server and remove it from rotation if it goes down.  It
> also has methods to place servers into maintenance mode.
>
> It doesn't really handle SSL (though they have been working on it for
> newer versions), but that can be handled by using Apache or nginx as
> the front-end termination point for SSL, and reverse proxy into
> haproxy.
>
> It also does generic TCP load balancing, but I don't use it so can't
> comment on that.
>

Also throwing in my vote with HAProxy, as it meets all of the (thus-far
listed) requirements of the OP. The TCP loadbalancing works great, similar
to the HTTP balancing.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] load balancer recommendations

2013-01-20 Thread Nikolaos Milas
On 19/1/2013 10:35 μμ, Boris Epstein wrote:

> Any advice on what may help us would be greatly appreciated.

Have you checked HAProxy (http://haproxy.1wt.eu)?

Nick
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] load balancer recommendations

2013-01-20 Thread Nux!
On 19.01.2013 20:35, Boris Epstein wrote:
> Any advice on what may help us would be greatly appreciated.

Haproxy. Session-aware, SSL-aware, extremely light and powerful.

-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] load balancer recommendations

2013-01-20 Thread Nikolaos Milas
On 19/1/2013 10:35 μμ, Boris Epstein wrote:

> Any advice on what may help us would be greatly appreciated.

Some reading that might help in making up your mind:

http://www.chinanetcloud.com/blog/load-balancing-haproxy-vs-nginx
http://www.techopsguys.com/tag/netscaler/
http://blog.exceliance.fr/2012/09/10/how-to-get-ssl-with-haproxy-getting-rid-of-stunnel-stud-nginx-or-pound/
http://blog.exceliance.fr/2012/08/25/haproxy-varnish-and-the-single-hostname-website/

You'll undoubtedly find more material on the iNet, but I hope the above 
may serve as a starting point.

Good luck,
Nick
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Sluggish server with big array [SOLVED]

2013-01-20 Thread Guy Boisvert
Le 2013-01-15 10:35, Paul Heinlein a écrit :
> On Tue, 15 Jan 2013, Guy Boisvert wrote:
>
>> I have a couple of samba shares from the 11 TB array (all of them 
>> are on the 11TB array).  The strange behavior is that if i "ls -al 
>> /home/data", i have to wait 7-8 seconds to see the output. If i do a 
>> simple ls, output is instantaneous.  I see about the same delay when 
>> i access the samba shares from the server (related ?).  I don't know 
>> where to start with this!
>
> This sounds like it might be an issue with cacheing user info.
>
> Do you have a remote authentication server, e.g., LDAP? Are you 
> running nscd or sssd? Does re-starting the cacheing daemon help?
>


Hi Paul,

 You were right: I turned off SMB, NMB & Winbind and ls -al on the 
large array become fast as usual.  Digging a little deeper, i found that 
some of the sub-directories in /home/data had been restored from another 
server and that they showed in unknown group "10432" in ls -al .  So i 
just did:

[root@radium home]# chgrp -R "domain users"  /home/data

 So in conclusion, it seems that my "ls -al" on the filesystem 
containing unknown GID translated into queries to Active Directory and 
for whatever reason, resulted in a delay of several seconds (like 10-15 
seconds).

Thanks Paul again.


Guy Boisvert
IngTegration inc.
http://www.ingtegration.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Newer SANE packages for 5.9 ??

2013-01-20 Thread fred smith
On Sat, Jan 19, 2013 at 04:24:33PM -0800, Akemi Yagi wrote:
> On Sat, Jan 19, 2013 at 4:13 PM, Frank Cox  
> wrote:
> > On Sat, 19 Jan 2013 19:06:08 -0500
> > fred smith wrote:
> >
> >> I've been messing around with building sane from source, but have not
> >> been fully successful, yet, so thought before butchering my system any
> >> further I should ask if anyone has (or can point me to) newer Sane
> >> packages for EL5??
> >
> > This may be of interest to you.
> >
> > http://www.melvilletheatre.com/articles/canon-lide-110-scanner/
> 
> That would work fine with CentOS-6. But the OP is running EL5.
> 
> I got my LiDE 110/210 working that was connected to a Scientific Linux
> 5.7 box. The following procedure was from about 14 months ago, so some
> part might not be current (but hopefully get you started).
> 
> - Rebuild xsane 0.998
> - Rebuild sane-backends 1.0.19 (later version did not rebuild) -> not good
> - Compile sane-backends 1.0.23 from git (tarball) [1] and
> manually copied genesys-related files from /usr/local/
> - At this point scanner was found by root but not by non-root
> - Edit /etc/udev/rules.d/50-udev.rules and change Mode from 0644 to 0666
> 
> ACTION=="add", SUBSYSTEM=="usb_device", \
> PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf
> bus/usb/%%03i/%%03i $${K.*} $${K#*.}'", \
> NAME="%c", MODE="0666"

Akemi:

Thanks a bunch!

I had already built 1.0.22, so I just copied over the genesys files from 
/usr/local/lib/sane/wherever, renamed the existing genesys file that was
already there (from the 1.0.18 installation from the Centos packages),
edited genesys.conf (to add the right USB identifiers for the scanner)
then changed the udev rule as you showed. 

Rebooted, and voila!

All I need to be careful of now, I think, is to not allow sane package
updates to be applied by yum, unless it gets updated to 1.0.22, and I
don't imagine that will  happen within the 5.x series.

thanks again, that was a lot easier than messing around with trying to
build everything and install it in /usr/local.

Fred

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
  "For him who is able to keep you from falling and to present you before his 
 glorious presence without fault and with great joy--to the only God our Savior
 be glory, majesty, power and authority, through Jesus Christ our Lord, before
 all ages, now and forevermore! Amen."
- Jude 1:24,25 (niv) -
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Newer SANE packages for 5.9 ??

2013-01-20 Thread Akemi Yagi
On Sun, Jan 20, 2013 at 6:33 PM, fred smith
 wrote:
> On Sat, Jan 19, 2013 at 04:24:33PM -0800, Akemi Yagi wrote:


>> - Edit /etc/udev/rules.d/50-udev.rules and change Mode from 0644 to 0666
>>
>> ACTION=="add", SUBSYSTEM=="usb_device", \
>> PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf
>> bus/usb/%%03i/%%03i $${K.*} $${K#*.}'", \
>> NAME="%c", MODE="0666"
>
> Akemi:
>
> Thanks a bunch!
>
> I had already built 1.0.22, so I just copied over the genesys files from
> /usr/local/lib/sane/wherever, renamed the existing genesys file that was
> already there (from the 1.0.18 installation from the Centos packages),
> edited genesys.conf (to add the right USB identifiers for the scanner)
> then changed the udev rule as you showed.
>
> Rebooted, and voila!
>
> All I need to be careful of now, I think, is to not allow sane package
> updates to be applied by yum, unless it gets updated to 1.0.22, and I
> don't imagine that will  happen within the 5.x series.
>
> thanks again, that was a lot easier than messing around with trying to
> build everything and install it in /usr/local.
>
> Fred

Glad to hear your success! Sometimes it takes extra effort to get
certain hardware working in Enterprise Linux but all's well that ends
well. :-)

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos