Re: [Pacemaker] About a combination with OpenAIS.

2009-06-25 Thread Andrew Beekhof
On Wed, Jun 10, 2009 at 9:52 PM, Steven Dakesd...@redhat.com wrote:
 On Thu, 2009-06-11 at 12:30 +0200, Dejan Muhamedagic wrote:
 Hi Hideo-san,

 On Thu, Jun 11, 2009 at 03:17:08PM +0900, renayama19661...@ybb.ne.jp wrote:
  Hi,
 
  I understood the cause of the problem.
 
  An init script in WhiteTank was a problem.
  I work definitely when I use an init script for Pacemaker which Mr. Andrew 
  made.
 
  I hope a right init script to be included.

 Perhaps you would be better off with the versions released by
 Andrew (from the OBS). I'm not sure myself, it's just that
 openais API was moving until recently, so it may be a problem to
 match releases. Of course, if this combination works for you
 then it's fine.

 Thanks,

 Dejan


 The openais whitetank abi hasn't changed much for years.

apart from the IPC changes ;-)

 The init script
 could be a problem however.  Is there a special version required by Suse
 linux?  I thought we had all the proper init scripts upstream to work
 with Pacemaker and SUSE.

we use init/generic from the whitetank repo.
IIRC one of the way it differs from the init/redhat one is that it
uses a different signal (so that openais does an ordered shutdown)

___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


Re: [Pacemaker] About a combination with OpenAIS.

2009-06-11 Thread Dejan Muhamedagic
Hi Hideo-san,

On Thu, Jun 11, 2009 at 03:17:08PM +0900, renayama19661...@ybb.ne.jp wrote:
 Hi,
 
 I understood the cause of the problem.
 
 An init script in WhiteTank was a problem.
 I work definitely when I use an init script for Pacemaker which Mr. Andrew 
 made.
 
 I hope a right init script to be included.

Perhaps you would be better off with the versions released by
Andrew (from the OBS). I'm not sure myself, it's just that
openais API was moving until recently, so it may be a problem to
match releases. Of course, if this combination works for you
then it's fine.

Thanks,

