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? Erik