Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: linux-ha by sunjd from

2006-06-30 Thread Sun Jiang Dong
lt of configuring for distinguishing the package names, although they are for running requires. -- BRs, Sun Jiang Dong ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/

Re: [Linux-ha-dev] lrmd

2006-06-27 Thread Sun Jiang Dong
ing grown through accretion, and of now needing a bit of a spring-clean (as Alan's comments suggest). It is some 4,500 lines long... which feels rather excessive. How would one set about trying to apply some maintenance to it? (Back to the documentation question!) Good advice, I'll

Re: [Linux-ha-dev] Re: Coverity deadcode result in stonithd

2006-06-20 Thread Sun Jiang Dong
Alan Robertson wrote: Sun Jiang Dong wrote: Lars Marowsky-Bree wrote: Hi sunjd, Coverity diagnosed a deadcode path in stonithd_lib.c, and I thought that might be of interest to you. Thanks! sound a cool tool, will download one and try it. At stonithd_lib.c:194 (stonithd_signon()), rc

[Linux-ha-dev] Re: Coverity deadcode result in stonithd

2006-06-20 Thread Sun Jiang Dong
Lars Marowsky-Bree wrote: On 2006-06-20T17:34:44, Sun Jiang Dong <[EMAIL PROTECTED]> wrote: Coverity diagnosed a deadcode path in stonithd_lib.c, and I thought that might be of interest to you. Thanks! sound a cool tool, will download one and try it. You can't download it,

[Linux-ha-dev] Re: Coverity deadcode result in stonithd

2006-06-20 Thread Sun Jiang Dong
rmally I don't like 'goto'. ;-) And I guess the code reader would like a direct and short result 'return' more than 'goto' as possible. Sincerely, Lars Marowsky-Brée -- BRs, Sun Jiang Dong ___ L

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: lib by sunjd from

2006-06-19 Thread Sun Jiang Dong
d btw, it's still logging exactly the same error message for two error legs - is that right?) Sincerely, Lars Marowsky-Brée Sorry for not paying attention to the first mail. The log should be DEBUG at most time (but too frequent and common), and should b

Re: [Linux-ha-dev] Code cleanup?

2006-05-18 Thread Sun Jiang Dong
from one the few code reviews we have done. Just wanted to put them back on everyones radar ;-) Valuable check! I'll investigate those in my radar. ;-) Sincerely, Lars Marowsky-Brée -- BRs, Sun Jiang Dong ___ Linux-HA-Dev: Li

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: lib by sunjd from

2006-05-12 Thread Sun Jiang Dong
ff, 1, BUFF_LEN - 1, file); if (0http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/

[Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: cts by sunjd from

2006-04-20 Thread Sun Jiang Dong
;"" ] ___ Linux-ha-cvs mailing list Linux-ha-cvs@lists.linux-ha.org http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs -- BRs, Sun Jiang Dong ___ Linux

Re: [Linux-ha-dev] BadNews

2006-03-28 Thread Sun Jiang Dong
Andrew Beekhof wrote: On 3/29/06, Sun Jiang Dong <[EMAIL PROTECTED]> wrote: Andrew Beekhof wrote: I'm pretty sure this doesn't need to be an error. In fact I doubt it needs to be logged at all. stonithRA is a virtual resource based on SOTNITH plugin, normally under

Re: [Linux-ha-dev] BadNews

2006-03-28 Thread Sun Jiang Dong
Page: http://linux-ha.org/ -- Best Regards, Sun Jiang Dong ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/

Re: [Linux-ha-dev] "lrm/test/simple_ops": two coding bugs

2006-03-27 Thread Sun Jiang Dong
; also contains the line: if [ ! -e /etc/init.d/Dummy-lsb ]; then The "-e" test is not portable across UNIX systems. It would be better as "-r" or "-f" or similar. Could the custodian of "lrm/test/simple_ops" investigate, please? Hope that helps. --

Re: [Linux-ha-dev] HeartBeat for Solaris

2006-02-20 Thread Sun Jiang Dong
Solaris 9 for x86 or sparc? If for x86, maybe I can have a try to build it. Ngin, Chhing wrote: Hi, Does anyone of you know where I can download a binary of HeartBeat for Solaris 9? I'd like to set it up and evaluate it. I'm not a developer. Thanks for your help! Best Regards, Chhing Ngin S

Re: [Linux-ha-dev] http://linux-ha.org/CVS is empty now!

2006-01-17 Thread Sun Jiang Dong
wiki caused the problem? Perhaps it got messed up by the upgrade? ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/ -- BRs, Su

Re: [Linux-ha-dev] problem with some RA (output: cat: write error: Broken pipe)

2006-01-16 Thread Sun Jiang Dong
an/listinfo/linux-ha-dev Home Page: http://linux-ha.org/ -- BRs, Sun Jiang Dong ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/

[Linux-ha-dev] About OCF.in and SendArp.in

2005-12-20 Thread Sun Jiang Dong
Hi It seems the two scripts OCF.in and SendArp.in ( under resource/heartbeat ) are not used now. Am I right? If yes, then it's better to remove them from source tree or not install them. -- BRs, Sun Jiang Dong ___ Linux-HA-Dev: Lin

Re: [Linux-ha-dev] BSC failure

2005-12-18 Thread Sun Jiang Dong
A-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/ -- BRs, Sun Jiang Dong ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home

Re: [Linux-ha-dev] HB V2. Conf File

2005-12-14 Thread Sun Jiang Dong
ha.cf when "crm yes". Thak you Sun Jiang Dong wrote: enrico fanti wrote: Hi to all. First, sorry for my english. I worked with heartbeat V1, but it's seems very good idea to monitor the resources by heartbeat.. I tried somethinks, but now I'm not sure if I unders

[Linux-ha-dev] CTS result with the CVS HEAD (12.12)

2005-12-12 Thread Sun Jiang Dong
'success': 34, 'auditfail': 0, 'failure': 0, 'max_time': 56.280138969421387, 'min_time': 0.00023984909057617188} Dec 13 11:24:13 <<<<<<<<<<<<<<<< TESTS COMPLETED == All Badnews as below. = Dec 13 09:19:15 Running test Flip (hadev3) [400] Dec 13 09:19:50 BadNews: Dec 13 09:19:44 hadev1 lrmd: [16947]: ERROR: on_msg_perform_op: Operations list for DcIPaddr is suspicously long [4] Dec 13 09:19:50 BadNews: Dec 13 09:19:44 hadev1 lrmd: [16947]: ERROR: on_msg_perform_op: Operations list for rsc_hadev1 is suspicously long [4] Dec 13 09:19:51 BadNews: Dec 13 09:19:46 hadev1 lrmd: [16947]: ERROR: on_msg_perform_op: Operations list for rsc_hadev1 is suspicously long [4] Dec 13 09:19:51 BadNews: Dec 13 09:19:46 hadev1 lrmd: [16947]: ERROR: on_msg_perform_op: Operations list for DcIPaddr is suspicously long [5] Dec 13 09:19:51 BadNews: Dec 13 09:19:46 hadev1 lrmd: [16947]: ERROR: perform_ra_op: the operation operation start[26] on ocf::IPaddr::DcIPaddr for client 16948, its parameters: is_managed=[1] ip=[127.0.0.10] timeout=[4] te-target-rc=[7] lrm-is-probe=[true] crm_feature_set=[1.0.3] stayed in operation list for 5990 ms (longer than 5000 ms) -- BRs, Sun Jiang Dong ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/

