Re: [Linux-HA] iLO2 stonith device

2009-03-18 Thread Chun Tian (binghe)
You won't need any iLO license for just power control. I'm quite sure about that. --binghe On 2009-3-11, at 20:23, Adrian Chapela wrote: One more time. I have decided to use external/riloe as my stonith device but I have some doubts. My system will be a cluster of two nodes. First, Do

Re: [Linux-HA] external/ipmi problems

2008-08-01 Thread Chun Tian (binghe)
return values when using ipmitool reset on some HP Proliant DL140/145 servers. Regards, Chun Tian (binghe) I have made some luck getting STONITH to work but still running into a problem I can not figure out how to debug. In the ha.cf on each host I have: stonith_host mds2.engin.umich.edu

Re: [Linux-HA] cib.xml

2008-07-02 Thread Chun Tian (binghe)
在 2008-7-2,下午6:48, Nathan Ward 写道: On 2/07/2008, at 9:34 PM, Patrik Martinsson wrote: Let´s say i want to change my configration on my ha-cluster server, normally i would change the config file (in this case then cib.xml) on the main-central-server, and then let my management-system take

Re: [Linux-HA] ldirectord and number of simultaneous connections

2008-06-30 Thread Chun Tian (binghe)
Why not just run 2+ instances of ldirectord, managing different virtual IPs, and mapping them into one DNS name? Like this: www.xxx.com IN A ip1 www.xxx.com IN A ip2 WWW.xxx.com IN A ip3 ip1,ip2,ip3 are all ldirectord-managed virtual IPs. Since Heartbeat can keep all these IPs always

Re: [Linux-HA] heartbeat GUI client on OS X

2008-06-19 Thread Chun Tian (binghe)
Hi, Chad I also thought this since I'm using Mac OS as my desktop since four month ago. For now, my solution is running a Linux in VMware Fusion and ssh to it (with X forwarded) and display hb_gui window through X11.app on my Mac desktop. I think to compile hb_gui on Mac OS, the GUI part

Re: [Linux-HA] Resync cib.xml?

2008-06-16 Thread Chun Tian (binghe)
Hi, On Jun 15, 2008, at 8:25 PM, Chun Tian (binghe) wrote: Hi, Joe GNU cfengine [1] may be helpful here. no no no let the CIB synchronizes the files itself. the most common reason for the files to get out-of-sync, is if some other process (human or automated) modified the on-disk copy

Re: [Linux-HA] Resync cib.xml?

2008-06-16 Thread Chun Tian (binghe)
config into one central cfengine server and use Subversion to track their changes. And yes, when I create a HA cluster from scratch, cfengine help me put every file at their right position. Regards, Chun Tian (binghe) ___ Linux-HA mailing list Linux

Re: [Linux-HA] Resync cib.xml?

2008-06-15 Thread Chun Tian (binghe)
: editfiles: pull_upload_cib.afs_1:: { $(cfinput)/files/heartbeat/cib.xml ReplaceFirst cib .* With cib LocateLineMatching ^ +nodes$ DeleteToLineMatching ^ +/nodes$ ReplaceFirst /nodes With nodes/ } Regards, Chun Tian (binghe) [1] http

Re: AW: [Linux-HA] Switchover problem with DRBD

2008-03-10 Thread Chun Tian (binghe)
Hi, there If you're using HA 2.x, maybe you should show some parts of your cib.xml. I have running DRBD HA clusters, and I think the key is in the cib.xml Regards, Chun Tian (binghe) Isn't anybody able to give a hint why promoting the DRBD-instance fails? :( Von: [EMAIL PROTECTED

Re: AW: AW: [Linux-HA] Switchover problem with DRBD

2008-03-10 Thread Chun Tian (binghe)
, Chun Tian (binghe) Hi, thanks for your reply. The attachements were already added to the first mail to the list but here they are again :) Thanks Florian -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ha.org] Im Auftrag von Chun Tian (binghe) Gesendet

Re: [Linux-HA] Which STONITH devices is everybody using?

2008-03-10 Thread Chun Tian (binghe)
Hi, Dave I use Dell Servers and use the DRAC (Dell Remote Access Card) as the stonith. It supports IPMI and am using external stonith. See my earlier post for setup. About $300/card. As I know (and try), DELL x850, x950 Servers without DRAC card can also support IPMI (=1.5). HP

Re: [Linux-HA] ha.cf stonith command question

2008-02-22 Thread Chun Tian (binghe)
Hi, there I have tested stonith from the command line and was able to reset the target PC. On the command I used the following: stonith -t external/ipmi -T reset -p capestor2 10.43.120.134 ADMIN mypassword capestor2 This worked marvelously! So then I move the stuff into the ha.cf. Not

Re: [Linux-HA] ha.cf stonith command question

