Thu Jul 20 07:46:58 PDT 2006
- Previous message: [Slony1-general] Possible upgrades to the FreeBSD rc script
- Next message: [Slony1-general] Patch for check_slony_cluster.sh
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
tools/check_slony_cluster.sh does not work as distributed with Slony 1.1.5 (I've been trying to check cvs, but gborg appears to be down). The patch below makes the script work for me. It's not my fix: it was provided via IRC: 36,37c36,37 < when errcount = 0 then 'OK - '||ttlcount||' nodes in sync' < else 'ERROR - ONLY '||ttlcount-errcount||' of '||ttlcount||' nodes in sync' --- > when ttlcount = okcount then 'OK - '||okcount||' nodes in sync' > else 'ERROR - '||ttlcount-okcount||' of '||ttlcount||' nodes not in sync' 45c45 < -- determine active nodes not syncing within 10 seconds --- > -- determine active nodes syncing within 10 seconds 55c55 < where cfmdelay < interval '-10 secs') as errcount --- > where cfmdelay < interval '10 secs') as okcount -- Bill Moran Collaborative Fusion Inc. **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. ****************************************************************
- Previous message: [Slony1-general] Possible upgrades to the FreeBSD rc script
- Next message: [Slony1-general] Patch for check_slony_cluster.sh
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list