On 04/01/09 10:54, Erik Nordmark wrote:
> Sangeeta Misra wrote:
>> On 04/01/09 10:48, Erik Nordmark wrote:
>>> Sangeeta Misra wrote:
>>>>
>>>>
>>>> Currently every time the machine boots up with ILB service enabled 
>>>> , the user has to manually configure the VIP on the loadbalancer ( 
>>>> this is usually done by running a script) . It would be nice if 
>>>> this was not a manual operation upon every boot
>>>>
>>>> One way to do this would be to make it mandatory for user to 
>>>> specify the interface to configure the VIP on as part of the ilbadm 
>>>> create-rule command ( if I recall currently, that is not mandatory, 
>>>> just optional)  and have ilbd daemon  do the "route add"  and 
>>>> "ifconfig" equivalent  to configure the VIP?
>>>
>>> You could still do this if the interface is unspecified; it means 
>>> that you'd need to determine the interface based on the subnets 
>>> configured on the existing interfaces, and then configure the VIP 
>>> there.
>>>
>>> How do you configure it? Using ifconfig addif, or something different?
>>
>> Right now we manually configure it via ifconfig addif and route add
>>
>> So do you agree that the configuration of VIP should be done by the 
>> ilbd daemon, or should we continue to make this a manual task for he 
>> user at each boot?
>
> Automatic makes sense.
>
> FWIW I don't understand why you need a route add in addition to the 
> addif.

I usually setup the VIP via ARP proxy. So for that I have always don 
this loadbalancer machine: 

        route add -interface <VIP> < IP address of RX nic> 
        arp -s <ether address of RX nic> pub permanent






Reply via email to