Re: [Pacemaker] How to set resource order to satisfy this situation

2013-08-06 Thread Mia Lueng
bingo, I upgrade to sles11 hae sp3 and it provides the beiaviour I expect. hatest01:~ # rpm -q pacemaker pacemaker-1.1.9-0.19.102 2013/8/7 Andrew Beekhof > > On 06/08/2013, at 1:06 PM, Mia Lueng wrote: > > > colocation ftp_www_balance -inf: apache vsftp > > o

[Pacemaker] How to set resource order to satisfy this situation

2013-08-05 Thread Mia Lueng
colocation ftp_www_balance -inf: apache vsftp order apache_mount inf: nfs_client_clone apache order nfs_cs_order 0: nfs_server nfs_client_clone order vsftp_mount inf: nfs_client_clone vsftp nfsserver>nfsclient->www \ \--->nfsclient->ftp I want when nfsserver mig

[Pacemaker] How to get current resource action

2013-08-05 Thread Mia Lueng
Hi All: Sometime a resource action takes long time and causes other resources' action pending . How can I get the current resource action? Suggestion: why not set an intermediate state like starting/stopping of a resource so that use can easily get what resource pacemaker is handling. ___

Re: [Pacemaker] How to configure this request

2012-12-06 Thread Mia Lueng
d,e can be Master when A,B,C is down 2012/12/7 Andrew Beekhof > location constraint with role ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Gett

[Pacemaker] How to configure this request

2012-11-30 Thread Mia Lueng
Hi : I wanna build a five-node cluster to run drbd Node A,B,C have a share storage Node D E have a share storage One of node (A,B,C) will be the drbd primary and one of node(D,E) be the drbd secondary and the data is set on the share storage Suppose that A is running as the drbd primary node,

Re: [Pacemaker] resource can not be started

2012-10-17 Thread Mia Lueng
Crouzat wrote: > >> Le 17/10/2012 11:56, Mia Lueng a écrit : >> >> >group rg_apache2 res_apache res_ip_apache \ >> > meta target-role="Started" >> >order rg_apache_order : res_ip_apache res_apache >> >> It seems not correct. A gro

[Pacemaker] resource can not be started

2012-10-17 Thread Mia Lueng
sles11 sp2 High availability extenstion hatest01:~ # crm configure show node hatest01 node hatest02 node hatest03 primitive res_apache ocf:heartbeat:apache \ operations $id="res_apache-operations" \ op monitor interval="10" timeout="20s" \ params configfile="/etc/apache2/h

[Pacemaker] how to specify a watchdog driver

2012-09-19 Thread Mia Lueng
There are lots of messages that shows when starting corosync, may watchdog driver was tested to load into kernel. 23.363315] usbcore: registered new interface driver pcwd_usb [ 23.363318] pcwd_usb: Berkshire USB-PC Watchdog driver v1.02 [ 23.413383] WDT driver for Acquire single board compu

[Pacemaker] should STONITH be a clone resource?

2012-09-19 Thread Mia Lueng
Hi All: I use a sbd device to be a STONITH device. Should I configure it as a clone resource that running on all node? I have seen a lot of manuals to show it only be configured on a single node. Here is my configure: # crm configure show node hatest01 node hatest02 node hatest03 primitiv

Re: [Pacemaker] about iTCO_wdt watchdog

2012-08-02 Thread Mia Lueng
you misunderstand me. I just simulate a system crash to test if the watchdog can reboot the system . 2012/8/2 emmanuel segura : > echo "b" >/proc/sysrq-trigge > > 2012/8/2 Mia Lueng >> >> Hi All: >>I use IBM 3650 to build a HA cluster. And set iTCO_wd

[Pacemaker] about iTCO_wdt watchdog

2012-08-01 Thread Mia Lueng
Hi All: I use IBM 3650 to build a HA cluster. And set iTCO_wdt as the watchdog. The following test is performed 1. modprobe iTCO_wdt heartbeat=60 nowayout=1 2. echo "1" >/dev/watchdog system will reboot after 60s But when I run commandecho "c" >/proc/sysrq-trigger after echo "1" >/de

[Pacemaker] filesystem script block when umount a failed storage

2012-08-01 Thread Mia Lueng
Hi all: When I disconnect the connection between the server and a IBM DS3512 SAS storage, and ocf script blocked when umount the partition. So the resource relocation is failed. How to resolve this problem? thanks OCF_RESKEY_device=/dev/sdc1 OCF_RESKEY_directory=/mnt bash ./Filesystem sto

Re: [Pacemaker] ocf script hangup when disconnect from sas storage

2012-07-31 Thread Mia Lueng
i see, since bash ./filesystem run correctly , I think this mistake should not be considered as the reason. I just export OCF_FUNCTIONS_DIR=/usr/lib/ocf/resource.d/heartbeat 2012/7/31 emmanuel segura : > The OCF_ROOT it must be > > OCF_ROOT=/usr/lib/ocf/ > > > 2012/7/31 Mia

Re: [Pacemaker] ocf script hangup when disconnect from sas storage

2012-07-31 Thread Mia Lueng
I set it by export OCF_ROOT=/usr/lib/ocf/resource.d/heartbeat I am just debuging the script 2012/7/31 emmanuel segura : > You missing the OCF_ROOT > > > 2012/7/31 Mia Lueng >> >> OCF_RESKEY_device=/dev/sdc1 OCF_RESKEY_directory=/mnt bash ./Filesystem >> stop

Re: [Pacemaker] ocf script hangup when disconnect from sas storage

2012-07-31 Thread Mia Lueng
OCF_RESKEY_device=/dev/sdc1 OCF_RESKEY_directory=/mnt bash ./Filesystem stop is blocked by umount operation and can not be killed 2012/7/31 emmanuel segura : > First of all, which ocf script fail and please give us some more information > > 2012/7/31 Mia Lueng >> >>

[Pacemaker] ocf script hangup when disconnect from sas storage

2012-07-31 Thread Mia Lueng
Hi all: When I disconnect the connection between the server and a IBM DS3512 SAS storage, and ocf script blocked when umount the partition. So the resource relocation is failed. How to resolve this problem? thanks ___ Pacemaker mailing list: Pace