Re: Is anyone balancing Adobe Media Server
Willy, Yes they are one and the same. Adobe has rebranded away from Flash since the new product is not Flash dependent. Little bit marketing (Flash is dead), but also reflects a change from Flash Player to HTML5. The ports and transports are all the same, though. Thank you. Robert On Oct 29, 2013, at 2 :34 AM, Willy Tarreau w...@1wt.eu wrote: Hi Robert, On Mon, Oct 28, 2013 at 09:09:53PM -0400, Robert Snyder wrote: Hi, We currently balance 21 http and a dozen HTTPS (TCP listen block) web properties against caching servers and web heads in multiple data centers. We do some header-based traffic shaping (mostly redirecting mobile requests story our dedicated mobile site). We have been running out pair of failover physical HAProxy servers using heartbeat and keepalived VIP to failover. We are adding balancing media streaming to our web content. We will balance two backend Adobe Media Streaming servers. I am planning to use a TCP listen block. Does anyone have any experiences with HAProxy and streaming media? Ant things you wish you know before deployment? Just wondering, as I have zero knowledge on these servers, are they the same as Adobe Flash Media Streaming ? Because if so, there seems to be a good howto at f5 : http://www.f5.com/pdf/deployment-guides/f5-adobe-flash-media-dg.pdf And since they're using totally generic TCP forwarding (even for health checks), it might help you configure the servers appropriately for being load balanced. Best regards, Willy Robert Snyder Outreach Information Technology The Pennsylvania State University The 329 Building, Suite 306E University Park PA 16802 Phone: 814-865-0912 E-mail: rsny...@psu.edu signature.asc Description: Message signed with OpenPGP using GPGMail
Is anyone balancing Adobe Media Server
Hi, We currently balance 21 http and a dozen HTTPS (TCP listen block) web properties against caching servers and web heads in multiple data centers. We do some header-based traffic shaping (mostly redirecting mobile requests story our dedicated mobile site). We have been running out pair of failover physical HAProxy servers using heartbeat and keepalived VIP to failover. We are adding balancing media streaming to our web content. We will balance two backend Adobe Media Streaming servers. I am planning to use a TCP listen block. Does anyone have any experiences with HAProxy and streaming media? Ant things you wish you know before deployment? Sent from my iPhone Robert Snyder rsny...@me.com 814.876.0912 smime.p7s Description: S/MIME cryptographic signature
Re: dev environment for haproxy
I know you are asking about code development, but for configuration test we use Vagrant to spin up multi-node test environments. Sent from my iPhone Robert Snyder rsny...@me.com 814.876.0912 On Oct 20, 2013, at 2:02 AM, Willy Tarreau w...@1wt.eu wrote: On Fri, Oct 18, 2013 at 11:00:16AM -0400, Aaron Boxer wrote: What type of dev environment are people using for haproxy development? vi ? Any details would be very much appreciated. We can't really call that an environment. Each of us uses his preferred editor. Then you need make/gcc/binutils/gdb/strace/tcpdump/netcat and some hex editor if your protocol is binary. Git is highly recommended. It will help you stay up to date, send fixes and manage up your work as you want. Willy smime.p7s Description: S/MIME cryptographic signature
Can HAProxy use a response header value to redirect to a different URL?
Hi, I am trying to figure out if a solution I am considering is logically/technically viable, not asking for anyone to do my work :-) We have been using a pair of failover HAProxy servers to both balance load across a number of backends in different data centers, as well as to shape traffic coming to our site if the user agent is mobile, and they have not set a cookie to avoid our mobile site, we send them to the home page of our mobile site. As we deploy more responsive pages on the full site (http://my.full.site.com) we want to send that mobile traffic there rather than the dedicated mobile site. We also want to be able to sent request for specific full site page to specific mobile site pages. The use case is as follows: Inbound http request (http://my.full.site.com/specific/URI/page.html) is evaluated to see if the user agent is one of a mobile type (we have an acl to do this). IF mobil is False, THEN request is passed to one of the full site backends and the response is served without further manipulation IF mobile is True, THEN the request is passed to the backend and the response header is evaluated for the presence of two custom response headers (e.g. responsive_page AND mobile_url) IF custom response header responsive_page = True THEN pass the page back to the requester without manipulation IF custom response header mobile_url is populated with an alternate URL (mobile_url : http://my.mobile.com/different-specific/URI/page.html) THEN the request is redirected to that specific mobile_url. ELSEIF Return a Default mobile page (http://my.mobile.com/home.html) At present, all mobile traffic is evaluated, and if mobile is true then it ALL REQUESTS go to a single default mobile page on the mobile server (http://my.mobile.com/home.html). We also want to be able to match some specific page requests to the full site, and respond to those with custom pages on mobile site, rather then the generic default mobile page. If the page developers can populate the responsive_page and mobile_url header response values themselves, then they can migrate pages without having to request proxy changes. I realize I am I taking an inbound request to HAProxy, evaluating the user agent, then if mobile, evaluating the response to HAProxy, and if there is a value in the response header using that to initiate a new backend request response cycle to fulfill the original inbound request. I can see that is a loop. I know it cannot be the most efficient thing, but it would allow us to have custom redirection that can be maintained by the owners of the backend pages. Any feedback would be appreciated. Robert Robert Snyder Outreach Technology Services The Pennsylvania State University The 329 Building, Suite 306E University Park PA 16802 Phone: 814-865-0912 E-mail: rsny...@psu.edu signature.asc Description: Message signed with OpenPGP using GPGMail
Re: HAproxy and detect split-brain (network failures)
Hi, We use Keepalived http://www.keepalived.org/index.html to manage the Virtual IP address management between our two physical HAproxy servers. It maintains heartbeat between the servers, and in the event of failure passes ensures that the VIPs are migrated and the service is brought up. Also handles migration back after a restart of our primary, so that if available, that is the server that owns the IPs. We use Mercurial to manage the configuration files between the two servers to maintain consistency so that we are prepared for consistent fail overs. Robert On Nov 29, 2012, at 8 :02 AM, Baptiste bed...@gmail.com wrote: Hi, This is not HAProxy's role, this is the tool you use to ensure high availability to do that. I could see a way where HAProxy can report one interface failing, maybe this could help you to detect if you're in a split brain situation. cheers On Thu, Nov 29, 2012 at 11:51 AM, Hermes Flying flyingher...@yahoo.com wrote: Hi, I am looking into using HAProxy as our load balancer. I see that you are using a primary/backup approach. I was wondering how does HAProxy (if it does) address split-brain situation? Do you have a mechanism to detect and avoid it? Do you have some standard recommendation to all those using your solution? Thanks Robert Snyder Outreach Technology Services The Pennsylvania State University The 329 Building, Suite 306E University Park PA 16802 Phone: 814-865-0912 E-mail: rsny...@psu.edu
Re: HAproxy and detect split-brain (network failures)
using your solution? Thanks Robert Snyder Outreach Technology Services The Pennsylvania State University The 329 Building, Suite 306E University Park PA 16802 Phone: 814-865-0912 E-mail: rsny...@psu.edu