LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

A couple of questions

To: "'LinuxVirtualServer.org users mailing list.'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: A couple of questions
From: "Randy Paries" <randy.paries@xxxxxxxxxxx>
Date: Tue, 30 Mar 2004 14:08:02 -0600
These may be more apache questions, but I would assume this would be the
place to ask

Conf

1 director
2 real servers

I am using LVS-DR and ldirectord

Question 1::
This is my ldirectord.cf
==========================================
virtual=66.208.187.27:80
        real=192.168.0.203:80 gate
        real=192.168.0.204:80 gate
        fallback=127.0.0.1:80 gate
        service=http
        request="ldirectordping.html"
        receive="Test Page"
        scheduler=wlc
        persistent=1800
        #netmask=255.255.255.255
        protocol=tcp
===========================================

In my httpd.conf on 192.168.0.203 I have 
<VirtualHost 192.168.0.203 >
        ServerName 192.168.0.203
        DocumentRoot /home/unitnet
        ServerAlias unitnet.com
</VirtualHost>

<VirtualHost 66.208.187.27 >
    ServerName test.unitnet.com
    ServerAlias unitnet.com
    ServerAlias flanders.unitnet.com
    DocumentRoot /home/unitnet
</VirtualHost>

I had to do the VirtualHost 192.168.0.203 so ldirectord would work.
Is this what I am suppose to do??

Question 2::
Anyone know how to filter out the ldirectord calls in the log file? (via
httpd.conf)


Thanks for any help

Randy

<Prev in Thread] Current Thread [Next in Thread>