Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th June 2009, 19:35
Torsson Torsson is offline
Member
 
Join Date: Mar 2006
Posts: 62
Thanks: 0
Thanked 3 Times in 3 Posts
Default Problem with. How To Set Up A Loadbalanced High-Availability Apache Cluster

Hi i got a problem with the guide

How To Set Up A Loadbalanced High-Availability Apache Cluster

it dosent redirect to the virtual ip address and ipvsadm -L -n gives me this

Quote:
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 192.168.1.106:80 rr
-> 192.168.1.35:80 Route 0 0 0
-> 192.168.1.38:80 Route 0 0 0
-> 127.0.0.1:80 Local 1 0 5

My configuration

/etc/ha.d/ha.cf
logfacility local0
bcast eth0 # Linux
mcast eth0 225.0.1.1 694 1 0
auto_failback off
node wendecoserver1
node wendecoserver2
respawn hacluster /usr/lib/heartbeat/ipfail
apiauth ipfail gid=haclient uid=hacluster


/etc/ha.d/haresources
wendecoserver1 \
ldirectord::ldirectord.cf \
LVSSyncDaemonSwap::master \
IPaddr2::192.168.1.106/24/eth0/192.168.1.255

/etc/ha.d/ldirectord.cf
checktimeout=10
checkinterval=2
autoreload=no
logfile="local0"
quiescent=yes

virtual=192.168.1.106:80
real=192.168.1.38:80 gate
real=192.168.1.35:80 gate
fallback=127.0.0.1:80 gate
service=http
request="ldirector.php"
receive="Connected to MySQL"
scheduler=rr
protocol=tcp
checktype=negotiate


Can anybody help me. need the servers to be redy and functional in a few days and fly them to stockholm to the server center :$
Reply With Quote
Sponsored Links
  #2  
Old 25th June 2009, 20:45
Torsson Torsson is offline
Member
 
Join Date: Mar 2006
Posts: 62
Thanks: 0
Thanked 3 Times in 3 Posts
 
Default Problem solved

I found the problem. i had wrong name of the php file to check
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
yum issues el-sid Installation/Configuration 4 10th August 2011 11:01
ISPConfig Squid or Apache - Where is my problem toolswizard Installation/Configuration 1 5th March 2009 10:54
Joining High avalibilty Apache Cluster (Based on Ubuntu 8.10/8.04) and File server razor92 HOWTO-Related Questions 1 9th February 2009 20:22
Virtual users... Ubuntu 8.04 spaceuser HOWTO-Related Questions 12 19th June 2008 08:04
questions for SuSE 10.1 and Apache cluster petros Installation/Configuration 2 28th May 2008 11:18


All times are GMT +2. The time now is 11:47.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.