CentOS 5 Server :: Configuring Piranha To Load Balance (Direct Route) 2 Ports

Feb 18, 2009

I seem to be having a strange problem configuring Piranha to load balance (Direct route) 2 ports across 2 w2k3 servers in a test environment. What is strange is that 1 of the ports are working fine but the other port doesn't work. I've read many how-to and after many frustrating hours I disabled the firewall, iptables and arptables services and one of the ports are load balanced across the 2 real servers. Here's the environment.

[Code]....

I can telnet from the client to the realserves on both ports and it's works. When I telnet to the VIP only one port gets through and the other gives me "could not open connection to host port 32777 : connect failed. The configuration in Piranha for one port is the same as the other. I can't help but think that some other configuration for port 32777 was missed.

View 1 Replies


ADVERTISEMENT

CentOS 5 Server :: Piranha Load Balancing Floating IP?

May 15, 2011

This is my first time to test piranha and I can't understand couple things:
1. how to setup public floating IP address between active and backup piranha node?
2. does piranha nodes have to run on public IP?
3. how to connect active piranha node with backup nodes?
4. does piranha only support http and ftp?
5. do I need to create common login for load monitor so that piranha could login to real servers and check the load ?
6. what is the hardware requirement for piranha to run on heavy loading site? I am using VMs all the time.
I am using web gui interface with minor file editing, but I prefer done it with GUI. Currently running Centos 5.6 x86_64.

View 3 Replies View Related

Server :: Best Way To Serve Website On Two Ip Address (load Balance)?

Jan 18, 2010

We have a server that needs to be hi availablility.
The problem is, sometimes our internet winks out for a few minutes.

We decided that we wanted to get two seperate lines to our server, and so they would be two different ip addresses.

What out there would allow us to serve apache on www.mywebsite.com on more than one ip, and, if we can, do load balancing?

View 6 Replies View Related

Networking :: Conga - Luci And Ricci : Two-Server Cluster - Load-Balance Achievable?

Mar 2, 2010

I came across this while trying to find a solution for my load-balancing clustering issue in another thread. Since I perceive this as something on its own, I decided to post a new thread. I came across this site to setup a two-server cluster using Conga - Luci and Ricci.

From my understanding, this is what was done:-

1. Both servers have luci running using a shared storage via GFS to provide a failover

2. Both (and same) servers have ricci agent running for the clustering

I'm aware that Conga clustering aim to achieve High-Availability.

1. Can it also achieve Load-Balancing?

2. If yes, would the guide from the link above be sufficient or would they be additional setup/pre-req to be done? Since I'm new to this area and there was no mention of load-balancing, I'm still wondering if this is what I need to incorporate.

View 3 Replies View Related

Networking :: How To Do Load-balance Work As Well

Jan 3, 2010

I'm trying to do a implementation of load-balance with fail-over system using (ip route2 + netfilter), anyway after spent many time on it, I can't do it on my own, I think I'm so close about the solution anyway after check each line 30 times I'm really lost on IT.

View 4 Replies View Related

Ubuntu Servers :: Cluster To Run VM With Load Balance?

Oct 6, 2010

I have two machines fairly decent which I wish to cluster and run a vm (preferred choice virtualbox) on it, if possible with load balance.

View 1 Replies View Related

Networking :: Load Balance Failover 2 ISP On One Ubuntu Router

Jul 3, 2011

I've configuration like this :

Quote:

I try to configure my /etc/rc.local with these setting :

Quote:

But whenever i check my router after reboot, still i can't connect to inet.

View 1 Replies View Related

Software :: Traffic Load Balance Without Additional Hardware?

Mar 12, 2010

I have two Red Hat entreprise Linux 5 servers running the same applications, my goal is to load balance the incoming traffic between these two servers without adding an additional hardware as load balancer, the incoming traffic is basically Web traffic and on the servers, Apache and PHP are running. Red Hat solutions that I found are:

1- LVS
2- Piranha
3- Red Hat cluster suite.

Can LVS run on one of the real servers (or both servers, for redundancy issues) and load balance the traffic between its server and the other one? If yes, will LVS has a big impact on the CPU/memory usage? How can I estimate this usage if I know how much traffic is coming and the HW specs?