Re: [Linux-ha-dev] HB V2. Conf File

2005-12-12 Thread Sun Jiang Dong
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/ -- BRs, Sun Jiang Dong ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.or

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: lib by sunjd from

2005-12-05 Thread Sun Jiang Dong
Lars Marowsky-Brée -- BRs, Sun Jiang Dong ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/

Re: [Linux-ha-dev] CTS result ---- Overall Results:{'failure': 0, 'success': 1000, 'BadNews': 0}

2005-12-05 Thread Sun Jiang Dong
;skipped': 12, 'calls': 73, 'success': 61, 'min': 7464.737207460571, 'max': 8226.9630687767694, ' totalbandwidth': 479334.04886258673, 'auditfail': 0, 'failure': 0, 'max_time': 72.851320028305054, 'mi

[Fwd: Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: lib by sunjd from]

2005-12-05 Thread Sun Jiang Dong
, using ping can handle the situation. So, the right thing to do is write a function - maybe called checkhost() which looks in /etc/hosts, and if it's not there, then use host as it originally did. -- BRs, Sun Jiang Dong -- BRs, Sun Jiang Dong ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: lib by sunjd from

2005-11-30 Thread Sun Jiang Dong
___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/ -- BRs, Sun Jiang Dong ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/

[Linux-ha-dev] Re: [Linux-HA] network traffic diagram

2005-11-23 Thread Sun Jiang Dong
ists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems -- BRs, Sun Jiang Dong ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/

Re: [Linux-ha-dev] sync enum with strings for stonith ops

2005-11-19 Thread Sun Jiang Dong
if these are text/plain attachments. -- BRs, Sun Jiang Dong ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/

[Linux-ha-dev] the result of CTS testing -- Nov 18

2005-11-19 Thread Sun Jiang Dong
die] Nov 18 16:20:06 Test Stonithd (hadev3) [FAILED] === The real BadNews Nov 18 09:54:02 BadNews: Nov 18 09:52:16 hadev2 lrmd: [22389]: ERROR: on_msg_perform_op: Operations list for DcIPaddr is suspicously long [4] Nov 18 11:38:02 BadNe

[Linux-ha-dev] CTS testing result - Nov 16 - incomplete

2005-11-16 Thread Sun Jiang Dong
1:54:10 hadev2 lrmd: [14169]: ERROR: on_msg_perform_op: Operations list for DcIPaddr is suspicously long [4] Nov 16 11:54:14 BadNews: Nov 16 11:54:11 hadev2 lrmd: [14169]: ERROR: on_msg_perform_op: Operations list for DcIPaddr is suspicously

[Linux-ha-dev] CTS testing result -- Nov 10

2005-11-09 Thread Sun Jiang Dong
x27;min': 11842.155702961529, 'max': 14216.738900157752, 'totalbandwidth': 481116.53549726098, 'auditfail': 0, 'failure': 0, 'max_time': 55.967916011810303, 'min_time': 6.7949295043945312e-05} Nov 10 10:11:07 Test ResourceRecover: {'elapsed_time': 883.21178603172302, 'skipped': 0, 'calls': 31, 'success': 31, 'auditfail': 0, 'failure': 0, 'max_time': 61.210453033447266, 'min_time': 12.612850904464722} Nov 10 10:11:07 Test SpecialTest1: {'elapsed_time': 2829.5343387126923, 'skipped': 0, 'calls': 42, 'success': 0, 'auditfail': 0, 'failure': 0, 'max_time': 86.066843032836914, 'min_time': 47.181453943252563} Nov 10 10:11:07 Test NearQuorumPoint: {'elapsed_time': 751.85630679130554, 'skipped': 5, 'calls': 37, 'success': 32, 'auditfail': 0, 'failure': 0, 'max_time': 40.79338812828064, 'min_time': 0.00023603439331054688} Nov 10 10:11:07 <<<<<<<<<<<<<<<< TESTS COMPLETED -- BRs, Sun Jiang Dong ___ Linux-HA-Dev: [EMAIL PROTECTED] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/