| Branch: | Tag: | Revision:

root / tools / master-ip-setup @ 65b526e7

History | View | Annotate | Download (3 kB)

# Date Author Comment
9d7e8218 12/03/2013 12:05 pm Petr Pudlak

master-up-setup: Ping multiple times with a shorter interval

In the case of network problems, one ping packet can possibly get lost.
Sending multiple packets is safer. The interval between packets is set
to 200ms so that the check finishes faster.

Signed-off-by: Petr Pudlak <>...

71b75e7a 12/02/2013 03:38 pm Petr Pudlak

Add a packet number limit to "fping" in master-ip-setup

This fixes issue #630. Apparently there is a bug in fping 3.5 where it
loops forever without "-c" given an unreachable host, even though
"-c 1" should be the default according to the man page.

The "-c" flag works on Squeeze. Checking the man pages on the Internet,...

7f965aea 05/17/2013 08:53 am Thomas Thrainer

Don't fail to deactivate master IP if already down

The master IP setup script now checks if the master IP is actually
configured on the machine before trying to remove the IP.

This fixes issue 460.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Guido Trotter <>

d9eefcfa 11/14/2011 05:17 pm Andrea Spadaccini

Add the default master-ip-setup script

Add a shell script that will be the default replacement for the body of
backend.ActivateMasterIp and backend.DeactivateMasterIp.

Signed-off-by: Andrea Spadaccini <>
Reviewed-by: Michael Hanselmann <>