vrrp weight problem

Philipp Päper <[email protected]> Fri, 27 Oct 2006 17:36:57 +0200
Newsgroups gmane.linux.keepalived.announce
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,
I have a problem with vrrp. It seems like the vrrp_script I track only
runs if the weight is positive.

vrrp_script test {
  script "date >> /tmp/test"
  interval 2
}

This script works with:
track_script {
  test weight 2
}
but not with:
track_script {
  test weight -2
}


If I configure an negative weight in the script it also does not run.

vrrp_script test {
  script "date >> /tmp/test"
  interval 2
  weight
}

anyone got an idea whats wrong?

regards
 Philipp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFQieZBStx8VkCW2MRAsyFAJ42ME+61xCPvPGVCIWpknUpxEOQJACfXpJ5
QiCFjujDLaDFEYlpSGFV+XY=
=I8nd
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642