Can I install Red Hat cluster suite on these two servers, and configure it in a way that the virtual IP is on different server for different request (taking in consideration that the same session will be always served by the same server)?Finally, is there any other/better solution that can fit my requirements to load balance the traffic without additional hardware?

View 2 Replies View Related

Software :: Does Not Load Balance Equally Between The Backend Servers

Apr 14, 2010

I used both pound and nginx as load balancers. With pound I had issues with SSL websites so I moved to nginx. With nginx I have the problem that it does not load balance equally between the backend servers.

I remember hearing something about another load balancing web server but I forgot its name.

Does anyone know other alternatives to nginx/pound?

View 1 Replies View Related

General :: User Processes That Are Given Direct Access To I/O Ports ?

Oct 5, 2010

Normally all I/O goes through the kernel so that it can schedule the operations and prevent processes from stepping on each other. A few special user processes are allowed to slide around the kernel, usually by being given direct access to I/O ports. X servers are the most common example of this isn't it ? give examples for any other processes that are allowed to slide around the kernel ?

View 3 Replies View Related

Ubuntu Networking :: Load Balance Or Aggregate(combine) Internet Connections

May 12, 2010

My problem is that I would like to load balance or aggregate 2 separate Internet connections on my laptop. Currently a hard line ISP is not available so I'm using an Sierra Wireless 885 USB air card. Thing is the card is quite slow. I also can tether an iPhone to the laptop. The ideal solution would be to have both connections being utilized to help speed up the overall experience, even if it is only a modest gain in speed.

as I do not know much about iptables and basic TCP/IP routing, I'm finding it difficult to implement those solutions. If someone can point me in the right direction ( a slightly dumb down how:to? or better explained? )

BTW, both phone and aircard get dynamic IP's. Running Ubuntu 10.4

View 6 Replies View Related

CentOS 5 Server :: Direct Download To Spamassassin-3.3.1-3el5.rf.i386.rpm?

Mar 17, 2011

Anyone know what version of spam assassin is newer 3.3.1-3 or 3.3.1-52 I would assume 52 is newer but I don't know if once it reaches 99 it going to 2 Example 3.3.1-99 ---- 3.3.1-2 -----3.3.1-21 and so on. I could be completely off but can anyone just clarify if 3.3.1-3 is newer or older than 3.3.1.52

(On a side note does anyone know the difference between spamassassin-3.3.1-3.el5.rfx.i386.rpm and spamassassin-3.3.1-3.el5.rf.i386.rpm?? What does the X mean?) I looked at the release date of .52 and it seems to be in march 2010 whereas .1-3 seems to be in november. oes that seem correct? Does anyone have a direct download to spamassassin-3.3.1-3el5.rf.i386.rpm???

View 6 Replies View Related

CentOS 5 Server :: Error - Ssh: No Route To Host

May 25, 2010

I installed ntop on our server, after installing it, i ran ntop as a daemon. shortly after we lost the ability to ssh into the server.tried restarting ssh, but it didn't work, so had to restart the entire server.Where should we look to find why ssh suddenly stopped?

the error ssh gave when we try to connect was like: ssh: no route to host what log files should i look at and what should i look for to find the cause of the error?

View 8 Replies View Related

CentOS 5 Networking :: Can't Route Between Server And Other LAN Host

Feb 1, 2011

I'm setting up apache on centOS 5.5 and administering it from another host on my LAN(this web server has no Xorg). I can ping from the config host to the web server but not the other way. My network is quite a way from being set up so i'm just configuring the web server at the moment, the simplest way i can. It's just trying to get two LAN hosts both with 192.168.1.0/24 I.Ps to talk to each other using a router to connect them.

Here are the outputs of ifconfig and netstat -rn for the web server, the config host and the router:

The ifconfig -a and netstat -rn of the config host are:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1

[code]....

View 5 Replies View Related

Networking :: Configuring Two Ethernet Ports?

Apr 16, 2010

