Sponsored Content
Top Forums Web Development Resource based http load balancing Post 302577322 by STOIE on Monday 28th of November 2011 06:43:17 PM
Old 11-28-2011
Resource based http load balancing

Hi all,

I am looking for a solution to the following issue.
Basically, we are going to be implementing a series of front end splunk search heads (basically IO intensive web servers).
And wish to automatically redirect a new connection to the search head from the pool with most available resources (ie. least load).

I would like to be able to do this via an apache based load balancing solution, as I have used it in the past. However, not sure how to go about balancing by available resources.

I have a strong knowledge in SNMP and Apache so, if there is anyway to do it, I am sure I could tackle it.

Cheers guys,
Aaron.

---------- Post updated at 10:43 AM ---------- Previous update was at 09:52 AM ----------

As I can't find anything I am now looking into modifying a sub module for the mod_proxy_loadbalancer module.

I found the sub module to work off of here:
asf - Revision 1207701: /httpd/httpd/trunk/modules/proxy/examples

Do you think I am working in the right direction?

I know alot of perl/bash but, no C... so, I am now twidling in that... :S
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Question about load balancing

If you have two or more servers load balancing, are the servers mirroring one another? If images, etc., are uploaded, will they be stored on all the servers so that if one server goes down, the images will be served up by another server? (1 Reply)
Discussion started by: wvmlt
1 Replies

2. Ubuntu

perlbal and load balancing

Hi guys, I wonder if someone would be able to assist with my problem. I have just set up a load balancer for a company I am working for. HTTP redirection is working fine, however they also want to load balance SSH and FTP too. At the moment the perlbal config looks like; CREATE POOL webhttp ... (1 Reply)
Discussion started by: JayC89
1 Replies

3. Solaris

Load balancing with IPMP

Is it possible to do a load balancing ( incoming and outgoing )with with IPMP in solaris 10 like sun trunking ? If yes what are the steps involved in it , i know how to do the failover IPMP both link based and probe based but i 'm looking for possible load balancing (3 Replies)
Discussion started by: fugitive
3 Replies

4. Web Development

Load Balancing in Apache

Hi All, I have one webserver which has an application for a set of internal users can be accessed by _http://server1.com I am planning to load balance this application. For that I have cloned this server and build a new one which can be accessed using _http://server2.com]Server2.com. Also i... (2 Replies)
Discussion started by: Tuxidow
2 Replies

5. UNIX for Advanced & Expert Users

High availability/Load balancing

Hi folks, (Sorry I don't know what its technology is termed exactly. High Availability OR load balancing) What I'm going to explore is as follows:- For example, on Physical Servers; Server-1 - LAMP, a working server Server-2 - LAMP, for redundancy While Server-1 is working all... (3 Replies)
Discussion started by: satimis
3 Replies

6. Linux

HTTP load balancing.

Hi, We have 2 pools of servers. Lets call them A and B and they would contain 2 servers each. Pool A will be hosting www.example.com/app/v1 and pool B will be hosting www.example.com/app/v2. Clients will be requesting right url (/v1 or /v2) but will be hitting just one IP. I'd like to: 1)... (3 Replies)
Discussion started by: chrisfb
3 Replies

7. IP Networking

Load Balancing ppp

Hello everybody How can i Load Balance two slow ppp(gprs) connections with iptables . (4 Replies)
Discussion started by: rink
4 Replies

8. UNIX for Advanced & Expert Users

Help in MQ load balancing

Hi, Currently we have 3 old and 3 new servers catering to Live traffic. As my component move from legacy interfaces to MQ one, we want to have load balancing of old interfaces available on MQ interface as well. For this, we want to send only 30% of all MQ traffic on 3 OLD Live servers, and want... (1 Reply)
Discussion started by: senkerth
1 Replies

9. UNIX for Advanced & Expert Users

Load balancing in Autosys

Hi, I am working on development project where I have to migrate many jobs from Tidal to Autosys R11. During this project we came across the following requirements. 1. There are 3 real machines. There could be many jobs activated simultaneously, but only one job should execute at a time and... (0 Replies)
Discussion started by: sujeetp
0 Replies

10. Shell Programming and Scripting

Load Balancing in UNIX

Dear All, Can any one help me for this request? There is a case. I have 20 files which I need to FTP to 5 servers. I want to know if there is any possibility to make a load balancer which transfers files in round robin manner to 5 servers. As per theoretical algorithm, what I think, flow can... (9 Replies)
Discussion started by: Zaib
9 Replies
MP_SetLogicalUnitLoadBalanceType(3MPAPI)	   Common Multipath Management Library Functions	  MP_SetLogicalUnitLoadBalanceType(3MPAPI)

NAME
MP_SetLogicalUnitLoadBalanceType - set a load balancing policy SYNOPSIS
cc [ flag... ] file... -lMPAPI [ library... ] #include <mpapi.h> MP_STATUS MP_SetLogicalUnitLoadBalanceType(MP_OID logicalUnitoid, MP_LOAD_BALANCE_TYPE loadBalance); PARAMETERS
logicalUnitOid The object ID of the multipath logical unit. loadBalance The desired load balance policy for the specified logical unit. DESCRIPTION
The MP_SetLogicalUnitLoadBalanceType() function sets the multipath logical unit's load balancing policy. The value must correspond to one of the supported values in MP_PLUGIN_PROPERTIES.SupportedLogicalUnitLoadBalanceTypes. RETURN VALUES
MP_STATUS_INVALID_OBJECT_TYPE The logicalUnitOid does not specify any valid object type. This is most likely to happen if an uninitialized object ID is passed to the API. MP_STATUS_INVALID_PARAMETER The loadBalance is invalid or logicalUnitOid has a type subfield other than MP_OBJECT_TYPE_MULTIPATH_LU. MP_STATUS_OBJECT_NOT_FOUND The logicalUnitOid owner ID or object sequence number is invalid. MP_STATUS_SUCCESS The operation is successful. MP_STATUS_FAILED The specified loadBalance type cannot be handled by the plugin. One possible reason for this is a request to set MP_LOAD_BAL- ANCE_TYPE_PRODUCT when the specified logical unit has no corresponding MP_DEVICE_PRODUCT_PROPERTIES instance (i.e., the plugin does not have a product-specific load balance algorithm for the LU product). MP_STATUS_UNSUPPORTED The implementation does not support the API. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard: ANSI INCITS 412 | | |Multipath Management API | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+ SEE ALSO
libMPAPI(3LIB), attributes(5) Multipath Management API Version 1.0 SunOS 5.11 15 Feb 2006 MP_SetLogicalUnitLoadBalanceType(3MPAPI)
All times are GMT -4. The time now is 04:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy