Bowie Bailey wrote:
> I did this:
> ipvsadm -a -t 172.16.17.30:80 -r 172.16.17.168:80 -g -w 0
>
> and it gave me an error:
> setsockopt failed: File exists
> Destination already exists
well what do you know. I've never done this. You can't change weights without
first deleting the entry.
I deleted an entry, reinstalled it with weight 0
and couldn't connect (as expected), then deleted the entry and reinstalled
with weight 1 and now could connect.
I can't beleive no-one has mentioned this before
Wensong, Horms,
Is this a new feature?
Could we arrange for ipvsadm to handle changing weights internally
so that it can be done in one step?
Joe
--
Joseph Mack PhD, Senior Systems Engineer, Lockheed Martin
contractor to the National Environmental Supercomputer Center,
mailto:mack.joseph@xxxxxxx ph# 919-541-0007, RTP, NC, USA
|