I have a system with one (sometimes two) ethernet ports, that works happily in an old Fedora 5 build. But I can't get it to work on a new Centos 5.4 build. Original system: One dedicated ethernet port on card always connected to the systems dedicated equipment and no external access (the system is the DHCP master for that network). An optional second USB dongle that is a second ethernet port, used for debugging and development. (This is a DHCP client with full conectivity. In /etc/sysconfig/network-scripts I have ifcfg-eth0, ifcfg-eth1 and a route-eth0. Neither of the ifcfg files needs an explicit HWADDR, which means the same ones work for all boxes. And when one needs to be connected to the network all is fine.

The system is being moved to Centos 5.4, most is working with minimal change, but I am having problems with the ethernet ports. If it only has the on board ethernet connected, all is fine. If you have the USB dongle connected things go wrong: This system brings up the USB ethernet first, and tries to assign it to eth0 (which fails), and then brings up the on board ethernet as eth1 (which also fails). I have tried forcing the behaviour of the network by setting the HWADDR(s), but this does not result in the on board coming up as eth0, it comes up as __tmpxxxx as follows:

ifconfig -a
__tmp226406138 Link encap:Ethernet HWaddr 00:80:66:07:A8:63
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000

[Code]...

Currently the only solution is to unplug the USB dongle through restart and plug in afterwards, and this wont work when the unit is remote and in the field.

View 14 Replies View Related

Networking :: Load Balancer With Direct Routing - LVS-DIR

Jul 16, 2010

I am working on a load balancing project. The type of routing I am implementing is direct routing (LVS-DIR).

The following is a script that sets up the Linux Virtual Server (LVS) or the load balancer:

On both, the LVS and Real Server 1, the firewalls (iptables) are not running.

A few questions I have are:
1) On the LVS, is apache supposed to be running?
2) If so, what would be the ServerName for apache on the LVS?
3) What would be the ServerName for apache on the real server1, is it the server real IP or the VIP?

When I try to access the web content on real server1 in a browser on the LVS, I get Failed to Connect. A connection to the server cannot be established.

The load balancer has two NICS, eth0 and eth1. The real servers will connect to the load balancer via eth1, and the client will connect via eth0.

View 6 Replies View Related

Networking :: Configuring Iptables To Locally Translate Some Ports?

Apr 27, 2011

Because my ISP is blocking every IP port under 1000, I'd like my local nat'ed server to be able to translate incoming and outgoing traffic from some port above 1000 to the default server port locally.Example :

To connect to my IMAP server (default port : 143) from the outside,I'd connect to my public IP, port 1143 (opened and nat'ed to the right server on my router) and the server would translate this port to 143 on the same machine.I wish I could simply configure my router to do that but sadly Linksys doesn't permit such setting... I also could modify the listening port of my server but I prefear to keep the default port inside my network.I think that iptables is the right tool to do that and I never used it and I must say that this tool is not so easy to configure at first sigh

View 5 Replies View Related

Networking :: Set A Route For Eth1 - DHCP Clients - To Reach Tun0 - Openvpn Server - CentOS

Sep 21, 2010

I have openvpn tunnel setup between two CentOS servers. One of the CentOS servers also acts as a DHCP server for some client computers.

Server A= OpenVPN server
Server B= OpenVPN client (connects to Server A with OpenVPN)

The two CentOS servers can ping each other (172.16.0.0/24) via the tun0.

However, client computer connected to Server B (DHCP server) can't reach 172.16.0.1 (which is the OpenVPN server).

I think I am missing some routing in my "ip route show". Following is the full picture:

What command can I issue to get this fixed? something along ip route add?

There is no firewall service on both end. service iptables stop! I can't bridge eth1 and tun0 as DHCP server might mess up the other side. I can't do a push of "redirect-gateway def1" because then clients loose their IP as they send DHCP requests to Server A.

View 2 Replies View Related

Ubuntu Networking :: Could Not Load A Single Page, Except Pages With Direct IPs?

Jan 14, 2010

