Linux Virtual Server

Discussion in 'HOWTO-Related Questions' started by kaushalshriyan, Apr 29, 2009.

  1. kaushalshriyan

    kaushalshriyan New Member

    Hi,

    I have been following your howto http://www.howtoforge.com/high_availability_loadbalanced_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
     
  2. falko

    falko Super Moderator ISPConfig Developer

    You're using the wrong IP - you must use 172.20.0.10 here (your virtual IP).
     

Share This Page