2008-02-22 Thread Chun Tian (binghe)
reading this post acknowledge that they are using it and offer any suggestions. In case it matters (because it might) I am running on CentOS 5.1 (fully patched as of last week) on x86_64 system. thanks and regards, Doug On Fri, Feb 22, 2008 at 8:47 AM, Chun Tian (binghe) [EMAIL PROTECTED

Re: [Linux-HA] ha.cf stonith command question

2008-02-22 Thread Chun Tian (binghe)
acknowledge that they are using it and offer any suggestions. In case it matters (because it might) I am running on CentOS 5.1 (fully patched as of last week) on x86_64 system. thanks and regards, Doug On Fri, Feb 22, 2008 at 8:47 AM, Chun Tian (binghe) [EMAIL PROTECTED] wrote: Hi, there I

Re: [Linux-HA] ha.cf stonith command question

2008-02-22 Thread Chun Tian (binghe)
stonith got `256'. At present, I think this is a bug of stonith and I'll try to prove this theory. Regards, Chun TIAN (binghe) NetEase.com, Inc. Yeah my eyes are going bad. I am so used to seeing ${...} It sucks getting old :) thanks, Doug On Fri, Feb 22, 2008 at 2:15 PM, Chun Tian (binghe

Re: [Linux-HA] Linux-HA vs OpenMosix and RedHat Cluster

2008-01-31 Thread Chun Tian (binghe)
Hi, So far as I know, I don't think any similarity between Linux-HA and OpenMosix. They do different job: one for server resource HA (resource of any type), the other for computing resource management. Don't know about RedHat Cluster. Hello all, does anyone known if there's a note,

Re: [Linux-HA] Drac5 / Stonith Question

2008-01-28 Thread Chun Tian (binghe)
Hi, Ryan Why not just use IPMI? I have some Dell PE2950 too, and all PE2950 (with and without DRAC card) can activate a IPMI interface, which is enough for stonith use, though you may have to use the external/ipmi but the stonith2/ipmilan. Regards, Chun TIAN (binghe) 在 2008-1-25,上午3:50

Re: [Linux-HA] ipmi: power cycle or hard reset

2008-01-24 Thread Chun Tian (binghe)
cannot work, because ipmitool power reset sometimes successfully reset my server but didn't exit with 0, and I have to modify the script to let it exit 0 when calling with reset ... Regards, Chun TIAN (binghe) 在 2008-1-23,下午11:40, Dejan Muhamedagic 写道: Hello, Again on the IPMI. As it says

Re: [Linux-HA] ipmi: power cycle or hard reset

2008-01-24 Thread Chun Tian (binghe)
server has been reset ... I haven't analyze the UDP packet which come between ipmitool and my server, cannot say which is wrong yet. This is either a problem of ipmitool or my HP DL145 server. My solution is put a exit 0 in external/ipmi :) Regards, Chun TIAN (binghe) Thanks, Dejan

Re: [Linux-HA] ipmi: power cycle or hard reset

2008-01-24 Thread Chun Tian (binghe)
在 2008-1-24,下午7:45, Chun Tian (binghe) 写道: 在 2008-1-24,下午6:36, Dejan Muhamedagic 写道: 2. external/ipmi cannot work, because ipmitool power reset sometimes successfully reset my server but didn't exit with 0, and I have to modify the script to let it exit 0 when calling with reset

[Linux-HA] coding bugfix for lib/plugins/stonith/ipmilan.c

2008-01-02 Thread Chun Tian (binghe)
].s_value, operator) == 0) { tmp-privilege = 3; } Thanks. Chun TIAN (binghe) diff -r 7cea5a8c5c0e lib/plugins/stonith/ipmilan.c --- a/lib/plugins/stonith/ipmilan.c Fri Dec 21 23:13:06 2007 -0700 +++ b/lib/plugins/stonith/ipmilan.c Wed Jan 02 16:34:51 2008 +0800

Re: [Linux-HA] external/riloe STONITH device config

2007-12-23 Thread Chun Tian (binghe)
Hi, Johan I have some HP DL360 too. Does DL360 support a IPMI LAN interface? After I've installed hp-OpenIPMI, I only got a KCS interface, but no LAN found, strange: print-6:~# ipmitool -I open channel info Channel 0xf info: Channel Medium Type : System Interface Channel Protocol Type :

Re: [Linux-HA] haclient login problem

2007-10-18 Thread Chun Tian (binghe)
Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems What's haclient? You mean the hb_gui program? I just change hacluster's password, and use hacluster as user to login to heartbeat. Chun Tian (binghe

Re: [Linux-HA] patch for mysql ocf script

2007-10-16 Thread Chun Tian (binghe)
mysql ocf script also check the OCF_RESKEY_test_user in /etc/passwd: grep $OCF_RESKEY_test_user /etc/passwd /dev/null 21 if [ ! $? -eq 0 ]; then ocf_log err Test user $OCF_RESKEY_test_user doesn't exit; exit $OCF_ERR_ARGS; fi I dont's think this is correct because