Excuse me if such thread exists already, i carefully searched the forum so i wont create a second one concerning the following problem:So i downloaded (on my new fresh Fujitsu SIEMENS Li3710 running Vista the Ubuntu 9.04 distro.. im a complete Linux noob, but i wanted to give it a second try) so i downloaded it and burned it on the fast laptop, so there wont be any errors caused by low memory during burning I installed and then i went to the Ubuntu desktop - i had all drivers installed. Everything but Amarok sound worked, i turned off my laptop and went doing my job.. The next time i started up my laptop and went on the desktop .. a tradition is to browse the web, so i did that and i couldnt load a single page, except pages with direct IPs i had Skype working just fine and i had a friend there running SuSe and asked him for help. We identified it as a DNS problem, but because of my noobness i couldnt deal with it and i HAD TO switch back to windows, wich i regret so much.

I know that im a noob, but if i have an internet running at its best i can look at forums and resolve my other issues, so im asking for a screenshots on DNS settings so i can fix it the next time i install Ubuntu.Also! I was using cable via PPPoE (and the only terminal command i know is "sudo pppoeconf" ), now im with router, connecting my laptop directly via WI-FI, will i have the same problem and will i have to make settings so i can connect to my router? Because back then i tried to connect to wireless networks and the ones i could connect on XP/Vista/7 i simply couldnt connect on Ubuntu...I really want some real PC knowledge and to use Linux

View 4 Replies View Related

CentOS 5 :: Edit The Iptables To Include Some Ports/ip For Openfire Server?

Jun 16, 2010

I am trying to edit the iptables to include some ports/ip for openfire server. The problem is the computer is very locked down with permissions...I logged in as ROOT with ID 0.Now the iptables has ROOT for permission BUT ID 1 which reflects BIN.As root i cant edit or chmod/chown the iptables. Here is what i tried:

1. change password of BIN - successfully changed with no errors BUT still cant su BIN with the new password...

2. tried changing the ID of ROOT to 1 but I dont have permission to use the command....

so anything i can do here??? I dont have permission with Shadow either...

View 3 Replies View Related

CentOS 5 Server :: Configuring Fonts In Non X-Window System?

Feb 10, 2009

Am using Icefaces1.7.2 in tomcat5.5.23 in Centos5( jdk 1.6.06 and jre 6u11 and no X window system in my server ).. Am getting the error(java.lang.Error: Probable fatal error: No fonts found) when am using the functions getFontMetrics() and drawString() methods in my Captcha Image Generation programs. I am only using the fonts that me retrieved using ge.getAllFonts() ( i.e., the fonts available in the system ).

View 6 Replies View Related

CentOS 5 Server :: Configuring Email Aliases Per Domain?

May 13, 2009

I've got a server with several different virtual hosts on them, e.g. host1.com, host2.com, host3.com.

Is there a way I can set up an email alias just for an individual domain?

e.g. I want to set up help@host2.com, but not to have help@host1.com or help@host3.com.

I can't see how to do this in the /etc/aliases file...

View 2 Replies View Related

CentOS 5 Networking :: Configuring DHCP Server With Two NICs?

Mar 31, 2011

configuring DHCP server with two NICs. I need DHCP server with 2 NICs:

eth1 - 192.168.103.11
eth2 - 192.168.123.11

The client also has two NICs and suppose to receive ip addresses eth1 from 192.168.103.0 and eth2 from 192.168.123.0 Here is the dhcpd.conf from dhcp server:

ddns-update-style interim;
authoritative;
ignore client-updates;

[code]....

View 2 Replies View Related

General :: Full Steps Of Configuring Mail Server In CentOS 5.5?

Jan 17, 2011

full steps of configuring mail server in CentOS 5.5.

View 4 Replies View Related

CentOS 5 Server :: Configuring Alias Phpmyadmin In Virtual Host?

Nov 10, 2010

i have linux server application based on centos 5 that run httpd daemon from /usr/local/pf/conf/httpd.conf which is generated from the /usr/local/pf/conf/templates/httpd.conf.apache22 file

the problem is every time i run my linux server application i am not able to access phpmyadmin unless i stop my linux server application which is stop it httpd daemon then start "service httpd start"

