Re: [ClusterLabs] [Problem] Start is carried out twice.

2016-06-06 Thread renayama19661014
Hi All,  When a node joined while start of the resource takes time, start of the resource is carried out twice.  Step 1) Put sleep in start of the Dummy  resource.(/usr/lib/ocf/resource.d/heartbeat/Dummy)  (snip) dummy_start() {  sleep 60  dummy_monitor  if [ $? =  $OCF_SUCCESS ]; then (snip)

[ClusterLabs] [Problem] Start is carried out twice.

2016-06-06 Thread renayama19661014
Hi All, When a node joined while start of the resource takes time, start of the resource is carried out twice. Step 1) Put sleep in start of the Dummy resource.(/usr/lib/ocf/resource.d/heartbeat/Dummy) (snip) dummy_start() { sleep 60 dummy_monitor if [ $? = $OCF_SUCCESS ]; then (snip) Step 2)