
dejanmm at fastmail
Aug 13, 2009, 1:34 AM
Post #1 of 1
(531 views)
Permalink
|
|
Re: [Linux-HA] Linux-HA Script for DB2
|
|
Hi, On Fri, Aug 07, 2009 at 10:38:05AM +0200, teck wrote: > Hi all, i'm using Alan Robertson linux-ha script for DB2. > > A few days ago, our database team has migrated their version of DB2 from 9.1 > to 9.5 and now the script fails to startup the database. > > I think the troubles are at lines 247/248 of db2 script: > > pscount=`runasdb2 $db2bin/db2_local_ps | cut -c9- | grep ' db2[^ ]' | wc > -l` > test $pscount -ge 5 > > At version 9.5 DB2 runs with threads instead of processes, and then pscount > -ge 5 sentence fails. > > Is there any update of this script to make it working with DB2 9.5 No. > or > everyone makes their own/personal modification to this script ? I hope not :) Unfortunately, I don't have a db2 instance to test things. Perhaps you can provide the output from runasdb2 $db2bin/db2_local_ps And a good way to find out the db2 version running :) Also, I'm not sure why the test was for more than 5 processes. Perhaps it would be best to open a bugzilla for this issue. Thanks, Dejan > Thanks in advance _______________________________________________________ Linux-HA-Dev: Linux-HA-Dev [at] lists http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
|