i have been told by forum moderator to create an alias for my phpmyadmin in Virtual Host but it stil dont work, i am not able access my phpmyadmin site

this is what i have done to solve this problem

- open /usr/local/pf/conf/templates/httpd.conf.apache22 file then look for <VirtualHost *:%%admin_port%%>
- add Alias /phpmyadmin "/usr/share/phpmyadmin" (Failed)
- add Alias /phpmyadmin /usr/share/phpmyadmin (Failed)
- add Alias /phpmyadmin "/usr/share/phpmyadmin/" (Failed)

[Code]....

NB : my phpmyadmin is install on /usr/share/phpmyadmin with /etc/httpd/conf.d/phpmyadmin.conf as phpmyadmin configuration file

why i still cant open my phpmyadmin site ? or why i cant run phpmyadmin together with my linux server application because it use the same daemon (httpd daemon)

View 1 Replies View Related

Networking :: Iproute2 Load Balancing Without Default Route?

Jan 12, 2011

I'm trying to set up load balancing using iproute2 following this guide. I've got 4 dsl links as follows:

eth1 - 100.100.100.1
eth2 - 100.100.100.2
eth3 - 100.100.100.3
eth0 - 111.111.111.111 (main uncapped line)

eth0 is the default route, and eth3 is being used for something else. So what I want to do is load balance browsing between eth1 and eth2. I've added all of the routes in the LARTC guide, but the command to enable the load balancing:

Quote:

ip route add default scope global nexthop via $P1 dev $IF1 weight 1 nexthop via $P2 dev $IF2 weight 1 obviously involves creating a new default route. Since I'll be using Squid to push the traffic through the relevant line, how can I set up a load-balanced link for eth1 and eth2 without changing the existing default route on the server?

View 1 Replies View Related

Debian Configuration :: VPN PPTP Load On Start And Route All Traffic Through Ppp0?

Mar 28, 2016

I am in serious situation involving PPTP protocol VPN in Debian 8 Jessie stable. I recently became a paid VPN subscriber. Using PPTP; Is there a way to automatically route all traffic through ppp0? Im getting the vpn service killed (ip address goes back to normal unmasked state) whenever there is a power outage (modem reset) and there are alot of those where I live, Im going to get astabilizer and I need a software solution for the situation as well. Theres gotta be a way to route all traffic through the VPN route ppp0 . I tried adding persist and maxfail 0 to the pptp config file but it did not do what i wanted.

Here's my peer configuration file :

pty "pptp blabla.net --nolaunchpppd"
name blablabla
password blablabla
remotename PPTP
file /etc/ppp/options.pptp
require-mppe-128
refuse-eap noauth
persist
maxfail 0

On a second note, its clear to add that I basically need a way to also auto load the line

pppd call blabla.net
and
route add default dev ppp0

On system startup by default so the computer does not use "Wired" connection ^at all^ when not through ppp0. Any other way of not losing VPN anonymity ever due to hardware malfunction.

Is there a way to do this? Ive looked on the net and everything seems like its either from the nineties or can fry my pc , Im no debian expert, less than a year at linux..

Need it to use wired only if ppp0 is being used so if its no vpn, no connection at all period,

View 1 Replies View Related

CentOS 5 Server :: Improve Server Speed On Servers With Heavy Load?

May 4, 2009

There is a tool appeared in repository called ktune; The purpose is to adjust some sysctl.conf settings to improve server speed on servers with heavy load. What is this tool for if one can achieve the same with the configuration file added to system startup? Or ktune is just such file?

View 1 Replies View Related

CentOS 5 :: Direct PXE Boot To Specific NIC?

Aug 27, 2011

[code]...

What/where is this eth0 interface? Is it possible I can direct PXE boot to use different interface?

View 1 Replies View Related

CentOS 5 Server :: Cp Directory Recursively With Load Check?

Nov 21, 2010

how the bash script should look to copy huge directory with multiple sub-folders to a new place place while checking load and stopping for several seconds if load reached lets say 3 or 4 ? I only know the simple command cp -r /dir/allfiles /dir/newplace However would like to copy over 30 000 files which will cause me a high load.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved