#1  
Old 29th April 2009, 14:02
kaushalshriyan kaushalshriyan is offline
Junior Member
 
Join Date: Apr 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Linux Virtual Server

Hi,

I have been following your howto http://www.howtoforge.com/high_avail...apache_cluster
Couple of questions

I have the below setup

loadb1 - 172.20.0.11(Primary Active Node)
loadb2 - 172.20.0.12 (Secondary Standby Node)
apache1 - 172.20.0.13
apache2 - 172.20.0.14
Virtual IP - 172.20.0.10

I have added the Virtual IP as "loadb1 IPaddr::172.20.0.10/24/eth0" in haresources.
I have added the below in /etc/network/interfaces for both apache1/apache2 web servers.

auto lo:0
iface lo:0 inet static
address 192.168.0.105
netmask 255.255.255.255
pre-up sysctl -p > /dev/null

When i do ifup lo:0 the machine gets freezed. I am not able to connect from my laptop whose IP is 172.20.0.15

Please suggest and guide me

Thanks and Regards

Kaushal



Please suggest and guide

Thanks and Regards

Kaushal
Reply With Quote
Sponsored Links
  #2  
Old 30th April 2009, 16:32
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
 
Default

Quote:
Originally Posted by kaushalshriyan View Post
auto lo:0
iface lo:0 inet static
address 192.168.0.105
netmask 255.255.255.255
pre-up sysctl -p > /dev/null
You're using the wrong IP - you must use 172.20.0.10 here (your virtual IP).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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
php Apps email not going through palkat General 8 21st September 2011 05:35
Apache LoadBalanced, Ldirector. eterzella HOWTO-Related Questions 6 7th February 2009 15:43
Linux virtual server on Amazon Elastic Cloud gr_raotv HOWTO-Related Questions 1 6th December 2006 17:04
KErnel not showing all my memory Jorem Kernel Questions 8 13th April 2006 12:59
Just a Couple of Questions brainz Installation/Configuration 9 2nd March 2006 10:02


All times are GMT +2. The time now is 05:45.


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