# HG changeset patch
# User Holger Teutsch <[email protected]>
# Date 1288857217 -3600
# Node ID 554ebfef6e9513178ea04cc4093710b65311934a
# Parent  778e9bcc750fbe85792216a899a49823849f6c5d
Don't let the start method fail when a client connects faster to the db than we 
activate the db
i.e.
SQL1494W  Activate database is successful, however, there is already a 
connection to the database
is success and not failure

diff -r 778e9bcc750f -r 554ebfef6e95 heartbeat/db2
--- a/heartbeat/db2    Tue Nov 02 12:04:05 2010 +0100
+++ b/heartbeat/db2    Thu Nov 04 08:53:37 2010 +0100
@@ -202,7 +202,7 @@ db2_start() {
 ocf_log info "DB2 UDB database $DB activated"
 else
 case $output in
-        SQL1490W*|*"already been activated"*)
+        SQL1490W*|SQL1494W*|*"already been activated"*)
 ocf_log info "DB2 UDB database $DB already activated: $output";;
 
 *) ocf_log err "DB2 UDB database $DB didn't activate: $output"; return 
$OCF_ERR_GENERIC;;
___________________________________________________________
GRATIS! Movie-FLAT mit über 300 Videos. 
Jetzt freischalten unter http://movieflat.web.de
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to