Dejan

 Regards,
 Hideo Yamauchi.
 
 --- renayama19661...@ybb.ne.jp wrote:
 
  Hi,
  
  I am going to check the operation by a combination of Pacemaker and OpenAIS.
  
  In reference to a page(http://www.clusterlabs.org/wiki/Install), I made 
  environment from a
  source.
  
  The source which I used was the following versions.
   * OpenAIS(http://svn.fedorahosted.org/svn/openais/branches/whitetank) - I 
  got it today.
   * Pacemaker(Pacemaker-1-0-c2853a7fed2e.tar.bz2) - I got it today.
  
  I made environment and, in one node, started a Dummy resource.
  I shutdown this node, but the Dummy resource was not stopped.
  
  The following log appeared then.
  ---
  Jun 11 14:11:14 ais-1 attrd: [23142]: ERROR: ais_dispatch: Receiving 
  message body failed: (-1)
  unknown: Resource temporarily unavailable (11)
  Jun 11 14:11:14 ais-1 attrd: [23142]: ERROR: ais_dispatch: AIS connection 
  failed
  Jun 11 14:11:14 ais-1 attrd: [23142]: CRIT: attrd_ais_destroy: Lost 
  connection to OpenAIS
  service!
  Jun 11 14:11:14 ais-1 attrd: [23142]: info: main: Exiting...
  Jun 11 14:11:14 ais-1 attrd: [23142]: ERROR: attrd_cib_connection_destroy: 
  Connection to the CIB
  terminated...
  Jun 11 14:11:14 ais-1 crmd: [23144]: ERROR: attrd_connection_destroy: Lost 
  connection to attrd
  Jun 11 14:11:14 ais-1 cib: [23140]: ERROR: ais_dispatch: Receiving message 
  body failed: (-1)
  unknown:
  Resource temporarily unavailable (11)
  Jun 11 14:11:14 ais-1 cib: [23140]: ERROR: ais_dispatch: AIS connection 
  failed
  Jun 11 14:11:14 ais-1 cib: [23140]: ERROR: cib_ais_destroy: AIS connection 
  terminated
  Jun 11 14:11:14 ais-1 mgmtd: [23145]: CRIT: cib_native_dispatch: Lost 
  connection to the CIB
  service
  [23140/callback].
  Jun 11 14:11:14 ais-1 mgmtd: [23145]: CRIT: cib_native_dispatch: Lost 
  connection to the CIB
  service
  [23140/command].
  Jun 11 14:11:14 ais-1 crmd: [23144]: info: cib_native_msgready: Lost 
  connection to the CIB
  service
  [23140].
  Jun 11 14:11:14 ais-1 stonithd: [23139]: ERROR: ais_dispatch: Receiving 
  message body failed:
  (-1)
  unknown: Resource temporarily unavailable (11)
  Jun 11 14:11:14 ais-1 crmd: [23144]: CRIT: cib_native_dispatch: Lost 
  connection to the CIB
  service
  [23140/callback].
  Jun 11 14:11:14 ais-1 stonithd: [23139]: ERROR: ais_dispatch: AIS 
  connection failed
  Jun 11 14:11:14 ais-1 crmd: [23144]: CRIT: cib_native_dispatch: Lost 
  connection to the CIB
  service
  [23140/command].
  Jun 11 14:11:14 ais-1 stonithd: [23139]: ERROR: AIS connection terminated
  Jun 11 14:11:14 ais-1 crmd: [23144]: ERROR: crmd_cib_connection_destroy: 
  Connection to the CIB
  terminated...
  Jun 11 14:11:14 ais-1 crmd: [23144]: ERROR: do_log: FSA: Input I_ERROR from
  crmd_cib_connection_destroy() received in state S_IDLE
  Jun 11 14:11:14 ais-1 crmd: [23144]: info: do_state_transition: State 
  transition S_IDLE -
  S_RECOVERY
  [ input=I_ERROR cause=C_FSA_INTERNAL origin=crmd_cib_connection_destroy ]
  Jun 11 14:11:14 ais-1 crmd: [23144]: ERROR: do_recover: Action A_RECOVER 
  (0100) not
  supported
  Jun 11 14:11:14 ais-1 crmd: [23144]: WARN: do_election_vote: Not voting in 
  election, we're in
  state
  S_RECOVERY
  Jun 11 14:11:14 ais-1 crmd: [23144]: info: do_dc_release: DC role released
  Jun 11 14:11:14 ais-1 crmd: [23144]: info: pe_connection_destroy: 
  Connection to the Policy
  Engine
  released
  Jun 11 14:11:14 ais-1 crmd: [23144]: info: do_te_control: Transitioner is 
  now inactive
  Jun 11 14:11:14 ais-1 crmd: [23144]: info: do_te_control: Disconnecting 
  STONITH...
  Jun 11 14:11:14 ais-1 crmd: [23144]: info: 
  tengine_stonith_connection_destroy: Fencing daemon
  disconnected
  Jun 11 14:11:14 ais-1 crmd: [23144]: notice: Not currently connected.
  Jun 11 14:11:14 ais-1 crmd: [23144]: ERROR: do_log: FSA: Input I_TERMINATE 
  from do_recover()
  received
  in state S_RECOVERY
  Jun 11 14:11:14 ais-1 crmd: [23144]: info: do_state_transition: State 
  transition S_RECOVERY -
  S_TERMINATE [ input=I_TERMINATE cause=C_FSA_INTERNAL origin=do_recover ]
  Jun 11 14:11:14 ais-1 crmd: [23144]: ERROR: verify_stopped: Resource 
  testDummy was active at
  shutdown.
   You may ignore this error if it is unmanaged.
  Jun 11 14:11:14 ais-1 crmd: [23144]: notice: ghash_print_pending_for_rsc: 
  Recurring action
  testDummy:4
  

Re: [Pacemaker] About a combination with OpenAIS.

2009-06-11 Thread Steven Dake
On Thu, 2009-06-11 at 12:30 +0200, Dejan Muhamedagic wrote:
 Hi Hideo-san,
 
 On Thu, Jun 11, 2009 at 03:17:08PM +0900, renayama19661...@ybb.ne.jp wrote:
  Hi,
  
  I understood the cause of the problem.
  
  An init script in WhiteTank was a problem.
  I work definitely when I use an init script for Pacemaker which Mr. Andrew 
  made.
  
  I hope a right init script to be included.
 
 Perhaps you would be better off with the versions released by
 Andrew (from the OBS). I'm not sure myself, it's just that
 openais API was moving until recently, so it may be a problem to
 match releases. Of course, if this combination works for you
 then it's fine.
 
 Thanks,
 
 Dejan
 

The openais whitetank abi hasn't changed much for years. The init script
could be a problem however.  Is there a special version required by Suse
linux?  I thought we had all the proper init scripts upstream to work
with Pacemaker and SUSE.

Thanks
-steve



___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


[Pacemaker] About a combination with OpenAIS.

2009-06-10 Thread renayama19661014
Hi,

I am going to check the operation by a combination of Pacemaker and OpenAIS.

In reference to a page(http://www.clusterlabs.org/wiki/Install), I made 
environment from a source.

The source which I used was the following versions.
 * OpenAIS(http://svn.fedorahosted.org/svn/openais/branches/whitetank) - I got 
it today.
 * Pacemaker(Pacemaker-1-0-c2853a7fed2e.tar.bz2) - I got it today.

I made environment and, in one node, started a Dummy resource.
I shutdown this node, but the Dummy resource was not stopped.

The following log appeared then.
---
Jun 11 14:11:14 ais-1 attrd: [23142]: ERROR: ais_dispatch: Receiving message 
body failed: (-1)
unknown: Resource temporarily unavailable (11)
Jun 11 14:11:14 ais-1 attrd: [23142]: ERROR: ais_dispatch: AIS connection failed
Jun 11 14:11:14 ais-1 attrd: [23142]: CRIT: attrd_ais_destroy: Lost connection 
to OpenAIS service!
Jun 11 14:11:14 ais-1 attrd: [23142]: info: main: Exiting...
Jun 11 14:11:14 ais-1 attrd: [23142]: ERROR: attrd_cib_connection_destroy: 
Connection to the CIB
terminated...
Jun 11 14:11:14 ais-1 crmd: [23144]: ERROR: attrd_connection_destroy: Lost 
connection to attrd
Jun 11 14:11:14 ais-1 cib: [23140]: ERROR: ais_dispatch: Receiving message body 
failed: (-1) unknown:
Resource temporarily unavailable (11)
Jun 11 14:11:14 ais-1 cib: [23140]: ERROR: ais_dispatch: AIS connection failed
Jun 11 14:11:14 ais-1 cib: [23140]: ERROR: cib_ais_destroy: AIS connection 
terminated
Jun 11 14:11:14 ais-1 mgmtd: [23145]: CRIT: cib_native_dispatch: Lost 
connection to the CIB service
[23140/callback].
Jun 11 14:11:14 ais-1 mgmtd: [23145]: CRIT: cib_native_dispatch: Lost 
connection to the CIB service
[23140/command].
Jun 11 14:11:14 ais-1 crmd: [23144]: info: cib_native_msgready: Lost connection 
to the CIB service
[23140].
Jun 11 14:11:14 ais-1 stonithd: [23139]: ERROR: ais_dispatch: Receiving message 
body failed: (-1)
unknown: Resource temporarily unavailable (11)
Jun 11 14:11:14 ais-1 crmd: [23144]: CRIT: cib_native_dispatch: Lost connection 
to the CIB service
[23140/callback].
Jun 11 14:11:14 ais-1 stonithd: [23139]: ERROR: ais_dispatch: AIS connection 
failed
Jun 11 14:11:14 ais-1 crmd: [23144]: CRIT: cib_native_dispatch: Lost connection 
to the CIB service
[23140/command].
Jun 11 14:11:14 ais-1 stonithd: [23139]: ERROR: AIS connection terminated
Jun 11 14:11:14 ais-1 crmd: [23144]: ERROR: crmd_cib_connection_destroy: 
Connection to the CIB
terminated...
Jun 11 14:11:14 ais-1 crmd: [23144]: ERROR: do_log: FSA: Input I_ERROR from
crmd_cib_connection_destroy() received in state S_IDLE
Jun 11 14:11:14 ais-1 crmd: [23144]: info: do_state_transition: State 
transition S_IDLE - S_RECOVERY
[ input=I_ERROR cause=C_FSA_INTERNAL origin=crmd_cib_connection_destroy ]
Jun 11 14:11:14 ais-1 crmd: [23144]: ERROR: do_recover: Action A_RECOVER 
(0100) not
supported
Jun 11 14:11:14 ais-1 crmd: [23144]: WARN: do_election_vote: Not voting in 
election, we're in state
S_RECOVERY
Jun 11 14:11:14 ais-1 crmd: [23144]: info: do_dc_release: DC role released
Jun 11 14:11:14 ais-1 crmd: [23144]: info: pe_connection_destroy: Connection to 
the Policy Engine
released
Jun 11 14:11:14 ais-1 crmd: [23144]: info: do_te_control: Transitioner is now 
inactive
Jun 11 14:11:14 ais-1 crmd: [23144]: info: do_te_control: Disconnecting 
STONITH...
Jun 11 14:11:14 ais-1 crmd: [23144]: info: tengine_stonith_connection_destroy: 
Fencing daemon
disconnected
Jun 11 14:11:14 ais-1 crmd: [23144]: notice: Not currently connected.
Jun 11 14:11:14 ais-1 crmd: [23144]: ERROR: do_log: FSA: Input I_TERMINATE from 
do_recover() received
in state S_RECOVERY
Jun 11 14:11:14 ais-1 crmd: [23144]: info: do_state_transition: State 
transition S_RECOVERY -
S_TERMINATE [ input=I_TERMINATE cause=C_FSA_INTERNAL origin=do_recover ]
Jun 11 14:11:14 ais-1 crmd: [23144]: ERROR: verify_stopped: Resource testDummy 
was active at shutdown.
 You may ignore this error if it is unmanaged.
Jun 11 14:11:14 ais-1 crmd: [23144]: notice: ghash_print_pending_for_rsc: 
Recurring action testDummy:4
(testDummy_monitor_1) incomplete at shutdown
Jun 11 14:11:14 ais-1 crmd: [23144]: info: do_lrm_control: Disconnected from 
the LRM
Jun 11 14:11:14 ais-1 crmd: [23144]: info: do_ha_control: Disconnected from 
OpenAIS
Jun 11 14:11:14 ais-1 crmd: [23144]: info: do_cib_control: Disconnecting CIB
Jun 11 14:11:14 ais-1 crmd: [23144]: info: do_exit: Performing A_EXIT_0 - 
gracefully exiting the CRMd
Jun 11 14:11:14 ais-1 crmd: [23144]: ERROR: do_exit: Could not recover from 
internal error
Jun 11 14:11:14 ais-1 crmd: [23144]: info: free_mem: Dropping I_PENDING: [ 
state=S_TERMINATE
cause=C_FSA_INTERNAL origin=do_election_vote ]
Jun 11 14:11:14 ais-1 crmd: [23144]: info: free_mem: Dropping 
I_RELEASE_SUCCESS: [ state=S_TERMINATE
cause=C_FSA_INTERNAL origin=do_dc_release ]
Jun 11 14:11:14 ais-1 crmd: [23144]: info: free_mem: Dropping I_TERMINATE: [ 
state=S_TERMINATE
cause=C_FSA_INTERNAL